WO2022088826A1 - Computing service discovery method and communication apparatus - Google Patents

Computing service discovery method and communication apparatus Download PDF

Info

Publication number
WO2022088826A1
WO2022088826A1 PCT/CN2021/111281 CN2021111281W WO2022088826A1 WO 2022088826 A1 WO2022088826 A1 WO 2022088826A1 CN 2021111281 W CN2021111281 W CN 2021111281W WO 2022088826 A1 WO2022088826 A1 WO 2022088826A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
service
computing
computing service
information
Prior art date
Application number
PCT/CN2021/111281
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 WO2022088826A1 publication Critical patent/WO2022088826A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states

Definitions

  • the present application relates to the field of wireless communication technologies, and in particular, to a computing service discovery method and a communication device.
  • Multi-access edge computing also known as mobile edge computing
  • MEC moves computing and storage resources to the network edge closer to the user to meet the low-latency requirements of users with high computing load.
  • MEC Multi-access edge computing
  • the number of various types of wireless terminal devices in the cellular network will further increase, which will increase the data traffic of the entire network.
  • emerging service models such as tactile networks, the Internet of Things, and machine-type communications, will also lead to a substantial increase in user-side data and computing demands in the next few years.
  • Growing computing and data demands are likely to exceed the computing and data capacity of edge networks where MECs are currently deployed, and the high cost of telecom infrastructure will further limit edge network capacity expansion.
  • a possible solution is to use the computing power and storage resources on the terminal device side to provide computing services for a single terminal device together with the edge network.
  • the effective sharing of resources can be realized, and the computing and data-intensive services can be quickly provided for the terminal device.
  • D2D communication enables terminal devices to directly utilize the resources of neighboring terminal devices through D2D connections.
  • UE-type service nodes have not been incorporated into the computing system, there is no relevant control
  • the architecture is used to solve the problem of computing service allocation between the network and terminal devices, which will reduce the overall resource sharing and utilization efficiency of the system.
  • a computing service discovery method and a communication device in the embodiments of the present application are used to provide a D2D-based MEC mechanism, so as to expand the computing capacity of the system and the coverage of computing services.
  • the present application provides a computing service discovery method.
  • the method can be executed by a first terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the first terminal device.
  • a component eg, a chip or a circuit
  • the method includes: the first terminal device receives a first request message from the second terminal device, the first request message includes computing service request information, and the computing service request information is used to request the first computing service; Its own load situation and the computing service request information, and perform admission control on the first computing service; if the first terminal device accepts the first computing service, the first terminal device sends a first response message to the second terminal device, the The first response message includes computing service acceptance information, where the computing service acceptance information indicates that the first terminal device accepts the first computing service.
  • the first terminal device can be used as a service terminal device to provide computing services for other terminal devices.
  • the second terminal device can request the first computing service from the first terminal device, and the first terminal device can perform corresponding acceptance judgment on the computing service requested by the second terminal device.
  • the computing load on the network side can be effectively reduced, the computing capacity of the system can be improved, and the coverage of the computing service can be expanded.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion indicator.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
  • the method further includes: the first terminal device broadcasts a service type supported by itself; or, the first terminal device broadcasts its computing capability information; or, the first terminal device broadcasts its own computing capability information to the first terminal device
  • the network device sends its own computing capability information.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the method further includes: the first terminal device receives a service type required by the second terminal device broadcast by the second terminal device; the first terminal device sends a response message to the second terminal device, The response message indicates that the first terminal device supports a service type required by the second terminal device.
  • the second terminal device can use the terminal device-based service terminal device discovery process to discover the first terminal device that can provide the first computing service for it.
  • the roles of the first terminal device and the second terminal device may be different.
  • the first terminal device may be used as a notification terminal device, and the second terminal device may be used as a monitoring terminal device.
  • the first terminal device may serve as a discoverer, and the second terminal device may serve as a discoveree.
  • the method further includes: establishing a sidelink connection between the first terminal device and the second terminal device, the first terminal device providing a connection between the second terminal device and the first network device the data forwarding service; the first terminal device receives a first configuration message from the second terminal device, the first configuration message is used to reconfigure the side link connection between the first terminal device and the second terminal device, the first configuration message is used to reconfigure the side link connection between the first terminal device and the second terminal device
  • a configuration message includes processing indication information corresponding to each logical channel LCH on the communication interface between the first terminal device and the second terminal device. The processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH. ; The first terminal device sends a first configuration complete message to the second terminal device.
  • the first terminal device provides a data forwarding service between the second terminal device and the first network device; the method further includes: the first terminal device receives the first terminal device from the first network device.
  • Two configuration messages the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device, the relationship between the first terminal device and the second terminal device Processing indication information and first indication information corresponding to each logical channel LCH on the communication interface; wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate the The mapping relationship between each LCH and each data radio bearer DRB on the communication interface between the first terminal device and the first network device is described.
  • the relay terminal device can also provide computing services for the second terminal device, For example, the bearer part performs intermediate processing tasks on the first computing service, thereby reducing the load pressure on the network side and expanding the computing capacity of the system.
  • the present application provides a computing service discovery method, the method can be executed by a second terminal device, and can also be executed by a component (for example, a chip or a circuit) configured in the second terminal device.
  • a component for example, a chip or a circuit
  • the method includes: the second terminal device sends a first request message to the first terminal device, the first request message includes computing service request information, and the computing service request information is used to request the first computing service; the second terminal device receives information from A first response message of the first terminal device, where the first response message includes computing service acceptance information, where the computing service acceptance information indicates that the first terminal device accepts the first computing service.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
  • the method further includes: the second terminal device receives the service type supported by the first terminal device broadcast by the first terminal device, if the first terminal device supports the service type of the first computing service , the second terminal device may determine to request the first computing service from the first terminal device; or, the second terminal device receives the computing capability information of the first terminal device broadcasted by the first terminal device, and determines to request the first terminal device according to the computing capability information.
  • a terminal device requests a first computing service.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the method further includes: the second terminal device broadcasts the service type required by the second terminal device; the second terminal device receives a response message from the first terminal device, the response message indicating the first terminal device A terminal device supports a service type required by the second terminal device.
  • the method further includes: establishing a sidelink connection between the second terminal device and the first terminal device, the first terminal device providing a connection between the second terminal device and the first network device the data forwarding service; the second terminal device sends a first configuration message to the first terminal device, the first configuration message is used to reconfigure the side link connection between the first terminal device and the second terminal device, the first
  • the configuration message includes processing indication information corresponding to each logical channel LCH on the communication interface between the first terminal device and the second terminal device, where the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH;
  • the second terminal device receives the first configuration complete message from the first terminal device.
  • the method further includes: the second terminal device sends a second request message to the first network device, where the second request message includes computing service requirement information, the computing service requirement information indicating The type of service required by the second terminal device; the second terminal device receives a second response message from the first network device, the second response message includes computing service response information, and the computing service response information indicates a service that supports the requirements of the second terminal device.
  • the first terminal device of the service type is the second terminal device sends a second request message to the first network device, where the second request message includes computing service requirement information, the computing service requirement information indicating The type of service required by the second terminal device; the second terminal device receives a second response message from the first network device, the second response message includes computing service response information, and the computing service response information indicates a service that supports the requirements of the second terminal device.
  • the first terminal device of the service type is a possible design of the second aspect.
  • the second terminal device can also use a network device-based service terminal device discovery process to acquire information of the first terminal device, so as to request the first computing service from the first terminal device.
  • the method further includes: the second terminal device receiving a third configuration message from the first network device, where the third configuration message is used to configure the relationship between the first terminal device and the second terminal device
  • the first terminal device provides a data forwarding service between the second terminal device and the first network device
  • the third configuration message includes the identifier of the first terminal device and the second indication information
  • the The second indication information is used to instruct the second terminal device to send the data that needs to be subjected to intermediate processing to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
  • the present application provides a computing service discovery method.
  • the method may be executed by a first network device, and may also be executed by a component (eg, a chip or a circuit) configured in the first network device.
  • a component eg, a chip or a circuit
  • the method includes: a first network device receives a second request message from a second terminal device, the second request message includes computing service requirement information, the computing service requirement information indicating a service type required by the second terminal device; the first network device The device determines the first terminal device that supports the service type required by the second terminal device; the first network device sends a second response message to the second terminal device, where the second response message includes computing service response information, and the computing service response message indicates A first terminal device supporting a service type required by the second terminal device.
  • the determining, by the first network device, a first terminal device that supports a service type required by the second terminal device includes: For computing capability information, a first terminal device that supports a service type required by the second terminal device is determined from the M service terminal devices.
  • the method further includes: the first network device receiving computing capability information from the first terminal device.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the method further includes: if none of the M serving terminal devices supports the service type required by the second terminal device, sending the third network device to the second network device by the first network device. a request message, the third request message includes the computing service requirement information, the first network device and the second network device are both access network devices; the first network device receives a third response message from the second network device, the The third response message includes the computing service response information.
  • the first network device can use the service terminal device discovery process based on the network device to discover the first terminal device that can match the requirements of the second terminal device, and provide the information of the first terminal device to the second network device .
  • the first network device may also use the second network device to assist in determining the first terminal device that matches the requirements of the second terminal device, thereby The computing service requirements of the second terminal device are met.
  • the first terminal device provides a data forwarding service between the second terminal device and the first network device; the method further includes: the first network device sends the second terminal device to the first terminal device.
  • a configuration message, the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device and the communication between the first terminal device and the second terminal device.
  • Processing indication information and first indication information corresponding to each logical channel LCH on the interface wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate the The mapping relationship between each LCH and each data radio bearer DRB on the communication interface between the first terminal device and the first network device; the first network device sends a third configuration message to the second terminal device, the third configuration message is used to configure the sidelink connection between the first terminal device and the second terminal device, the third configuration message includes the identifier of the first terminal device and second indication information, and the second indication information is used to indicate the second The terminal device sends data to be intermediately processed to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
  • the present application provides a computing service discovery method.
  • the method can be executed by a first terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the first terminal device.
  • a component eg, a chip or a circuit
  • the method includes: the first terminal device receives a fourth request message from the first network device, where the fourth request message includes an identifier of the second terminal device and computing service request information, where the computing service request information is used to request the first computing service; the first terminal device performs admission control on the first computing service according to its own load situation and the computing service request information; if the first terminal device accepts the first computing service, the first terminal device sends a request to the first network device A fourth response message is sent, where the fourth response message includes computing service acceptance information, where the computing service acceptance information indicates that the first terminal device accepts the first computing service.
  • the first network device can, based on the service terminal device discovery process of the network device, discover the first terminal device that can match the requirements of the second terminal device, and directly initiate a computing service request for the second terminal device to the first terminal device .
  • the discovery efficiency of service terminal equipment can be effectively improved, the signaling overhead on the network side can be reduced, the computing load on the network side can be reduced, the computing capacity of the system can be increased, and the coverage of computing services can be expanded.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion indicator.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
  • the fourth request message further includes paging information, where the paging information is used for The first terminal device is paged, and the fourth response message is further used to restore or re-establish the RRC connection of the first terminal device.
  • the above technical solution can be applied to the scenario where the discovered serving terminal device (ie, the first terminal device) is in the RRC_inactive state or the RRC_idle state, so that the idle computing resources in the communication system can be effectively utilized to expand the computing capacity.
  • the discovered serving terminal device ie, the first terminal device
  • the method further includes: the first terminal device sends its own computing capability information to the first network device.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the first terminal device provides a data forwarding service between the second terminal device and the first network device; the method further includes: the first terminal device receives the first terminal device from the first network device.
  • Two configuration messages the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device, the relationship between the first terminal device and the second terminal device Processing indication information and first indication information corresponding to each logical channel LCH on the communication interface; wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate the The mapping relationship between each LCH and each data radio bearer DRB on the communication interface between the first terminal device and the first network device is described.
  • the relay terminal device can also provide computing services for the second terminal device, For example, the bearer part performs intermediate processing tasks on the first computing service, thereby reducing the load pressure on the network side and expanding the computing capacity of the system.
  • the present application provides a computing service discovery method, and the method can be executed by a first network device, and can also be executed by a component (eg, a chip or a circuit) configured in the first network device.
  • a component eg, a chip or a circuit
  • the method includes: the first network device sends a fourth request message to the first terminal device, where the fourth request message includes an identifier of the second terminal device and computing service request information, where the computing service request information is used to request the first computing service ;
  • the first network device receives a fourth response message from the first terminal device, the fourth response message includes computing service acceptance information, and the computing service acceptance information indicates that the first terminal device accepts the first computing service.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion indicator.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
  • the method further includes: the first network device receives a fifth request message from the second terminal device, where the fifth request message includes the identifier of the second terminal device, the computing Service request information and a service terminal device list, the service terminal device list indicates M service terminal devices near the second terminal device, the fifth request message is used to request the first computing service, M is a positive integer; the first network device from Among the M service terminal devices, a first terminal device of a service type that supports the first computing service is determined.
  • the method further includes: the first network device receiving computing capability information from the first terminal device.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the method further includes: if none of the M service terminal devices supports the service type of the first computing service, the first network device sends a sixth request to the second network device message, the sixth request message includes the identifier of the second terminal device and the computing service request information, the sixth request message is used to request the first computing service from the second network device, the first network device and the second network device Both are access network devices; the first network device receives a sixth response message from the second network device, where the sixth response message includes computing service response information indicating a service type that supports the first computing service The first terminal device.
  • the fourth request message further includes paging information, and the paging information is used for for paging the first terminal device; the fourth response message is also used to restore or re-establish the RRC connection of the first terminal device.
  • the method further includes: the first network device sends a fifth response message to the second terminal device, where the fifth response message includes the identifier of the first terminal device and computing service acceptance information .
  • the first terminal device provides a data forwarding service between the second terminal device and the first network device; the method further includes: the first network device sends the second terminal device to the first terminal device.
  • a configuration message, the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device and the communication between the first terminal device and the second terminal device.
  • Processing indication information and first indication information corresponding to each logical channel LCH on the interface wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate the The mapping relationship between each LCH and each data radio bearer DRB on the communication interface between the first terminal device and the first network device; the first network device sends a third configuration message to the second terminal device, the third configuration message is used to configure the sidelink connection between the first terminal device and the second terminal device, the third configuration message includes the identifier of the first terminal device and second indication information, and the second indication information is used to indicate the second The terminal device sends data to be intermediately processed to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
  • the present application provides a computing service discovery method.
  • the method can be executed by a second terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the second terminal device.
  • a component eg, a chip or a circuit
  • the method includes: the second terminal device sends a fifth request message to the first network device, where the fifth request message includes an identifier of the second terminal device, computing service request information, and a service terminal device list, where the service terminal device list indicates the first M service terminal devices near the two terminal devices, the fifth request message is used to request the first computing service, M is a positive integer; the second terminal device receives the fifth response message from the first network device, the fifth response message The message includes the identifier of the first terminal device and computing service acceptance information, where the computing service acceptance information indicates that the first terminal device accepts the first computing service.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion indicator.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
  • the method further includes: the second terminal device receives a third configuration message from the first network device, where the third configuration message is used to configure the relationship between the first terminal device and the second terminal device
  • the first terminal device provides a data forwarding service between the second terminal device and the first network device
  • the third configuration message includes the identifier of the first terminal device and the second indication information
  • the The second indication information is used to instruct the second terminal device to send the data that needs to be subjected to intermediate processing to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
  • the present application provides a computing service discovery method.
  • the method can be executed by a first network device, and can also be executed by a component (eg, a chip or a circuit) configured in the first network device.
  • a component eg, a chip or a circuit
  • the method includes: the first network device determines that a first computing service needs to be migrated, and the first computing service is a computing service requested by the second terminal device; the first network device sends a sixth request message to the first terminal device, the sixth The request message is used to instruct the first terminal device to initialize the first computing service; the first network device receives a sixth response message from the first terminal device, where the sixth response message is used to indicate that the initialization of the first computing service is completed; the first network device Send a fourth configuration message to the second terminal device, where the fourth configuration message is used to reconfigure the radio resource control RRC connection of the second terminal device, and the fourth configuration message includes the information of the first computing service initialized by the first terminal device. Service ID.
  • the first terminal device is a relay terminal device between the second terminal device and the first network device
  • the first terminal device is instructed to initialize the first computing service and perform RRC on the second terminal device again.
  • the first network device can migrate the first computing service to the first terminal device, and the first terminal device performs intermediate processing on the first computing service, thereby reducing the load pressure on the network side and expanding the computing capacity of the system.
  • the sixth request message includes relevant information of the first computing service that needs to be initialized, and the relevant information of the first computing service includes: service identifier, service context, and associated logic Channel LCH list, so that the first terminal device can determine which computing service needs to be initialized, and the data of the computing service received from which LCHs need to be intermediately processed; the sixth response message includes the initialized first computing service service ID.
  • the fourth configuration message may further include a list of logical channel LCHs associated with the first computing service, so that the second terminal device can determine which LCHs are used to send data that needs to be processed intermediately .
  • the method further includes: the first network device sends first information to the second terminal device, where the first information instructs the second terminal device to find a suitable service terminal device to carry the The first computing service; or, the first information indicates a first terminal device capable of bearing the first computing service.
  • the first information also indicates a migration cause, such as overload.
  • the method further includes: the first network device receives second information from the second terminal device, where the second information indicates that the first computing service needs to be migrated.
  • the second information includes a service identifier of the first computing service.
  • the method further includes: the first network device receiving third information from the first terminal device or the second terminal device, where the third information is used to indicate the first network device, the first A relay relationship between a terminal device and a second terminal device.
  • the first network device can decide to migrate the first computing service to the first network device according to the indication of the second information reported by the second terminal device, or according to the relay relationship reported by the first terminal device or the second terminal device Terminal Equipment.
  • the present application provides a computing service discovery method.
  • the method can be executed by a first terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the first terminal device.
  • a component eg, a chip or a circuit
  • the method includes: the first terminal device receives a sixth request message from the first network device, where the sixth request message is used to instruct the first terminal device to initialize a first computing service, where the first computing service is requested by the second terminal device Computing service; the first terminal device sends a sixth response message to the first network device, where the sixth response message is used to indicate that the initialization of the first computing service is completed.
  • the sixth request message includes related information of the first computing service that needs to be initialized, and the related information of the first computing service includes: service identifier, computing service context, associated Logical channel LCH list; the sixth response message includes the service identifier of the initialized first computing service.
  • the method further includes: establishing a sidelink connection between the first terminal device and the second terminal device; each LCH indicated by the first terminal device from the LCH list associated with the first computing service , receiving data from the second terminal device; after processing the data, the first terminal device sends the processed data to the first network device.
  • the method further includes: the first terminal device sends third information to the first network device, where the third information indicates the first network device, the first terminal device and the second terminal device relay relationship between them.
  • the present application provides a computing service discovery method.
  • the method can be executed by a second terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the second terminal device.
  • a component eg, a chip or a circuit
  • the method includes: the second terminal device receives a fourth configuration message from the first network device, the fourth configuration message is used to reconfigure the radio resource control RRC connection of the second terminal device, and the fourth configuration message includes the first terminal device The identifier of the first computing service that has been initialized by the device; the second terminal device switches the data transmission path of the first computing service to a relay link through the first terminal device to the first network device.
  • the fourth configuration message further includes a list of logical channel LCHs associated with the first computing service.
  • the method further includes: the second terminal device receives first information from the first network device, where the first information instructs the second terminal device to find a suitable service terminal device to carry the first computing service; or, the first information indicates a first terminal device capable of bearing the first computing service.
  • the first information also indicates a migration cause, such as overload.
  • the method further includes: the second terminal device sends second information to the first network device, where the second information indicates that the first computing service needs to be migrated.
  • the second information includes a service identifier of the first computing service.
  • the method further includes: the second terminal device discovers the first terminal device, and establishes a sidelink connection with the first terminal device, where the first terminal device provides the second terminal data forwarding service between the device and the first network device; or the second terminal device establishes a side link connection with the first terminal device according to the indication of the first information.
  • the method further includes: the second terminal device sends third information to the first network device, where the third information indicates the first network device, the first terminal device and the second terminal device relay relationship between them.
  • the present application provides a communication device, the device has the function of implementing the first terminal device in the above aspects, or has the function of implementing the second terminal device in the above aspects, the device may be a terminal device, or It is the chip or circuit included in the terminal equipment.
  • the communication device may also have the function of implementing the first network device in the above aspects, and the device may be a network device or a chip or circuit included in the network device.
  • the functions of the above communication apparatus may be implemented by hardware, or by executing corresponding software in hardware, and the hardware or software includes one or more modules or units or means corresponding to the above functions.
  • the structure of the apparatus includes a processing module and a transceiver module, wherein the processing module is configured to support the apparatus to perform the corresponding functions of the first terminal equipment in the above aspects, or perform the first terminal equipment in the above aspects.
  • the corresponding function of the second terminal device, or the corresponding function of the first network device in the above aspects is performed.
  • the transceiver module is used to support communication between the device and other communication devices. For example, when the device is a first terminal device, it can receive a first request message from a second terminal device.
  • the communication device may also include a storage module, which is coupled to the processing module and stores necessary program instructions and data of the device.
  • the processing module may be a processor
  • the communication module may be a transceiver
  • the storage module may be a memory
  • the memory may be integrated with the processor, or may be provided separately from the processor.
  • the structure of the apparatus includes a processor and may also include a memory.
  • the processor is coupled to the memory and operable to execute computer program instructions stored in the memory to cause an apparatus to perform the methods of the above-described aspects.
  • the apparatus further includes a communication interface to which the processor is coupled.
  • the communication interface may be a transceiver or an input/output interface; when the device is a chip included in the first terminal device or a device in the second terminal device In the case of a chip included or a chip included in the first network device, the communication interface may be an input/output interface of the chip.
  • the transceiver may be a transceiver circuit, and the input/output interface may be an input/output circuit.
  • an embodiment of the present application provides a chip system, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor At the time, the chip system is made to implement the methods in the above aspects.
  • the chip system further includes an interface circuit, and the interface circuit is used to exchange code instructions to the processor.
  • the number of processors in the chip system may be one or more, and the processors may be implemented by hardware or software.
  • the processor may be a logic circuit, an integrated circuit, or the like.
  • the processor may be a general-purpose processor implemented by reading software codes stored in memory.
  • the memory can be integrated with the processor, or can be provided separately from the processor.
  • the memory may be a non-transitory processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip, or may be provided on different chips.
  • embodiments of the present application provide a computer-readable storage medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, enables a communication apparatus to execute the methods in the foregoing aspects.
  • an embodiment of the present application provides a computer program product that, when a communication device executes the computer program product, causes the communication device to execute the above aspects or the methods in any possible designs of the various aspects.
  • an embodiment of the present application provides a communication system, where the communication system includes a first terminal device, a second terminal device, and a first network device.
  • the communication system may further include a second network device.
  • FIG. 1 is a schematic diagram of the MEC application layer architecture
  • Figure 2a, Figure 2b, Figure 2c and Figure 2d are schematic diagrams of the positional relationship between terminal devices in a D2D scenario
  • FIG. 3 is a schematic diagram of a D2D-based MEC network architecture to which an embodiment of the application is applicable;
  • FIG. 4 is a schematic flowchart of a computing service discovery method provided by an embodiment of the present application.
  • FIG. 5 is a specific example of a terminal device-based service terminal device discovery process in an embodiment of the present application
  • FIG. 6 is another specific example of a terminal device-based service terminal device discovery process in an embodiment of the present application.
  • FIG. 7 is another specific example of a terminal device-based service terminal device discovery process in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a first network device-based service terminal device discovery process in an embodiment of the application.
  • FIG. 9 is a specific example of a first network device-based service terminal device discovery process in an embodiment of the application.
  • FIG. 11 is a schematic flowchart of another computing service method provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a second network device-based service terminal device discovery process in an embodiment of the application.
  • FIG. 13 is a specific example of a second network device-based service terminal device discovery process in an embodiment of the application.
  • FIG. 14 is another specific example of the second network device-based service terminal device discovery process in the embodiment of the application.
  • 15 is a specific example when the determined serving terminal equipment is in the RRC inactive state or the RRC idle state in the embodiment of the application;
  • 16 is a schematic diagram of a configuration process performed by a first terminal device and a second terminal device in a relay scenario in an embodiment of the present application;
  • 17 is a schematic diagram of another configuration process performed by a first terminal device and a second terminal device in a relay scenario in an embodiment of the present application;
  • FIG. 18 is a schematic flowchart of another computing service discovery method provided by an embodiment of the present application.
  • 19 is a schematic diagram of data transmission path switching in an embodiment of the present application.
  • FIG. 20 is a specific example of migrating the first computing service in a relay scenario in an embodiment of the application
  • 21 is a schematic flowchart of a dual-connectivity-based computing service discovery and allocation method provided by an embodiment of the present application.
  • FIG. 22 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 23 is another schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 24 is another schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 25 is another schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
  • LTE long term evolution
  • FDD frequency division duplex
  • TDD time division duplex
  • 5G fifth generation mobile communication systems or new radio (NR) systems
  • NR new radio
  • a terminal device is a device that provides voice and/or data connectivity to a user, or a handheld device with wireless connectivity, or other processing device connected to a wireless modem. Terminal devices may communicate with one or more core networks or the Internet via a radio access network (eg, radio access network, RAN), exchanging voice and/or data with the RAN.
  • a radio access network eg, radio access network, RAN
  • Terminal equipment may include user equipment (UE), wireless terminal equipment, mobile terminal equipment, D2D terminal equipment, vehicle to everything (V2X) terminal equipment, machine-to-machine communication (machine-to-machine) /machine-type communications, M2M/MTC) terminal equipment, Internet of things (IoT) terminal equipment, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile station (mobile station), remote station (remote) station), access point (AP), remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent) or user equipment (user device), etc.
  • UE user equipment
  • V2X vehicle to everything
  • M2M/MTC machine-to-machine communication
  • M2M/MTC machine-to-machine communication terminal equipment
  • M2M/MTC machine-to-machine communication terminal equipment
  • M2M/MTC machine-to-machine communication terminal equipment
  • M2M/MTC machine-to-machine communication terminal equipment
  • the terminal equipment may include a mobile phone, a tablet computer, a computer with a wireless transceiver function, a portable, pocket-sized, hand-held, mobile device built into a computer, and the like.
  • the terminal device may include a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving) Terminal, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, smart home ( The wireless terminal in the smart home), the terminal equipment in the public land mobile network (PLMN) that evolves in the future, or the vehicle equipment in V2X, customer premises equipment (customer premises equipment, CPE) and so on.
  • VR virtual reality
  • AR augmented reality
  • WLAN wireless terminal in industrial control
  • self driving self driving
  • smart grid wireless terminal in transportation safety
  • wireless terminal in smart city smart home
  • the wireless terminal in the smart home the terminal equipment in the public land mobile network (PLMN) that evolves
  • the terminal equipment may include a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (personal digital assistant, PDA) and other devices.
  • the terminal device may also include limited devices, such as devices with low power consumption, or devices with limited storage capabilities, or devices with limited computing capabilities, and the like.
  • it includes information sensing devices such as radio frequency identification (radio frequency identification, RFID) devices, various types of sensors, global positioning system (global positioning system, GPS) devices, and laser scanners.
  • RFID radio frequency identification
  • GPS global positioning system
  • laser scanners laser scanners.
  • the terminal device may also be a wearable device.
  • Wearable devices can also be called wearable smart devices or smart wearable devices, etc. It is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. Wait.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to cooperate with other devices such as smart phones.
  • Use such as all kinds of smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring.
  • the various terminal devices described above if they are located on the vehicle (for example, placed in the vehicle or installed in the vehicle), can be considered as on-board terminal equipment.
  • the on-board terminal equipment is also called on-board unit (OBU). ).
  • the wireless access network equipment is the entity used to transmit or receive signals on the network side, and it is the equipment used to connect the terminal equipment to the wireless network in the communication system, generally through a wired link (such as an optical fiber cable) Connect to the core network.
  • a wired link such as an optical fiber cable
  • a radio access network device is a node in the RAN, which may also be called a base station, or a RAN node (or device).
  • the radio access network equipment may include a base station, an evolved base station (evolved NodeB, eNodeB) in an LTE system or an evolved LTE system (LTE-Advanced, LTE-A), a next generation NodeB (next generation NodeB) in a 5G communication system, gNB), transmission reception point (TRP), base band unit (BBU), access point (AP) in wireless local area networks (WLAN), future mobile communication systems
  • the base station in the WiFi system or the access node in the WiFi system, etc.
  • the radio access network device may also be a module or unit that completes some functions of the base station, for example, may be a centralized unit (central unit, CU) or a distributed unit (distributed unit, DU).
  • CU central unit
  • DU distributed unit
  • the radio access network device may be a CU node, a DU node, or an access network device including a CU node and a DU node.
  • the CU node is used to support radio resource control (radio resource control, RRC), packet data convergence protocol (packet data convergence protocol, PDCP), service data adaptation protocol (service data adaptation protocol, SDAP) and other protocols;
  • DU node Used to support radio link control (radio link control, RLC) layer protocol, medium access control (medium access control, MAC) layer protocol and physical layer protocol.
  • radio access network equipment and terminals can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; can also be deployed on water; and can also be deployed on aircraft, balloons, and satellites in the air.
  • the embodiments of the present application do not limit the application scenarios of the wireless access network device and the terminal device.
  • the wireless access network device may be referred to as an access network device for short. Unless otherwise specified, the access network device in the following refers to a wireless access network device.
  • Core network equipment refers to the equipment in the core network (core network, CN) that provides service support for terminal equipment.
  • the core network equipment may include entities such as an access and mobility management function (AMF), a session management function (SMF), and a user plane function (UPF).
  • AMF access and mobility management function
  • SMF session management function
  • UPF user plane function
  • AMF access and mobility management function
  • SMF session management function
  • UPF user plane function
  • AMF entities may also be referred to as AMF network elements or AMF functional entities
  • SMF entities may also be referred to as SMF network elements or SMF functional entities
  • the core network device may refer to the AMF.
  • MEC refers to a technology that offloads the computing load on the terminal side to the computing server at the edge of the network, and provides similar cloud computing, storage and processing capabilities at the edge of the network.
  • MEC mobile communications
  • Some UEs are limited by battery capacity and computing power, and running these applications locally will cause excessive energy consumption.
  • a feasible method is to migrate these services to a remote centralized cloud processor, and use the abundant computing resources of the cloud to reduce the service cost and energy consumption of user terminals.
  • remote execution will result in higher business response latency and high data load pressure on the backhaul bandwidth.
  • Emerging MEC technologies can effectively address these issues. By bringing computing and storage resources to the network edge, MEC can meet the stringent latency and bandwidth requirements of local data processing.
  • FIG. 1 is a schematic diagram of the MEC application layer architecture.
  • the terminal device side includes one or more application clients (application clients) and one or more edge enabler clients (edge enabler clients, EEC).
  • the edge side of the network includes an edge data network (EDN) and an edge configuration server (ECS).
  • EDN is a local data network including edge application server (EAS) and edge enabler server (EES).
  • EAS, EES and ECS can exchange data with the core network.
  • the application client refers to an application residing in the terminal device, which is used to perform client functions.
  • the EEC is used to provide the support functions required by the application client, for example, the EEC is used to obtain and provide configuration information so as to interact with the EAS application layer data traffic; the EEC is used to discover the EAS available in the EDN.
  • EAS is an application server deployed in EDN to perform server functions.
  • the application client connects to the EAS in order to utilize the advantages of edge computing to consume the application's services.
  • Server functions in the application may only be used as EAS. However, if the server functions in the application are available as both an edge application server and an application server residing in the cloud, the functions of the edge application server and the application server may be different.
  • EAS may use core network capabilities in different ways. For example, if EAS is an entity trusted by the core network, it can directly call core network function APIs; or EAS can call core network capabilities through EES; or, EAS can use capability opening functions (such as SCEF or NEF network element) to invoke core network capabilities.
  • EES is used to provide the support functions required by EAS and EEC. For example, EES can provide configuration information to exchange application layer data traffic with EAS; EES can also provide EAS-related information to EEC; EES supports APIs specified in 3GPP TS 23.222. Call and open functions.
  • the ECS is used to provide the support functions required by the EEC to connect to the EES, such as providing EES-related configuration information, including the detailed information of the EDN where the EES is located.
  • the ECS may provide the EEC with Edge configuration information, where the Edge configuration information may include service area information (applicable to a local area data network (LADN)) required by the EEC to connect to the EES, and may also include the ECS and the EES.
  • Information for EES to establish a connection such as a universal resource identifier (URI).
  • URI universal resource identifier
  • D2D refers to the technology of direct communication between terminal devices.
  • D2D can support short-range point-to-point or point-to-multipoint communication between two or more terminal devices.
  • D2D can work in base station assisted mode, or it can work alone without the service of the base station.
  • the location relationship between the terminal devices may include four situations as shown in Figure 2a to Figure 2d: Case 1 (corresponding to Figure 2a), both UEs are not located in the coverage of the base station; Case 2 (corresponding to Figure 2b), one UE is located in the coverage of the base station, and the other UE is not; Case 3 (corresponding to Figure 2c), the two All UEs are located within the coverage area of the base station and within the coverage area of the same base station; in case 4 (corresponding to Figure 2d), both UEs are located within the coverage area of the base station, but the two UEs are located within the coverage area of different base stations respectively .
  • Sidelink refers to the link used for D2D communication, or the link used for direct communication between terminal equipment and terminal equipment, and the uplink (UL) and downlink in the communication system.
  • Road downlink, DL corresponds.
  • Proximity-based services have similar meanings to D2D, and ProSe can be used to refer to D2D.
  • the protocol stipulates that ProSe can provide the following five functions: EPC-level ProSe discovery, EPC support for WLAN direct discovery and communication (EPC support for WLAN direct discovery and communication) communication), direct discovery, direct communication, UE-to-network relay.
  • D2D includes direct discovery and direct communication.
  • direct discovery means that the terminal device with D2D communication capability (or ProSe function) uses the evolved universal terrestrial radio access network (Evolved universal terrestrial radio access network, E-UTRAN), WLAN technology or EPC technology, in the vicinity of can find each other in the area.
  • E-UTRAN evolved universal terrestrial radio access network
  • E-UTRAN evolved universal terrestrial radio access network
  • EPC evolved universal terrestrial radio access network
  • the mutual discovery between terminal devices is realized based on the ProSe direct discovery models (ProSe direct discovery models), which include model A and model B.
  • model A two roles are defined for terminal devices with D2D communication capabilities, namely announcing terminal equipment (announcing UE) and monitoring terminal equipment (monitoring UE). Listening end devices interested in these messages can read the messages and process them.
  • Model B two roles are also defined for terminal devices with D2D communication capabilities, namely, discoverer UE and discoveree UE.
  • Direct communication refers to establishing a communication link between two or more ProSe-capable UEs within a range capable of direct communication, and the direct communication path may use E-UTRAN or WLAN.
  • FIG. 3 is a schematic diagram of a D2D-based MEC network architecture to which the embodiments of the present application are applied.
  • the network architecture includes core network, MEC server, access network equipment and various types of terminal equipment. It should be noted that the embodiments of the present application do not specifically limit the number of MEC servers included in the network architecture, the number of access network devices, and the number and type of terminal devices, and FIG. 3 is only an example.
  • the MEC server located at the edge of the network can provide computing services for the terminal device.
  • the terminal device can establish a connection with the access network device, and transmit data to one or more MEC servers located at the edge of the network through the RAN to process data from the terminal. The data of the device is fed back to the terminal device, so as to complete the data interaction between the terminal device and the MEC server at the edge of the network at the user plane application layer.
  • the terminal device on the terminal device side (which may be a single terminal device or a plurality of aggregated terminal devices) can use the surplus computing resources and storage resources to provide other terminal devices.
  • Provide computing services That is, the terminal device can also act as a network edge node to share some computing tasks on the network side, so as to improve the overall computing capacity of the system.
  • the types of terminal devices can be classified as follows based on functions: 1) Consumer user equipment (C-UE), which is used to obtain computing services. 2) Service terminal equipment (server user equipment, S-UE), which is used to provide computing services. 3) Relay terminal equipment (relay), used to provide data forwarding services to other terminal equipment. 4) Service relay terminal equipment (server+relay), or terminal equipment with both service and relay functions, can be regarded as a combination of service terminal equipment and relay terminal equipment, which refers to multi-level processing scenarios for computing services. , the relay UE performs intermediate processing on the services of the C-UE.
  • “Plurality” refers to two or more than two, and in view of this, “plurality” may also be understood as “at least two” in the embodiments of the present application.
  • “At least one” can be understood as one or more, such as one, two or more. For example, including at least one means including one, two or more, and does not limit which ones are included. For example, if at least one of A, B, and C is included, then A, B, C, A and B, A and C, B and C, or A and B and C may be included. Similarly, the understanding of descriptions such as “at least one” is similar.
  • ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority, or importance of multiple objects. Moreover, the description of “first” and “second” does not limit the objects to be necessarily different.
  • FIG. 4 is a schematic flowchart of a computing service discovery method provided by the present application.
  • the method includes:
  • Step S401 The second terminal device sends a first request message to the first terminal device, where the first request message includes computing service request information, and the computing service request information is used to request the first computing service.
  • the first terminal device receives the first request message from the second terminal device.
  • the first terminal device may be a serving terminal device (ie, an S-UE), and the second terminal device may be a client terminal device (ie, a C-UE).
  • a serving terminal device ie, an S-UE
  • the second terminal device may be a client terminal device (ie, a C-UE).
  • the first request message is used to request the first computing service.
  • the first request message may also be called a direct communication request message (direct communication request message) or a computing service request message (computing service request message), or have other names, which are not limited in this application.
  • the first request message includes computing service request information
  • the computing service request information includes one or more of the following information related to the first computing service to indicate that the current request is the first computing service: service ID (service ID) ), service type, service state type, performance requirement, and completion metrics.
  • the service identifier refers to an identity (identity, ID) of the computing service. It should be noted that the service identifier is only a service code, and does not reflect specific service information, nor can the service content be judged by the service identifier. It should also be noted that the service identifier is optional information in the computing service request information, and when the second terminal device only requests one computing service at a time, the service identifier may not be carried in the computing service request information.
  • the service type is used to indicate the set of service functions or microservices included in the computing service, that is, which service functions or microservices the corresponding computing service requires.
  • the service type may be an artificial intelligence (AI) model or a machine learning (ML) model, which may include a deep neural network (DNN), a convolutional neural network (CNN) ) and other service functions.
  • the service type may be a microservice (microservice) or a service function (service function) type.
  • a video service as an example, it may include video optimization, transmission control protocol (TCP) optimization, bit rate correction, compression Service functions such as bit rate, image enhancement, multi-path parallel transmission, splicing, and video privacy protection.
  • stateful indicates that the server needs to record the processing status of the corresponding computing service, that is, the application context of the service.
  • stateful indicates that the server needs to record the processing status of the corresponding computing service, that is, the application context of the service.
  • stateless indicates that the server does not need to record the application context of the corresponding computing service.
  • the service is interrupted, the corresponding service needs to be reprocessed from the beginning.
  • Hardware requirements are used to indicate the hardware or performance requirements required to complete the corresponding computing service, which may include requirements for one or more of the following parameters:
  • Throughput refers to the amount of information that a computer can process in a certain unit of time.
  • Response time refers to the time from when the input is valid to when the system responds.
  • Utilization rate which refers to the percentage of time that the system is actually used in a given time interval.
  • the word length of the processor refers to the number of digits in the operator that can operate a binary number at a time.
  • the bus width refers to the number of bits of the internal bus in the central processing unit (CPU) connecting the arithmetic unit and the memory.
  • Memory bandwidth which refers to the amount of binary information read out from the memory per unit of time, generally expressed in bytes per second.
  • the main frequency of the CPU refers to the fixed frequency domain of the signal generated by the main clock of the CPU, and its reciprocal is the clock cycle of the CPU.
  • FLOPS floating-point operations per second
  • Completion indicators are used to indicate the key performance indicator (KPI) requirements of the corresponding computing service, that is, requested KPIs, such as latency requirements, accuracy requirements, etc.
  • KPI key performance indicator
  • Step S402 The first terminal device performs admission control (admission control) on the first computing service according to its own load situation and the computing service request information.
  • the first terminal device may first determine whether it supports the service type of the first computing service (that is, whether it supports the service function set of the first computing service). If yes, then determine whether the hardware requirements related to the first computing service are met. If so, it is further judged whether the KPI requirement corresponding to the first computing service can be met under the current load condition (ie, whether the completion index of the first computing service can be reached). If it can be satisfied, the first computing service is accepted. Otherwise, if the conditions of any judgment in the above process are not satisfied, the first computing service is rejected.
  • the service type of the first computing service that is, whether it supports the service function set of the first computing service. If yes, then determine whether the hardware requirements related to the first computing service are met. If so, it is further judged whether the KPI requirement corresponding to the first computing service can be met under the current load condition (ie, whether the completion index of the first computing service can be reached). If it can be satisfied, the first computing service is accepted. Otherwise, if the conditions of any judgment in the above process are not satisfied,
  • Step S403 If the first terminal device accepts the first computing service, the first terminal device sends a first response message to the second terminal device, where the first response message includes computing service acceptance information, and the computing service acceptance information indicates the first The terminal device accepts the first computing service.
  • the second terminal device receives the first response message from the first terminal device.
  • the computing service acceptance information indicates that the first terminal device accepts the first computing service.
  • the computing service acceptance information may include a service identifier of a computing service accepted by the first terminal device.
  • the computing service acceptance information may include a service identifier of the first computing service, indicating that the first terminal device accepts the first computing service. Serve.
  • the first terminal device may also send a first response message to the second terminal device, where the first response message includes computing service rejection information, and the computing service rejection information indicates that the first terminal The device rejects the first computing service, or instructs the first terminal device to reject the computing service requested by the second terminal device in the first request message.
  • the computing service rejection information may include a service identifier of a computing service rejected by the first terminal device, for example, the computing service rejection information may include a service identifier of the first computing service, indicating that the first terminal device has rejected the first computing service. .
  • the first response message may also be referred to as a direct communication accept message (direct communication accept message) or a computing service accept message (computing service accept message), Or have other names, which is not limited in this application.
  • the first terminal device rejects the first computing service the first response message may also be called a direct communication reject message or a computing service reject message, or have other names, This application is also not limited.
  • the above process is described by taking the second terminal device requesting one computing service from the first terminal device as an example, and the second terminal device may also request multiple computing services from the first terminal device at one time.
  • the computing service request information in the first request message may include related information of the multiple computing services.
  • the information may include one or more information of service identification, service type, service status type, hardware requirements, and completion metrics.
  • the first terminal device may carry computing service acceptance information in the returned first response message, and use the computing service acceptance information to indicate to the first terminal device.
  • the accepted one or more computing services for example, the computing service acceptance information may include service identifiers of one or more computing services accepted by the first terminal device.
  • the first terminal device may also carry computing service denial information in the returned first response message, and use the computing service denial information to indicate the first One or more computing services rejected by the terminal device, for example, the computing service rejection information may include service identifiers of one or more computing services rejected by the first terminal device.
  • the first terminal device may carry computing service acceptance information and/or computing service refusal information in the first response message, and the computing service acceptance information and computing service refusal information respectively clearly indicate the second Which of the computing services requested by the terminal device is accepted and which computing services are rejected.
  • the first terminal device may also carry only computing service acceptance information in the first response message, indicating that the computing service indicated in the computing service acceptance information is accepted, and the one or more computing services requested by the second terminal device Other computing services not indicated by the computing service acceptance information are rejected.
  • the second terminal device may establish a connection with the first terminal device to perform data interaction at the application layer.
  • the connection refers to a D2D connection, which may also be referred to as a sidelink connection.
  • the above technical solution provides a mechanism for realizing distributed computing service discovery and distribution among terminal devices, which can effectively reduce the computing load of edge computing in the system, increase the computing capacity of the system, and expand the coverage of computing services.
  • the second terminal device may determine to request the first computing service from the first terminal device in various ways, or the second terminal device may discover the service terminal device in various ways.
  • the first terminal device may broadcast a service type supported by itself, for example, the first terminal device may broadcast a discovery message, and the discovery message carries the service type supported by itself.
  • the second terminal device determines whether the first terminal device can support the service type of the first computing service required by the second terminal device according to the service type supported by the first terminal device. If the first terminal device supports the service type of the first computing service, that is, the service type broadcasted by the first terminal device itself includes the service type of the first computing service, the second terminal device may determine to request the first terminal device First Computing Service.
  • the S-UE may broadcast a discovery message (annoumcement message), and the discovery message includes the service type supported by the S-UE.
  • the C-UE may make a judgment according to the service type supported by the S-UE included therein. If it is determined that the S-UE supports the service type of the first computing service required by the S-UE, it may It is determined to request the first computing service from the S-UE. Further, in step S503, the C-UE may send a first request message to the S-UE, where the first request message includes computing service request information, and the computing service request information is used to request the S-UE for the first computing service .
  • the S-UE may perform admission control on the first computing service requested by the C-UE according to the first computing service requested by the C-UE and its own load situation, and in step S505, report to the C-UE - The UE sends a first response message. If the S-UE accepts the first computing service, or in other words, if the S-UE allows the C-UE to access the first computing service, the computing service acceptance information in the first response message may indicate the accepted first computing service. For example, the computing service acceptance information may include a service identifier of the first computing service. Further, in step S506, the C-UE may select resources for the first computing service. In step S507, after establishing a connection with the S-UE, the C-UE may perform application layer data interaction (application data traffic) with the S-UE.
  • application layer data interaction application data traffic
  • This embodiment is a terminal device-based service terminal device discovery method, which corresponds to model A in the proximity service direct discovery model, wherein the first terminal device is equivalent to the role of announcing terminal device (announcing UE), and the second terminal device Equivalent to the role of monitoring terminal equipment (monitoring UE).
  • the first terminal device may periodically broadcast a discovery message at preset time intervals, and the discovery message includes one or more service types supported by the first terminal device, and other terminal devices interested in these discovery messages can read these. messages and process them.
  • the second terminal device is a terminal device that needs to perform the first computing service. Therefore, it can monitor the discovery message broadcast by the surrounding service terminal devices.
  • the second terminal device After receiving the discovery message broadcast by the first terminal device, if it determines that the first terminal device If the supported service types include the service type of the first computing service required by the service type, it may be determined to request the first computing service from the first terminal device. If the second terminal device determines that multiple service terminal devices support the service type of the first computing service required by the second terminal device, the second terminal device may randomly select or select one of the service terminal devices according to a certain preset rule to request the first computing service Serve. For example, the preset rule may be to select a service terminal device with better communication quality or a closer distance to initiate a service request.
  • the first terminal device may broadcast its own computing capability information, for example, the first terminal device may broadcast a first discovery message, and the first discovery message carries its own computing capability information.
  • the computing capability information may include information such as supported service type (supported service type), hardware parameter information (performance information), and current computing workload (computing workload).
  • the supported service type is used to indicate which computing services the terminal device supports, such as which service functions or microservices are supported
  • the hardware parameter information refers to the throughput, response time, utilization rate, processor word length, bus width, One or more hardware parameter information such as memory bandwidth, CPU frequency, CPU execution time, MIPS, FLOPS, etc.
  • the calculation load information refers to the current CPU usage, graphics processing unit (GPU) usage or One or more pieces of information such as storage occupancy.
  • the second terminal device may determine to request the first computing service from the first terminal device according to the computing capability information of the first terminal device. For example, the second terminal device may determine to request the first computing service from the first terminal device when the first terminal device supports the service type of the first computing service and the hardware conditions and load conditions of the first terminal device are relatively good .
  • the second terminal device may collect computing capability information of multiple nearby service terminal devices including the first terminal device, and then make a comprehensive decision based on the required first computing service and the computing capability information of each service terminal device. , and then select the first terminal device from it to request the first computing service. It should be understood that how the second terminal device selects the first terminal device requesting the first computing service according to the computing capability information of multiple service terminal devices can be implemented internally by the second terminal device, which is not specifically limited in this application. For example, the second terminal device may make a comprehensive consideration and decision according to the hardware parameters and load conditions of the service terminal device.
  • step S601-a S-UE1 may broadcast a first discovery message, where the first discovery message includes computing capability information of S-UE1.
  • step S601-b S-UE2 may broadcast a second discovery message, where the second discovery message includes computing capability information of S-UE2, where S-UE2 refers to another serving terminal device.
  • the C-UE after receiving the first discovery message and the second discovery message, the C-UE can make a comprehensive decision according to the computing capability information of S-UE1 and the computing capability information of S-UE2, and finally determine to request S-UE1 First Computing Service.
  • both S-UE1 and S-UE2 can support the service type of the first computing service, but the hardware parameters of S-UE1 are better than those of S-UE2, and/or the current computing load of S-UE1 is similar to that of S-UE1.
  • the C-UE chooses to request the first computing service from S-UE1.
  • the C-UE may send a first request message to the S-UE1.
  • S-UE1 may perform admission control on the first computing service requested by the C-UE according to the first computing service requested by the C-UE and its own load, and send the request to the C-UE in step S605.
  • the UE sends the first response message. If the S-UE1 accepts the first computing service, or the S-UE1 allows the C-UE to access the first computing service, the computing service acceptance information in the first response message may indicate the accepted first computing service. For example, the computing service acceptance information may include a service identifier of the first computing service. Further, in step S606, the C-UE may select resources for the first computing service. In step S607, the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
  • this embodiment is a terminal device-based service terminal device discovery method, which also corresponds to model A in the proximity service direct discovery model, wherein the first terminal device and other service terminal devices are equivalent to the role of announcing terminal devices.
  • the second terminal device is equivalent to the role of the monitoring terminal device.
  • Each service terminal device can periodically broadcast discovery messages at preset time intervals to announce its own computing capability information to other surrounding terminal devices, and other terminal devices interested in these discovery messages can read these messages and deal with them.
  • different service terminal devices may broadcast discovery messages at the same or different periods, and different service terminal devices may broadcast discovery messages synchronously or asynchronously, which is not limited.
  • the second terminal device is a terminal device that needs to perform the first computing service. Therefore, it can monitor the discovery messages broadcast by the surrounding service terminal devices, obtain the computing capability information of each service terminal device, and make comprehensive decisions based on the computing capability information.
  • the first terminal device requesting the first computing service is determined from each service terminal device.
  • the second terminal device broadcasts the service type required by itself, for example, the second terminal device may send a solicitation message (solicitation message), and the request message carries the service type required by itself, the requirement
  • the service type of can be the service type of the first computing service that the second terminal device needs to perform.
  • the C-UE may broadcast a request message, and the request message includes the service type required by the C-UE, such as the service type of the first computing service, which may be AI Models and/or types of microservices, etc., are not limited.
  • the S-UE can make a judgment according to the service type required by the C-UE included in the request message. If the S-UE supports the service type required by the C-UE, the S-UE The C-UE's request may be responded to, and a response message (response message) may be sent to the C-UE, the response message indicating that the S-UE supports the service type required by the C-UE.
  • step S703 after receiving the response message, the C-UE can know that the S-UE supports the first computing service, and determines to request the S-UE for the first computing service. Further, in step S704, the C-UE may send a first request message to the S-UE, where the first request message includes computing service request information, where the computing service request information is used to request the S-UE for the first computing service. Subsequently, in step S705, the S-UE may perform admission control on the first computing service requested by the C-UE according to the first computing service requested by the C-UE and its own load, and in step S706, send the request to the C-UE in step S706. The UE sends the first response message.
  • the computing service acceptance information in the first response message may indicate the accepted first computing service.
  • the computing service acceptance information may include a service identifier of the first computing service.
  • the C-UE may select resources for the first computing service.
  • the C-UE may perform application layer data interaction with the S-UE after establishing a connection with the S-UE.
  • step S701 and step S704 in this example may be combined into one step, and correspondingly, step S702 and step S706 may also be combined into one step.
  • This embodiment is a terminal device-based service terminal device discovery method, which corresponds to model B in the direct discovery model of proximity services, wherein the second terminal device is equivalent to the role of a discoverer (discoveree UE), and the first terminal device Equivalent to the role of discoverer UE.
  • the second terminal device may broadcast a request message, the request message includes the service type information of the required computing service, and other terminal devices interested in the request message The request message can be read and processed.
  • the first terminal device can receive the request message broadcast by the second terminal device, and when it is determined that it can support the service type required by the second terminal device, it can send the request message to the second terminal device. A response message to the message to indicate that the second terminal device can request the relevant computing service from it.
  • the first terminal device may send its own computing capability information to the first network device, and the first network device determines, according to the computing capability information of the first terminal device, that the first terminal device can The service type required by the second terminal device is supported, and the information of the first terminal device is provided to the second terminal device, so that the second terminal device can request the first computing service from the first terminal device.
  • the first network device may be a core network device (such as an AMF) or a wireless access network device (such as a base station), which is not limited.
  • other service terminal devices can also send their own computing capability information to the first network device.
  • the first terminal device is determined from one or more service terminal devices of the service type required by the second terminal device, and the information of the first terminal device is provided to the second terminal device, or the first network device can also support the first terminal device.
  • the information of one or more service terminal devices of the service type required by the second terminal device is provided to the second terminal device, and the second terminal device determines by itself to request the first computing service from the first terminal device.
  • This embodiment is a network device-based service terminal device discovery method, or a network-assisted service terminal device discovery method.
  • the network device After discovering a suitable service terminal device, the network device provides information of the service terminal device to the client terminal device, and the client terminal device itself requests the corresponding computing service from the service terminal device.
  • the discovery efficiency (or search efficiency) of the service terminal device can be effectively improved.
  • the client terminal device only needs to establish a connection with the service terminal device provided by the network device to obtain the corresponding computing service.
  • FIG. 8 is a schematic diagram of a process of discovering a service terminal device based on a network device in an embodiment of the present application, and the method includes:
  • Step S801 The second terminal device sends a second request message to the first network device, where the second request message includes computing service requirement information, where the computing service requirement information indicates a service type required by the second terminal device.
  • the first network device receives the second request message from the second terminal device.
  • Step S802 the first network device determines the first terminal device that supports the service type required by the second terminal device.
  • the first network device may obtain the respective computing capability information of the M service terminal devices, and then, according to the obtained computing capability information of the M service terminal devices, determine from the M service terminal devices that the second terminal device supports the second terminal device.
  • the first terminal device of the required service type, M is a positive integer. It can be understood that if the first network device can determine, from the M serving terminal devices, a first terminal device that can support the service type required by the second terminal device, it means that there are M serving terminal devices that can support the requirements of the second terminal device.
  • the service terminal equipment of the service type, or in other words, the M service terminal equipment includes the first terminal equipment.
  • obtaining the computing capability information of each of the M service terminal devices by the first network device may be that the first network device receives the computing capability information of the service terminal device from each of the M service terminal devices.
  • the first terminal device may send its own computing capability information to the first network device, or the first terminal device may report its own computing capability information to the first network device.
  • the first network The device may receive computing capability information from the first terminal device.
  • the first network device can be a core network device (such as AMF) or a wireless access network device (such as a base station)
  • the first network device can send its own computing capability information to the receiver.
  • the incoming wireless access network device, and then the computing capability information of the first terminal device is sent to the core network device through the wireless access network device. If the first network device is a wireless access network device, the first terminal device may directly send its own computing capability information to the connected wireless access network device.
  • the device determines that there is no service terminal device of the service type that supports the requirements of the second terminal device among the M service terminal devices, or, in other words, if the first network device cannot find the service terminal device A service terminal device that can support the service type required by the second terminal device, the first network device may request the second network device to assist in determining the first terminal device that can support the service type required by the second terminal device, the second network device is another wireless access network device.
  • the first network device may send a third request message to the second network device, where the third request message includes computing service requirement information, where the computing service requirement information indicates a service type required by the second terminal device.
  • the second network device may receive the third request message from the first network device.
  • the second network device determines the first terminal device that can support the service type required by the second terminal device, and sends a third response message to the first network device, where the third response message includes computing service response information, the computing service
  • the response information indicates the first terminal device that supports the service type required by the second terminal device.
  • the computing service response information may include the identifier of the first terminal device, which is used to indicate that the first terminal device can support the requirements of the second terminal device. The corresponding computing service can be requested from the first terminal device.
  • the embodiments of the present application do not specifically limit the manner in which the second network device determines the first terminal device that supports the service type required by the second terminal device.
  • the second network device may determine the first terminal device that supports the service type of the second terminal device from the various service terminal devices according to the computing capability information of each service terminal device obtained by itself.
  • the second terminal device may also use other methods to determine the first terminal device, and this application will not give examples one by one.
  • Step S803 The first network device sends a second response message to the second terminal device, where the second response message includes computing service response information, where the computing service response information indicates the first terminal device that supports the service type required by the second terminal device .
  • Step S804 The second terminal device may determine to request the first computing service from the first terminal device according to the computing service response information.
  • the computing service response information may include the identifier of the first terminal device, which is used to indicate that the first terminal device can support the service type required by the second terminal device, and can request the corresponding computing service from the first terminal device.
  • the first network device may also determine multiple service terminal devices that can support the service type required by the second terminal device, and indicate the multiple service terminal devices to the second terminal device through the computing service response information in the second response message.
  • the service terminal device for example, carries the identifiers of the plurality of service terminal devices in the computing service response information. Then, the second terminal device determines the first terminal device requesting the first computing service from the plurality of service terminal devices.
  • the second request message may also be called a computing service request message, or has other names, which are not limited.
  • the second response message may also be called a computing service response message, or have other names, which are not limited.
  • the third request message may also be called a computing service request message, or have other names, which are not limited.
  • the third response message may also be called a computing service response message, or have other names, which are not limited.
  • the C-UE may send a second request message to the gNB/AMF, where the second request message includes computing service requirement information, and the computing service requirement information indicates that the C-UE -
  • the service type required by the UE may be the service type of the first computing service that the C-UE needs to perform, may be an AI model and/or a microservice type, etc., which is not limited.
  • the gNB/AMF may determine the S-UE1 that supports the service type required by the C-UE.
  • the gNB/AMF may determine, from the M S-UEs, the S-UE1 that supports the service type required by the C-UE according to the acquired computing capability information of the M S-UEs.
  • the gNB/AMF may receive the computing capability information reported by each of the M S-UEs.
  • the gNB/AMF may send a second response message to the C-UE, where the second response message includes computing service response information, where the computing service response information indicates the S-UE1 that supports the service type required by the C-UE.
  • the computing service response information may include the identifier of the S-UE1.
  • the C-UE may send a first request message to the S-UE1, where the first request message includes computing service request information for requesting the S-UE1 for the first computing service.
  • the S-UE1 may perform admission control on the first computing service requested by the C-UE according to its own load situation and the computing service request information, and send the first computing service to the C-UE in step S906.
  • a response message If the S-UE1 accepts the first computing service, or if the S-UE1 allows the C-UE to access the first computing service, the first response message may include computing service accepting information indicating that the S-UE1 accepts the first computing service the first computing service.
  • the computing service acceptance information may indicate the accepted first computing service, for example, the computing service acceptance information may include a service identifier of the first computing service.
  • the C-UE may select resources for the first computing service.
  • the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
  • the C-UE may send a second request message to gNB1, where the second request message includes computing service requirement information indicating that the C-UE
  • the service type required by the UE may be, for example, the service type of the first computing service that the C-UE needs to perform, may be an AI model and/or a microservice type, etc., which is not limited.
  • gNB1 cannot find an S-UE capable of supporting the service type required by the C-UE.
  • gNB1 may send a third request message to gNB2, where the third request message includes computing service requirement information, where the computing service requirement information indicates a service type required by the C-UE.
  • gNB1 may send the third request message to gNB2 through the Xn interface between gNBs.
  • the gNB2 may determine the S-UE1 that supports the service type required by the C-UE.
  • the gNB2 may determine the S-UE1 that supports the service type required by the C-UE from each of the S-UEs according to the obtained computing capability information of the several S-UEs.
  • gNB2 may send a third response message to gNB1, where the third response message includes computing service response information, and the computing service response information indicates S-UE1 that supports the service type required by the C-UE.
  • the computing service response information may include the identifier of the S-UE1.
  • the gNB1 may send a second response message to the C-UE, where the second response message includes the computing service response information, where the computing service response information indicates the S-UE1 that supports the service type required by the C-UE.
  • the C-UE may send a first request message to the S-UE1, where the first request message includes computing service request information, and the computing service request information is used to request the S-UE1 for the first computing service.
  • S-UE1 may perform admission control on the first computing service requested by the C-UE according to the first computing service requested by the C-UE and its own load, and send the request to the C-UE in step S1009.
  • the UE sends the first response message. If the S-UE1 accepts the first computing service, or if the S-UE1 allows the C-UE to access the first computing service, the computing service acceptance information in the first response message may indicate the accepted first computing service.
  • the computing service acceptance information may include a service identifier of the first computing service.
  • the C-UE may select resources for the first computing service.
  • the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
  • the above technical solution provides a distributed computing service discovery and distribution between terminal devices, which can be realized based on D2D, or can be realized with the assistance of network devices (such as core network devices or wireless access network devices). Therefore, it can be realized. effectively improve the applicability of the method.
  • FIG. 11 is a schematic flowchart of another computing service discovery method provided by an embodiment of the present application.
  • the method includes:
  • Step S1101 The first network device sends a fourth request message to the first terminal device, where the fourth request message includes the identifier of the second terminal device and computing service request information, where the computing service request information is used to request the first computing service.
  • the first terminal device receives the fourth request message from the first network device.
  • the first terminal device may be a service terminal device (ie S-UE), the second terminal device may be a client terminal device (ie C-UE), and the first network device may be a core network device (such as AMF) or wireless access network equipment (such as base station).
  • S-UE service terminal device
  • C-UE client terminal device
  • AMF core network device
  • base station wireless access network equipment
  • the fourth request message is used to request the first computing service.
  • the fourth request message includes the identifier of the second terminal device, which is used to indicate that the first computing service is requested for the second terminal device.
  • the fourth request message also includes computing service request information, where the computing service request information includes one or more of the following information related to the first computing service to indicate that the request is the first computing service: service ID (service ID) , service type (service type), service state type (service state type), hardware requirement (performance requirement), completion indicator.
  • service ID service ID
  • service type service type
  • service state type service state type
  • hardware requirement performance requirement
  • the hardware requirements may include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency, CPU execution time, How many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations per second, FLOPS.
  • throughput response time
  • utilization processor word length
  • bus width memory bandwidth
  • central processing unit CPU frequency CPU execution time
  • CPU execution time How many million fixed-point instructions are executed per second
  • MIPS How many million fixed-point instructions are executed per second
  • FLOPS floating-point operations per second
  • the fourth request message may also be called a computing service request message (computing service request message), or have other names, which are not limited in this application.
  • Step S1102 The first terminal device performs admission control on the first computing service according to its own load situation and the computing service request information.
  • step S1102 For the specific implementation of step S1102, reference may be made to the above description of step S402, which will not be repeated here.
  • Step S1103 If the first terminal device accepts the first computing service, the first terminal device sends a fourth response message to the first network device, where the fourth response message includes computing service acceptance information, and the computing service acceptance information indicates acceptance First Computing Service.
  • the first network device receives the fourth response message from the first terminal device.
  • the computing service acceptance information indicates acceptance of the first computing service.
  • the computing service acceptance information may include a service identifier of the first computing service to indicate that the first terminal device has accepted the first computing service.
  • the first terminal device may also send a fourth response message to the first network device, where the fourth response message includes computing service rejection information, and the computing service rejection information indicates that the first terminal The device rejects the first computing service, or in other words instructs the first network device to provide the computing service requested by the second terminal device in the fourth request message.
  • the computing service rejection information may include a service identifier of the first computing service, which is used to indicate that the first terminal device has rejected the first computing service.
  • the fourth response message may also be called a computing service accepting message or has another name, which is not limited in this application.
  • the fourth response message may also be called a computing service rejection message or have another name, which is also not limited in this application.
  • the first network device may also request multiple computing services from the first terminal device at one time. Not limited. For the specific implementation of the request for requesting multiple computing services at one time, please refer to the relevant description in step S403, which will not be repeated here.
  • the second terminal device may send the first network device Send a fifth request message, where the fifth request message includes the identifier of the second terminal device and the computing service request information. That is, the computing service request information included in the fourth request message may be the same as the computing service request information included in the fifth request message, both of which are used to request the first computing service, and may include one or more items related to the first computing service. For details, please refer to the relevant description above, which will not be repeated here.
  • the first network device may determine the first terminal device that supports the service type of the first computing service.
  • the first network device may send a fourth request message to the determined first terminal device, where the fourth request message includes the identifier of the second terminal device and computing service request information, and is used to send the first request message to the first terminal device.
  • the terminal device requests the first computing service.
  • the first terminal device performs admission control on the first computing service according to its own load situation and the computing service request information. If the first terminal device accepts the first computing service, in step S1205, the first terminal device may send a fourth response message to the first network device, where the fourth response message includes computing service acceptance information to indicate to the first terminal The device receives the first computing service.
  • the first network device may send a fifth response message to the second terminal device, and the fifth response message may also include computing service acceptance information for Indicates that the first terminal device has accepted the first computing service. Therefore, in step S1207, the second terminal device may select resources for the first computing service, and in step S1208, the second terminal device may establish a D2D connection (or a sidelink connection) with the first terminal device, Data interaction at the application layer is performed with the first terminal device.
  • step S1203 For specific implementations of step S1203 , step S1204 and step S1205 , reference may be made to the relevant descriptions of step S1101 , step S1102 , and step S1103 above, which will not be repeated here.
  • the computing service discovery method shown in FIG. 11 and FIG. 12 is also a service terminal device discovery method based on network devices, and the centralized computing service discovery process can effectively improve the discovery efficiency of service terminal devices (or say search efficiency).
  • the difference between the methods shown in FIG. 11 and FIG. 12 is that after the network device finds a suitable service terminal device, it directly sends a request for the client terminal device to the service terminal device. Instead of providing the determined information of the service terminal equipment to the client terminal equipment, the signaling overhead on the network side can be effectively reduced, the delay in the discovery process of the service terminal equipment can be shortened, and the computing task can be improved. distribution efficiency.
  • the fifth request message may further include a service terminal equipment list (proxmity S-UE list), where the service terminal equipment list is used to indicate the second terminal
  • the M serving terminal devices near the device may include, for example, the identifiers of the M serving terminal devices near the second terminal device, where M is a positive integer.
  • the first network device may, according to the calculation service request information and the service terminal device list in the fifth request message, select the M service terminals indicated by the service terminal device list from the service terminal device list.
  • a first terminal device of a service type that supports the first computing service is determined.
  • the first network device may obtain the respective computing capability information of the M service terminal devices, and according to the computing capability information of the M service terminal devices, determine, from the M service terminal devices, support for the first service terminal device.
  • the computing capability information includes information such as supported service types, hardware parameter information, and current computing load. For details about the content included in the computing capability information, reference may be made to the relevant description above, which will not be repeated here.
  • the first network device can determine the first terminal device that supports the service type of the first computing service from the M service terminal devices indicated by the service terminal device list, it means that there is a support device among the M service terminal devices.
  • obtaining the computing capability information of each of the M service terminal devices by the first network device may be that the first network device receives the computing capability information of the service terminal device from each of the M service terminal devices.
  • the first terminal device may send its own computing capability information to the first network device, or the first terminal device may report its own computing capability information to the first network device.
  • the first network The device may receive computing capability information from the first terminal device.
  • the first network device can be a core network device (such as AMF) or a wireless access network device (such as a base station)
  • the first network device can send its own computing capability information to the receiver.
  • the incoming wireless access network device, and then the computing capability information of the first terminal device is sent to the core network device through the wireless access network device. If the first network device is a wireless access network device, the first terminal device may directly send its own computing capability information to the connected wireless access network device.
  • the first network device may, according to the computing service request information in the fifth request message, retrieve the computing capability information from the network device that has obtained the computing capability information.
  • a first terminal device of a service type that supports the first computing service is determined.
  • the fifth request message does not include a list of service terminal devices, and the M service terminal devices are M services for which the first network device has obtained computing capability information by itself. Terminal Equipment.
  • the first network device determines the first terminal device that supports the service type of the first computing service
  • M is used to represent the number of service terminal devices, but this does not mean that the two The values of M in the various embodiments are the same.
  • the above two embodiments may be implemented alternatively, or may be implemented in combination with each other.
  • the first network device may first search for a service terminal device that can support the service type of the first computing service from the service terminal device list provided by the second terminal device.
  • the first network device is a wireless access network device
  • if none of the M service terminal devices supports the service type of the first computing service, or if the first network device Computing capability information, it is determined that there is no service terminal device that supports the service type of the first computing service among the M service terminal devices, or if the first network device cannot find a service terminal device that can support the service type of the first computing service , or if the first network device cannot find a service terminal device that can meet or meet the service type required by the second terminal device the first network device can request the second network device to assist in determining the service that can support the first computing service Type of first terminal equipment, the second network equipment is another wireless access network equipment.
  • the M service terminal devices may refer to the M service terminal devices indicated by the second terminal device in the service terminal device list, or may refer to the M service terminal devices for which the first network device has obtained computing capability information
  • the terminal device may also refer to the whole including the service terminal device indicated by the second terminal device in the service terminal device list and the service terminal device for which the first network device has obtained the computing capability information, which is not limited.
  • the first network device may send the sixth request message to the second network device, and correspondingly, the second network device may receive the sixth request message from the first network device.
  • the sixth request message includes the identifier of the second terminal device and the computing service request information, wherein the computing service request information is used to request the first computing service, and the computing service request information may include information related to the first computing service.
  • the identifier of the second terminal device is used to indicate that the first computing service is requested for the second terminal device.
  • the sixth request message may also include an identifier of the second terminal device and computing service requirement information, where the computing service requirement information indicates a service type of the first computing service.
  • the second network device may determine the first terminal device supporting the service type of the first computing service, and send a sixth response message to the first network device, where the sixth response message includes computing service response information, and the computing service responds
  • the information indicates the first terminal device that supports the service type of the first computing service
  • the computing service response information may include the identifier of the first terminal device, which is used to indicate that the first terminal device can support the service type of the first computing service
  • the first computing service may be requested from the first terminal device.
  • the first network device may receive the sixth response message from the second network device, and according to the computing service response information in the sixth response message, determine to request the first computing service from the first terminal device, and then request the first terminal device for the first computing service.
  • the device sends a fourth request message.
  • the embodiment of the present application does not specifically limit the manner in which the second network device determines the first terminal device supporting the service type of the first computing service.
  • the second network device may determine the first terminal device that supports the service type of the first computing service from each of the service terminal devices according to the computing capability information of each service terminal device obtained by itself.
  • the second terminal device may also use other methods to determine the first terminal device, and this application will not give examples one by one.
  • the first network device can determine by itself the first terminal device that supports the service type of the first computing service, for example, according to the computing capability information of each service terminal device indicated by the service terminal device list reported by the second terminal device, Alternatively, with the assistance of the second network device, the first terminal device that supports the service type of the first computing service may be determined according to the computing service response information in the sixth response message sent by the second network device.
  • the C-UE may send a fifth request message to the gNB/AMF, where the fifth request message includes the identity of the C-UE, computing service request information and S -UE list, the computing service request information is used to request the first computing service, and the S-UE list is used to indicate M S-UEs near the C-UE.
  • the gNB/AMF may determine, from the S-UE list, the S-UE1 that supports the service type of the first computing service. For example, the gNB/AMF may determine, according to the computing capability information of the M S-UEs, the S-UE1 that supports the service type of the first computing service from the M S-UEs.
  • the gNB/AMF may receive the computing capability information reported by each of the M S-UEs.
  • the gNB/AMF may send a fourth request message to S-UE1, where the fourth request message includes the identity of the C-UE and the computing service request information, and is used to request the first computing service from S-UE1 .
  • S-UE1 may perform admission control on the first computing service according to its own load situation and the computing service request information, and send a fourth response message to the gNB/AMF in step S1305.
  • the fourth response message may include computing service acceptance information indicating that the S-UE1 UE1 accepts the first computing service.
  • the computing service acceptance information may indicate the accepted first computing service, for example, the computing service acceptance information may include a service identifier of the first computing service.
  • the gNB/AMF may send a fifth response message to the C-UE, where the fifth response message includes the computing service acceptance information.
  • the C-UE may select resources for the first computing service.
  • the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
  • the C-UE may send a fifth request message to gNB1, where the fifth request message includes the identity of the C-UE, computing service request information and S -UE list, the computing service request information is used to request the first computing service, and the S-UE list is used to indicate M S-UEs near the C-UE.
  • gNB1 cannot find an S-UE of the service type that can support the first computing service from the S-UE list, that is, none of the M S-UEs in the S-UE list supports the first computing service.
  • a service type of a computing service is possible.
  • gNB1 may send a sixth request message to gNB2, where the sixth request message includes the identity of the C-UE and the computing capability request information.
  • gNB1 may send the sixth request message to gNB2 through the Xn interface between gNBs.
  • gNB2 may determine the S-UE1 that supports the service type of the first computing service. For example, the gNB2 may determine the S-UE1 that supports the service type of the first computing service from each of the S-UEs according to the obtained computing capability information of several S-UEs.
  • gNB2 may send a sixth response message to gNB1, where the sixth response message includes computing service response information, where the computing service response information indicates the S-UE1 that supports the service type of the first computing service.
  • the computing service response information may include the identifier of the S-UE1.
  • gNB1 may send a fourth request message to S-UE1, where the fourth request message includes the identity of the C-UE and the computing service request information, and is used to request the first computing service from S-UE1.
  • step S-UE1 may perform admission control on the first computing service according to its own load situation and the computing service request information, and send a fourth response message to gNB1 in step S1408.
  • the fourth response message may include computing service accepting information, the computing service accepting information indicating S-UE1 Received the first computing service.
  • the computing service acceptance information may indicate the accepted first computing service, for example, the computing service acceptance information may include a service identifier of the first computing service.
  • gNB1 may send a fifth response message to the C-UE, where the fifth response message includes the computing service acceptance information.
  • the C-UE may select resources for the first computing service.
  • the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
  • the first network device determines the first terminal device, if the first terminal device is in the RRC_connected state (RRC_connected), the above method may be directly performed.
  • the fourth request message may further include paging information, where the paging information is used to page the first terminal device, so that the first terminal device enters the RRC_connected state.
  • the fourth response message may also be used to resume (resume) or re-establish (resetup) the RRC connection of the first terminal device.
  • the fourth request message is specifically a paging message, such as a RAN paging message or a CN paging message, and the paging message includes the identifier of the second terminal device and computing service request information, that is, the When paging the first terminal device, the paging message is also used to request the first computing service for the second terminal device.
  • a paging message such as a RAN paging message or a CN paging message
  • the paging message includes the identifier of the second terminal device and computing service request information, that is, the When paging the first terminal device, the paging message is also used to request the first computing service for the second terminal device.
  • the first network device is a radio access network device (such as a base station).
  • the fourth request message may include the identifier of the second terminal device, computing service request information, and paging information, where the computing service request information is used to request the first computing service, and the paging information is used for the RAN Paging the first terminal device, or the paging information is used to initiate RAN paging for the first terminal device, or the paging information is specifically RAN paging information for the first terminal device.
  • the fourth request message has the dual function of requesting the first computing service from the first terminal device and initiating RAN paging for the first terminal device in the RRC_inactive state. Therefore, the fourth request message may also be called a computing service request message or a RAN paging message, or have other names, which are not limited.
  • the fourth response message sent by the first terminal device can not only be used to indicate that the first terminal device has accepted the first computing service, but can also be used to restore the first
  • the fourth response message may include RRC connection recovery request information.
  • the fourth response message may also be called a computing service response message or an RRC connection recovery request message, or has other names, which are not limited.
  • the first network device is a core network device (such as an AMF).
  • the fourth request message may include the identifier of the second terminal device, computing service request information, and paging information, where the computing service request information is used to request the first computing service, and the paging information is used for CN Paging the first terminal device, or the paging information is used to initiate CN paging for the first terminal device, or the paging information is specifically CN paging information for the first terminal device.
  • the fourth request message has the dual function of requesting the first computing service from the first terminal device and initiating CN paging for the first terminal device in the RRC_idle state. Therefore, the fourth request message may also be called a computing service request message or a CN paging message, or have other names, which are not limited.
  • the fourth response message sent by the first terminal device can not only be used to indicate that the first terminal device has accepted the first computing service, but also be used to re-establish the first computing service.
  • the fourth response message may include RRC connection re-establishment request information.
  • the fourth response message may also be called a computing service response message or an RRC connection re-establishment request message, or has other names, which are not limited.
  • the C-UE may send a fifth request message to the gNB, where the fifth request message includes the identity of the C-UE, computing service request information and S -UE list, the computing service request information is used to request the first computing service, and the S-UE list is used to indicate M S-UEs near the C-UE.
  • the gNB may determine, from the S-UE list, the S-UE1 that supports the service type of the first computing service. For example, the gNB may determine, according to the computing capability information of the M S-UEs, the S-UE1 that supports the service type of the first computing service from the M S-UEs.
  • the gNB may receive the computing capability information reported by each of the M S-UEs.
  • the gNB may send a fourth request message to the S-UE1, where the fourth request message includes the identity of the C-UE, the computing service request information and the RAN paging information, and is used to request the S-UE1 for the fourth request message.
  • a computing service and at the same time initiates RAN paging for the S-UE to enter the RRC_CONNECTED state.
  • the gNB may forward the fifth request message received from the C-UE to the AMF.
  • the AMF may determine, from the S-UE list, the S-UE1 that supports the service type of the first computing service. For example, the AMF may determine, according to the computing capability information of the M S-UEs, the S-UE1 that supports the service type of the first computing service from the M S-UEs.
  • the AMF may receive the computing capability information reported by each of the M S-UEs through the gNB.
  • the AMF may send a fourth request message to the S-UE1, where the fourth request message includes the identity of the C-UE, the computing service request information and the CN paging information, and is used to request the S-UE1 for the first request message.
  • a computing service and at the same time initiates CN paging for the S-UE to enter the RRC_CONNECTED state.
  • S-UE1 may perform admission control on the first computing service according to its own load situation and the computing service request information, and send a fourth response message to the gNB in step S1508.
  • the fourth response message may include computing service acceptance information indicating that the S-UE1 UE1 accepts the first computing service.
  • the computing service acceptance information may indicate the accepted first computing service, for example, the computing service acceptance information may include a service identifier of the first computing service.
  • the gNB may send a fifth response message to the C-UE, where the fifth response message includes the computing service acceptance information.
  • the C-UE may select resources for the first computing service.
  • the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
  • the above technical solution provides another computing service discovery and distribution mechanism assisted by network equipment, which can effectively reduce the computing load of edge computing in the system, increase the computing capacity of the system, and expand the coverage of computing services.
  • the relay terminal device is only used to provide a remote terminal device (remote UE) with a transparent data forwarding service to the network, and does not involve computing services.
  • the relay terminal device may provide the client terminal device with a data forwarding service and a computing service at the same time.
  • the relay terminal device can provide data forwarding services and computing services for the client terminal device at the same time, in a possible implementation manner, the relay terminal device and the client terminal device can perform the configuration process shown in FIG. 16 . :
  • Step S1601 Execute a terminal device-based service terminal device discovery process to discover a first terminal device.
  • the first terminal device establishes a sidelink connection with the second terminal device.
  • the first terminal device is a relay terminal device or may also be called a service terminal device
  • the second terminal device is a remote terminal device or may also be called a client terminal device
  • the first network device is a wireless connection device.
  • Access devices eg base stations
  • the first terminal device can be used as a relay terminal device to provide data forwarding services between the second terminal device and the first network device, and can also be used as a service terminal device to provide computing services for the second terminal device.
  • the first terminal device performs intermediate processing on the computing services of the second terminal device.
  • the service terminal device discovery process based on the terminal device can be implemented by using any of the methods shown in FIG. 4 to FIG. 7 .
  • the specific process please refer to the above related description and FIG. 4 to FIG. 7 , which will not be repeated.
  • Step S1602 the second terminal device sends a first configuration message to the first terminal device, where the first configuration message is used to reconfigure the sidelink connection between the first terminal device and the second terminal device, the first configuration message
  • the processing instruction information corresponding to each logical channel (logical channel, LCH) on the communication interface between the first terminal equipment and the second terminal equipment is included, and the processing instruction information is used to indicate whether the data received from the corresponding LCH needs to be processed.
  • LCH logical channel
  • the first terminal device may receive the first configuration message from the second terminal device.
  • Step S1603 The first terminal device sends a first configuration complete message to the second terminal device, where the first configuration complete message is used to indicate that the reconfiguration of the sidelink connection between the first terminal device and the second terminal device is completed.
  • the second terminal device and the first network device can perform data exchange through the relay of the first terminal device, wherein the first terminal device receives the part of the data from the second terminal device or All data may be intermediately processed at the first terminal device and then sent to the first network device.
  • the relay terminal device, the client terminal device, and the network device may perform the configuration process as shown in FIG. 17 :
  • Step S1701 Execute a service terminal device discovery process based on a network device to discover a first terminal device.
  • the first terminal device is a relay terminal device or may also be called a service terminal device
  • the second terminal device is a remote terminal device or may also be called a client terminal device
  • the first network device is a wireless connection device.
  • Access devices eg base stations
  • the first terminal device can be used as a relay terminal device to provide data forwarding services between the second terminal device and the first network device, and can also be used as a service terminal device to provide computing services for the second terminal device.
  • the first terminal device performs intermediate processing on the computing services of the second terminal device.
  • the service terminal device discovery process based on the network device can be implemented based on any method shown in FIG. 8 to FIG. 10 , or can be implemented based on any method shown in FIG. 11 to FIG. 15 , which is not limited.
  • FIG. 8 to FIG. 15 please refer to the above related description and FIG. 8 to FIG. 15 , which will not be repeated.
  • Step S1702 The first network device sends a second configuration message to the first terminal device, where the second configuration message is used to reconfigure the RRC connection of the first terminal device.
  • the first terminal device may receive the second configuration message from the first network device.
  • the second configuration message includes the identifier of the second terminal device, processing indication information corresponding to each LCH on the communication interface between the first terminal device and the second terminal device, and the first indication information.
  • the processing indication information is used to indicate whether intermediate processing is required for the data received from the corresponding LCH
  • the first indication information is used to indicate that each LCH on the communication interface between the first terminal device and the second terminal device and the first
  • the mapping relationship between each data radio bearer (data radio bearer, DRB) on the communication interface between a terminal device and the first network device may, after performing corresponding data processing, process the processed data according to the first indication information.
  • the data is sent to the first network device through the DRB corresponding to the LCH.
  • the communication interface between the first terminal device and the second terminal device may be a PC5 interface
  • the communication interface between the first terminal device and the first network device may be a Uu interface
  • Step S1703 The first network device sends a third configuration message to the second terminal device, where the third configuration message is used to configure a side link connection between the first terminal device and the second terminal device.
  • the second terminal device may receive the third configuration message from the first network device.
  • the third configuration message includes the identifier of the first terminal device and second indication information, where the second indication information is used to instruct the second terminal device to send the data that needs to be intermediately processed to the first terminal device and the second terminal device. on one or more LCHs specified on the communication interface between them.
  • the designated one or more LCHs for receiving the data that need to be subjected to intermediate processing are consistent with the processing indication information corresponding to each LCH indicated in the second configuration information sent by the first network device to the first terminal device.
  • the first terminal device can establish a side link connection with the second terminal device, and the second terminal device and the first network device can pass through the first terminal device.
  • the relay performs data interaction, wherein part or all of the data received by the first terminal device from the second terminal device may be intermediately processed at the first terminal device and then sent to the first network device.
  • FIG. 16 the difference between FIG. 16 and the technical solution shown in FIG. 17 is that the configuration process shown in FIG. 16 is triggered by the second terminal device to perform corresponding configuration and instructions.
  • the first network device triggers the corresponding configuration and instruction.
  • which LCH data on the communication interface between the first terminal device and the second terminal device needs to undergo intermediate processing is indicated by the second terminal device
  • which data on the LCH on the communication interface between the first terminal device and the second terminal device needs to be subjected to intermediate processing is indicated by the first network device.
  • the relay terminal device can perform intermediate processing on the computing service of the remote terminal device.
  • the computing load on the network side can be effectively reduced and the system reliability can be improved. Calculate capacity.
  • an embodiment of the present application further provides another computing service discovery method.
  • the method is used for migrating computing services in a relay scenario, and migrating computing services from the network side to the service terminal device for bearing.
  • the method includes: :
  • Step S1801 The first network device determines that the first computing service needs to be migrated, and the first computing service is the computing service requested by the second terminal device.
  • the first terminal device is a relay terminal device or may also be called a service terminal device
  • the second terminal device is a remote terminal device or may also be called a client terminal device
  • the first network device is a wireless connection device.
  • Access devices eg base stations. That is to say, the first terminal device can be used as a relay terminal device to provide data forwarding services between the second terminal device and the first network device, and can also be used as a service terminal device to provide computing services for the second terminal device.
  • the first network device determining that the first computing service needs to be migrated may include: the first network device, according to the current load situation, decides to perform the first computing service when overload occurs or is about to occur. migrate.
  • the first network device may send first information to the second terminal device, where the first information may instruct the second terminal device to find a suitable service terminal device to carry the first computing service.
  • the second terminal device can perform a terminal device-based service terminal device discovery process, discover the first terminal device, and establish a sidelink connection with the first terminal device.
  • the terminal device-based service terminal device discovery process may be implemented using any of the methods shown in FIG. 4 to FIG. 7 . For the specific process, please refer to the above related description and FIG. 4 to FIG. 7 , which will not be repeated.
  • the second terminal device may also report relevant information of the first terminal device to the first network device, such as the identifier of the first terminal device, or the relationship between the first network device, the first terminal device and the second terminal device. so that the first network device migrates the first computing service to the first terminal device.
  • the relay relationship between the first network device, the first terminal device, and the second terminal device may also be reported by the first terminal device.
  • the second terminal device or the first terminal device may send the third information to the first network device, where the third information is used to indicate the relay relationship between the first network device, the first terminal device and the second terminal device,
  • the first network device may determine to migrate the first computing service to the first terminal device according to the third information.
  • the first information may also indicate a first terminal device capable of bearing the first computing service, for example, the first information may include an identifier of the first terminal device. Since the first terminal device is directly indicated in the first information, the second terminal device no longer needs to discover the first terminal device through the terminal device-based service terminal device discovery process, but can directly find the first terminal device according to the indication of the first information , and establishes a side link connection with the first terminal device.
  • the first information may also indicate a migration cause, such as overload, link quality degradation, and system-level load balancing purposes.
  • the first network device determining that the first computing service needs to be migrated may include: the second terminal device deciding that the first computing service needs to be migrated, for example, deciding to migrate based on a network indication, or at the network side
  • the decision to migrate is made, and then the second terminal device may send second information to the first network device, where the second information indicates that the first computing service needs to be migrated.
  • the first network device may determine that the first computing service needs to be migrated.
  • the second information may include a service identifier of the first computing service.
  • the second terminal device may also perform a terminal device-based service terminal device discovery process, discover the first terminal device, and establish a sidelink connection with the first terminal device.
  • the second terminal device may also report relevant information of the first terminal device to the first network device, such as the identifier of the first terminal device, or the relationship between the first network device, the first terminal device and the second terminal device. so that the first network device migrates the first computing service to the first terminal device.
  • the relay relationship between the first network device, the first terminal device, and the second terminal device may also be reported by the first terminal device.
  • the second terminal device or the first terminal device may send the third information to the first network device, where the third information is used to indicate the relay between the first network device, the first terminal device and the second terminal device relationship, the first network device may determine to migrate the first computing service to the first terminal device according to the third information.
  • Step S1802 The first network device sends a sixth request message to the first terminal device, where the sixth request message is used to instruct the first terminal device to initialize the first computing service.
  • the first terminal device may receive the sixth request message from the first network device, and initialize the first computing service.
  • the sixth request message includes the relevant information of the first computing service that needs to be initialized, and the relevant information of the first computing service may include the service ID (service ID), service context (service context) and associated information of the first computing service.
  • LCH list associated LCH list.
  • the service context of the first computing service may include information such as processing progress and intermediate data of the first computing service.
  • the LCH list associated with the first computing service may indicate one or more LCHs associated with the first computing service on the communication interface between terminal devices, for example, the LCH list may include logical channel identifiers of the one or more LCHs (logical channel ID, LCID), indicating that the data of the first computing service is transmitted through one or more LCHs indicated in the LCH list.
  • the communication interface may be, for example, a PC5 interface between two terminal devices with sidelink connections.
  • Step S1803 The first terminal device sends a sixth response message to the first network device, where the sixth response message is used to indicate that the initialization of the first computing service is completed.
  • the first network device may receive the sixth response message from the first terminal device.
  • the sixth response message may include a service identifier of the initialized first computing service.
  • the sixth request message may also be called a service initialization request (service initialization request) message, or has other names, which are not limited.
  • the sixth response message may also be called a service initialization response (service initialization response) message, or have other names, which are not limited.
  • Step S1804 The first network device sends a fourth configuration message to the second terminal device, where the fourth configuration message is used to reset the RRC connection of the second terminal device, and the fourth configuration message includes the first terminal device initialization completed.
  • a service identifier for a computing service is used to reset the RRC connection of the second terminal device, and the fourth configuration message includes the first terminal device initialization completed.
  • the second terminal device may receive the fourth configuration message from the first network device.
  • the fourth configuration message may further include an LCH list associated with the first computing service, so that the second terminal device sends the data of the first computing service to the LCH through one or more LCHs indicated by the LCH list.
  • the first terminal device may further include an LCH list associated with the first computing service, so that the second terminal device sends the data of the first computing service to the LCH through one or more LCHs indicated by the LCH list. The first terminal device.
  • Step S1805 The second terminal device switches the data transmission path of the first computing service to a relay link from the first terminal device to the first network device.
  • the second terminal device may change the data transmission path of the first computing service from the original through the uplink and/or downlink between the second terminal device and the first network device.
  • the transmission is switched to transmission via the sidelink between the second terminal device and the first terminal device and the uplink and/or downlink between the first terminal device and the first network device.
  • the second terminal device can switch the data transmission path of the first computing service from the original transmission through the communication interface (such as the Uu interface) between the second terminal device and the first network device to the second terminal device and the first network device.
  • the communication interface (such as the PC5 interface) between the first terminal devices and the communication interface (such as the Uu interface) between the first terminal device and the first network device are transmitted.
  • the first terminal device may receive data from the first terminal device from one or more LCHs indicated in the LCH list associated with the first computing service in the communication interface between the first terminal device and the second terminal device.
  • the data of the second terminal device is further processed, and the processed data is sent to the first network device.
  • the embodiments of the present application are described by taking the migration of the first computing service as an example.
  • the first network device may decide to migrate one or more computing services, which is not limited.
  • the sixth request message may be used to request the first terminal device to initialize one or more computing services
  • the sixth response message may also be used to indicate that the initialization of one or more computing services is completed
  • the fourth configuration message may include the first terminal device. Information about one or more computing services for which device initialization is complete.
  • the first computing service is carried on the gNB, and the C-UE can perform data interaction at the application layer with the gNB, and communicate with the gNB through the C-UE.
  • the Uu interface between them transmits the data of the first computing service.
  • the C-UE can perform a terminal device-based S-UE discovery process, discover the S-UE1, and establish a PC5 interface connection with the S-UE1, that is, a sidelink connection.
  • step S2002 as shown by the dotted line in the figure, the C-UE or the S-UE1 can report the relay relationship between them.
  • the gNB may decide to migrate the first computing service to the S-UE1 bearer according to the relay relationship between the C-UE and the S-UE1 that can be reported.
  • the gNB may send a service initialization request to S-UE1, where the service initialization request includes a list of computing services that need to be initialized (or a list of computing services that need to be migrated), and the list of computing services indicates the first computing service that needs to be initialized Serve.
  • the computing service list may include information related to the first computing service that needs to be initialized, such as a service identifier of the first computing service, a service context, an associated LCH list, etc., where the associated LCH list is used to indicate transmission.
  • the S-UE1 may send a service initialization response to the gNB, where the service initialization response may include a list of computing services that have been initialized, and the computing service list indicates the first computing services that have been initialized, for example, including the first computing services that have been initialized.
  • the service ID of the compute service may be included in the first terminal device.
  • the first terminal device may receive intermediate data layer data (intermediate application data) of the first computing service from the first network device.
  • the gNB may send an RRC reconfiguration message to the C-UE, where the RRC reconfiguration message includes the service identifier of the first computing service initialized by the S-UE1 and the LCH list associated with the first computing service.
  • the C-UE can switch the data transmission path of the first computing service, from the original uplink and downlink between the C-UE and the gNB to the side link between the C-UE and the S-UE1 link and uplink and downlink between S-UE1 and gNB. After that, the C-UE can perform data interaction at the application layer with the gNB through the relay of the S-UE1.
  • the computing tasks on the network side can be migrated to the relay terminal equipment, thereby effectively reducing the computing load on the network side and expanding the computing capacity of the system.
  • an embodiment of the present application further provides a dual connectivity (DC)-based computing service discovery and allocation method, the method includes:
  • Step S2101 The second terminal device sends a seventh request message to the first network device, where the seventh request message includes computing service request information, where the computing service request information is used to request the first computing service.
  • the first network device may receive the seventh request message from the second terminal device.
  • the second terminal device is a client terminal device
  • the first network device and the second network device are wireless access network devices, such as base stations, and the second terminal device accesses the first network device, or the first network device
  • a network device is a serving radio access network device or serving node of the second terminal device.
  • the computing service request information includes one or more pieces of information related to the requested first computing service, such as service identifiers, service types, service status types, hardware requirements, completion indicators, and the like.
  • service identifiers such as service identifiers, service types, service status types, hardware requirements, completion indicators, and the like.
  • Step S2102 the first network device determines that the first computing service is not supported.
  • determining that the first network device does not support the first computing service may mean that the first network device does not support the service type of the first computing service, or that the service type supported by the first network device does not include the first computing service.
  • Step S2103 The first network device sends an eighth request message to the second network device, where the eighth request message includes the computing service request information.
  • the second network device may receive the eighth request message from the first network device.
  • Step S2104 the second network device performs admission control on the first computing service.
  • the second network device may perform the first computing service based on a variety of possible factors, such as the type of service it supports, its own hardware conditions, the current load situation, and related information of the first computing service. admission control. This application does not specifically limit the judgment process of the admission control performed by the second network device.
  • Step S2105 If the second network device accepts the first computing service, the second network device may send an eighth response message to the first network device, where the eighth response message includes computing service acceptance information, and the computing service acceptance information is used for instructing the second network device to accept the first computing service.
  • the first network device may receive the eighth response message from the second network device.
  • the computing service acceptance information may include a service identifier of the first computing service accepted by the second network device.
  • accepting the first computing service by the second network device means that the second network device supports the service type of the first computing service and is capable of providing the first computing service externally.
  • Step S2106 The first network device sends a seventh response message to the second terminal device, where the seventh response message includes the computing service acceptance information.
  • the second terminal device may receive the seventh response message from the first network device.
  • the seventh request message may also be called a computing service request message or have other names, which is not limited.
  • the seventh response message may also be called a computing service response message or have other names, and neither limited.
  • the eighth request message may also be called a computing service request message or have other names, which are not limited, and correspondingly, the eighth response message may also be called a computing service response message or have other names, which are also not limited. It should be understood that even though the seventh request message and the eighth request message have the same names, they are still different messages, that is, two messages, but the contents of the two may be the same, indicating that the first network device is not interested in the second terminal device. The received content is forwarded. The same is true for the seventh response message and the eighth response message, and details are not repeated here.
  • Step S2107 the second terminal device connects the first network device and the second network device in a dual connection manner, wherein the first network device is the primary wireless access network device, and the second network device is the secondary wireless access network device.
  • the first network device is a master node accessed by the second terminal device
  • the second network device is a secondary node accessed by the second terminal device
  • the second terminal device can obtain the first computing service from the second network device in a dual connection manner, and perform data interaction at the application layer with the second network device.
  • FIG. 22 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • the communication device 2200 includes a transceiver module 2210 and a processing module 2220 .
  • the communication apparatus may be used to implement the functions related to the first terminal device or the second terminal device in any of the foregoing method embodiments.
  • the communication device may be a terminal device, such as a handheld terminal device or a vehicle-mounted terminal device; the communication device may also be a chip or circuit included in the terminal device, or a device including the terminal device, such as various types of vehicles.
  • the transceiver module 2210 is configured to receive a first request message from the second terminal device, the first request The message includes computing service request information, and the computing service request information is used to request the first computing service; the processing module 2220 is configured to perform admission control on the first computing service according to its own load situation and the computing service request information; If the communication device accepts the first computing service, the transceiver module 2210 is further configured to send a first response message to the second terminal device, where the first response message includes computing service acceptance information, and the computing service acceptance information indicates that the first terminal is The device accepts the first computing service.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
  • the transceiver module 2210 is further configured to broadcast the service type supported by itself, or broadcast its own computing capability information, or send its own computing capability information to the first network device.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the transceiver module 2210 is further configured to receive the service type required by the second terminal equipment broadcast by the second terminal equipment; and send a response message to the second terminal equipment, where the response message indicates that the communication apparatus supports The service type required by the second terminal device.
  • the processing module 2220 is further configured to establish a sidelink connection with the second terminal device, and the communication apparatus is configured to provide a data forwarding service between the second terminal device and the first network device;
  • the module 2210 is further configured to receive a first configuration message from the second terminal device, where the first configuration message is used to reconfigure the side link connection between the communication apparatus and the second terminal device, in the first configuration message Including processing instruction information corresponding to each logical channel LCH on the communication interface between the communication device and the second terminal equipment, the processing instruction information is used to indicate whether the data received from the corresponding LCH needs to be subjected to intermediate processing; the transceiver module 2210 uses and sending a first configuration complete message to the second terminal device.
  • the communication apparatus is configured to provide a data forwarding service between the second terminal device and the first network device; the transceiver module 2210 is further configured to receive a second configuration message from the first network device, the The second configuration message is used to reconfigure the radio resource control RRC connection of the communication device, and the second configuration message includes the identifier of the second terminal device and each logical channel on the communication interface between the communication device and the second terminal device Processing indication information and first indication information corresponding to the LCH; wherein, the processing indication information is used to indicate whether intermediate processing is required for the data received from the corresponding LCH, and the first indication information is used to indicate the respective LCHs and the communication device.
  • the transceiver module 2210 is configured to send a first request message to the first terminal device, where the first request message includes computing service request information, the computing service request information is used to request a first computing service; and receiving a first response message from the first terminal device, the first response message includes computing service acceptance information, the computing service acceptance information indicates the first A terminal device accepts the first computing service.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
  • the transceiver module 2210 is further configured to receive the service type supported by the first terminal device broadcast by the first terminal device. If the first terminal device supports the service type of the first computing service, the processing module 2220 uses Then, determine to request the first computing service from the first terminal device; or, the transceiver module 2210 is further configured to receive the computing capability information of the first terminal device broadcasted by the first terminal device, and the processing module 2220 is further configured to, according to the computing capability information, determine to request the first computing service from the first terminal device.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the transceiver module 2210 is further configured to broadcast the service type required by the communication device; and receive a response message from the first terminal device, the response message indicating that the first terminal device supports the service required by the communication device type.
  • the processing module 2220 is further configured to establish a sidelink connection with the first terminal device, where the first terminal device is configured to provide a data forwarding service between the communication apparatus and the first network device;
  • the transceiver module 2210 is further configured to send a first configuration message to the first terminal device, where the first configuration message is used to reconfigure the side link connection between the first terminal device and the communication apparatus, and the first configuration message contains Including processing indication information corresponding to each logical channel LCH on the communication interface between the first terminal equipment and the communication device, the processing indication information is used to indicate whether intermediate processing is required for the data received from the corresponding LCH; the transceiver module 2210 also is used to receive a first configuration complete message from the first terminal device.
  • the transceiver module 2210 is further configured to send a second request message to the first network device, where the second request message includes computing service requirement information, where the computing service requirement information indicates a service required by the communication device
  • the transceiver module 2210 is further configured to receive a second response message from the first network device, where the second response message includes computing service response information, the computing service response information indicating a first service type that supports the requirements of the communication device Terminal Equipment.
  • the transceiver module 2210 is further configured to receive a third configuration message from the first network device, where the third configuration message is used to configure a sidelink connection between the first terminal device and the communication apparatus , the first terminal device provides a data forwarding service between the communication device and the first network device, and the third configuration message includes the identifier of the first terminal device and second indication information, where the second indication information is used to indicate the
  • the communication apparatus sends the data that needs to be subjected to intermediate processing to one or more LCHs designated on the communication interface between the first terminal equipment and the communication apparatus.
  • the transceiver module 2210 is configured to receive a second request message from the second terminal device, where the second request message includes Calculate service demand information, where the calculation service demand information indicates the service type required by the second terminal device; the processing module 2220 is used to determine the first terminal device that supports the service type required by the second terminal device; the transceiver module 2210 is also used to send The second terminal device sends a second response message, where the second response message includes computing service response information, and the computing service response message indicates the first terminal device that supports the service type required by the second terminal device.
  • the processing module 2220 is specifically configured to, according to the acquired computing capability information of the M service terminal devices, determine, from the M service terminal devices, the first service type that supports the requirements of the second terminal device. a terminal device.
  • the transceiver module 2210 is further configured to receive computing capability information from the first terminal device.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the transceiver module 2210 is further configured to send a third request message to the second network device, the third The request message includes the computing service requirement information, the communication device and the second network device are both access network devices; the transceiver module 2210 is further configured to receive a third response message from the second network device, the third response message including the computing service response information.
  • the first terminal device provides a data forwarding service between the second terminal device and the communication device;
  • the transceiver module 2210 is further configured to send a second configuration message to the first terminal device, the second configuration The message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device, and each logical channel LCH on the communication interface between the first terminal device and the second terminal device.
  • Corresponding processing indication information and first indication information wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate that each LCH and the first terminal equipment
  • the transceiver module 2210 is further configured to send a third configuration message to the second terminal device, where the third configuration message is used to configure the first A sidelink connection between the terminal device and the second terminal device, the third configuration message includes the identifier of the first terminal device and second indication information, and the second indication information is used to indicate that the second terminal device will
  • the intermediately processed data is sent to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
  • the transceiver module 2210 is configured to receive a fourth request message from the first network device, where the fourth request message includes The identifier of the second terminal device and the computing service request information, the computing service request information is used to request the first computing service; the processing module 2220 is configured to, according to its own load situation and the computing service request information, perform the processing on the first computing service. Admission control; if the communication device accepts the first computing service, the transceiver module 2210 is further configured to send a fourth response message to the first network device, where the fourth response message includes computing service acceptance information, and the computing service acceptance information The communication device is instructed to accept the first computing service.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
  • the fourth request message further includes paging information, where the paging information is used to page the communication device , the fourth response message is also used to restore or re-establish the RRC connection of the communication device.
  • the transceiver module 2210 is further configured to send its own computing capability information to the first network device.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the communication apparatus provides a data forwarding service between the second terminal device and the first network device; the transceiver module 2210 is further configured to receive a second configuration message from the first network device, the second The configuration message is used to reconfigure the radio resource control RRC connection of the communication device, and the second configuration message includes the identifier of the second terminal device, the corresponding LCH of each logical channel on the communication interface between the communication device and the second terminal device.
  • the processing indication information and the first indication information wherein, the processing indication information is used to indicate whether intermediate processing is required for the data received from the corresponding LCH, and the first indication information is used to indicate the respective LCHs and the communication device and the first indication information.
  • the transceiver module 2210 is configured to send a fourth request message to the first terminal device, where the fourth request message includes the first The identification of the second terminal device and the computing service request information, the computing service request information is used to request the first computing service; and receiving a fourth response message from the first terminal device, the fourth response message includes computing service acceptance information, the The computing service acceptance information indicates that the first terminal device accepts the first computing service.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
  • the transceiver module 2210 is further configured to receive a fifth request message from the second terminal device, where the fifth request message includes the identifier of the second terminal device, the computing service request information and the service terminal a device list, where the service terminal device list indicates M service terminal devices near the second terminal device, the fifth request message is used to request the first computing service, and M is a positive integer;
  • the processing module 2220 is further configured to, from the M Among the service terminal devices, a first terminal device of a service type that supports the first computing service is determined.
  • the transceiver module 2210 is further configured to receive computing capability information from the first terminal device.
  • the computing capability information includes supported service types, hardware parameter information, and current computing load.
  • the transceiver module 2210 is further configured to send a sixth request message to the second network device, the sixth request message
  • the message includes the identifier of the second terminal device and the computing service request information, and the sixth request message is used to request the first computing service from the second network device, and the communication device and the second network device are both access network devices;
  • the transceiver module 2210 is further configured to receive a sixth response message from the second network device, where the sixth response message includes computing service response information, where the computing service response information indicates the first terminal device that supports the service type of the first computing service .
  • the fourth request message further includes paging information, where the paging information is used to page the first terminal device terminal equipment; the fourth response message is also used to restore or re-establish the RRC connection of the first terminal equipment.
  • the transceiver module 2210 is further configured to send a fifth response message to the second terminal device, where the fifth response message includes the identifier of the first terminal device and the computing service acceptance information.
  • the first terminal device provides a data forwarding service between the second terminal device and the communication device;
  • the transceiver module 2210 is further configured to send a second configuration message to the first terminal device, the second configuration The message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device, and each logical channel LCH on the communication interface between the first terminal device and the second terminal device.
  • Corresponding processing indication information and first indication information wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate that each LCH and the first terminal equipment
  • the transceiver module 2210 is further configured to send a third configuration message to the second terminal device, where the third configuration message is used to configure the first The side link connection between the terminal device and the second terminal device, the third configuration message includes the identifier of the first terminal device and the second indication information, the second indication information is used to indicate that the second terminal device will need to perform
  • the intermediately processed data is sent to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
  • the transceiver module 2210 is configured to send a fifth request message to the first network device, where the fifth request message includes the The identification of the communication device, the computing service request information, and the service terminal device list, the service terminal device list indicates M service terminal devices near the communication device, the fifth request message is used to request the first computing service, and M is a positive integer
  • the transceiver module 2210 is further configured to receive the fifth response message from the first network device, the fifth response message includes the identification of the first terminal device and the computing service acceptance information, and the computing service acceptance information indicates that the first terminal device accepts the First Computing Service.
  • the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
  • the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
  • the transceiver module 2210 is further configured to receive a third configuration message from the first network device, where the third configuration message is used to configure a sidelink connection between the first terminal device and the communication apparatus , the first terminal device provides a data forwarding service between the communication device and the first network device, and the third configuration message includes the identifier of the first terminal device and second indication information, where the second indication information is used to indicate the
  • the communication apparatus sends the data that needs to be subjected to intermediate processing to one or more LCHs designated on the communication interface between the first terminal equipment and the communication apparatus.
  • the processing module 2220 is configured to determine that the first computing service needs to be migrated, and the first computing service is the second terminal device the requested computing service; the transceiver module 2210 is configured to send a sixth request message to the first terminal device, where the sixth request message is used to instruct the first terminal device to initialize the first computing service; the transceiver module 2210 is further configured to receive data from the first terminal device A sixth response message from the terminal device, the sixth response message is used to indicate that the initialization of the first computing service is completed; the transceiver module 2210 is further configured to send a fourth configuration message to the second terminal device, where the fourth configuration message is used to re-configure The radio resource control RRC connection of the second terminal device is configured, and the fourth configuration message includes the service identifier of the first computing service initialized by the first terminal device.
  • the sixth request message includes relevant information of the first computing service that needs to be initialized, and the relevant information of the first computing service includes: a service identifier, a service context, and an associated logical channel LCH list;
  • the sixth response message includes the service identifier of the initialized first computing service.
  • the fourth configuration message may further include a list of logical channel LCHs associated with the first computing service.
  • the transceiver module 2210 is further configured to send first information to the second terminal device, where the first information instructs the second terminal device to find a suitable service terminal device to carry the first computing service; or , where the first information indicates a first terminal device capable of bearing the first computing service.
  • the first information also indicates a migration cause, such as overload.
  • the transceiver module 2210 is further configured to receive second information from the second terminal device, where the second information indicates that the first computing service needs to be migrated.
  • the second information includes a service identifier of the first computing service.
  • the transceiver module 2210 is configured to receive third information from the first terminal device or the second terminal device, where the third information is used to indicate the communication apparatus, the first terminal device and the second terminal device relay relationship between them.
  • the transceiver module 2210 is configured to receive a sixth request message from the first network device, where the sixth request message is used for Instruct the communication device to initialize the first computing service, the first computing service is the computing service requested by the second terminal device; the processing module 2220 is used to initialize the first computing service; the transceiver module 2210 is also used to send the first network The device sends a sixth response message, where the sixth response message is used to indicate that the initialization of the first computing service is completed.
  • the sixth request message includes relevant information of the first computing service that needs to be initialized, and the relevant information of the first computing service includes: service identifier, computing service context, and associated logical channel LCH list ;
  • the sixth response message includes the service identifier of the initialized first computing service.
  • the processing module 2220 is further configured to establish a sidelink connection with the second terminal device; the transceiver module 2210 is further configured to receive from each LCH indicated by the LCH list associated with the first computing service data from the second terminal device; the processing module 2220 is further configured to, after processing the data, send the processed data to the first network device.
  • the transceiver module 2210 is further configured to send third information to the first network device, where the third information indicates the relay relationship between the first network device, the communication apparatus, and the second terminal device.
  • the transceiver module 2210 is configured to receive a fourth configuration message from the first network device, where the fourth configuration message is used for Reconfigure the radio resource control RRC connection of the communication device, and the fourth configuration message includes the identifier of the first computing service initialized by the first terminal device; the processing module 2220 is configured to switch the data transmission path of the first computing service to through the relay link from the first terminal device to the first network device.
  • the fourth configuration message further includes a list of logical channel LCHs associated with the first computing service.
  • the transceiver module 2210 is further configured to receive first information from a first network device, where the first information instructs the communication apparatus to find a suitable service terminal device to carry the first computing service; or , where the first information indicates a first terminal device capable of bearing the first computing service.
  • the first information also indicates a migration cause, such as overload.
  • the transceiver module 2210 is further configured to send second information to the first network device, where the second information indicates that the first computing service needs to be migrated.
  • the second information includes a service identifier of the first computing service.
  • the processing module 2220 is further configured to discover a first terminal device and establish a side link connection with the first terminal device, and the first terminal device provides a connection between the communication device and the first network device. or the processing module 2220 is further configured to, according to the indication of the first information, establish a side link connection with the first terminal device.
  • the transceiver module 2210 is further configured to send third information to the first network device, where the third information indicates a relay relationship between the first network device, the first terminal device, and the communication apparatus.
  • the processing module 2220 involved in the communication device may be implemented by at least one processor or a processor-related circuit component, and the transceiver module 2210 may be implemented by at least one transceiver or a transceiver-related circuit component or a communication interface.
  • the operations and/or functions of each module in the communication device are respectively to implement the corresponding processes of the methods shown in FIG. 4 to FIG. 21 , and are not repeated here for brevity.
  • the communication device may further include a storage module, the storage module may be used to store data and/or instructions, the transceiver module 2210 and/or the processing module 2220 may read the data and/or instructions in the access module, Thereby, the communication device can implement the corresponding method.
  • the memory module can be implemented, for example, by at least one memory.
  • the above-mentioned storage module, processing module, and transceiver module may exist separately, or all or part of the modules may be integrated, for example, the storage module and the processing module are integrated, or the processing module and the transceiver module are integrated.
  • FIG. 23 is another schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
  • the communication apparatus may specifically be a terminal device for implementing any of the above method embodiments involving the first terminal device or the first terminal device. 2.
  • Function of terminal equipment For the convenience of understanding and illustration, in FIG. 23 , the terminal device is a mobile phone as an example.
  • the terminal device includes a processor, may also include a memory, and of course, may also include a radio frequency circuit, an antenna, an input and output device, and the like.
  • the processor is mainly used to process communication protocols and communication data, control terminal equipment, execute software programs, and process data of software programs.
  • the memory is mainly used to store software programs and data.
  • the radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal.
  • Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves.
  • Input and output devices such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal equipment may not have input and output devices.
  • the processor When data needs to be sent, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit.
  • the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves.
  • the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data.
  • FIG. 23 only one memory and processor are shown in FIG. 23 . In an actual end device product, there may be one or more processors and one or more memories.
  • the memory may also be referred to as a storage medium or a storage device or the like.
  • the memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
  • the antenna and the radio frequency circuit with a transceiver function may be regarded as a transceiver unit of the terminal device, and the processor with a processing function may be regarded as a processing unit of the terminal device.
  • the terminal device includes a transceiver unit 2310 and a processing unit 2320 .
  • the transceiving unit may also be referred to as a transceiver, a transceiver, a transceiving device, or the like.
  • the processing unit may also be referred to as a processor, a processing single board, a processing module, a processing device, and the like.
  • the device for implementing the receiving function in the transceiver unit 2310 may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit 2310 may be regarded as a transmitting unit, that is, the transceiver unit 2310 includes a receiving unit and a transmitting unit.
  • the transceiver unit may also sometimes be referred to as a transceiver, a transceiver, or a transceiver circuit.
  • the receiving unit may also sometimes be referred to as a receiver, receiver, or receiving circuit, or the like.
  • the transmitting unit may also sometimes be referred to as a transmitter, a transmitter, or a transmitting circuit, or the like.
  • transceiving unit 2310 is configured to perform the sending and receiving operations on the terminal device side in the above method embodiments
  • processing unit 2320 is configured to perform other operations on the terminal device in the above method embodiments except the transceiving operations.
  • FIG. 24 is another schematic structural diagram of a communication device provided by an embodiment of the present application.
  • the communication device may be specifically a network device, such as a base station, for implementing any of the above method embodiments involving the first network
  • the function of the device or the second network device for example, the function when the first network device and the second network device are both radio access network devices.
  • the communication device 2400 includes: one or more DUs 2401 and one or more CUs 2402.
  • the DU 2401 may include at least one antenna 24011, at least one radio frequency unit 24012, at least one processor 24013 and at least one memory 24014.
  • the DU 2401 is mainly used for transmitting and receiving radio frequency signals, converting radio frequency signals to baseband signals, and part of baseband processing.
  • the CU 2402 may include at least one processor 24022 and at least one memory 24021.
  • the CU 2402 is mainly used to perform baseband processing, control the base station, and the like.
  • the CU 2402 is the control center of the base station, and may also be referred to as a processing unit.
  • the CU 2402 may be used to control the base station to perform the operations or steps corresponding to the first network device or the second network device in the methods shown in the foregoing FIG. 4 to FIG. 21 .
  • the CU 2402 and the DU 2401 can communicate through interfaces, wherein the control plane (CP) interface can be Fs-C, such as F1-C, the user plane (UP) interface can be Fs-U, Such as F1-U.
  • the DU 2401 and the CU 2402 may be physically set together, or may be physically set apart (ie, distributed base stations), which is not limited.
  • the baseband processing on the CU and DU can be divided according to the protocol layers of the wireless network.
  • the functions of the PDCP layer and the above protocol layers are set in the CU, and the function settings of the protocol layers below the PDCP layer (such as the RLC layer and the MAC layer, etc.) are set. in DU.
  • the CU implements the functions of the RRC and PDCP layers
  • the DU implements the functions of the RLC, MAC, and physical (physical, PHY) layers.
  • the base station 2400 may include one or more radio frequency units (RUs), one or more DUs and one or more CUs.
  • the DU may include at least one processor 24013 and at least one memory 24014
  • the RU may include at least one antenna 24011 and at least one radio frequency unit 24012
  • the CU may include at least one processor 24022 and at least one memory 24021 .
  • the CU 2402 may be composed of one or more single boards, and multiple single boards may jointly support a wireless access network (such as a 5G network) with a single access indication, or may support different access standards respectively.
  • wireless access network such as LTE network, 5G network or other networks.
  • the memory 24021 and the processor 24022 can serve one or more single boards. That is to say, the memory and processor can be provided separately on each single board. It can also be that multiple boards share the same memory and processor. In addition, necessary circuits may also be provided on each single board.
  • the DU 2401 can be composed of one or more single boards, and multiple single boards can jointly support a wireless access network (such as a 5G network) with a single access indication, and can also support wireless access networks with different access standards (such as LTE network, 5G network or other network).
  • the memory 24014 and processor 24013 may serve one or more single boards. That is to say, the memory and processor can be provided separately on each single board. It can also be that multiple boards share the same memory and processor. In addition, necessary circuits may also be provided on each single board.
  • FIG. 25 is another schematic structural diagram of a communication device provided in an embodiment of the present application.
  • the communication apparatus may be used to implement the function corresponding to the first network device in the above method embodiment, for example, the function when the first network device is a core network device.
  • the communication device may be a network device or a device capable of supporting the network device to implement the corresponding functions in the foregoing method embodiments, or the like.
  • the communication device may include a processor 2501 , a communication interface 2502 and a memory 2503 .
  • the communication interface 2502 is used to communicate with other devices through a transmission medium, and the communication interface 2502 may be a transceiver or an interface circuit such as a transceiver circuit, a transceiver chip, and the like.
  • the memory 2503 is used to store program instructions and/or data, and the processor 2501 is used to execute the program instructions stored in the memory 2503, thereby implementing the methods in the above method embodiments.
  • the memory 2503 is coupled to the processor 2501, and the coupling is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, used between devices, units or modules. information interaction.
  • the communication interface 2502 may be specifically configured to perform the operations of the above-mentioned transceiver module 2210, and the processor 2301 may be specifically configured to perform the operations of the above-mentioned processing module 2220, which will not be described herein again.
  • connection medium between the communication interface 2502 , the processor 2501 , and the memory 2503 is not limited in the embodiments of the present application.
  • the memory 2503, the processor 2501, and the communication interface 2502 are connected by a bus 2504 in FIG. 25.
  • the bus is represented by a thick line in FIG. 25.
  • the connection mode between other components is only for schematic illustration. , is not limited.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is shown in FIG. 25, but it does not mean that there is only one bus or one type of bus.
  • An embodiment of the present application further provides a chip system, including: a processor, where the processor is coupled with a memory, the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor, the The chip system implements a method corresponding to a terminal device (eg, a first terminal device or a second terminal device) or a method corresponding to a network device (eg, a first network device or a second network device) in any of the above method embodiments.
  • a terminal device eg, a first terminal device or a second terminal device
  • a network device eg, a first network device or a second network device
  • the number of processors in the chip system may be one or more.
  • the processor can be implemented by hardware or by software.
  • the processor may be a logic circuit, an integrated circuit, or the like.
  • the processor may be a general-purpose processor implemented by reading software codes stored in memory.
  • the memory may be integrated with the processor, or may be provided separately from the processor, which is not limited in this application.
  • the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip, or can be provided on different chips.
  • the setting method of the processor is not particularly limited.
  • the system-on-chip may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a system on chip (SoC), It can also be a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), or a microcontroller (microcontroller).
  • controller unit, MCU it can also be a programmable logic device (PLD) or other integrated chips.
  • each step in the above method embodiments may be implemented by a hardware integrated logic circuit in a processor or an instruction in the form of software.
  • the method steps disclosed in conjunction with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • Embodiments of the present application further provide a computer-readable storage medium, where computer-readable instructions are stored in the computer storage medium, and when the computer reads and executes the computer-readable instructions, the computer is made to execute any of the foregoing method embodiments method in .
  • Embodiments of the present application further provide a computer program product, which, when the computer reads and executes the computer program product, causes the computer to execute the method in any of the above method embodiments.
  • An embodiment of the present application further provides a communication system, where the communication system includes a first terminal device, a second terminal device, and a first network device.
  • the communication system may further include a second network device.
  • processors mentioned in the embodiments of the present application may be a CPU, other general-purpose processors, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • double data rate SDRAM double data rate SDRAM
  • DDR SDRAM enhanced synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SCRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module
  • memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of 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 components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

Abstract

A computing service discovery method and a communication apparatus, which are used for providing a distributed computing service discovery and distribution mechanism. The method comprises: a first terminal device receiving a first request message from a second terminal device; then, according to computing service request information in the first request message and a load situation of the first terminal device itself, performing access control on a first computing service requested by the second terminal device; and if the first computing service is accepted, sending a first response message to the second terminal device, and indicating, by means of computing service acceptance information in the first response message, that the first terminal device accepts the first computing service. By means of the method, a terminal device in a communication system can serve as a serving terminal device to bear a computing service, thereby effectively reducing the computing load of a network side, improving the computing capacity of the system, and expanding the coverage range of the computing service.

Description

一种计算服务发现方法及通信装置A computing service discovery method and communication device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2020年10月28日提交中国国家知识产权局、申请号为202011171029.8、申请名称为“一种计算服务发现方法及通信装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011171029.8 and the application title "A Computing Service Discovery Method and Communication Device" filed with the State Intellectual Property Office of China on October 28, 2020, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及无线通信技术领域,尤其涉及一种计算服务发现方法及通信装置。The present application relates to the field of wireless communication technologies, and in particular, to a computing service discovery method and a communication device.
背景技术Background technique
多接入边缘计算(multi-access edge computing,MEC)又称为移动边缘计算,其通过将计算和存储资源移动到更靠近用户的网络边缘,以满足用户高计算负载业务的低延迟需求。随着移动通信的发展,蜂窝网中的各类无线终端设备的数量将进一步增长,这会使得整个网络的数据流量激增。与此同时,新兴的服务模式,如触觉网络、物联网、机器类通信的发展,也会使得用户侧的数据和计算需求在未来几年迎来大幅增长。日益增长的计算和数据需求可能会超过目前已部署MEC的边缘网络的计算和数据容量,而且电信基础设施的高昂成本也会进一步限制边缘网络的能力扩容。Multi-access edge computing (MEC), also known as mobile edge computing, moves computing and storage resources to the network edge closer to the user to meet the low-latency requirements of users with high computing load. With the development of mobile communications, the number of various types of wireless terminal devices in the cellular network will further increase, which will increase the data traffic of the entire network. At the same time, the development of emerging service models, such as tactile networks, the Internet of Things, and machine-type communications, will also lead to a substantial increase in user-side data and computing demands in the next few years. Growing computing and data demands are likely to exceed the computing and data capacity of edge networks where MECs are currently deployed, and the high cost of telecom infrastructure will further limit edge network capacity expansion.
针对上述问题,一种可能的解决方案是利用终端设备侧的计算能力和存储资源,与边缘网络一起为单个终端设备提供计算服务。这样,通过终端设备与MEC的协作,可以实现资源的有效共享,快速地为终端设备提供计算和数据密集型服务。In view of the above problems, a possible solution is to use the computing power and storage resources on the terminal device side to provide computing services for a single terminal device together with the edge network. In this way, through the cooperation between the terminal device and the MEC, the effective sharing of resources can be realized, and the computing and data-intensive services can be quickly provided for the terminal device.
设备到设备(device to device,D2D)通信使得终端设备能够直接通过D2D连接利用邻近终端设备的资源,然而,由于目前还没有将UE类型的服务节点纳入计算系统中,因此,还没有相关的控制架构来解决网络与终端设备之间的计算业务分配问题,这会降低系统整体的资源共享和利用效率。Device-to-device (D2D) communication enables terminal devices to directly utilize the resources of neighboring terminal devices through D2D connections. However, since UE-type service nodes have not been incorporated into the computing system, there is no relevant control The architecture is used to solve the problem of computing service allocation between the network and terminal devices, which will reduce the overall resource sharing and utilization efficiency of the system.
发明内容SUMMARY OF THE INVENTION
本申请实施例中的一种计算服务发现方法及通信装置,用于提供一种基于D2D的MEC机制,以拓展系统的计算容量和计算服务的覆盖范围。A computing service discovery method and a communication device in the embodiments of the present application are used to provide a D2D-based MEC mechanism, so as to expand the computing capacity of the system and the coverage of computing services.
第一方面,本申请提供一种计算服务发现方法,该方法可由第一终端设备执行,也可以由配置于第一终端设备的部件(例如芯片或者电路执行)。In a first aspect, the present application provides a computing service discovery method. The method can be executed by a first terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the first terminal device.
该方法包括:第一终端设备接收来自第二终端设备的第一请求消息,该第一请求消息中包括计算服务请求信息,该计算服务请求信息用于请求第一计算服务;第一终端设备根据自身的负载情况和所述计算服务请求信息,对第一计算服务进行准入控制;若第一终端设备接受第一计算服务,则第一终端设备向第二终端设备发送第一响应消息,该第一响应消息中包括计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。The method includes: the first terminal device receives a first request message from the second terminal device, the first request message includes computing service request information, and the computing service request information is used to request the first computing service; Its own load situation and the computing service request information, and perform admission control on the first computing service; if the first terminal device accepts the first computing service, the first terminal device sends a first response message to the second terminal device, the The first response message includes computing service acceptance information, where the computing service acceptance information indicates that the first terminal device accepts the first computing service.
采用上述技术方案,第一终端设备可以作为服务终端设备,为其它终端设备提供计算服务。如此,第二终端设备发现第一终端设备后,可以向第一终端设备请求第一计算服务, 第一终端设备可以对第二终端设备请求的计算服务进行相应的接纳判断。通过将第一计算服务承载在第一终端设备上,可以有效降低网络侧的计算负载,提高系统的计算容量,扩展计算服务覆盖范围。With the above technical solution, the first terminal device can be used as a service terminal device to provide computing services for other terminal devices. In this way, after discovering the first terminal device, the second terminal device can request the first computing service from the first terminal device, and the first terminal device can perform corresponding acceptance judgment on the computing service requested by the second terminal device. By carrying the first computing service on the first terminal device, the computing load on the network side can be effectively reduced, the computing capacity of the system can be improved, and the coverage of the computing service can be expanded.
在第一方面的一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design of the first aspect, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion indicator.
在第一方面的一种可能的设计中,所述硬件需求包括对下列一项或多项参数的需求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In a possible design of the first aspect, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
在第一方面的一种可能的设计中,该方法还包括:第一终端设备广播自身支持的服务类型;或者,第一终端设备广播自身的计算能力信息;或者,第一终端设备向第一网络设备发送自身的计算能力信息。In a possible design of the first aspect, the method further includes: the first terminal device broadcasts a service type supported by itself; or, the first terminal device broadcasts its computing capability information; or, the first terminal device broadcasts its own computing capability information to the first terminal device The network device sends its own computing capability information.
在第一方面的一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。In a possible design of the first aspect, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在第一方面的一种可能的设计中,该方法还包括:第一终端设备接收第二终端设备广播的第二终端设备需求的服务类型;第一终端设备向第二终端设备发送响应消息,该响应消息指示第一终端设备支持第二终端设备需求的服务类型。In a possible design of the first aspect, the method further includes: the first terminal device receives a service type required by the second terminal device broadcast by the second terminal device; the first terminal device sends a response message to the second terminal device, The response message indicates that the first terminal device supports a service type required by the second terminal device.
采用上述技术方案,第二终端设备可采用基于终端设备的服务终端设备发现流程发现可以为其提供第一计算服务的第一终端设备。其中,基于不同的邻近业务发现模型,第一终端设备与第二终端设备的角色可以不同,例如在一种方式中第一终端设备可以作为通告终端设备,第二终端设备可以作为监听终端设备,而在另一种方式中第一终端设备可以作为发现者,第二终端设备可以作为被发现者。With the above technical solution, the second terminal device can use the terminal device-based service terminal device discovery process to discover the first terminal device that can provide the first computing service for it. Wherein, based on different proximity service discovery models, the roles of the first terminal device and the second terminal device may be different. For example, in one way, the first terminal device may be used as a notification terminal device, and the second terminal device may be used as a monitoring terminal device. In another manner, the first terminal device may serve as a discoverer, and the second terminal device may serve as a discoveree.
在第一方面的一种可能的设计中,该方法还包括:第一终端设备与第二终端设备建立侧行链路连接,该第一终端设备提供第二终端设备与第一网络设备之间的数据转发服务;第一终端设备接收来自第二终端设备的第一配置消息,该第一配置消息用于重配置第一终端设备与第二终端设备之间的侧行链路连接,该第一配置消息中包括第一终端设备与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理;第一终端设备向第二终端设备发送第一配置完成消息。In a possible design of the first aspect, the method further includes: establishing a sidelink connection between the first terminal device and the second terminal device, the first terminal device providing a connection between the second terminal device and the first network device the data forwarding service; the first terminal device receives a first configuration message from the second terminal device, the first configuration message is used to reconfigure the side link connection between the first terminal device and the second terminal device, the first configuration message is used to reconfigure the side link connection between the first terminal device and the second terminal device A configuration message includes processing indication information corresponding to each logical channel LCH on the communication interface between the first terminal device and the second terminal device. The processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH. ; The first terminal device sends a first configuration complete message to the second terminal device.
在第一方面的一种可能的设计中,第一终端设备提供第二终端设备与第一网络设备之间的数据转发服务;该方法还包括:第一终端设备接收来自第一网络设备的第二配置消息,该第二配置消息用于重配置第一终端设备的无线资源控制RRC连接,该第二配置消息中包括第二终端设备的标识、第一终端设备与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息以及第一指示信息;其中,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,该第一指示信息用于指示所述各个LCH与第一终端设备与第一网络设备之间的通信接口上的各个数据无线承载DRB之间的映射关系。In a possible design of the first aspect, the first terminal device provides a data forwarding service between the second terminal device and the first network device; the method further includes: the first terminal device receives the first terminal device from the first network device. Two configuration messages, the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device, the relationship between the first terminal device and the second terminal device Processing indication information and first indication information corresponding to each logical channel LCH on the communication interface; wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate the The mapping relationship between each LCH and each data radio bearer DRB on the communication interface between the first terminal device and the first network device is described.
采用上述技术方案,如果第一终端设备为第二终端设备与第一网络设备之间的中继终端设备,则通过上述配置流程,该中继终端设备也可为第二终端设备提供计算服务,例如承载部分对该第一计算服务进行中间处理的任务,从而减轻网络侧的负载压力,扩展系统的计算容量。With the above technical solution, if the first terminal device is a relay terminal device between the second terminal device and the first network device, then through the above configuration process, the relay terminal device can also provide computing services for the second terminal device, For example, the bearer part performs intermediate processing tasks on the first computing service, thereby reducing the load pressure on the network side and expanding the computing capacity of the system.
第二方面,本申请提供一种计算服务发现方法,该方法可由第二终端设备执行,也可以由配置于第二终端设备的部件(例如芯片或者电路执行)。In a second aspect, the present application provides a computing service discovery method, the method can be executed by a second terminal device, and can also be executed by a component (for example, a chip or a circuit) configured in the second terminal device.
该方法包括:第二终端设备向第一终端设备发送第一请求消息,该第一请求消息中包括计算服务请求信息,该计算服务请求信息用于请求第一计算服务;第二终端设备接收来自第一终端设备的第一响应消息,该第一响应消息中包括计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。The method includes: the second terminal device sends a first request message to the first terminal device, the first request message includes computing service request information, and the computing service request information is used to request the first computing service; the second terminal device receives information from A first response message of the first terminal device, where the first response message includes computing service acceptance information, where the computing service acceptance information indicates that the first terminal device accepts the first computing service.
在第二方面的一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design of the second aspect, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
在第二方面的一种可能的设计中,所述硬件需求包括对下列一项或多项参数的需求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In a possible design of the second aspect, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
在第二方面的一种可能的设计中,该方法还包括:第二终端设备接收第一终端设备广播的第一终端设备支持的服务类型,若第一终端设备支持第一计算服务的服务类型,则第二终端设备可确定向第一终端设备请求第一计算服务;或者,第二终端设备接收第一终端设备广播的第一终端设备的计算能力信息,根据该计算能力信息,确定向第一终端设备请求第一计算服务。In a possible design of the second aspect, the method further includes: the second terminal device receives the service type supported by the first terminal device broadcast by the first terminal device, if the first terminal device supports the service type of the first computing service , the second terminal device may determine to request the first computing service from the first terminal device; or, the second terminal device receives the computing capability information of the first terminal device broadcasted by the first terminal device, and determines to request the first terminal device according to the computing capability information. A terminal device requests a first computing service.
在第二方面的一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。In a possible design of the second aspect, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在第二方面的一种可能的设计中,该方法还包括:第二终端设备广播第二终端设备需求的服务类型;第二终端设备接收来自第一终端设备的响应消息,该响应消息指示第一终端设备支持第二终端设备需求的服务类型。In a possible design of the second aspect, the method further includes: the second terminal device broadcasts the service type required by the second terminal device; the second terminal device receives a response message from the first terminal device, the response message indicating the first terminal device A terminal device supports a service type required by the second terminal device.
在第二方面的一种可能的设计中,该方法还包括:第二终端设备与第一终端设备建立侧行链路连接,该第一终端设备提供第二终端设备与第一网络设备之间的数据转发服务;第二终端设备向第一终端设备发送第一配置消息,该第一配置消息用于重配置第一终端设备与第二终端设备之间的侧行链路连接,该第一配置消息中包括第一终端设备与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理;第二终端设备接收来自第一终端设备的第一配置完成消息。In a possible design of the second aspect, the method further includes: establishing a sidelink connection between the second terminal device and the first terminal device, the first terminal device providing a connection between the second terminal device and the first network device the data forwarding service; the second terminal device sends a first configuration message to the first terminal device, the first configuration message is used to reconfigure the side link connection between the first terminal device and the second terminal device, the first The configuration message includes processing indication information corresponding to each logical channel LCH on the communication interface between the first terminal device and the second terminal device, where the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH; The second terminal device receives the first configuration complete message from the first terminal device.
在第二方面的一种可能的设计中,该方法还包括:第二终端设备向第一网络设备发送第二请求消息,该第二请求消息中包括计算服务需求信息,该计算服务需求信息指示第二终端设备需求的服务类型;第二终端设备接收来自第一网络设备的第二响应消息,该第二响应消息中包括计算服务响应信息,该计算服务响应信息指示支持第二终端设备需求的服务类型的第一终端设备。In a possible design of the second aspect, the method further includes: the second terminal device sends a second request message to the first network device, where the second request message includes computing service requirement information, the computing service requirement information indicating The type of service required by the second terminal device; the second terminal device receives a second response message from the first network device, the second response message includes computing service response information, and the computing service response information indicates a service that supports the requirements of the second terminal device. The first terminal device of the service type.
采用上述技术方案,第二终端设备也可以采用基于网络设备的服务终端设备发现流程,获取第一终端设备的信息,以便向第一终端设备请求第一计算服务。With the above technical solution, the second terminal device can also use a network device-based service terminal device discovery process to acquire information of the first terminal device, so as to request the first computing service from the first terminal device.
在第二方面的一种可能的设计中,该方法还包括:第二终端设备从第一网络设备接收第三配置消息,该第三配置消息用于配置第一终端设备与第二终端设备之间的侧行链路连接,该第一终端设备提供第二终端设备与第一网络设备之间的数据转发服务,该第三配置消息中包括第一终端设备的标识和第二指示信息,该第二指示信息用于指示第二终端设备 将需要进行中间处理的数据发送到第一终端设备与第二终端设备之间的通信接口上指定的一个或多个LCH上。In a possible design of the second aspect, the method further includes: the second terminal device receiving a third configuration message from the first network device, where the third configuration message is used to configure the relationship between the first terminal device and the second terminal device The first terminal device provides a data forwarding service between the second terminal device and the first network device, the third configuration message includes the identifier of the first terminal device and the second indication information, the The second indication information is used to instruct the second terminal device to send the data that needs to be subjected to intermediate processing to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
第二方面以及第二方面的各种可能的设计中的有益效果,可参考第一方面中对应的描述,重复之处不再赘述。For the beneficial effects of the second aspect and various possible designs of the second aspect, reference may be made to the corresponding descriptions in the first aspect, and repeated descriptions will not be repeated.
第三方面,本申请提供一种计算服务发现方法,该方法可由第一网络设备执行,也可以由配置于第一网络设备的部件(例如芯片或者电路执行)。In a third aspect, the present application provides a computing service discovery method. The method may be executed by a first network device, and may also be executed by a component (eg, a chip or a circuit) configured in the first network device.
该方法包括:第一网络设备接收来自第二终端设备的第二请求消息,该第二请求消息中包括计算服务需求信息,该计算服务需求信息指示第二终端设备需求的服务类型;第一网络设备确定支持第二终端设备需求的服务类型的第一终端设备;第一网络设备向第二终端设备发送第二响应消息,该第二响应消息中包括计算服务响应信息,该计算服务响应消息指示支持第二终端设备需求的服务类型的第一终端设备。The method includes: a first network device receives a second request message from a second terminal device, the second request message includes computing service requirement information, the computing service requirement information indicating a service type required by the second terminal device; the first network device The device determines the first terminal device that supports the service type required by the second terminal device; the first network device sends a second response message to the second terminal device, where the second response message includes computing service response information, and the computing service response message indicates A first terminal device supporting a service type required by the second terminal device.
在第三方面的一种可能的设计中,所述第一网络设备确定支持第二终端设备需求的服务类型的第一终端设备,包括:第一网络设备根据获取到的M个服务终端设备的计算能力信息,从所述M个服务终端设备中确定支持第二终端设备需求的服务类型的第一终端设备。In a possible design of the third aspect, the determining, by the first network device, a first terminal device that supports a service type required by the second terminal device includes: For computing capability information, a first terminal device that supports a service type required by the second terminal device is determined from the M service terminal devices.
在第三方面的一种可能的设计中,该方法还包括:第一网络设备接收来自第一终端设备的计算能力信息。In a possible design of the third aspect, the method further includes: the first network device receiving computing capability information from the first terminal device.
在第三方面的一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。In a possible design of the third aspect, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在第三方面的一种可能的设计中,该方法还包括:若所述M个服务终端设备均不支持第二终端设备需求的服务类型,则第一网络设备向第二网络设备发送第三请求消息,该第三请求消息中包括所述计算服务需求信息,第一网络设备和第二网络设备均为接入网设备;第一网络设备接收来自第二网络设备的第三响应消息,该第三响应消息中包括所述计算服务响应信息。In a possible design of the third aspect, the method further includes: if none of the M serving terminal devices supports the service type required by the second terminal device, sending the third network device to the second network device by the first network device. a request message, the third request message includes the computing service requirement information, the first network device and the second network device are both access network devices; the first network device receives a third response message from the second network device, the The third response message includes the computing service response information.
采用上述技术方案,第一网络设备可以采用基于网络设备的服务终端设备发现流程,发现能够匹配第二终端设备需求的第一终端设备,并将该第一终端设备的信息提供给第二网络设备。其中,如果第一网络设备自己无法找到匹配第二终端设备需求的第一终端设备,则第一网络设备还可以通过第二网络设备来协助确定匹配第二终端设备需求的第一终端设备,从而满足第二终端设备的计算服务需求。With the above technical solution, the first network device can use the service terminal device discovery process based on the network device to discover the first terminal device that can match the requirements of the second terminal device, and provide the information of the first terminal device to the second network device . Wherein, if the first network device itself cannot find the first terminal device that matches the requirements of the second terminal device, the first network device may also use the second network device to assist in determining the first terminal device that matches the requirements of the second terminal device, thereby The computing service requirements of the second terminal device are met.
在第三方面的一种可能的设计中,第一终端设备提供第二终端设备与第一网络设备之间的数据转发服务;该方法还包括:第一网络设备向第一终端设备发送第二配置消息,该第二配置消息用于重配置第一终端设备的无线资源控制RRC连接,该第二配置消息中包括第二终端设备的标识、第一终端设备与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息以及第一指示信息;其中,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,该第一指示信息用于指示所述各个LCH与第一终端设备与第一网络设备之间的通信接口上的各个数据无线承载DRB之间的映射关系;第一网络设备向第二终端设备发送第三配置消息,该第三配置消息用于配置第一终端设备与第二终端设备之间的侧行链路连接,该第三配置消息中包括第一终端设备的标识和第二指示信息,该第二指示信息用于指示第二终端设备将需要进行中间处理的数据发送到第一终端设备与第二终端设备之间的通信接口上指定的一个或多个LCH上。In a possible design of the third aspect, the first terminal device provides a data forwarding service between the second terminal device and the first network device; the method further includes: the first network device sends the second terminal device to the first terminal device. A configuration message, the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device and the communication between the first terminal device and the second terminal device. Processing indication information and first indication information corresponding to each logical channel LCH on the interface; wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate the The mapping relationship between each LCH and each data radio bearer DRB on the communication interface between the first terminal device and the first network device; the first network device sends a third configuration message to the second terminal device, the third configuration message is used to configure the sidelink connection between the first terminal device and the second terminal device, the third configuration message includes the identifier of the first terminal device and second indication information, and the second indication information is used to indicate the second The terminal device sends data to be intermediately processed to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
第三方面以及第三方面的各种可能的设计中的有益效果,可参考第一方面或第二方面 中对应的描述,重复之处不再赘述。For the beneficial effects of the third aspect and various possible designs of the third aspect, reference may be made to the corresponding descriptions in the first aspect or the second aspect, and repeated descriptions will not be repeated.
第四方面,本申请提供一种计算服务发现方法,该方法可由第一终端设备执行,也可以由配置于第一终端设备的部件(例如芯片或者电路执行)。In a fourth aspect, the present application provides a computing service discovery method. The method can be executed by a first terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the first terminal device.
该方法包括:第一终端设备接收来自第一网络设备的第四请求消息,该第四请求消息中包括第二终端设备的标识和计算服务请求信息,该计算服务请求信息用于请求第一计算服务;第一终端设备根据自身的负载情况和所述计算服务请求信息,对第一计算服务进行准入控制;若第一终端设备接受第一计算服务,则第一终端设备向第一网络设备发送第四响应消息,该第四响应消息中包括计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。The method includes: the first terminal device receives a fourth request message from the first network device, where the fourth request message includes an identifier of the second terminal device and computing service request information, where the computing service request information is used to request the first computing service; the first terminal device performs admission control on the first computing service according to its own load situation and the computing service request information; if the first terminal device accepts the first computing service, the first terminal device sends a request to the first network device A fourth response message is sent, where the fourth response message includes computing service acceptance information, where the computing service acceptance information indicates that the first terminal device accepts the first computing service.
采用上述技术方案,第一网络设备可以基于网络设备的服务终端设备发现流程,发现能够匹配第二终端设备需求的第一终端设备,并直接为第二终端设备向第一终端设备发起计算服务请求。通过集中式的计算服务发现流程,可以有效提高服务终端设备的发现效率,减小网络侧的信令开销,并降低网络侧的计算负载,提高系统的计算容量,扩展计算服务覆盖范围。With the above technical solution, the first network device can, based on the service terminal device discovery process of the network device, discover the first terminal device that can match the requirements of the second terminal device, and directly initiate a computing service request for the second terminal device to the first terminal device . Through the centralized computing service discovery process, the discovery efficiency of service terminal equipment can be effectively improved, the signaling overhead on the network side can be reduced, the computing load on the network side can be reduced, the computing capacity of the system can be increased, and the coverage of computing services can be expanded.
在第四方面的一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design of the fourth aspect, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion indicator.
在第四方面的一种可能的设计中,所述硬件需求包括对下列一项或多项参数的需求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In a possible design of the fourth aspect, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
在第四方面的一种可能的设计中,如果第一终端设备处于无线资源控制RRC_非激活态或RRC_空闲态,则第四请求消息中还包括寻呼信息,该寻呼信息用于寻呼第一终端设备,该第四响应消息还用于恢复或重建立第一终端设备的RRC连接。In a possible design of the fourth aspect, if the first terminal device is in the RRC_inactive state or the RRC_idle state, the fourth request message further includes paging information, where the paging information is used for The first terminal device is paged, and the fourth response message is further used to restore or re-establish the RRC connection of the first terminal device.
上述技术方案可适用于发现的服务终端设备(即第一终端设备)处于RRC_非激活态或RRC_空闲态的场景中,如此,可有效利用通信系统中空闲的计算资源,扩展计算容量。The above technical solution can be applied to the scenario where the discovered serving terminal device (ie, the first terminal device) is in the RRC_inactive state or the RRC_idle state, so that the idle computing resources in the communication system can be effectively utilized to expand the computing capacity.
在第四方面的一种可能的设计中,该方法还包括:第一终端设备向第一网络设备发送自身的计算能力信息。In a possible design of the fourth aspect, the method further includes: the first terminal device sends its own computing capability information to the first network device.
在第四方面的一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。In a possible design of the fourth aspect, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在第四方面的一种可能的设计中,第一终端设备提供第二终端设备与第一网络设备之间的数据转发服务;该方法还包括:第一终端设备接收来自第一网络设备的第二配置消息,该第二配置消息用于重配置第一终端设备的无线资源控制RRC连接,该第二配置消息中包括第二终端设备的标识、第一终端设备与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息以及第一指示信息;其中,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,该第一指示信息用于指示所述各个LCH与第一终端设备与第一网络设备之间的通信接口上的各个数据无线承载DRB之间的映射关系。In a possible design of the fourth aspect, the first terminal device provides a data forwarding service between the second terminal device and the first network device; the method further includes: the first terminal device receives the first terminal device from the first network device. Two configuration messages, the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device, the relationship between the first terminal device and the second terminal device Processing indication information and first indication information corresponding to each logical channel LCH on the communication interface; wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate the The mapping relationship between each LCH and each data radio bearer DRB on the communication interface between the first terminal device and the first network device is described.
采用上述技术方案,如果第一终端设备为第二终端设备与第一网络设备之间的中继终端设备,则通过上述配置流程,该中继终端设备也可为第二终端设备提供计算服务,例如承载部分对该第一计算服务进行中间处理的任务,从而减轻网络侧的负载压力,扩展系统的计算容量。With the above technical solution, if the first terminal device is a relay terminal device between the second terminal device and the first network device, then through the above configuration process, the relay terminal device can also provide computing services for the second terminal device, For example, the bearer part performs intermediate processing tasks on the first computing service, thereby reducing the load pressure on the network side and expanding the computing capacity of the system.
第五方面,本申请提供一种计算服务发现方法,该方法可由第一网络设备执行,也可以由配置于第一网络设备的部件(例如芯片或者电路执行)。In a fifth aspect, the present application provides a computing service discovery method, and the method can be executed by a first network device, and can also be executed by a component (eg, a chip or a circuit) configured in the first network device.
该方法包括:第一网络设备向第一终端设备发送第四请求消息,该第四请求消息中包括第二终端设备的标识和计算服务请求信息,该计算服务请求信息用于请求第一计算服务;第一网络设备接收来自第一终端设备的第四响应消息,该第四响应消息中包括计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。The method includes: the first network device sends a fourth request message to the first terminal device, where the fourth request message includes an identifier of the second terminal device and computing service request information, where the computing service request information is used to request the first computing service ; The first network device receives a fourth response message from the first terminal device, the fourth response message includes computing service acceptance information, and the computing service acceptance information indicates that the first terminal device accepts the first computing service.
在第五方面的一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design of the fifth aspect, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion indicator.
在第五方面的一种可能的设计中,所述硬件需求包括对下列一项或多项参数的要求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In a possible design of the fifth aspect, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
在第五方面的一种可能的设计中,该方法还包括:第一网络设备接收来自第二终端设备的第五请求消息,该第五请求消息中包括第二终端设备的标识、所述计算服务请求信息以及服务终端设备列表,该服务终端设备列表指示第二终端设备附近的M个服务终端设备,该第五请求消息用于请求第一计算服务,M为正整数;第一网络设备从所述M个服务终端设备中,确定支持第一计算服务的服务类型的第一终端设备。In a possible design of the fifth aspect, the method further includes: the first network device receives a fifth request message from the second terminal device, where the fifth request message includes the identifier of the second terminal device, the computing Service request information and a service terminal device list, the service terminal device list indicates M service terminal devices near the second terminal device, the fifth request message is used to request the first computing service, M is a positive integer; the first network device from Among the M service terminal devices, a first terminal device of a service type that supports the first computing service is determined.
在第五方面的一种可能的设计中,该方法还包括:第一网络设备接收来自第一终端设备的计算能力信息。In a possible design of the fifth aspect, the method further includes: the first network device receiving computing capability information from the first terminal device.
在第五方面的一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。In a possible design of the fifth aspect, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在第五方面的一种可能的设计中,该方法还包括:若所述M个服务终端设备均不支持第一计算服务的服务类型,则第一网络设备向第二网络设备发送第六请求消息,该第六请求消息中包括第二终端设备的标识和所述计算服务请求信息,该第六请求消息用于向第二网络设备请求第一计算服务,第一网络设备和第二网络设备均为接入网设备;第一网络设备接收来自第二网络设备的第六响应消息,该第六响应消息中包括计算服务响应信息,该计算服务响应信息指示支持第一计算服务的服务类型的第一终端设备。In a possible design of the fifth aspect, the method further includes: if none of the M service terminal devices supports the service type of the first computing service, the first network device sends a sixth request to the second network device message, the sixth request message includes the identifier of the second terminal device and the computing service request information, the sixth request message is used to request the first computing service from the second network device, the first network device and the second network device Both are access network devices; the first network device receives a sixth response message from the second network device, where the sixth response message includes computing service response information indicating a service type that supports the first computing service The first terminal device.
在第五方面的一种可能的设计中,如果第一终端设备处于无线资源控制RRC_非激活态或RRC_空闲态,所述第四请求消息中还包括寻呼信息,该寻呼信息用于寻呼第一终端设备;所述第四响应消息还用于恢复或重建立第一终端设备的RRC连接。In a possible design of the fifth aspect, if the first terminal device is in the radio resource control RRC_inactive state or the RRC_idle state, the fourth request message further includes paging information, and the paging information is used for for paging the first terminal device; the fourth response message is also used to restore or re-establish the RRC connection of the first terminal device.
在第五方面的一种可能的设计中,该方法还包括:第一网络设备向第二终端设备发送第五响应消息,该第五响应消息中包括第一终端设备的标识和计算服务接受信息。In a possible design of the fifth aspect, the method further includes: the first network device sends a fifth response message to the second terminal device, where the fifth response message includes the identifier of the first terminal device and computing service acceptance information .
在第五方面的一种可能的设计中,第一终端设备提供第二终端设备与第一网络设备之间的数据转发服务;该方法还包括:第一网络设备向第一终端设备发送第二配置消息,该第二配置消息用于重配置第一终端设备的无线资源控制RRC连接,该第二配置消息中包括第二终端设备的标识、第一终端设备与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息以及第一指示信息;其中,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,该第一指示信息用于指示所述各个LCH与第一终端设备与第一网络设备之间的通信接口上的各个数据无线承载DRB之间的映射关系;第一网络设备向第二终端设备发送第三配置消息,该第三配置消息用于配置第一终端设备 与第二终端设备之间的侧行链路连接,该第三配置消息中包括第一终端设备的标识和第二指示信息,该第二指示信息用于指示第二终端设备将需要进行中间处理的数据发送到第一终端设备与第二终端设备之间的通信接口上指定的一个或多个LCH上。In a possible design of the fifth aspect, the first terminal device provides a data forwarding service between the second terminal device and the first network device; the method further includes: the first network device sends the second terminal device to the first terminal device. A configuration message, the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device and the communication between the first terminal device and the second terminal device. Processing indication information and first indication information corresponding to each logical channel LCH on the interface; wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate the The mapping relationship between each LCH and each data radio bearer DRB on the communication interface between the first terminal device and the first network device; the first network device sends a third configuration message to the second terminal device, the third configuration message is used to configure the sidelink connection between the first terminal device and the second terminal device, the third configuration message includes the identifier of the first terminal device and second indication information, and the second indication information is used to indicate the second The terminal device sends data to be intermediately processed to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
第五方面以及第五方面的各种可能的设计中的有益效果,可参考第四方面中对应的描述,重复之处不再赘述。For the beneficial effects of the fifth aspect and various possible designs of the fifth aspect, reference may be made to the corresponding description in the fourth aspect, and repeated descriptions will not be repeated.
第六方面,本申请提供一种计算服务发现方法,该方法可由第二终端设备执行,也可以由配置于第二终端设备的部件(例如芯片或者电路执行)。In a sixth aspect, the present application provides a computing service discovery method. The method can be executed by a second terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the second terminal device.
该方法包括:第二终端设备向第一网络设备发送第五请求消息,该第五请求消息中包括第二终端设备的标识、计算服务请求信息以及服务终端设备列表,该服务终端设备列表指示第二终端设备附近的M个服务终端设备,所述第五请求消息用于请求第一计算服务,M为正整数;第二终端设备接收来自第一网络设备的第五响应消息,该第五响应消息中包括第一终端设备的标识和计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。The method includes: the second terminal device sends a fifth request message to the first network device, where the fifth request message includes an identifier of the second terminal device, computing service request information, and a service terminal device list, where the service terminal device list indicates the first M service terminal devices near the two terminal devices, the fifth request message is used to request the first computing service, M is a positive integer; the second terminal device receives the fifth response message from the first network device, the fifth response message The message includes the identifier of the first terminal device and computing service acceptance information, where the computing service acceptance information indicates that the first terminal device accepts the first computing service.
在第六方面的一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design of the sixth aspect, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion indicator.
在第六方面的一种可能的设计中,所述硬件需求包括对下列一项或多项参数的需求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In a possible design of the sixth aspect, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing Unit CPU frequency, CPU execution time, how many millions of fixed-point instructions MIPS are executed per second, and the number of floating-point operations FLOPS executed per second.
在第六方面的一种可能的设计中,该方法还包括:第二终端设备从第一网络设备接收第三配置消息,该第三配置消息用于配置第一终端设备与第二终端设备之间的侧行链路连接,该第一终端设备提供第二终端设备与第一网络设备之间的数据转发服务,该第三配置消息中包括第一终端设备的标识和第二指示信息,该第二指示信息用于指示第二终端设备将需要进行中间处理的数据发送到第一终端设备与第二终端设备之间的通信接口上指定的一个或多个LCH上。In a possible design of the sixth aspect, the method further includes: the second terminal device receives a third configuration message from the first network device, where the third configuration message is used to configure the relationship between the first terminal device and the second terminal device The first terminal device provides a data forwarding service between the second terminal device and the first network device, the third configuration message includes the identifier of the first terminal device and the second indication information, the The second indication information is used to instruct the second terminal device to send the data that needs to be subjected to intermediate processing to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
第六方面以及第六方面的各种可能的设计中的有益效果,可参考第四方面中对应的描述,重复之处不再赘述。For the beneficial effects of the sixth aspect and various possible designs of the sixth aspect, reference may be made to the corresponding descriptions in the fourth aspect, and repeated descriptions will not be repeated.
第七方面,本申请提供一种计算服务发现方法,该方法可由第一网络设备执行,也可以由配置于第一网络设备的部件(例如芯片或者电路执行)。In a seventh aspect, the present application provides a computing service discovery method. The method can be executed by a first network device, and can also be executed by a component (eg, a chip or a circuit) configured in the first network device.
该方法包括:第一网络设备确定第一计算服务需要进行迁移,该第一计算服务为第二终端设备请求的计算服务;第一网络设备向第一终端设备发送第六请求消息,该第六请求消息用于指示第一终端设备初始化第一计算服务;第一网络设备接收来自第一终端设备的第六响应消息,该第六响应消息用于指示第一计算服务初始化完成;第一网络设备向第二终端设备发送第四配置消息,该第四配置消息用于重配置第二终端设备的无线资源控制RRC连接,该第四配置消息中包括第一终端设备初始化完成的第一计算服务的服务标识。The method includes: the first network device determines that a first computing service needs to be migrated, and the first computing service is a computing service requested by the second terminal device; the first network device sends a sixth request message to the first terminal device, the sixth The request message is used to instruct the first terminal device to initialize the first computing service; the first network device receives a sixth response message from the first terminal device, where the sixth response message is used to indicate that the initialization of the first computing service is completed; the first network device Send a fourth configuration message to the second terminal device, where the fourth configuration message is used to reconfigure the radio resource control RRC connection of the second terminal device, and the fourth configuration message includes the information of the first computing service initialized by the first terminal device. Service ID.
采用上述技术方案,如果第一终端设备为第二终端设备与第一网络设备之间的中继终端设备,则通过向第一终端设备指示初始化第一计算服务以及重新对第二终端设备进行RRC配置,第一网络设备可将第一计算服务进行迁移到第一终端设备,由第一终端设备对该第一计算服务进行中间处理,从而减轻网络侧的负载压力,扩展系统的计算容量。With the above technical solution, if the first terminal device is a relay terminal device between the second terminal device and the first network device, the first terminal device is instructed to initialize the first computing service and perform RRC on the second terminal device again. configuration, the first network device can migrate the first computing service to the first terminal device, and the first terminal device performs intermediate processing on the first computing service, thereby reducing the load pressure on the network side and expanding the computing capacity of the system.
在第七方面的一种可能的设计中,所述第六请求消息中包括需要初始化的第一计算服 务的相关信息,该第一计算服务的相关信息包括:服务标识、服务上下文、关联的逻辑信道LCH列表,以便第一终端设备确定哪个计算服务需要进行初始化,以及从哪些LCH上接收到的该计算服务的数据需要进行中间处理;所述第六响应消息中包括初始化完成的第一计算服务的服务标识。In a possible design of the seventh aspect, the sixth request message includes relevant information of the first computing service that needs to be initialized, and the relevant information of the first computing service includes: service identifier, service context, and associated logic Channel LCH list, so that the first terminal device can determine which computing service needs to be initialized, and the data of the computing service received from which LCHs need to be intermediately processed; the sixth response message includes the initialized first computing service service ID.
在第七方面的一种可能的设计中,所述第四配置消息中还可包括第一计算服务关联的逻辑信道LCH列表,以便第二终端设备确定哪些LCH用于发送需要进行中间处理的数据。In a possible design of the seventh aspect, the fourth configuration message may further include a list of logical channel LCHs associated with the first computing service, so that the second terminal device can determine which LCHs are used to send data that needs to be processed intermediately .
在第七方面的一种可能的设计中,该方法还包括:第一网络设备向第二终端设备发送第一信息,该第一信息指示第二终端设备寻找合适的服务终端设备,以承载该第一计算服务;或者,该第一信息指示能够承载第一计算服务的第一终端设备。可选的,该第一信息还指示迁移原因,如过载。In a possible design of the seventh aspect, the method further includes: the first network device sends first information to the second terminal device, where the first information instructs the second terminal device to find a suitable service terminal device to carry the The first computing service; or, the first information indicates a first terminal device capable of bearing the first computing service. Optionally, the first information also indicates a migration cause, such as overload.
在第七方面的一种可能的设计中,该方法还包括:第一网络设备接收来自第二终端设备的第二信息,该第二信息指示第一计算服务需要进行迁移。可选的,该第二信息包括第一计算服务的服务标识。In a possible design of the seventh aspect, the method further includes: the first network device receives second information from the second terminal device, where the second information indicates that the first computing service needs to be migrated. Optionally, the second information includes a service identifier of the first computing service.
在第七方面的一种可能的设计中,该方法还包括:第一网络设备接收来自第一终端设备或第二终端设备的第三信息,该第三信息用于指示第一网络设备、第一终端设备与第二终端设备之间的中继关系。In a possible design of the seventh aspect, the method further includes: the first network device receiving third information from the first terminal device or the second terminal device, where the third information is used to indicate the first network device, the first A relay relationship between a terminal device and a second terminal device.
采用上述技术方案,第一网络设备可根据第二终端设备上报的第二信息的指示,或者根据第一终端设备或第二终端设备上报的中继关系,决策将第一计算服务迁移到第一终端设备。With the above technical solution, the first network device can decide to migrate the first computing service to the first network device according to the indication of the second information reported by the second terminal device, or according to the relay relationship reported by the first terminal device or the second terminal device Terminal Equipment.
第八方面,本申请提供一种计算服务发现方法,该方法可由第一终端设备执行,也可以由配置于第一终端设备的部件(例如芯片或者电路执行)。In an eighth aspect, the present application provides a computing service discovery method. The method can be executed by a first terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the first terminal device.
该方法包括:第一终端设备接收来自第一网络设备的第六请求消息,该第六请求消息用于指示第一终端设备初始化第一计算服务,该第一计算服务为第二终端设备请求的计算服务;第一终端设备向第一网络设备发送第六响应消息,该第六响应消息用于指示第一计算服务初始化完成。The method includes: the first terminal device receives a sixth request message from the first network device, where the sixth request message is used to instruct the first terminal device to initialize a first computing service, where the first computing service is requested by the second terminal device Computing service; the first terminal device sends a sixth response message to the first network device, where the sixth response message is used to indicate that the initialization of the first computing service is completed.
在第八方面的一种可能的设计中,所述第六请求消息中包括需要初始化的第一计算服务的相关信息,该第一计算服务的相关信息包括:服务标识、计算服务上下文、关联的逻辑信道LCH列表;所述第六响应消息中包括初始化完成的第一计算服务的服务标识。In a possible design of the eighth aspect, the sixth request message includes related information of the first computing service that needs to be initialized, and the related information of the first computing service includes: service identifier, computing service context, associated Logical channel LCH list; the sixth response message includes the service identifier of the initialized first computing service.
在第八方面的一种可能的设计中,该方法还包括:第一终端设备与第二终端设备建立侧行链路连接;第一终端设备从第一计算服务关联的LCH列表指示的各个LCH上,接收来自第二终端设备的数据;第一终端设备将所述数据进行处理后,将处理后的数据发送给第一网络设备。In a possible design of the eighth aspect, the method further includes: establishing a sidelink connection between the first terminal device and the second terminal device; each LCH indicated by the first terminal device from the LCH list associated with the first computing service , receiving data from the second terminal device; after processing the data, the first terminal device sends the processed data to the first network device.
在第八方面的一种可能的设计中,该方法还包括:第一终端设备向第一网络设备发送第三信息,该第三信息指示第一网络设备、第一终端设备与第二终端设备之间的中继关系。In a possible design of the eighth aspect, the method further includes: the first terminal device sends third information to the first network device, where the third information indicates the first network device, the first terminal device and the second terminal device relay relationship between them.
第八方面以及第八方面的各种可能的设计中的有益效果,可参考第七方面中对应的描述,重复之处不再赘述。For the beneficial effects of the eighth aspect and various possible designs of the eighth aspect, reference may be made to the corresponding descriptions in the seventh aspect, and repeated descriptions will not be repeated.
第九方面,本申请提供一种计算服务发现方法,该方法可由第二终端设备执行,也可以由配置于第二终端设备的部件(例如芯片或者电路执行)。In a ninth aspect, the present application provides a computing service discovery method. The method can be executed by a second terminal device, and can also be executed by a component (eg, a chip or a circuit) configured in the second terminal device.
该方法包括:第二终端设备接收来自第一网络设备的第四配置消息,该第四配置消息用于重配置第二终端设备的无线资源控制RRC连接,该第四配置消息中包括第一终端设 备初始化完成的第一计算服务的标识;第二终端设备将第一计算服务的数据传输路径切换为通过第一终端设备到第一网络设备的中继链路。The method includes: the second terminal device receives a fourth configuration message from the first network device, the fourth configuration message is used to reconfigure the radio resource control RRC connection of the second terminal device, and the fourth configuration message includes the first terminal device The identifier of the first computing service that has been initialized by the device; the second terminal device switches the data transmission path of the first computing service to a relay link through the first terminal device to the first network device.
在第九方面的一种可能的设计中,所述第四配置消息中还包括第一计算服务关联的逻辑信道LCH列表。In a possible design of the ninth aspect, the fourth configuration message further includes a list of logical channel LCHs associated with the first computing service.
在第九方面的一种可能的设计中,该方法还包括:第二终端设备接收来自第一网络设备的第一信息,该第一信息指示第二终端设备寻找合适的服务终端设备,以承载该第一计算服务;或者,该第一信息指示能够承载第一计算服务的第一终端设备。可选的,该第一信息还指示迁移原因,如过载。In a possible design of the ninth aspect, the method further includes: the second terminal device receives first information from the first network device, where the first information instructs the second terminal device to find a suitable service terminal device to carry the first computing service; or, the first information indicates a first terminal device capable of bearing the first computing service. Optionally, the first information also indicates a migration cause, such as overload.
在第九方面的一种可能的设计中,该方法还包括:第二终端设备向第一网络设备发送第二信息,该第二信息指示第一计算服务需要进行迁移。可选的,该第二信息包括第一计算服务的服务标识。In a possible design of the ninth aspect, the method further includes: the second terminal device sends second information to the first network device, where the second information indicates that the first computing service needs to be migrated. Optionally, the second information includes a service identifier of the first computing service.
在第九方面的一种可能的设计中,该方法还包括:第二终端设备发现第一终端设备,并与该第一终端设备建立侧行链路连接,该第一终端设备提供第二终端设备与第一网络设备之间的数据转发服务;或者第二终端设备根据第一信息的指示,与第一终端设备建立侧行链路连接。In a possible design of the ninth aspect, the method further includes: the second terminal device discovers the first terminal device, and establishes a sidelink connection with the first terminal device, where the first terminal device provides the second terminal data forwarding service between the device and the first network device; or the second terminal device establishes a side link connection with the first terminal device according to the indication of the first information.
在第九方面的一种可能的设计中,该方法还包括:第二终端设备向第一网络设备发送第三信息,该第三信息指示第一网络设备、第一终端设备与第二终端设备之间的中继关系。In a possible design of the ninth aspect, the method further includes: the second terminal device sends third information to the first network device, where the third information indicates the first network device, the first terminal device and the second terminal device relay relationship between them.
第九方面以及第九方面的各种可能的设计中的有益效果,可参考第七方面中对应的描述,重复之处不再赘述。For the beneficial effects of the ninth aspect and various possible designs of the ninth aspect, reference may be made to the corresponding descriptions in the seventh aspect, and repeated descriptions will not be repeated.
第十方面,本申请提供一种通信装置,该装置具有实现上述各方面中第一终端设备的功能,或具有实现上述各方面中第二终端设备的功能,该装置可以为终端设备,也可以为终端设备中包括的芯片或电路。In a tenth aspect, the present application provides a communication device, the device has the function of implementing the first terminal device in the above aspects, or has the function of implementing the second terminal device in the above aspects, the device may be a terminal device, or It is the chip or circuit included in the terminal equipment.
该通信装置也可以具有实现上述各方面中第一网络设备的功能,该装置可以为网络设备,也可以为网络设备中包括的芯片或电路。The communication device may also have the function of implementing the first network device in the above aspects, and the device may be a network device or a chip or circuit included in the network device.
上述通信装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现,所述硬件或软件包括一个或多个与上述功能相对应的模块或单元或手段(means)。The functions of the above communication apparatus may be implemented by hardware, or by executing corresponding software in hardware, and the hardware or software includes one or more modules or units or means corresponding to the above functions.
在一种可能的设计中,该装置的结构中包括处理模块和收发模块,其中,处理模块被配置为支持该装置执行上述各方面中第一终端设备相应的功能,或者执行上述各方面中第二终端设备相应的功能,或者执行上述各方面中第一网络设备相应的功能。收发模块用于支持该装置与其他通信设备之间的通信,例如该装置为第一终端设备时,可接收来自第二终端设备的第一请求消息。该通信装置还可以包括存储模块,存储模块与处理模块耦合,其保存有装置必要的程序指令和数据。作为一种示例,处理模块可以为处理器,通信模块可以为收发器,存储模块可以为存储器,存储器可以和处理器集成在一起,也可以和处理器分离设置。In a possible design, the structure of the apparatus includes a processing module and a transceiver module, wherein the processing module is configured to support the apparatus to perform the corresponding functions of the first terminal equipment in the above aspects, or perform the first terminal equipment in the above aspects. The corresponding function of the second terminal device, or the corresponding function of the first network device in the above aspects is performed. The transceiver module is used to support communication between the device and other communication devices. For example, when the device is a first terminal device, it can receive a first request message from a second terminal device. The communication device may also include a storage module, which is coupled to the processing module and stores necessary program instructions and data of the device. As an example, the processing module may be a processor, the communication module may be a transceiver, and the storage module may be a memory, and the memory may be integrated with the processor, or may be provided separately from the processor.
在另一种可能的设计中,该装置的结构中包括处理器,还可以包括存储器。处理器与存储器耦合,可用于执行存储器中存储的计算机程序指令,以使装置执行上述各方面中的方法。可选地,该装置还包括通信接口,处理器与通信接口耦合。当装置为第一终端设备或第二终端设备或第一网络设备时,该通信接口可以是收发器或输入/输出接口;当该装置为第一终端设备中包含的芯片或第二终端设备中包含的芯片或第一网络设备中包含的芯片时,该通信接口可以是芯片的输入/输出接口。可选地,收发器可以为收发电路,输入/ 输出接口可以是输入/输出电路。In another possible design, the structure of the apparatus includes a processor and may also include a memory. The processor is coupled to the memory and operable to execute computer program instructions stored in the memory to cause an apparatus to perform the methods of the above-described aspects. Optionally, the apparatus further includes a communication interface to which the processor is coupled. When the device is a first terminal device or a second terminal device or a first network device, the communication interface may be a transceiver or an input/output interface; when the device is a chip included in the first terminal device or a device in the second terminal device In the case of a chip included or a chip included in the first network device, the communication interface may be an input/output interface of the chip. Optionally, the transceiver may be a transceiver circuit, and the input/output interface may be an input/output circuit.
第十一方面,本申请实施例提供一种芯片系统,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片系统实现上述各方面中的方法。In an eleventh aspect, an embodiment of the present application provides a chip system, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor At the time, the chip system is made to implement the methods in the above aspects.
可选地,该芯片系统还包括接口电路,该接口电路用于交互代码指令至所述处理器。Optionally, the chip system further includes an interface circuit, and the interface circuit is used to exchange code instructions to the processor.
可选地,该芯片系统中的处理器可以为一个或多个,该处理器可以通过硬件实现也可以通过软件实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。Optionally, the number of processors in the chip system may be one or more, and the processors may be implemented by hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software codes stored in memory.
可选地,该芯片系统中的存储器也可以为一个或多个。该存储器可以与处理器集成在一起,也可以和处理器分离设置。示例性的,存储器可以是非瞬时性处理器,例如只读存储器ROM,其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上。Optionally, there may also be one or more memories in the chip system. The memory can be integrated with the processor, or can be provided separately from the processor. Exemplarily, the memory may be a non-transitory processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip, or may be provided on different chips.
第十二方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序或指令,当该计算机程序或指令被执行时,使得通信装置执行上述各方面中的方法。In a twelfth aspect, embodiments of the present application provide a computer-readable storage medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, enables a communication apparatus to execute the methods in the foregoing aspects.
第十三方面,本申请实施例提供一种计算机程序产品,当通信装置执行所述计算机程序产品时,使得通信装置执行上述各方面或各方面的任一种可能的设计中的方法。In a thirteenth aspect, an embodiment of the present application provides a computer program product that, when a communication device executes the computer program product, causes the communication device to execute the above aspects or the methods in any possible designs of the various aspects.
第十四方面,本申请实施例提供一种通信系统,该通信系统包括第一终端设备、第二终端设备和第一网络设备。可选的,该通信系统中还可以包括第二网络设备。In a fourteenth aspect, an embodiment of the present application provides a communication system, where the communication system includes a first terminal device, a second terminal device, and a first network device. Optionally, the communication system may further include a second network device.
附图说明Description of drawings
图1为MEC应用层架构的示意图;Figure 1 is a schematic diagram of the MEC application layer architecture;
图2a、图2b、图2c和图2d为D2D场景下终端设备之间的位置关系的示意图;Figure 2a, Figure 2b, Figure 2c and Figure 2d are schematic diagrams of the positional relationship between terminal devices in a D2D scenario;
图3为本申请实施例适用的一种基于D2D的MEC网络架构的示意图;3 is a schematic diagram of a D2D-based MEC network architecture to which an embodiment of the application is applicable;
图4为本申请实施例提供的一种计算服务发现方法的流程示意图;FIG. 4 is a schematic flowchart of a computing service discovery method provided by an embodiment of the present application;
图5为本申请实施例中基于终端设备的服务终端设备发现流程的一个具体示例;FIG. 5 is a specific example of a terminal device-based service terminal device discovery process in an embodiment of the present application;
图6为本申请实施例中基于终端设备的服务终端设备发现流程的另一个具体示例;FIG. 6 is another specific example of a terminal device-based service terminal device discovery process in an embodiment of the present application;
图7为本申请实施例中基于终端设备的服务终端设备发现流程的又一种具体示例;FIG. 7 is another specific example of a terminal device-based service terminal device discovery process in an embodiment of the present application;
图8为本申请实施例中第一种基于网络设备的服务终端设备发现流程的示意图;8 is a schematic diagram of a first network device-based service terminal device discovery process in an embodiment of the application;
图9为本申请实施例中第一种基于网络设备的服务终端设备发现流程的一个具体示例;FIG. 9 is a specific example of a first network device-based service terminal device discovery process in an embodiment of the application;
图10为本申请实施例中第一种基于网络设备的服务终端设备发现流程的另一个具体示例;10 is another specific example of the first network device-based service terminal device discovery process in the embodiment of the application;
图11为本申请实施例提供的另一种计算服务方法的流程示意图;FIG. 11 is a schematic flowchart of another computing service method provided by an embodiment of the present application;
图12为本申请实施例中第二种基于网络设备的服务终端设备发现流程的示意图;12 is a schematic diagram of a second network device-based service terminal device discovery process in an embodiment of the application;
图13为本申请实施例中第二种基于网络设备的服务终端设备发现流程的一个具体示例;FIG. 13 is a specific example of a second network device-based service terminal device discovery process in an embodiment of the application;
图14为本申请实施例中第二种基于网络设备的服务终端设备发现流程的另一个具体示例;FIG. 14 is another specific example of the second network device-based service terminal device discovery process in the embodiment of the application;
图15为本申请实施例中当确定的服务终端设备处于RRC非激活态或RRC空闲态时的具体示例;15 is a specific example when the determined serving terminal equipment is in the RRC inactive state or the RRC idle state in the embodiment of the application;
图16为本申请实施例中在中继场景下第一终端设备与第二终端设备进行的一种配置流程的示意图;16 is a schematic diagram of a configuration process performed by a first terminal device and a second terminal device in a relay scenario in an embodiment of the present application;
图17为本申请实施例中在中继场景下第一终端设备与第二终端设备进行的另一种配置流程的示意图;17 is a schematic diagram of another configuration process performed by a first terminal device and a second terminal device in a relay scenario in an embodiment of the present application;
图18为本申请实施例提供的又一种计算服务发现方法的流程示意图;FIG. 18 is a schematic flowchart of another computing service discovery method provided by an embodiment of the present application;
图19为本申请实施例中数据传输路径切换的示意图;19 is a schematic diagram of data transmission path switching in an embodiment of the present application;
图20为本申请实施例中在中继场景下迁移第一计算服务的一个具体示例;FIG. 20 is a specific example of migrating the first computing service in a relay scenario in an embodiment of the application;
图21为本申请实施例提供的一种基于双连接的计算服务发现与分配方法的流程示意图;21 is a schematic flowchart of a dual-connectivity-based computing service discovery and allocation method provided by an embodiment of the present application;
图22为本申请实施例提供的一种通信装置的结构示意图;FIG. 22 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图23为本申请实施例提供的一种通信装置的另一结构示意图;FIG. 23 is another schematic structural diagram of a communication device provided by an embodiment of the present application;
图24为本申请实施例提供的一种通信装置的又一结构示意图;FIG. 24 is another schematic structural diagram of a communication device provided by an embodiment of the present application;
图25为本申请实施例提供的一种通信装置的又一结构示意图。FIG. 25 is another schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、第五代(5th generation,5G)移动通信系统或新无线(new radio,NR)系统,或者应用于未来的通信系统或其它类似的通信系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD), fifth generation (5th generation, 5G) mobile communication systems or new radio (NR) systems, or applied to future communication systems or other similar communication systems.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms in the present application will be explained so as to facilitate the understanding of those skilled in the art.
1)终端设备,是一种向用户提供语音和/或数据连通性的设备,或具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。终端设备可以经无线接入网(如,radio access network,RAN)与一个或多个核心网或者互联网进行通信,与RAN交换语音和/或数据。1) A terminal device is a device that provides voice and/or data connectivity to a user, or a handheld device with wireless connectivity, or other processing device connected to a wireless modem. Terminal devices may communicate with one or more core networks or the Internet via a radio access network (eg, radio access network, RAN), exchanging voice and/or data with the RAN.
终端设备可以包括用户设备(user equipment,UE)、无线终端设备、移动终端设备、D2D终端设备、车联网(vehicle to everything,V2X)终端设备、机器到机器/机器类通信(machine-to-machine/machine-type communications,M2M/MTC)终端设备、物联网(internet of things,IoT)终端设备、订户单元(subscriber unit)、订户站(subscriber station)、移动站(mobile station)、远程站(remote station)、接入点(access point,AP)、远程终端(remote terminal)、接入终端(access terminal)、用户终端(user terminal)、用户代理(user agent)或用户装备(user device)等。例如,终端设备可包括手机,平板电脑,带无线收发功能的电脑,便携式、袖珍式、手持式、计算机内置的移动装置等。又例如,终端设备可包括虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备、或者V2X中的车辆设备、客户前置设备(customer premises equipment,CPE)等等。再例如,终端设备可包括个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无 线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)等设备。或者,终端设备还可包括受限设备,如功耗较低的设备,或存储能力有限的设备,或计算能力有限的设备等。例如包括射频识别(radio frequency identification,RFID)器、各种类型的传感器、全球定位系统(global positioning system,GPS)设备、激光扫描器等信息传感设备。本申请实施例对终端设备所采用的具体技术和具体设备形态不作限定。Terminal equipment may include user equipment (UE), wireless terminal equipment, mobile terminal equipment, D2D terminal equipment, vehicle to everything (V2X) terminal equipment, machine-to-machine communication (machine-to-machine) /machine-type communications, M2M/MTC) terminal equipment, Internet of things (IoT) terminal equipment, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile station (mobile station), remote station (remote) station), access point (AP), remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent) or user equipment (user device), etc. For example, the terminal equipment may include a mobile phone, a tablet computer, a computer with a wireless transceiver function, a portable, pocket-sized, hand-held, mobile device built into a computer, and the like. For another example, the terminal device may include a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving) Terminal, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, smart home ( The wireless terminal in the smart home), the terminal equipment in the public land mobile network (PLMN) that evolves in the future, or the vehicle equipment in V2X, customer premises equipment (customer premises equipment, CPE) and so on. For another example, the terminal equipment may include a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (personal digital assistant, PDA) and other devices. Alternatively, the terminal device may also include limited devices, such as devices with low power consumption, or devices with limited storage capabilities, or devices with limited computing capabilities, and the like. For example, it includes information sensing devices such as radio frequency identification (radio frequency identification, RFID) devices, various types of sensors, global positioning system (global positioning system, GPS) devices, and laser scanners. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.
作为示例而非限定,本申请的实施例中,终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备或智能穿戴式设备等,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能头盔、智能首饰等。而如上介绍的各种终端设备,如果位于车辆上(例如放置在车辆内或安装在车辆内),都可以认为是车载终端设备,车载终端设备例如也称为车载单元(on-board unit,OBU)。As an example and not a limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable devices can also be called wearable smart devices or smart wearable devices, etc. It is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. Wait. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to cooperate with other devices such as smart phones. Use, such as all kinds of smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring. The various terminal devices described above, if they are located on the vehicle (for example, placed in the vehicle or installed in the vehicle), can be considered as on-board terminal equipment. For example, the on-board terminal equipment is also called on-board unit (OBU). ).
2)无线接入网设备,是网络侧中用于发射或接收信号的实体,是通信系统中用于将终端设备接入到无线网络的设备,一般可以通过有线链路(例如光纤线缆)连接到核心网。2) The wireless access network equipment is the entity used to transmit or receive signals on the network side, and it is the equipment used to connect the terminal equipment to the wireless network in the communication system, generally through a wired link (such as an optical fiber cable) Connect to the core network.
无线接入网设备为RAN中的节点,又可以称为基站(base station),还可以称为RAN节点(或设备)。无线接入网设备可以包括基站、LTE系统或演进的LTE系统(LTE-Advanced,LTE-A)中的演进型基站(evolved NodeB,eNodeB)、5G通信系统中的下一代基站(next generation NodeB,gNB)、发送接收点(transmission reception point,TRP)、基带单元(base band unit,BBU)、无线局域网(wireless local area networks,WLAN)中的接入点(access point,AP)、未来移动通信系统中的基站或WiFi系统中的接入节点等。无线接入网设备也可以是完成基站部分功能的模块或单元,例如,可以是集中式单元(central unit,CU),或者分布式单元(distributed unit,DU)。本申请实施例对无线接入网设备所采用的具体技术和具体设备形态不作限定。A radio access network device is a node in the RAN, which may also be called a base station, or a RAN node (or device). The radio access network equipment may include a base station, an evolved base station (evolved NodeB, eNodeB) in an LTE system or an evolved LTE system (LTE-Advanced, LTE-A), a next generation NodeB (next generation NodeB) in a 5G communication system, gNB), transmission reception point (TRP), base band unit (BBU), access point (AP) in wireless local area networks (WLAN), future mobile communication systems The base station in the WiFi system or the access node in the WiFi system, etc. The radio access network device may also be a module or unit that completes some functions of the base station, for example, may be a centralized unit (central unit, CU) or a distributed unit (distributed unit, DU). The embodiments of the present application do not limit the specific technology and specific device form adopted by the wireless access network device.
例如,在一种网络结构中,无线接入网设备可以为CU节点、或DU节点、或为包括CU节点和DU节点的接入网设备。具体的,CU节点用于支持无线资源控制(radio resource control,RRC)、分组数据汇聚协议(packet data convergence protocol,PDCP)、业务数据适配协议(service data adaptation protocol,SDAP)等协议;DU节点用于支持无线链路控制(radio link control,RLC)层协议、媒体接入控制(medium access control,MAC)层协议和物理层协议。For example, in a network structure, the radio access network device may be a CU node, a DU node, or an access network device including a CU node and a DU node. Specifically, the CU node is used to support radio resource control (radio resource control, RRC), packet data convergence protocol (packet data convergence protocol, PDCP), service data adaptation protocol (service data adaptation protocol, SDAP) and other protocols; DU node Used to support radio link control (radio link control, RLC) layer protocol, medium access control (medium access control, MAC) layer protocol and physical layer protocol.
在本申请的实施例中,无线接入网设备和终端可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上;还可以部署在空中的飞机、气球和卫星上。本申请实施例对无线接入网设备和终端设备的应用场景不做限定。在本申请实施例中,无线接入网设备可以简称为接入网设备,如无特殊说明,下文中的接入网设备均指无线接入网设备。In the embodiments of the present application, radio access network equipment and terminals can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; can also be deployed on water; and can also be deployed on aircraft, balloons, and satellites in the air. The embodiments of the present application do not limit the application scenarios of the wireless access network device and the terminal device. In the embodiments of the present application, the wireless access network device may be referred to as an access network device for short. Unless otherwise specified, the access network device in the following refers to a wireless access network device.
3)核心网设备,是指为终端设备提供业务支持的核心网(core network,CN)中的设备。核心网设备可以包括接入与移动性管理功能(access and mobility management function,AMF)、会话管理功能(session management function,SMF)、用户面功能(user plane function,UPF)等实体。其中,AMF用于负责终端设备的接入管理和移动性管理;SMF用于负责 会话管理,如用户的会话建立等;UPF是用户面的功能实体,主要用于负责连接外部网络。应注意,本申请中的实体也可以称为网元或功能实体,即AMF实体也可以称为AMF网元或AMF功能实体,SMF实体也可以称为SMF网元或SMF功能实体。在本申请下文的描述中,核心网设备可以是指AMF。3) Core network equipment refers to the equipment in the core network (core network, CN) that provides service support for terminal equipment. The core network equipment may include entities such as an access and mobility management function (AMF), a session management function (SMF), and a user plane function (UPF). Among them, AMF is used to be responsible for access management and mobility management of terminal equipment; SMF is used to be responsible for session management, such as user session establishment, etc.; UPF is a functional entity of the user plane, which is mainly used for connecting to external networks. It should be noted that entities in this application may also be referred to as network elements or functional entities, that is, AMF entities may also be referred to as AMF network elements or AMF functional entities, and SMF entities may also be referred to as SMF network elements or SMF functional entities. In the following description of this application, the core network device may refer to the AMF.
4)MEC,是指将终端侧的计算负载卸载(offloading)至网络边缘的计算服务器,在网络边缘提供近似云端计算、存储和处理的能力的技术。4) MEC refers to a technology that offloads the computing load on the terminal side to the computing server at the edge of the network, and provides similar cloud computing, storage and processing capabilities at the edge of the network.
移动终端(例如,智能手机和笔记本电脑)的发展带动了新型网络应用的产生,其中包括一些计算密集型应用,例如,在线游戏、语音/人脸识别和AR/VR等等。部分UE受电池容量和计算能力的限制,本地运行这些应用会造成过多的能源消耗。为了解决这个问题,一种可行的方法是将这些业务迁移到位于远端的集中式云处理器,利用云端丰富的计算资源来降低用户终端的服务成本和能耗。但是,由于移动设备到互联网云端的距离遥远,远程执行会导致更高的业务响应延迟,并会给回程带宽带来高的数据负载压力。新兴的MEC技术能够有效地解决这些问题,通过将计算和存储资源带到网络边缘,MEC能够满足本地数据处理严格的延迟和带宽要求。The development of mobile terminals (eg, smartphones and laptops) has led to the creation of new network applications, including some computationally intensive applications such as online games, voice/face recognition, and AR/VR, among others. Some UEs are limited by battery capacity and computing power, and running these applications locally will cause excessive energy consumption. In order to solve this problem, a feasible method is to migrate these services to a remote centralized cloud processor, and use the abundant computing resources of the cloud to reduce the service cost and energy consumption of user terminals. However, due to the long distance from the mobile device to the Internet cloud, remote execution will result in higher business response latency and high data load pressure on the backhaul bandwidth. Emerging MEC technologies can effectively address these issues. By bringing computing and storage resources to the network edge, MEC can meet the stringent latency and bandwidth requirements of local data processing.
请参考图1,为MEC应用层架构的示意图。具体的,终端设备侧包括一个或多个应用客户端(application client),以及一个或多个边缘启动客户端(edge enabler client,EEC)。网络边缘侧包括边缘数据网络(edge data network,EDN)和边缘配置服务器(edge configuration server,ECS)。EDN是本地数据网络,包括边缘应用服务器(edge application server,EAS)和边缘启动服务器(edge enabler server,EES)。EAS、EES和ECS可以与核心网进行数据交互。Please refer to FIG. 1 , which is a schematic diagram of the MEC application layer architecture. Specifically, the terminal device side includes one or more application clients (application clients) and one or more edge enabler clients (edge enabler clients, EEC). The edge side of the network includes an edge data network (EDN) and an edge configuration server (ECS). EDN is a local data network including edge application server (EAS) and edge enabler server (EES). EAS, EES and ECS can exchange data with the core network.
其中,应用客户端是指驻留在终端设备中的应用,用于执行客户端功能。EEC用于提供应用客户端所需的支持功能,例如EEC用于获取和提供配置信息,以便与EAS交互应用层数据流量;EEC用于发现EDN中可用的EAS。EAS是部署在EDN中的应用服务器,用于执行服务器功能。应用客户端连接到EAS,以便利用边缘计算的优势来使用应用程序的服务。应用程序中的服务器功能可能仅作为EAS使用。但是,如果应用程序中的服务器功能同时作为边缘应用服务器和驻留在云端的应用服务器可用,则边缘应用服务器和应用服务器的功能可能不同。另外,如果边缘应用服务器和应用服务器的功能不同,应用数据流量也可以不同。EAS对核心网能力的使用方式可能不同,例如EAS是核心网信任的实体,则可以直接调用核心网功能API;或者EAS可通过EES调用核心网能力;或者,EAS可通过能力开放功能(例如SCEF或NEF网元)调用核心网能力。EES用于提供EAS和EEC所需的支撑功能,例如EES可提供配置信息,以便与EAS交互应用层数据流量;EES也可以向EEC提供EAS的相关信息;EES支持3GPP TS 23.222中规定的API的调用和开放功能。ECS用于提供EEC连接EES所需的支持功能,例如提供EES相关的配置信息,包括EES所在的EDN的详细信息。示例性的,ECS可以向EEC提供Edge配置信息,所述Edge配置信息可以包括EEC连接EES需要的服务区信息(适用于局域数据网(local area data network,LADN)),还可以包括ECS与EES建立连接的信息,如通用资源标识符(uniform resource identifier,URI)。The application client refers to an application residing in the terminal device, which is used to perform client functions. The EEC is used to provide the support functions required by the application client, for example, the EEC is used to obtain and provide configuration information so as to interact with the EAS application layer data traffic; the EEC is used to discover the EAS available in the EDN. EAS is an application server deployed in EDN to perform server functions. The application client connects to the EAS in order to utilize the advantages of edge computing to consume the application's services. Server functions in the application may only be used as EAS. However, if the server functions in the application are available as both an edge application server and an application server residing in the cloud, the functions of the edge application server and the application server may be different. In addition, if the functions of the edge application server and the application server are different, the application data traffic can also be different. EAS may use core network capabilities in different ways. For example, if EAS is an entity trusted by the core network, it can directly call core network function APIs; or EAS can call core network capabilities through EES; or, EAS can use capability opening functions (such as SCEF or NEF network element) to invoke core network capabilities. EES is used to provide the support functions required by EAS and EEC. For example, EES can provide configuration information to exchange application layer data traffic with EAS; EES can also provide EAS-related information to EEC; EES supports APIs specified in 3GPP TS 23.222. Call and open functions. The ECS is used to provide the support functions required by the EEC to connect to the EES, such as providing EES-related configuration information, including the detailed information of the EDN where the EES is located. Exemplarily, the ECS may provide the EEC with Edge configuration information, where the Edge configuration information may include service area information (applicable to a local area data network (LADN)) required by the EEC to connect to the EES, and may also include the ECS and the EES. Information for EES to establish a connection, such as a universal resource identifier (URI).
5)D2D,是指终端设备之间进行直接通信的技术。D2D可以支持两个或多个终端设备之间近距离的点对点或点对多点的通信。D2D可以工作在基站辅助模式下,也可以在脱离基站服务的情况下单独工作。在D2D场景下,以两个终端设备(如图示中的UE1和UE2) 为例,根据网络覆盖情况,终端设备之间的位置关系可以包括如图2a至图2d所示的四种情形:情形1(对应图2a),两个UE都不位于基站覆盖范围内;情形2(对应图2b),一个UE位于基站覆盖范围内,另一个UE则不是;情形3(对应图2c),两个UE均位于基站覆盖范围内,且位于同一个基站的覆盖范围内;情形4(对应图2d),两个UE均位于基站覆盖范围内,但两个UE分别位于不同的基站的覆盖范围内。5) D2D refers to the technology of direct communication between terminal devices. D2D can support short-range point-to-point or point-to-multipoint communication between two or more terminal devices. D2D can work in base station assisted mode, or it can work alone without the service of the base station. In the D2D scenario, taking two terminal devices (such as UE1 and UE2 in the figure) as an example, according to the network coverage, the location relationship between the terminal devices may include four situations as shown in Figure 2a to Figure 2d: Case 1 (corresponding to Figure 2a), both UEs are not located in the coverage of the base station; Case 2 (corresponding to Figure 2b), one UE is located in the coverage of the base station, and the other UE is not; Case 3 (corresponding to Figure 2c), the two All UEs are located within the coverage area of the base station and within the coverage area of the same base station; in case 4 (corresponding to Figure 2d), both UEs are located within the coverage area of the base station, but the two UEs are located within the coverage area of different base stations respectively .
侧行链路(sidelink,SL)是指D2D通信使用的链路,或者说终端设备与终端设备之间直接通信使用的链路,与通信系统中的上行链路(uplink,UL)、下行链路(downlink,DL)相对应。Sidelink (SL) refers to the link used for D2D communication, or the link used for direct communication between terminal equipment and terminal equipment, and the uplink (UL) and downlink in the communication system. Road (downlink, DL) corresponds.
邻近业务(proximity-based services,ProSe)与D2D具有类似的含义,可以用ProSe来指代D2D。协议规定ProSe能够提供下面五种功能:演进型分组核心网(evolved packet core,EPC)级邻近业务发现(EPC-level ProSe discovery)、EPC支持的WLAN直接发现和通信(EPC support for WLAN direct discovery and communication)、直接发现(direct discovery)、直接通信(direct communication)、UE与网络之间的中继(UE-to-network relay)。Proximity-based services (ProSe) have similar meanings to D2D, and ProSe can be used to refer to D2D. The protocol stipulates that ProSe can provide the following five functions: EPC-level ProSe discovery, EPC support for WLAN direct discovery and communication (EPC support for WLAN direct discovery and communication) communication), direct discovery, direct communication, UE-to-network relay.
D2D的核心功能包括直接发现和直接通信。其中,直接发现是指具有D2D通信能力(或者说具有ProSe功能)的终端设备使用演进型通用陆地无线接入网(evolved universal terrestrial radio access network,E-UTRAN)、WLAN技术或EPC技术,在邻近的区域内能够互相发现。终端设备之间的互相发现基于临近业务直接发现模型(ProSe direct discovery models)实现,临近业务直接发现模型包括模型A和模型B。模型A下为具有D2D通信能力的终端设备定义了两种角色,分别为通告终端设备(announcing UE)和监听终端设备(monitoring UE),其中,通告终端设备可以预定的发现间隔广播发现消息,对这些消息感兴趣的监听终端设备可以读取消息并处理它们。类似的,模型B下为具有D2D通信能力的终端设备同样定义了两种角色,分别为发现者(discoverer UE)和被发现者(discoveree UE)。The core functions of D2D include direct discovery and direct communication. Among them, direct discovery means that the terminal device with D2D communication capability (or ProSe function) uses the evolved universal terrestrial radio access network (Evolved universal terrestrial radio access network, E-UTRAN), WLAN technology or EPC technology, in the vicinity of can find each other in the area. The mutual discovery between terminal devices is realized based on the ProSe direct discovery models (ProSe direct discovery models), which include model A and model B. Under model A, two roles are defined for terminal devices with D2D communication capabilities, namely announcing terminal equipment (announcing UE) and monitoring terminal equipment (monitoring UE). Listening end devices interested in these messages can read the messages and process them. Similarly, under Model B, two roles are also defined for terminal devices with D2D communication capabilities, namely, discoverer UE and discoveree UE.
直接通信是指在能够直接通信范围内的两个或多个具有ProSe功能的UE之间建立通信链路进行通信,直接通信路径可以使用E-UTRAN或WLAN。Direct communication refers to establishing a communication link between two or more ProSe-capable UEs within a range capable of direct communication, and the direct communication path may use E-UTRAN or WLAN.
请参考图3,为本申请实施例适用的一种基于D2D的MEC网络架构示意图。该网络架构中包括核心网、MEC服务器、接入网设备和各种类型的终端设备。应注意,本申请实施例对该网络架构中包括的MEC服务器的数量、接入网设备的数量以及终端设备的数量和类型均不作具体限定,图3中所示仅为一种示例。Please refer to FIG. 3 , which is a schematic diagram of a D2D-based MEC network architecture to which the embodiments of the present application are applied. The network architecture includes core network, MEC server, access network equipment and various types of terminal equipment. It should be noted that the embodiments of the present application do not specifically limit the number of MEC servers included in the network architecture, the number of access network devices, and the number and type of terminal devices, and FIG. 3 is only an example.
其中,位于网络边缘的MEC服务器可为终端设备提供计算服务,具体的,终端设备可与接入网设备建立连接,通过RAN将数据传输给位于网络边缘的一个或多个MEC服务器以处理来自终端设备的数据,并将计算结果反馈给终端设备,从而完成终端设备与网络边缘的MEC服务器之间在用户面应用层的数据交互。此外,在图3所示的网络架构中,终端设备侧的终端设备(可以是单个的终端设备,也可以是聚合的多个终端设备)可以利用富余的计算资源、存储资源,为其他终端设备提供计算服务。即终端设备也可以作为网络边缘节点,分担网络侧的部分计算任务,以提高系统整体的计算容量。The MEC server located at the edge of the network can provide computing services for the terminal device. Specifically, the terminal device can establish a connection with the access network device, and transmit data to one or more MEC servers located at the edge of the network through the RAN to process data from the terminal. The data of the device is fed back to the terminal device, so as to complete the data interaction between the terminal device and the MEC server at the edge of the network at the user plane application layer. In addition, in the network architecture shown in FIG. 3 , the terminal device on the terminal device side (which may be a single terminal device or a plurality of aggregated terminal devices) can use the surplus computing resources and storage resources to provide other terminal devices. Provide computing services. That is, the terminal device can also act as a network edge node to share some computing tasks on the network side, so as to improve the overall computing capacity of the system.
鉴于此,在D2D场景中,可以基于功能对终端设备的类型做如下分类:1)客户终端设备(consumer user equipment,C-UE),用于获取计算服务。2)服务终端设备(server user equipment,S-UE),用于提供计算服务。3)中继终端设备(relay),用于向其他终端设备提供数据转发服务。4)服务中继终端设备(server+relay),或者说同时具有服务和中继 功能的终端设备,可以看做是服务终端设备与中继终端设备的结合,是指针对计算业务多级处理场景,relay UE对C-UE的业务进行中间处理。In view of this, in the D2D scenario, the types of terminal devices can be classified as follows based on functions: 1) Consumer user equipment (C-UE), which is used to obtain computing services. 2) Service terminal equipment (server user equipment, S-UE), which is used to provide computing services. 3) Relay terminal equipment (relay), used to provide data forwarding services to other terminal equipment. 4) Service relay terminal equipment (server+relay), or terminal equipment with both service and relay functions, can be regarded as a combination of service terminal equipment and relay terminal equipment, which refers to multi-level processing scenarios for computing services. , the relay UE performs intermediate processing on the services of the C-UE.
需要说明的是,本申请实施例中的术语“系统”和“网络”可被互换使用。“多个”是指两个或两个以上,鉴于此,本申请实施例中也可以将“多个”理解为“至少两个”。“至少一个”,可理解为一个或多个,例如理解为一个、两个或更多个。例如,包括至少一个,是指包括一个、两个或更多个,而且不限制包括的是哪几个。例如,包括A、B和C中的至少一个,那么包括的可以是A、B、C,A和B,A和C,B和C,或A和B和C。同理,对于“至少一种”等描述的理解,也是类似的。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。It should be noted that the terms "system" and "network" in the embodiments of the present application may be used interchangeably. "Plurality" refers to two or more than two, and in view of this, "plurality" may also be understood as "at least two" in the embodiments of the present application. "At least one" can be understood as one or more, such as one, two or more. For example, including at least one means including one, two or more, and does not limit which ones are included. For example, if at least one of A, B, and C is included, then A, B, C, A and B, A and C, B and C, or A and B and C may be included. Similarly, the understanding of descriptions such as "at least one" is similar. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/", unless otherwise specified, generally indicates that the related objects are an "or" relationship.
除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度,并且“第一”、“第二”的描述也并不限定对象一定不同。Unless stated to the contrary, ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority, or importance of multiple objects. Moreover, the description of "first" and "second" does not limit the objects to be necessarily different.
请参考图4,为本申请提供的一种计算服务发现方法的流程示意图,该方法包括:Please refer to FIG. 4 , which is a schematic flowchart of a computing service discovery method provided by the present application. The method includes:
步骤S401、第二终端设备向第一终端设备发送第一请求消息,该第一请求消息中包括计算服务请求信息,该计算服务请求信息用于请求第一计算服务。Step S401: The second terminal device sends a first request message to the first terminal device, where the first request message includes computing service request information, and the computing service request information is used to request the first computing service.
相应的,第一终端设备接收来自第二终端设备的第一请求消息。Correspondingly, the first terminal device receives the first request message from the second terminal device.
在本申请实施例中,第一终端设备可以为服务终端设备(即S-UE),第二终端设备可以为客户终端设备(即C-UE)。In this embodiment of the present application, the first terminal device may be a serving terminal device (ie, an S-UE), and the second terminal device may be a client terminal device (ie, a C-UE).
所述第一请求消息用于请求第一计算服务。该第一请求消息也可以称为直接通信请求消息(direct communication request message)或计算服务请求消息(computing service request message),或者具有其它名称,本申请并不限定。The first request message is used to request the first computing service. The first request message may also be called a direct communication request message (direct communication request message) or a computing service request message (computing service request message), or have other names, which are not limited in this application.
具体的,第一请求消息中包括计算服务请求信息,该计算服务请求信息包括第一计算服务相关的下列一项或多项信息,以指示当前请求的是第一计算服务:服务标识(service ID)、服务类型(service type)、服务状态类型(service state type)、硬件需求(performance requirement)、完成指标。Specifically, the first request message includes computing service request information, and the computing service request information includes one or more of the following information related to the first computing service to indicate that the current request is the first computing service: service ID (service ID) ), service type, service state type, performance requirement, and completion metrics.
其中,服务标识是指计算服务的身份标识(identity,ID)。应注意,该服务标识仅为一个服务代号,并不体现具体的服务信息,也不能通过该服务标识判断服务内容。还应注意,服务标识是计算服务请求信息中的可选的信息,当第二终端设备一次仅请求一个计算服务时,可以不在计算服务请求信息中携带服务标识。The service identifier refers to an identity (identity, ID) of the computing service. It should be noted that the service identifier is only a service code, and does not reflect specific service information, nor can the service content be judged by the service identifier. It should also be noted that the service identifier is optional information in the computing service request information, and when the second terminal device only requests one computing service at a time, the service identifier may not be carried in the computing service request information.
服务类型用于指示计算服务包括的服务功能或者微服务的集合,即对应的计算服务需要哪些服务功能或者微服务。例如,服务类型可以为人工智能(artificial intelligence,AI)模型或机器学习(machine learning,ML)模型,其中可以包括深度神经网络(deep neural network,DNN)、卷积神经网络(convolutional neural network,CNN)等服务功能。再例如,服务类型可以为微服务(microservice)或服务功能(service function)类型,以视频业务为例,其中可能包括视频优化、传输控制协议(transmission control protocol,TCP)优化、修正码率、压缩码率、图像增强、多路径并行传输、拼接以及视频隐私保护等服务功能。The service type is used to indicate the set of service functions or microservices included in the computing service, that is, which service functions or microservices the corresponding computing service requires. For example, the service type may be an artificial intelligence (AI) model or a machine learning (ML) model, which may include a deep neural network (DNN), a convolutional neural network (CNN) ) and other service functions. For another example, the service type may be a microservice (microservice) or a service function (service function) type. Taking a video service as an example, it may include video optimization, transmission control protocol (TCP) optimization, bit rate correction, compression Service functions such as bit rate, image enhancement, multi-path parallel transmission, splicing, and video privacy protection.
服务状态类型分为stateful和stateless两种。stateful指示服务器需要记录对应计算服务 的处理状态,即服务的应用上下文(application context),当发生服务中断时,服务器可以在服务进程的断点处基于记录的应用上下文继续处理剩余业务。stateless指示服务器不需要记录对应计算服务的应用上下文,当服务中断时,需要从头开始重新处理对应业务。There are two types of service states: stateful and stateless. stateful indicates that the server needs to record the processing status of the corresponding computing service, that is, the application context of the service. When a service interruption occurs, the server can continue to process the remaining business based on the recorded application context at the breakpoint of the service process. Stateless indicates that the server does not need to record the application context of the corresponding computing service. When the service is interrupted, the corresponding service needs to be reprocessed from the beginning.
硬件需求用于指示完成对应的计算服务所需要的硬件或性能方面的需求,其可包括对下列一项或多项参数的需求:Hardware requirements are used to indicate the hardware or performance requirements required to complete the corresponding computing service, which may include requirements for one or more of the following parameters:
1)吞吐量,是指一台计算机在某一单位时间内能够处理的信息量。1) Throughput refers to the amount of information that a computer can process in a certain unit of time.
2)响应时间,是指从输入有效到系统产生响应的时间。2) Response time refers to the time from when the input is valid to when the system responds.
3)利用率,是指在给定的时间间隔内系统被实际使用的时间所占的百分比。3) Utilization rate, which refers to the percentage of time that the system is actually used in a given time interval.
4)处理器字长,是指运算器中一次能够运算二进制数的位数。4) The word length of the processor refers to the number of digits in the operator that can operate a binary number at a time.
5)总线宽度,是指中央处理单元(central processing unit,CPU)中连接运算器与存储器的内部总线二进制位数。5) The bus width refers to the number of bits of the internal bus in the central processing unit (CPU) connecting the arithmetic unit and the memory.
6)存储器带宽,是指单位时间内从存储器中读出的二进制信息量,一般用字节数/秒表示。6) Memory bandwidth, which refers to the amount of binary information read out from the memory per unit of time, generally expressed in bytes per second.
7)CPU主频,是指CPU的主时钟产生信号的固定频域,其倒数是CPU的时钟周期。7) The main frequency of the CPU refers to the fixed frequency domain of the signal generated by the main clock of the CPU, and its reciprocal is the clock cycle of the CPU.
8)CPU执行时间,等于CPU时钟周期数*CPU时间。8) CPU execution time, equal to the number of CPU clock cycles * CPU time.
9)每秒钟执行多少百万次定点指令(million instructions per second,MIPS)。9) How many million instructions per second (MIPS) are executed per second.
10)每秒钟执行的浮点操作的次数(floating-point operations per second,FLOPS)。10) The number of floating-point operations per second (FLOPS) performed per second.
完成指标,用于指示对应的计算服务的关键绩效指标(key performance indicator,KPI)需求,即requested KPIs,如时延(latency)需求、精度需求等。Completion indicators are used to indicate the key performance indicator (KPI) requirements of the corresponding computing service, that is, requested KPIs, such as latency requirements, accuracy requirements, etc.
步骤S402、第一终端设备根据自身的负载情况和所述计算服务请求信息,对第一计算服务进行准入控制(admission control)。Step S402: The first terminal device performs admission control (admission control) on the first computing service according to its own load situation and the computing service request information.
示例性的,在一种可能的实施方式中,第一终端设备可首先判断自身是否支持第一计算服务的服务类型(即是否支持第一计算服务的服务功能集合)。若支持,再判断是否满足第一计算服务相关的硬件需求。若满足,则进一步判断在当前的负载情况下,是否能够满足第一计算服务对应的KPI需求(即是否能够达到第一计算服务的完成指标)。若能够满足,则接受该第一计算服务。否则,若上述过程中的任一次判断的条件不满足,则拒绝该第一计算服务。Exemplarily, in a possible implementation manner, the first terminal device may first determine whether it supports the service type of the first computing service (that is, whether it supports the service function set of the first computing service). If yes, then determine whether the hardware requirements related to the first computing service are met. If so, it is further judged whether the KPI requirement corresponding to the first computing service can be met under the current load condition (ie, whether the completion index of the first computing service can be reached). If it can be satisfied, the first computing service is accepted. Otherwise, if the conditions of any judgment in the above process are not satisfied, the first computing service is rejected.
步骤S403、若第一终端设备接受第一计算服务,则第一终端设备向第二终端设备发送第一响应消息,该第一响应消息中包括计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。Step S403: If the first terminal device accepts the first computing service, the first terminal device sends a first response message to the second terminal device, where the first response message includes computing service acceptance information, and the computing service acceptance information indicates the first The terminal device accepts the first computing service.
相应的,第二终端设备接收来自第一终端设备的第一响应消息。Correspondingly, the second terminal device receives the first response message from the first terminal device.
所述计算服务接受信息指示第一终端设备接受第一计算服务。可选的,计算服务接受信息可以包括第一终端设备接受的计算服务的服务标识,例如,该计算服务接受信息可以包括第一计算服务的服务标识,表示第一终端设备接受了该第一计算服务。The computing service acceptance information indicates that the first terminal device accepts the first computing service. Optionally, the computing service acceptance information may include a service identifier of a computing service accepted by the first terminal device. For example, the computing service acceptance information may include a service identifier of the first computing service, indicating that the first terminal device accepts the first computing service. Serve.
若第一终端设备拒绝第一计算服务,则第一终端设备也可以向第二终端设备发送第一响应消息,该第一响应消息中包括计算服务拒绝信息,该计算服务拒绝信息指示第一终端设备拒绝了该第一计算服务,或者说指示第一终端设备拒绝了第二终端设备在第一请求消息中所请求的计算服务。可选的,计算服务拒绝信息可以包括第一终端设备拒绝的计算服务的服务标识,例如该计算服务拒绝信息可以包括第一计算服务的服务标识,表示第一终端设备拒绝了该第一计算服务。If the first terminal device rejects the first computing service, the first terminal device may also send a first response message to the second terminal device, where the first response message includes computing service rejection information, and the computing service rejection information indicates that the first terminal The device rejects the first computing service, or instructs the first terminal device to reject the computing service requested by the second terminal device in the first request message. Optionally, the computing service rejection information may include a service identifier of a computing service rejected by the first terminal device, for example, the computing service rejection information may include a service identifier of the first computing service, indicating that the first terminal device has rejected the first computing service. .
在本申请的实施例中,若第一终端设备接受第一计算服务,则第一响应消息也可以称为直接通信接受消息(direct communication accept messsage)或计算服务接受消息(computing service accept message),或具有其他名称,本申请并不限定。类似的,若第一终端设备拒绝第一计算服务,则第一响应消息也可以称为直接通信拒绝消息(direct communication reject message)或计算服务拒绝消息(computing service refuse message),或具有其他名称,本申请同样不作限定。In the embodiment of the present application, if the first terminal device accepts the first computing service, the first response message may also be referred to as a direct communication accept message (direct communication accept message) or a computing service accept message (computing service accept message), Or have other names, which is not limited in this application. Similarly, if the first terminal device rejects the first computing service, the first response message may also be called a direct communication reject message or a computing service reject message, or have other names, This application is also not limited.
需要说明的是,上述过程是以第二终端设备一次向第一终端设备请求一个计算服务为例进行说明的,第二终端设备也可以一次向第一终端设备请求多个计算服务。It should be noted that the above process is described by taking the second terminal device requesting one computing service from the first terminal device as an example, and the second terminal device may also request multiple computing services from the first terminal device at one time.
如果第二终端设备在第一请求消息中向第一终端设备请求多个计算服务,则第一请求消息中的计算服务请求信息中可以包括多个计算服务的相关信息,每个计算服务的相关信息均可以包括服务标识、服务类型、服务状态类型、硬件需求、完成指标中的一项或多项信息。相应的,如果第一终端设备确定接受其中的一个或多个计算服务,则第一终端设备可以在返回的第一响应消息中携带计算服务接受信息,通过该计算服务接受信息指示第一终端设备接受的一个或多个计算服务,例如该计算服务接受信息可以包括第一终端设备接受的一个或多个计算服务的服务标识。可选的,如果第一终端设备确定拒绝其中的一个或多个计算服务,则第一终端设备也可以在返回的第一响应消息中携带计算服务拒绝信息,通过该计算服务拒绝信息指示第一终端设备拒绝的一个或多个计算服务,例如该计算服务拒绝信息可以包括第一终端设备拒绝的一个或多个计算服务的服务标识。If the second terminal device requests multiple computing services from the first terminal device in the first request message, the computing service request information in the first request message may include related information of the multiple computing services. The information may include one or more information of service identification, service type, service status type, hardware requirements, and completion metrics. Correspondingly, if the first terminal device determines to accept one or more of the computing services, the first terminal device may carry computing service acceptance information in the returned first response message, and use the computing service acceptance information to indicate to the first terminal device. The accepted one or more computing services, for example, the computing service acceptance information may include service identifiers of one or more computing services accepted by the first terminal device. Optionally, if the first terminal device determines to reject one or more of the computing services, the first terminal device may also carry computing service denial information in the returned first response message, and use the computing service denial information to indicate the first One or more computing services rejected by the terminal device, for example, the computing service rejection information may include service identifiers of one or more computing services rejected by the first terminal device.
应注意,在本申请实施例中,第一终端设备可以在第一响应消息中携带计算服务接受信息和/或计算服务拒绝信息,通过计算服务接受信息和计算服务拒绝信息分别明确指示出第二终端设备所请求的计算服务中哪些计算服务被接受,以及哪些计算服务被拒绝。或者,第一终端设备也可以在第一响应消息中仅携带计算服务接受信息,表示该计算服务接受信息中指示的计算服务被接受,而第二终端设备所请求的一个或多个计算服务中未被该计算服务接受信息指示的其它计算服务被拒绝。It should be noted that, in this embodiment of the present application, the first terminal device may carry computing service acceptance information and/or computing service refusal information in the first response message, and the computing service acceptance information and computing service refusal information respectively clearly indicate the second Which of the computing services requested by the terminal device is accepted and which computing services are rejected. Alternatively, the first terminal device may also carry only computing service acceptance information in the first response message, indicating that the computing service indicated in the computing service acceptance information is accepted, and the one or more computing services requested by the second terminal device Other computing services not indicated by the computing service acceptance information are rejected.
在步骤S403之后,第二终端设备可与第一终端设备建立连接,进行应用层的数据交互,所述连接是指D2D连接,也可以称为侧行链路连接。After step S403, the second terminal device may establish a connection with the first terminal device to perform data interaction at the application layer. The connection refers to a D2D connection, which may also be referred to as a sidelink connection.
上述技术方案提供了一种实现终端设备之间分布式的计算服务发现与分配的机制,可以有效降低系统中边缘计算的计算负载,提高系统的计算容量,拓展计算服务覆盖范围。The above technical solution provides a mechanism for realizing distributed computing service discovery and distribution among terminal devices, which can effectively reduce the computing load of edge computing in the system, increase the computing capacity of the system, and expand the coverage of computing services.
可选的,在步骤S401执行之前,第二终端设备可通过多种方式确定向第一终端设备请求第一计算服务,或者说第二终端设备可通过多种方式发现服务终端设备。Optionally, before step S401 is performed, the second terminal device may determine to request the first computing service from the first terminal device in various ways, or the second terminal device may discover the service terminal device in various ways.
在一种可能的实施方式中,第一终端设备可以广播自身支持的服务类型,例如第一终端设备可以广播发现消息,在该发现消息中携带自身支持的服务类型。第二终端设备接收到第一终端设备广播的计算服务类型后,根据第一终端设备支持的服务类型,判断第一终端设备是否能够支持第二终端设备所需求的第一计算服务的服务类型。若第一终端设备支持第一计算服务的服务类型,即第一终端设备广播的自身支持的服务类型中包括第一计算服务的服务类型,则第二终端设备可以确定向该第一终端设备请求第一计算服务。In a possible implementation manner, the first terminal device may broadcast a service type supported by itself, for example, the first terminal device may broadcast a discovery message, and the discovery message carries the service type supported by itself. After receiving the computing service type broadcasted by the first terminal device, the second terminal device determines whether the first terminal device can support the service type of the first computing service required by the second terminal device according to the service type supported by the first terminal device. If the first terminal device supports the service type of the first computing service, that is, the service type broadcasted by the first terminal device itself includes the service type of the first computing service, the second terminal device may determine to request the first terminal device First Computing Service.
在一个具体示例中,如图5所示,在步骤S501中,S-UE可以广播发现消息(annoumcement message),该发现消息中包括该S-UE支持的服务类型。在步骤S502中,C-UE接收到该发现消息后,可根据其中包括的S-UE支持的服务类型进行判断,若确定该S-UE支持其需求的第一计算服务的服务类型,则可以确定向该S-UE请求第一计算服务。 进而,在步骤S503中,C-UE可以向S-UE发送第一请求消息,该第一请求消息中包括计算服务请求信息,该计算服务请求信息用于向该S-UE请求第一计算服务。随后,在步骤S504中,S-UE可以根据C-UE请求的第一计算服务以及自身的负载情况,对该C-UE请求的第一计算服务进行准入控制,并在步骤S505中向C-UE发送第一响应消息。如果S-UE接受第一计算服务,或者说如果S-UE允许C-UE接入第一计算服务,则第一响应消息中的计算服务接受信息可指示接受的该第一计算服务。例如,该计算服务接受信息中可包括第一计算服务的服务标识。进一步地,在步骤S506中,C-UE可为该第一计算服务选择资源。在步骤S507中,C-UE在与S-UE建立连接后,可与S-UE进行应用层数据的交互(application data traffic)。In a specific example, as shown in FIG. 5 , in step S501, the S-UE may broadcast a discovery message (annoumcement message), and the discovery message includes the service type supported by the S-UE. In step S502, after receiving the discovery message, the C-UE may make a judgment according to the service type supported by the S-UE included therein. If it is determined that the S-UE supports the service type of the first computing service required by the S-UE, it may It is determined to request the first computing service from the S-UE. Further, in step S503, the C-UE may send a first request message to the S-UE, where the first request message includes computing service request information, and the computing service request information is used to request the S-UE for the first computing service . Subsequently, in step S504, the S-UE may perform admission control on the first computing service requested by the C-UE according to the first computing service requested by the C-UE and its own load situation, and in step S505, report to the C-UE - The UE sends a first response message. If the S-UE accepts the first computing service, or in other words, if the S-UE allows the C-UE to access the first computing service, the computing service acceptance information in the first response message may indicate the accepted first computing service. For example, the computing service acceptance information may include a service identifier of the first computing service. Further, in step S506, the C-UE may select resources for the first computing service. In step S507, after establishing a connection with the S-UE, the C-UE may perform application layer data interaction (application data traffic) with the S-UE.
该实施方式是一种基于终端设备的服务终端设备发现方法,对应于邻近业务直接发现模型中的模型A,其中,第一终端设备相当于通告终端设备(announcing UE)的角色,第二终端设备相当于监听终端设备(monitoring UE)的角色。第一终端设备可以按照预设的时间间隔周期性地广播发现消息,该发现消息中包括第一终端设备支持的一个或多个服务类型,对这些发现消息感兴趣的其他终端设备可以读取这些消息并处理它们。第二终端设备为需要进行第一计算服务的终端设备,因此,它可以监听周围的服务终端设备广播的发现消息,当其接收到第一终端设备广播的发现消息后,若确定第一终端设备支持的服务类型中包括其需求的第一计算服务的服务类型,则可以确定向第一终端设备请求第一计算服务。若第二终端设备确定多个服务终端设备都支持其需求的第一计算服务的服务类型,则第二终端设备可以随机选择或者按照某种预设规则选择其中的一个服务终端设备请求第一计算服务。例如,所述预设规则可以是选择通信质量较好或者距离较近的服务终端设备发起服务请求。This embodiment is a terminal device-based service terminal device discovery method, which corresponds to model A in the proximity service direct discovery model, wherein the first terminal device is equivalent to the role of announcing terminal device (announcing UE), and the second terminal device Equivalent to the role of monitoring terminal equipment (monitoring UE). The first terminal device may periodically broadcast a discovery message at preset time intervals, and the discovery message includes one or more service types supported by the first terminal device, and other terminal devices interested in these discovery messages can read these. messages and process them. The second terminal device is a terminal device that needs to perform the first computing service. Therefore, it can monitor the discovery message broadcast by the surrounding service terminal devices. After receiving the discovery message broadcast by the first terminal device, if it determines that the first terminal device If the supported service types include the service type of the first computing service required by the service type, it may be determined to request the first computing service from the first terminal device. If the second terminal device determines that multiple service terminal devices support the service type of the first computing service required by the second terminal device, the second terminal device may randomly select or select one of the service terminal devices according to a certain preset rule to request the first computing service Serve. For example, the preset rule may be to select a service terminal device with better communication quality or a closer distance to initiate a service request.
在另一种可能的实施方式中,第一终端设备可以广播自身的计算能力信息,例如第一终端设备可以广播第一发现消息,在该第一发现消息中携带自身的计算能力信息。所述计算能力信息可以包括支持的服务类型(supported service type)、硬件参数信息(performance information)和当前的计算负载(computing workload)等信息。其中,支持的服务类型用于指示终端设备支持哪些计算服务,例如支持哪些服务功能或者微服务,硬件参数信息是指终端设备的吞吐量、响应时间、利用率、处理器字长、总线宽度、存储器带宽、CPU主频、CPU执行时间、MIPS、FLOPS等一项或多项硬件参数信息,计算负载信息是指终端设备当前的CPU使用率、图形处理器(graphics processing unit,GPU)使用率或存储占用率等一项或多项信息。第二终端设备接收到第一终端设备广播的计算能力信息后,可根据该第一终端设备的计算能力信息,确定向第一终端设备请求第一计算服务。例如,第二终端设备可以在第一终端设备支持第一计算服务的服务类型,且第一终端设备的硬件条件和负载情况都比较好的情况下,确定向第一终端设备请求第一计算服务。In another possible implementation manner, the first terminal device may broadcast its own computing capability information, for example, the first terminal device may broadcast a first discovery message, and the first discovery message carries its own computing capability information. The computing capability information may include information such as supported service type (supported service type), hardware parameter information (performance information), and current computing workload (computing workload). Among them, the supported service type is used to indicate which computing services the terminal device supports, such as which service functions or microservices are supported, and the hardware parameter information refers to the throughput, response time, utilization rate, processor word length, bus width, One or more hardware parameter information such as memory bandwidth, CPU frequency, CPU execution time, MIPS, FLOPS, etc. The calculation load information refers to the current CPU usage, graphics processing unit (GPU) usage or One or more pieces of information such as storage occupancy. After receiving the computing capability information broadcast by the first terminal device, the second terminal device may determine to request the first computing service from the first terminal device according to the computing capability information of the first terminal device. For example, the second terminal device may determine to request the first computing service from the first terminal device when the first terminal device supports the service type of the first computing service and the hardware conditions and load conditions of the first terminal device are relatively good .
可选的,第二终端设备可以搜集附近的包括第一终端设备在内的多个服务终端设备的计算能力信息,然后根据需求的第一计算服务以及各个服务终端设备的计算能力信息进行综合决策,进而从中选择第一终端设备来请求第一计算服务。应理解,第二终端设备如何根据多个服务终端设备的计算能力信息,来选择请求第一计算服务的第一终端设备,可由第二终端设备内部实现,本申请不作具体限定。例如第二终端设备可根据服务终端设备的硬件参数和负载情况进行综合考虑决定。Optionally, the second terminal device may collect computing capability information of multiple nearby service terminal devices including the first terminal device, and then make a comprehensive decision based on the required first computing service and the computing capability information of each service terminal device. , and then select the first terminal device from it to request the first computing service. It should be understood that how the second terminal device selects the first terminal device requesting the first computing service according to the computing capability information of multiple service terminal devices can be implemented internally by the second terminal device, which is not specifically limited in this application. For example, the second terminal device may make a comprehensive consideration and decision according to the hardware parameters and load conditions of the service terminal device.
在一个具体示例中,如图6所示,在步骤S601-a中,S-UE1可以广播第一发现消息, 该第一发现消息中包括S-UE1的计算能力信息。在步骤S601-b中,S-UE2可以广播第二发现消息,该第二发现消息中包括S-UE2的计算能力信息,该S-UE2是指另一服务终端设备。在步骤S602中,C-UE接收到第一发现消息和第二发现消息之后,可根据S-UE1的计算能力信息和S-UE2的计算能力信息进行综合决策,并最后确定向S-UE1请求第一计算服务。例如,可能S-UE1和S-UE2均可支持第一计算服务的服务类型,但S-UE1的硬件参数要优于S-UE2的硬件参数,和/或,S-UE1当前的计算负载相比较S-UE2的计算负载要小,因此,C-UE选择了向S-UE1请求第一计算服务。进而,在步骤S603中,C-UE可以向S-UE1发送第一请求消息。随后,在步骤S604中,S-UE1可以根据C-UE请求的第一计算服务以及自身的负载情况,对C-UE请求的第一计算服务进行准入控制,并在步骤S605中向C-UE发送第一响应消息。如果S-UE1接受第一计算服务,或者说S-UE1允许C-UE接入第一计算服务,则第一响应消息中的计算服务接受信息可指示接受的该第一计算服务。例如,该计算服务接受信息中可包括第一计算服务的服务标识。进一步地,在步骤S606中,C-UE可为该第一计算服务选择资源。在步骤S607中,C-UE可在与S-UE1建立连接后,与S-UE1进行应用层数据的交互。In a specific example, as shown in FIG. 6 , in step S601-a, S-UE1 may broadcast a first discovery message, where the first discovery message includes computing capability information of S-UE1. In step S601-b, S-UE2 may broadcast a second discovery message, where the second discovery message includes computing capability information of S-UE2, where S-UE2 refers to another serving terminal device. In step S602, after receiving the first discovery message and the second discovery message, the C-UE can make a comprehensive decision according to the computing capability information of S-UE1 and the computing capability information of S-UE2, and finally determine to request S-UE1 First Computing Service. For example, it is possible that both S-UE1 and S-UE2 can support the service type of the first computing service, but the hardware parameters of S-UE1 are better than those of S-UE2, and/or the current computing load of S-UE1 is similar to that of S-UE1. Comparing the computing load of S-UE2 to be smaller, the C-UE chooses to request the first computing service from S-UE1. Further, in step S603, the C-UE may send a first request message to the S-UE1. Subsequently, in step S604, S-UE1 may perform admission control on the first computing service requested by the C-UE according to the first computing service requested by the C-UE and its own load, and send the request to the C-UE in step S605. The UE sends the first response message. If the S-UE1 accepts the first computing service, or the S-UE1 allows the C-UE to access the first computing service, the computing service acceptance information in the first response message may indicate the accepted first computing service. For example, the computing service acceptance information may include a service identifier of the first computing service. Further, in step S606, the C-UE may select resources for the first computing service. In step S607, the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
可以理解,该实施方式是一种基于终端设备的服务终端设备发现方法,同样对应于邻近业务直接发现模型中的模型A,其中,第一终端设备和其他服务终端设备相当于通告终端设备的角色,第二终端设备相当于监听终端设备的角色。各个服务终端设备均可以按照预设的时间间隔周期性地广播发现消息,以向周围的其他终端设备通告其自身的计算能力信息,对这些发现消息感兴趣的其他终端设备可以读取这些消息并处理它们。应理解,不同的服务终端设备广播发现消息的周期可以相同也可以不同,不同的服务终端设备可以同步或不同步广播发现消息,均不限定。第二终端设备为需要进行第一计算服务的终端设备,因此,它可以监听周围的服务终端设备广播的发现消息,获取各个服务终端设备的计算能力信息,并根据这些计算能力信息进行综合决策,最终从各个服务终端设备中确定出请求第一计算服务的第一终端设备。It can be understood that this embodiment is a terminal device-based service terminal device discovery method, which also corresponds to model A in the proximity service direct discovery model, wherein the first terminal device and other service terminal devices are equivalent to the role of announcing terminal devices. , the second terminal device is equivalent to the role of the monitoring terminal device. Each service terminal device can periodically broadcast discovery messages at preset time intervals to announce its own computing capability information to other surrounding terminal devices, and other terminal devices interested in these discovery messages can read these messages and deal with them. It should be understood that different service terminal devices may broadcast discovery messages at the same or different periods, and different service terminal devices may broadcast discovery messages synchronously or asynchronously, which is not limited. The second terminal device is a terminal device that needs to perform the first computing service. Therefore, it can monitor the discovery messages broadcast by the surrounding service terminal devices, obtain the computing capability information of each service terminal device, and make comprehensive decisions based on the computing capability information. Finally, the first terminal device requesting the first computing service is determined from each service terminal device.
在又一种可能的实施方式中,第二终端设备广播自身需求的服务类型,例如第二终端设备可以发送请求消息(solicitation message),在该请求消息中携带自身需求的服务类型,所述需求的服务类型可以是第二终端设备需要进行的第一计算服务的服务类型。第一终端设备接收到第二终端设备广播的需求的服务类型后,若确定自身能够支持第二终端设备需求的服务类型,则向第二终端设备发送响应消息,该响应消息指示第一终端设备支持第二终端设备需求的服务类型。In yet another possible implementation manner, the second terminal device broadcasts the service type required by itself, for example, the second terminal device may send a solicitation message (solicitation message), and the request message carries the service type required by itself, the requirement The service type of can be the service type of the first computing service that the second terminal device needs to perform. After the first terminal device receives the required service type broadcast by the second terminal device, if it determines that it can support the service type required by the second terminal device, it sends a response message to the second terminal device, where the response message indicates the first terminal device. The type of service that supports the requirements of the second terminal device.
在一个具体示例中,如图7所示,在步骤S701中,C-UE可以广播请求消息,该请求消息中包括C-UE需求的服务类型,例如第一计算服务的服务类型,可能是AI模型和/或微服务类型等,不作限定。在步骤S702中,S-UE接收到该请求消息后,可根据该请求消息中包括的C-UE需求的服务类型进行判断,若S-UE支持C-UE需求的服务类型,则S-UE可以响应C-UE的需求,并向该C-UE发送响应消息(response message),该响应消息指示S-UE支持C-UE需求的服务类型。如此,在步骤S703中,C-UE接收到该响应消息后,可以知道S-UE支持第一计算服务,并确定向该S-UE请求第一计算服务。进而,在步骤S704中,C-UE可以向S-UE发送第一请求消息,该第一请求消息中包括计算服务请求信息,该计算服务请求信息用于向S-UE请求第一计算服务。随后,在步骤S705中,S-UE可以根据C-UE请求的第一计算服务以及自身的负载情况,对C-UE请求的第一计算服务进行准 入控制,并在步骤S706中向C-UE发送第一响应消息。如果S-UE接受第一计算服务,或者说如果S-UE允许C-UE接入第一计算服务,则第一响应消息中的计算服务接受信息可指示接受的该第一计算服务。例如,该计算服务接受信息中可包括第一计算服务的服务标识。进一步地,在步骤S707中,C-UE可为该第一计算服务选择资源。在步骤S708中,C-UE可在与S-UE建立连接后,与S-UE进行应用层数据的交互。可选的,该示例中的步骤S701和步骤S704可以合并为一个步骤,相应的,步骤S702和步骤S706也可以合并为一个步骤。In a specific example, as shown in FIG. 7 , in step S701, the C-UE may broadcast a request message, and the request message includes the service type required by the C-UE, such as the service type of the first computing service, which may be AI Models and/or types of microservices, etc., are not limited. In step S702, after receiving the request message, the S-UE can make a judgment according to the service type required by the C-UE included in the request message. If the S-UE supports the service type required by the C-UE, the S-UE The C-UE's request may be responded to, and a response message (response message) may be sent to the C-UE, the response message indicating that the S-UE supports the service type required by the C-UE. In this way, in step S703, after receiving the response message, the C-UE can know that the S-UE supports the first computing service, and determines to request the S-UE for the first computing service. Further, in step S704, the C-UE may send a first request message to the S-UE, where the first request message includes computing service request information, where the computing service request information is used to request the S-UE for the first computing service. Subsequently, in step S705, the S-UE may perform admission control on the first computing service requested by the C-UE according to the first computing service requested by the C-UE and its own load, and in step S706, send the request to the C-UE in step S706. The UE sends the first response message. If the S-UE accepts the first computing service, or in other words, if the S-UE allows the C-UE to access the first computing service, the computing service acceptance information in the first response message may indicate the accepted first computing service. For example, the computing service acceptance information may include a service identifier of the first computing service. Further, in step S707, the C-UE may select resources for the first computing service. In step S708, the C-UE may perform application layer data interaction with the S-UE after establishing a connection with the S-UE. Optionally, step S701 and step S704 in this example may be combined into one step, and correspondingly, step S702 and step S706 may also be combined into one step.
该实施方式是一种基于终端设备的服务终端设备发现方法,对应于临近业务直接发现模型中的模型B,其中,第二终端设备相当于被发现者(discoveree UE)的角色,第一终端设备相当于发现者(discoverer UE)的角色。当第二终端设备需求进行某一服务类型的计算服务时,第二终端设备可以广播请求消息,该请求消息中包括需求的计算服务的服务类型的信息,对该请求消息感兴趣的其他终端设备可以读取该请求消息并处理它。第一终端设备作为一个服务终端设备,可以接收该第二终端设备广播的请求消息,并在确定自己可以支持第二终端设备需求的服务类型的情况下,可以向第二终端设备发送针对该请求消息的响应消息,以便指示第二终端设备可以向其请求相关的计算服务。This embodiment is a terminal device-based service terminal device discovery method, which corresponds to model B in the direct discovery model of proximity services, wherein the second terminal device is equivalent to the role of a discoverer (discoveree UE), and the first terminal device Equivalent to the role of discoverer UE. When the second terminal device needs to perform a computing service of a certain service type, the second terminal device may broadcast a request message, the request message includes the service type information of the required computing service, and other terminal devices interested in the request message The request message can be read and processed. As a service terminal device, the first terminal device can receive the request message broadcast by the second terminal device, and when it is determined that it can support the service type required by the second terminal device, it can send the request message to the second terminal device. A response message to the message to indicate that the second terminal device can request the relevant computing service from it.
在又一种可能的实施方式中,第一终端设备可以向第一网络设备发送其自身的计算能力信息,由第一网络设备根据该第一终端设备的计算能力信息,确定第一终端设备可以支持第二终端设备需求的服务类型,并将该第一终端设备的信息提供给第二终端设备,以便第二终端设备可以向第一终端设备请求第一计算服务。所述第一网络设备可以是核心网设备(如AMF),也可以是无线接入网设备(如基站),并不限定。In yet another possible implementation manner, the first terminal device may send its own computing capability information to the first network device, and the first network device determines, according to the computing capability information of the first terminal device, that the first terminal device can The service type required by the second terminal device is supported, and the information of the first terminal device is provided to the second terminal device, so that the second terminal device can request the first computing service from the first terminal device. The first network device may be a core network device (such as an AMF) or a wireless access network device (such as a base station), which is not limited.
可选的,其他服务终端设备也可以向第一网络设备发送其自身的计算能力信息,第一网络设备根据该第一终端设备的计算能力信息以及其他服务终端设备的计算能力信息,从可以支持第二终端设备需求的服务类型的一个或多个服务终端设备中确定第一终端设备,并将该第一终端设备的信息提供给第二终端设备,或者第一网络设备也可以将可以支持第二终端设备需求的服务类型的一个或多个服务终端设备的信息提供给第二终端设备,由第二终端设备自行确定向第一终端设备请求第一计算服务。Optionally, other service terminal devices can also send their own computing capability information to the first network device. The first terminal device is determined from one or more service terminal devices of the service type required by the second terminal device, and the information of the first terminal device is provided to the second terminal device, or the first network device can also support the first terminal device. The information of one or more service terminal devices of the service type required by the second terminal device is provided to the second terminal device, and the second terminal device determines by itself to request the first computing service from the first terminal device.
该实施方式是一种基于网络设备的服务终端设备发现方法,或者说是一种网络辅助的服务终端设备发现方法。在该实施方式中,网络设备发现合适的服务终端设备后,向客户终端设备提供该服务终端设备的信息,由客户终端设备自己向服务终端设备请求相应的计算服务。通过集中式的计算服务发现流程,可以有效提高服务终端设备的发现效率(或者说搜索效率),客户终端设备只需要与网络设备提供的服务终端设备建立连接,就可获得相应的计算服务。This embodiment is a network device-based service terminal device discovery method, or a network-assisted service terminal device discovery method. In this embodiment, after discovering a suitable service terminal device, the network device provides information of the service terminal device to the client terminal device, and the client terminal device itself requests the corresponding computing service from the service terminal device. Through the centralized computing service discovery process, the discovery efficiency (or search efficiency) of the service terminal device can be effectively improved. The client terminal device only needs to establish a connection with the service terminal device provided by the network device to obtain the corresponding computing service.
具体的,请参考图8,为本申请实施例中的一种基于网络设备的服务终端设备发现流程的示意图,该方法包括:Specifically, please refer to FIG. 8 , which is a schematic diagram of a process of discovering a service terminal device based on a network device in an embodiment of the present application, and the method includes:
步骤S801、第二终端设备向第一网络设备发送第二请求消息,该第二请求消息中包括计算服务需求信息,该计算服务需求信息指示该第二终端设备需求的服务类型。Step S801: The second terminal device sends a second request message to the first network device, where the second request message includes computing service requirement information, where the computing service requirement information indicates a service type required by the second terminal device.
相应的,第一网络设备接收来自第二终端设备的第二请求消息。Correspondingly, the first network device receives the second request message from the second terminal device.
步骤S802、第一网络设备确定支持第二终端设备需求的服务类型的第一终端设备。Step S802, the first network device determines the first terminal device that supports the service type required by the second terminal device.
具体的,第一网络设备可以获取M个服务终端设备各自的计算能力信息,然后根据获取到的M个服务终端设备的计算能力信息,从该M个服务终端设备中确定出支持第二终 端设备需求的服务类型的第一终端设备,M为正整数。可以理解,如果第一网络设备能够从M个服务终端设备确定出可以支持第二终端设备需求的服务类型的第一终端设备,则表示该M个服务终端设备中存在能够支持第二终端设备需求的服务类型的服务终端设备,或者说该M个服务终端设备中包括第一终端设备。Specifically, the first network device may obtain the respective computing capability information of the M service terminal devices, and then, according to the obtained computing capability information of the M service terminal devices, determine from the M service terminal devices that the second terminal device supports the second terminal device. The first terminal device of the required service type, M is a positive integer. It can be understood that if the first network device can determine, from the M serving terminal devices, a first terminal device that can support the service type required by the second terminal device, it means that there are M serving terminal devices that can support the requirements of the second terminal device. The service terminal equipment of the service type, or in other words, the M service terminal equipment includes the first terminal equipment.
其中,第一网络设备获取M个服务终端设备各自的计算能力信息可以为,第一网络设备从M个服务终端设备中的每个服务终端设备处接收该服务终端设备的计算能力信息。以第一终端设备为例,第一终端设备可以向第一网络设备发送自身的计算能力信息,或者说第一终端设备可以向第一网络设备上报自身的计算能力信息,相应的,第一网络设备可以接收来自第一终端设备的计算能力信息。鉴于第一网络设备可以为核心网设备(如AMF)或无线接入网设备(如基站),如果第一网络设备为核心网设备,则第一终端设备可以将自身的计算能力信息发送给接入的无线接入网设备,通过该无线接入网设备再将该第一终端设备的计算能力信息发送给核心网设备。如果第一网络设备为无线接入网设备,则第一终端设备可以将自身的计算能力信息直接发送给接入的该无线接入网设备。Wherein, obtaining the computing capability information of each of the M service terminal devices by the first network device may be that the first network device receives the computing capability information of the service terminal device from each of the M service terminal devices. Taking the first terminal device as an example, the first terminal device may send its own computing capability information to the first network device, or the first terminal device may report its own computing capability information to the first network device. Correspondingly, the first network The device may receive computing capability information from the first terminal device. In view of the fact that the first network device can be a core network device (such as AMF) or a wireless access network device (such as a base station), if the first network device is a core network device, the first terminal device can send its own computing capability information to the receiver. The incoming wireless access network device, and then the computing capability information of the first terminal device is sent to the core network device through the wireless access network device. If the first network device is a wireless access network device, the first terminal device may directly send its own computing capability information to the connected wireless access network device.
在第一网络设备为无线接入网设备的场景中,若第一网络设备获取到计算能力信息的M个服务终端设备均不支持第二终端设备需求的服务类型,或者说,如果第一网络设备根据获取到的M个服务终端设备的计算能力信息,确定该M个服务终端设备中不存在支持第二终端设备需求的服务类型的服务终端设备,或者说,如果第一网络设备找不到能够支持第二终端设备需求的服务类型的服务终端设备,则第一网络设备可以请求第二网络设备来协助确定可以支持第二终端设备需求的服务类型的第一终端设备,该第二网络设备为另一无线接入网设备。具体的,第一网络设备可以向第二网络设备发送第三请求消息,该第三请求消息中包括计算服务需求信息,该计算服务需求信息指示第二终端设备需求的服务类型。相应的,第二网络设备可以接收来自第一网络设备的第三请求消息。随后,第二网络设备确定能够支持第二终端设备需求的服务类型的第一终端设备,并向第一网络设备发送第三响应消息,该第三响应消息中包括计算服务响应信息,该计算服务响应信息指示支持第二终端设备需求的服务类型的第一终端设备,例如,该计算服务响应信息中可包括第一终端设备的标识,用于表示该第一终端设备能够支持第二终端设备需求的服务类型,可以向该第一终端设备请求相应的计算服务。In the scenario where the first network device is a wireless access network device, if none of the M service terminal devices for which the first network device obtains the computing capability information does not support the service type required by the second terminal device, or if the first network device According to the obtained computing capability information of the M service terminal devices, the device determines that there is no service terminal device of the service type that supports the requirements of the second terminal device among the M service terminal devices, or, in other words, if the first network device cannot find the service terminal device A service terminal device that can support the service type required by the second terminal device, the first network device may request the second network device to assist in determining the first terminal device that can support the service type required by the second terminal device, the second network device is another wireless access network device. Specifically, the first network device may send a third request message to the second network device, where the third request message includes computing service requirement information, where the computing service requirement information indicates a service type required by the second terminal device. Correspondingly, the second network device may receive the third request message from the first network device. Subsequently, the second network device determines the first terminal device that can support the service type required by the second terminal device, and sends a third response message to the first network device, where the third response message includes computing service response information, the computing service The response information indicates the first terminal device that supports the service type required by the second terminal device. For example, the computing service response information may include the identifier of the first terminal device, which is used to indicate that the first terminal device can support the requirements of the second terminal device. The corresponding computing service can be requested from the first terminal device.
应注意的是,本申请实施例对第二网络设备确定支持第二终端设备需求的服务类型的第一终端设备的方式不作具体限定。例如,第二网络设备可以根据自身获取到的各个服务终端设备的计算能力信息,从各个服务终端设备中确定出支持第二终端设备的服务类型的第一终端设备。或者,第二终端设备也可以采用其他方式来确定第一终端设备,本申请不再一一举例。It should be noted that the embodiments of the present application do not specifically limit the manner in which the second network device determines the first terminal device that supports the service type required by the second terminal device. For example, the second network device may determine the first terminal device that supports the service type of the second terminal device from the various service terminal devices according to the computing capability information of each service terminal device obtained by itself. Alternatively, the second terminal device may also use other methods to determine the first terminal device, and this application will not give examples one by one.
步骤S803、第一网络设备向第二终端设备发送第二响应消息,该第二响应消息中包括计算服务响应信息,该计算服务响应信息指示支持第二终端设备需求的服务类型的第一终端设备。Step S803: The first network device sends a second response message to the second terminal device, where the second response message includes computing service response information, where the computing service response information indicates the first terminal device that supports the service type required by the second terminal device .
步骤S804、第二终端设备可根据该计算服务响应信息,确定向第一终端设备请求第一计算服务。Step S804: The second terminal device may determine to request the first computing service from the first terminal device according to the computing service response information.
可选的,该计算服务响应信息中可包括第一终端设备的标识,用于表示该第一终端设备可以支持第二终端设备需求的服务类型,可以向该第一终端设备请求相应的计算服务。Optionally, the computing service response information may include the identifier of the first terminal device, which is used to indicate that the first terminal device can support the service type required by the second terminal device, and can request the corresponding computing service from the first terminal device. .
需要说明的是,第一网络设备也可以确定能够支持第二终端设备需求的服务类型的多 个服务终端设备,并通过第二响应消息中的计算服务响应信息向第二终端设备指示该多个服务终端设备,例如在计算服务响应信息中携带该多个服务终端设备的标识。然后,由第二终端设备从该多个服务终端设备中,确定出请求第一计算服务的第一终端设备。It should be noted that the first network device may also determine multiple service terminal devices that can support the service type required by the second terminal device, and indicate the multiple service terminal devices to the second terminal device through the computing service response information in the second response message. The service terminal device, for example, carries the identifiers of the plurality of service terminal devices in the computing service response information. Then, the second terminal device determines the first terminal device requesting the first computing service from the plurality of service terminal devices.
在本申请的实施例中,第二请求消息也可以称为计算服务请求消息,或具有其他名称,并不限定。相应的,第二响应消息也可以称为计算服务响应消息,或具有其他名称,也不限定。类似的,第三请求消息也可以称为计算服务请求消息,或具有其他名称,并不限定。相应的,第三响应消息也可以称为计算服务响应消息,或具有其他名称,也不限定。In this embodiment of the present application, the second request message may also be called a computing service request message, or has other names, which are not limited. Correspondingly, the second response message may also be called a computing service response message, or have other names, which are not limited. Similarly, the third request message may also be called a computing service request message, or have other names, which are not limited. Correspondingly, the third response message may also be called a computing service response message, or have other names, which are not limited.
在一个具体示例中,如图9所示,在步骤S901中,C-UE可以向gNB/AMF发送第二请求消息,该第二请求消息中包括计算服务需求信息,该计算服务需求信息指示C-UE需求的服务类型,例如可以是C-UE需要进行的第一计算服务的服务类型,可能是AI模型和/或微服务类型等,不作限定。在步骤S902中,gNB/AMF可以确定支持该C-UE需求的服务类型的S-UE1。例如,gNB/AMF可根据获取到的所述M个S-UE的计算能力信息,从该M个S-UE中确定出支持C-UE需求的服务类型的S-UE1。可选的,gNB/AMF可以接收所述M个S-UE中的每个S-UE上报的计算能力信息。在步骤S903中,gNB/AMF可以向C-UE发送第二响应消息,该第二响应消息中包括计算服务响应信息,该计算服务响应信息指示支持C-UE需求的服务类型的S-UE1。例如,该计算服务响应信息中可包括该S-UE1的标识。进而,在步骤S904中,C-UE可以向S-UE1发送第一请求消息,该第一请求消息中包括计算服务请求信息,用于向S-UE1请求第一计算服务。随后,在步骤S905中,S-UE1可以根据自身的负载情况以及所述计算服务请求信息,对C-UE请求的第一计算服务进行准入控制,并在步骤S906中向C-UE发送第一响应消息。如果S-UE1接受第一计算服务,或者说如果S-UE1允许C-UE接入第一计算服务,则第一响应消息中可以包括计算服务接受信息,该计算服务接受信息指示S-UE1接受了第一计算服务。可选的,该计算服务接受信息可指示接受的该第一计算服务,例如,该计算服务接受信息中可包括第一计算服务的服务标识。进一步地,在步骤S907中,C-UE可为该第一计算服务选择资源。在步骤S908中,C-UE可在与S-UE1建立连接后,与S-UE1进行应用层数据的交互。In a specific example, as shown in FIG. 9 , in step S901, the C-UE may send a second request message to the gNB/AMF, where the second request message includes computing service requirement information, and the computing service requirement information indicates that the C-UE - The service type required by the UE, for example, may be the service type of the first computing service that the C-UE needs to perform, may be an AI model and/or a microservice type, etc., which is not limited. In step S902, the gNB/AMF may determine the S-UE1 that supports the service type required by the C-UE. For example, the gNB/AMF may determine, from the M S-UEs, the S-UE1 that supports the service type required by the C-UE according to the acquired computing capability information of the M S-UEs. Optionally, the gNB/AMF may receive the computing capability information reported by each of the M S-UEs. In step S903, the gNB/AMF may send a second response message to the C-UE, where the second response message includes computing service response information, where the computing service response information indicates the S-UE1 that supports the service type required by the C-UE. For example, the computing service response information may include the identifier of the S-UE1. Further, in step S904, the C-UE may send a first request message to the S-UE1, where the first request message includes computing service request information for requesting the S-UE1 for the first computing service. Subsequently, in step S905, the S-UE1 may perform admission control on the first computing service requested by the C-UE according to its own load situation and the computing service request information, and send the first computing service to the C-UE in step S906. A response message. If the S-UE1 accepts the first computing service, or if the S-UE1 allows the C-UE to access the first computing service, the first response message may include computing service accepting information indicating that the S-UE1 accepts the first computing service the first computing service. Optionally, the computing service acceptance information may indicate the accepted first computing service, for example, the computing service acceptance information may include a service identifier of the first computing service. Further, in step S907, the C-UE may select resources for the first computing service. In step S908, the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
在另一个具体示例中,如图10所示,在步骤S1001中,C-UE可以向gNB1发送第二请求消息,该第二请求消息中包括计算服务需求信息,该计算服务需求信息指示C-UE需求的服务类型,例如可以是C-UE需要进行的第一计算服务的服务类型,可能是AI模型和/或微服务类型等,不作限定。在步骤S1002中,gNB1找不到能够支持C-UE需求的服务类型的S-UE。例如,gNB1获取到计算能力信息的M个S-UE均不支持C-UE需求的服务类型,或者说gNB1确定获取到计算能力信息的M个S-UE中不存在能够支持C-UE需求的服务类型的S-UE。在步骤S1003中,gNB1可以向gNB2发送第三请求消息,该第三请求消息中包括计算服务需求信息,该计算服务需求信息指示C-UE需求的服务类型。可选的,gNB1可以通过gNB间的Xn接口来向gNB2发送该第三请求消息。在步骤S1004中,gNB2可以确定支持该C-UE需求的服务类型的S-UE1。例如,gNB2可根据获取到的若干个S-UE的计算能力信息,从各个S-UE中确定出支持C-UE需求的服务类型的S-UE1。在步骤S1005中,gNB2可以向gNB1发送第三响应消息,该第三响应消息中包括计算服务响应信息,该计算服务响应信息指示支持C-UE需求的服务类型的S-UE1。例如,该计算服务响应信息中可包括该S-UE1的标识。在步骤S1006中,gNB1可以向C-UE发送第二响应消息,该第二响应消息中包括所述计算服务响应信息,该计算服务响应信息指示支持 C-UE需求的服务类型的S-UE1。进而,在步骤S1007中,C-UE可以向S-UE1发送第一请求消息,该第一请求消息中包括计算服务请求信息,该计算服务请求信息用于向S-UE1请求第一计算服务。随后,在步骤S1008中,S-UE1可以根据C-UE请求的第一计算服务以及自身的负载情况,对C-UE请求的第一计算服务进行准入控制,并在步骤S1009中向C-UE发送第一响应消息。如果S-UE1接受第一计算服务,或者说如果S-UE1允许C-UE接入第一计算服务,则第一响应消息中的计算服务接受信息可指示接受的该第一计算服务。例如,该计算服务接受信息中可包括第一计算服务的服务标识。进一步地,在步骤S1010中,C-UE可为该第一计算服务选择资源。在步骤S1011中,C-UE可在与S-UE1建立连接后,与S-UE1进行应用层数据的交互。In another specific example, as shown in FIG. 10 , in step S1001, the C-UE may send a second request message to gNB1, where the second request message includes computing service requirement information indicating that the C-UE The service type required by the UE may be, for example, the service type of the first computing service that the C-UE needs to perform, may be an AI model and/or a microservice type, etc., which is not limited. In step S1002, gNB1 cannot find an S-UE capable of supporting the service type required by the C-UE. For example, none of the M S-UEs for which gNB1 has acquired computing capability information does not support the service type required by the C-UE, or gNB1 determines that none of the M S-UEs that have acquired computing capability information can support the C-UE requirements. Service type S-UE. In step S1003, gNB1 may send a third request message to gNB2, where the third request message includes computing service requirement information, where the computing service requirement information indicates a service type required by the C-UE. Optionally, gNB1 may send the third request message to gNB2 through the Xn interface between gNBs. In step S1004, the gNB2 may determine the S-UE1 that supports the service type required by the C-UE. For example, the gNB2 may determine the S-UE1 that supports the service type required by the C-UE from each of the S-UEs according to the obtained computing capability information of the several S-UEs. In step S1005, gNB2 may send a third response message to gNB1, where the third response message includes computing service response information, and the computing service response information indicates S-UE1 that supports the service type required by the C-UE. For example, the computing service response information may include the identifier of the S-UE1. In step S1006, the gNB1 may send a second response message to the C-UE, where the second response message includes the computing service response information, where the computing service response information indicates the S-UE1 that supports the service type required by the C-UE. Further, in step S1007, the C-UE may send a first request message to the S-UE1, where the first request message includes computing service request information, and the computing service request information is used to request the S-UE1 for the first computing service. Subsequently, in step S1008, S-UE1 may perform admission control on the first computing service requested by the C-UE according to the first computing service requested by the C-UE and its own load, and send the request to the C-UE in step S1009. The UE sends the first response message. If the S-UE1 accepts the first computing service, or if the S-UE1 allows the C-UE to access the first computing service, the computing service acceptance information in the first response message may indicate the accepted first computing service. For example, the computing service acceptance information may include a service identifier of the first computing service. Further, in step S1010, the C-UE may select resources for the first computing service. In step S1011, the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
上述技术方案提供了一种终端设备之间的分布式的计算服务发现与分配可以基于D2D实现,也可以在网络设备(如核心网设备或无线接入网设备)的辅助下实现,因此,可有效提高该方法的适用性。The above technical solution provides a distributed computing service discovery and distribution between terminal devices, which can be realized based on D2D, or can be realized with the assistance of network devices (such as core network devices or wireless access network devices). Therefore, it can be realized. effectively improve the applicability of the method.
请参考图11,为本申请实施例提供的另一种计算服务发现方法的流程示意图,该方法包括:Please refer to FIG. 11 , which is a schematic flowchart of another computing service discovery method provided by an embodiment of the present application. The method includes:
步骤S1101、第一网络设备向第一终端设备发送第四请求消息,该第四请求消息中包括第二终端设备的标识和计算服务请求信息,该计算服务请求信息用于请求第一计算服务。Step S1101: The first network device sends a fourth request message to the first terminal device, where the fourth request message includes the identifier of the second terminal device and computing service request information, where the computing service request information is used to request the first computing service.
相应的,第一终端设备接收来自第一网络设备的第四请求消息。Correspondingly, the first terminal device receives the fourth request message from the first network device.
在本申请的实施例中,第一终端设备可以为服务终端设备(即S-UE),第二终端设备可以为客户终端设备(即C-UE),第一网络设备可以为核心网设备(如AMF)或无线接入网设备(如基站)。In the embodiment of the present application, the first terminal device may be a service terminal device (ie S-UE), the second terminal device may be a client terminal device (ie C-UE), and the first network device may be a core network device ( Such as AMF) or wireless access network equipment (such as base station).
所述第四请求消息用于请求第一计算服务,具体的,第四请求消息中包括第二终端设备的标识,用于表示为该第二终端设备请求第一计算服务。The fourth request message is used to request the first computing service. Specifically, the fourth request message includes the identifier of the second terminal device, which is used to indicate that the first computing service is requested for the second terminal device.
该第四请求消息中还包括计算服务请求信息,该计算服务请求信息中包括第一计算服务相关的下列一项或多项信息,以指示请求的是第一计算服务:服务标识(service ID)、服务类型(service type)、服务状态类型(service state type)、硬件需求(performance requirement)、完成指标。The fourth request message also includes computing service request information, where the computing service request information includes one or more of the following information related to the first computing service to indicate that the request is the first computing service: service ID (service ID) , service type (service type), service state type (service state type), hardware requirement (performance requirement), completion indicator.
其中,所述硬件需求可包括对下列一项或多项参数的需求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。关于计算服务请求信息的详细内容,请参考上文中的相关描述,此处不再赘述。The hardware requirements may include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency, CPU execution time, How many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations per second, FLOPS. For the details of the computing service request information, please refer to the relevant descriptions above, which will not be repeated here.
该第四请求消息也可以称为计算服务请求消息(computing service request message),或者具有其它名称,本申请并不限定。The fourth request message may also be called a computing service request message (computing service request message), or have other names, which are not limited in this application.
步骤S1102、第一终端设备根据自身的负载情况和所述计算服务请求信息,对第一计算服务进行准入控制。Step S1102: The first terminal device performs admission control on the first computing service according to its own load situation and the computing service request information.
关于步骤S1102的具体实施方式,可参考上文中对步骤S402相关描述,此处不再赘述。For the specific implementation of step S1102, reference may be made to the above description of step S402, which will not be repeated here.
步骤S1103、若第一终端设备接受第一计算服务,则第一终端设备向第一网络设备发送第四响应消息,该第四响应消息中包括计算服务接受信息,所述计算服务接受信息指示接受第一计算服务。Step S1103: If the first terminal device accepts the first computing service, the first terminal device sends a fourth response message to the first network device, where the fourth response message includes computing service acceptance information, and the computing service acceptance information indicates acceptance First Computing Service.
相应的,第一网络设备接收来自第一终端设备的第四响应消息。Correspondingly, the first network device receives the fourth response message from the first terminal device.
所述计算服务接受信息指示接受第一计算服务。可选的,该计算服务接受信息中可以包括第一计算服务的服务标识,用以指示第一终端设备接受了该第一计算服务。The computing service acceptance information indicates acceptance of the first computing service. Optionally, the computing service acceptance information may include a service identifier of the first computing service to indicate that the first terminal device has accepted the first computing service.
若第一终端设备拒绝第一计算服务,则第一终端设备也可以向第一网络设备发送第四响应消息,该第四响应消息中包括计算服务拒绝信息,该计算服务拒绝信息指示第一终端设备拒绝了该第一计算服务,或者说指示第一网络设备为第二终端设备在第四请求消息中所请求的计算服务。可选的,该计算服务拒绝信息中可以包括第一计算服务的服务标识,用于指示第一终端设备拒绝了该第一计算服务。If the first terminal device rejects the first computing service, the first terminal device may also send a fourth response message to the first network device, where the fourth response message includes computing service rejection information, and the computing service rejection information indicates that the first terminal The device rejects the first computing service, or in other words instructs the first network device to provide the computing service requested by the second terminal device in the fourth request message. Optionally, the computing service rejection information may include a service identifier of the first computing service, which is used to indicate that the first terminal device has rejected the first computing service.
在本申请的实施例中,若第一终端设备接受第一计算服务,则第四响应消息也可以称为计算服务接受消息或具有其他名称,本申请并不限定。类似的,若第一终端设备拒绝第一计算服务,则第四响应消息也可以称为计算服务拒绝消息或具有其他名称,本申请同样不作限定。In the embodiment of the present application, if the first terminal device accepts the first computing service, the fourth response message may also be called a computing service accepting message or has another name, which is not limited in this application. Similarly, if the first terminal device rejects the first computing service, the fourth response message may also be called a computing service rejection message or have another name, which is also not limited in this application.
需要说明的是,上述过程是以第一网络设备一次向第一终端设备请求一个计算服务为例进行说明的,第一网络设备也可以一次向第一终端设备请求多个计算服务,本申请并不限定。关于请求一次请求多个计算服务时的具体实施方式,请参考步骤S403中的相关描述,在此不再赘述。It should be noted that the above process is described by taking the first network device requesting one computing service from the first terminal device as an example. The first network device may also request multiple computing services from the first terminal device at one time. Not limited. For the specific implementation of the request for requesting multiple computing services at one time, please refer to the relevant description in step S403, which will not be repeated here.
可选的,在第一网络设备向第一终端设备发送第四请求消息之前(即在执行步骤S1101之前),如图12所示,在步骤S1201中,第二终端设备可以向第一网络设备发送第五请求消息,该第五请求消息中包括第二终端设备的标识和所述计算服务请求信息。即,第四请求消息中包括的计算服务请求信息可与第五请求消息中包括的计算服务请求信息相同,均用于请求第一计算服务,其可包括第一计算服务相关的一项或多项信息,具体可参考上文中的相关描述,不再赘述。如此,在步骤S1202中,第一网络设备可以确定支持第一计算服务的服务类型的第一终端设备。随后,在步骤S1203中,第一网络设备可以向确定出的第一终端设备发送第四请求消息,该第四请求消息中包括第二终端设备的标识和计算服务请求信息,用于向第一终端设备请求第一计算服务。进而,在步骤S1204中,第一终端设备根据自身的负载情况和所述计算服务请求信息,对第一计算服务进行准入控制。若第一终端设备接受第一计算服务,在步骤S1205中,第一终端设备可以向第一网络设备发送第四响应消息,该第四响应消息中包括计算服务接受信息,用于指示第一终端设备接受了第一计算服务。更进一步地,在步骤S1206中,第一网络设备接收到该第四响应消息之后,可以向第二终端设备发送第五响应消息,该第五响应消息中也可包括计算服务接受信息,用于指示第一终端设备接受了第一计算服务。从而,在步骤S1207中,第二终端设备可为该第一计算服务选择资源,在步骤S1208中,第二终端设备可在与第一终端设备建立D2D连接(或者说侧行链路连接),与第一终端设备进行应用层的数据交互。Optionally, before the first network device sends the fourth request message to the first terminal device (that is, before step S1101 is performed), as shown in FIG. 12 , in step S1201, the second terminal device may send the first network device Send a fifth request message, where the fifth request message includes the identifier of the second terminal device and the computing service request information. That is, the computing service request information included in the fourth request message may be the same as the computing service request information included in the fifth request message, both of which are used to request the first computing service, and may include one or more items related to the first computing service. For details, please refer to the relevant description above, which will not be repeated here. In this way, in step S1202, the first network device may determine the first terminal device that supports the service type of the first computing service. Subsequently, in step S1203, the first network device may send a fourth request message to the determined first terminal device, where the fourth request message includes the identifier of the second terminal device and computing service request information, and is used to send the first request message to the first terminal device. The terminal device requests the first computing service. Further, in step S1204, the first terminal device performs admission control on the first computing service according to its own load situation and the computing service request information. If the first terminal device accepts the first computing service, in step S1205, the first terminal device may send a fourth response message to the first network device, where the fourth response message includes computing service acceptance information to indicate to the first terminal The device receives the first computing service. Further, in step S1206, after receiving the fourth response message, the first network device may send a fifth response message to the second terminal device, and the fifth response message may also include computing service acceptance information for Indicates that the first terminal device has accepted the first computing service. Therefore, in step S1207, the second terminal device may select resources for the first computing service, and in step S1208, the second terminal device may establish a D2D connection (or a sidelink connection) with the first terminal device, Data interaction at the application layer is performed with the first terminal device.
关于步骤S1203、步骤S1204、步骤S1205的具体实施方式,可分别参考上文中对步骤S1101、步骤S1102、步骤S1103的相关描述,在此不再赘述。For specific implementations of step S1203 , step S1204 and step S1205 , reference may be made to the relevant descriptions of step S1101 , step S1102 , and step S1103 above, which will not be repeated here.
由此可知,图11和图12中所示的计算服务发现方法也是一种基于网络设备的服务终端设备发现方法,通过集中式的计算服务发现流程,可以有效提高服务终端设备的发现效率(或者说搜索效率)。与图8至图10中所示方法相比,图11和图12中所示方法的区别在于,网络设备发现合适的服务终端设备后,直接向该服务终端设备发送用于为客户终端设备请求相应计算服务的请求消息,而不是向客户终端设备提供确定出的服务终端设备的 信息,如此,可有效减小网络侧的信令开销,缩短服务终端设备发现流程中的时延,提高计算任务分配效率。It can be seen from this that the computing service discovery method shown in FIG. 11 and FIG. 12 is also a service terminal device discovery method based on network devices, and the centralized computing service discovery process can effectively improve the discovery efficiency of service terminal devices (or say search efficiency). Compared with the methods shown in FIG. 8 to FIG. 10 , the difference between the methods shown in FIG. 11 and FIG. 12 is that after the network device finds a suitable service terminal device, it directly sends a request for the client terminal device to the service terminal device. Instead of providing the determined information of the service terminal equipment to the client terminal equipment, the signaling overhead on the network side can be effectively reduced, the delay in the discovery process of the service terminal equipment can be shortened, and the computing task can be improved. distribution efficiency.
在步骤S1202的具体实施中,一种可能的实施方式为,所述第五请求消息中还可以包括一服务终端设备列表(proxmity S-UE list),该服务终端设备列表用于指示第二终端设备附近的M个服务终端设备,例如可以包括第二终端设备附近的M个服务终端设备的标识,M为正整数。第一网络设备接收到来自第二终端设备的第五请求消息之后,可以根据该第五请求消息中的计算服务请求信息和服务终端设备列表,从该服务终端设备列表所指示的M个服务终端设备中,确定出支持第一计算服务的服务类型的第一终端设备。In the specific implementation of step S1202, a possible implementation is that the fifth request message may further include a service terminal equipment list (proxmity S-UE list), where the service terminal equipment list is used to indicate the second terminal The M serving terminal devices near the device may include, for example, the identifiers of the M serving terminal devices near the second terminal device, where M is a positive integer. After receiving the fifth request message from the second terminal device, the first network device may, according to the calculation service request information and the service terminal device list in the fifth request message, select the M service terminals indicated by the service terminal device list from the service terminal device list. In the device, a first terminal device of a service type that supports the first computing service is determined.
可选的,第一网络设备可获取所述M个服务终端设备各自的计算能力信息,并根据所述M个服务终端设备的计算能力信息,从所述M个服务终端设备中确定出支持第一计算服务的服务类型的第一终端设备。所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载等信息。关于计算能力信息中包括的内容具体可参考上文中的相关描述,此处不再赘述。Optionally, the first network device may obtain the respective computing capability information of the M service terminal devices, and according to the computing capability information of the M service terminal devices, determine, from the M service terminal devices, support for the first service terminal device. A first terminal device of a service type of computing service. The computing capability information includes information such as supported service types, hardware parameter information, and current computing load. For details about the content included in the computing capability information, reference may be made to the relevant description above, which will not be repeated here.
可以理解,如果第一网络设备能够从服务终端设备列表所指示的M个服务终端设备中确定出支持第一计算服务的服务类型的第一终端设备,则表示该M个服务终端设备中存在支持第一计算服务的服务类型的服务终端设备,或者说该M个服务终端设备中存在第一终端设备。It can be understood that if the first network device can determine the first terminal device that supports the service type of the first computing service from the M service terminal devices indicated by the service terminal device list, it means that there is a support device among the M service terminal devices. A service terminal device of the service type of the first computing service, or in other words, a first terminal device exists in the M service terminal devices.
其中,第一网络设备获取M个服务终端设备各自的计算能力信息可以为,第一网络设备从M个服务终端设备中的每个服务终端设备处接收该服务终端设备的计算能力信息。以第一终端设备为例,第一终端设备可以向第一网络设备发送自身的计算能力信息,或者说第一终端设备可以向第一网络设备上报自身的计算能力信息,相应的,第一网络设备可以接收来自第一终端设备的计算能力信息。鉴于第一网络设备可以为核心网设备(如AMF)或无线接入网设备(如基站),如果第一网络设备为核心网设备,则第一终端设备可以将自身的计算能力信息发送给接入的无线接入网设备,通过该无线接入网设备再将该第一终端设备的计算能力信息发送给核心网设备。如果第一网络设备为无线接入网设备,则第一终端设备可以将自身的计算能力信息直接发送给接入的该无线接入网设备。Wherein, obtaining the computing capability information of each of the M service terminal devices by the first network device may be that the first network device receives the computing capability information of the service terminal device from each of the M service terminal devices. Taking the first terminal device as an example, the first terminal device may send its own computing capability information to the first network device, or the first terminal device may report its own computing capability information to the first network device. Correspondingly, the first network The device may receive computing capability information from the first terminal device. In view of the fact that the first network device can be a core network device (such as AMF) or a wireless access network device (such as a base station), if the first network device is a core network device, the first terminal device can send its own computing capability information to the receiver. The incoming wireless access network device, and then the computing capability information of the first terminal device is sent to the core network device through the wireless access network device. If the first network device is a wireless access network device, the first terminal device may directly send its own computing capability information to the connected wireless access network device.
另一种可能的实施方式为,第一网络设备接收到来自第二终端设备的第五请求消息之后,可根据该第五请求消息中的计算服务请求信息,从已获取到计算能力信息的M个服务终端设备中,确定出支持第一计算服务的服务类型的第一终端设备。与上一实施方式不同之处在于,在该实施方式中,第五请求消息中不包括服务终端设备列表,所述M个服务终端设备为第一网络设备自行获取到计算能力信息的M个服务终端设备。第一网络设备获取M个服务终端设备各自的计算能力信息的方式可参考上文中的相关描述,在此不再赘述。Another possible implementation is that, after receiving the fifth request message from the second terminal device, the first network device may, according to the computing service request information in the fifth request message, retrieve the computing capability information from the network device that has obtained the computing capability information. Among the service terminal devices, a first terminal device of a service type that supports the first computing service is determined. The difference from the previous embodiment is that in this embodiment, the fifth request message does not include a list of service terminal devices, and the M service terminal devices are M services for which the first network device has obtained computing capability information by itself. Terminal Equipment. For the manner in which the first network device obtains the respective computing capability information of the M serving terminal devices, reference may be made to the relevant description above, and details are not described herein again.
应理解,为了便于描述,上述两种第一网络设备确定支持第一计算服务的服务类型的第一终端设备的实施方式中均用M来表示服务终端设备的数量,但是这并不表示这两种实施方式中M的取值相同。而且,上述两种实施方式可以择一执行,也可以相互结合执行。例如,第一网络设备可以先从第二终端设备提供的服务终端设备列表中,寻找可以支持第一计算服务的服务类型的服务终端设备,如果在该服务终端设备列表中找不到可以支持第一计算服务的服务类型的服务终端设备,则再从已获取到计算能力信息的其它服务终端设备中,寻找可以支持第一计算服务的服务类型的服务终端设备。It should be understood that, for the convenience of description, in the above-mentioned two implementations in which the first network device determines the first terminal device that supports the service type of the first computing service, M is used to represent the number of service terminal devices, but this does not mean that the two The values of M in the various embodiments are the same. Moreover, the above two embodiments may be implemented alternatively, or may be implemented in combination with each other. For example, the first network device may first search for a service terminal device that can support the service type of the first computing service from the service terminal device list provided by the second terminal device. For a service terminal device of the service type of the computing service, search for a service terminal device that can support the service type of the first computing service from other service terminal devices that have acquired the computing capability information.
在第一网络设备为无线接入网设备的场景中,若所述M个服务终端设备均不支持第一 计算服务的服务类型,或者说如果第一网络设备根据所述M个服务终端设备的计算能力信息,确定该M个服务终端设备中不存在支持第一计算服务的服务类型的服务终端设备,或者说如果第一网络设备找不到能够支持第一计算服务的服务类型的服务终端设备,或者说如果第一网络设备找不到能够满足或符合第二终端设备需求的服务类型的服务终端设备,则第一网络设备可以请求第二网络设备来协助确定可以支持第一计算服务的服务类型的第一终端设备,该第二网络设备为另一无线接入网设备。此处,所述M个服务终端设备可以是指第二终端设备在服务终端设备列表中所指示的M个服务终端设备,也可以是指第一网络设备已获取到计算能力信息的M个服务终端设备,也可以泛指包括第二终端设备在服务终端设备列表中指示的服务终端设备以及第一网络设备已获取到计算能力信息的服务终端设备的总体,不作限定。In a scenario where the first network device is a wireless access network device, if none of the M service terminal devices supports the service type of the first computing service, or if the first network device Computing capability information, it is determined that there is no service terminal device that supports the service type of the first computing service among the M service terminal devices, or if the first network device cannot find a service terminal device that can support the service type of the first computing service , or if the first network device cannot find a service terminal device that can meet or meet the service type required by the second terminal device, the first network device can request the second network device to assist in determining the service that can support the first computing service Type of first terminal equipment, the second network equipment is another wireless access network equipment. Here, the M service terminal devices may refer to the M service terminal devices indicated by the second terminal device in the service terminal device list, or may refer to the M service terminal devices for which the first network device has obtained computing capability information The terminal device may also refer to the whole including the service terminal device indicated by the second terminal device in the service terminal device list and the service terminal device for which the first network device has obtained the computing capability information, which is not limited.
具体的,第一网络设备可以向第二网络设备发送第六请求消息,相应的,第二网络设备可以接收来自第一网络设备的第六请求消息。该第六请求消息中包括第二终端设备的标识以及所述计算服务请求信息,其中,所述计算服务请求信息用于请求第一计算服务,该计算服务请求信息中可以包括第一计算服务相关的一项或多项信息,具体可参考上文中的描述,不再赘述,该第二终端设备的标识用于指示是为该第二终端设备请求第一计算服务。可选的,在一种可能的实施方式中,该第六请求消息中也可以包括第二终端设备的标识和计算服务需求信息,该计算服务需求信息指示第一计算服务的服务类型。Specifically, the first network device may send the sixth request message to the second network device, and correspondingly, the second network device may receive the sixth request message from the first network device. The sixth request message includes the identifier of the second terminal device and the computing service request information, wherein the computing service request information is used to request the first computing service, and the computing service request information may include information related to the first computing service. One or more pieces of information of , for details, please refer to the above description, and details are not repeated here. The identifier of the second terminal device is used to indicate that the first computing service is requested for the second terminal device. Optionally, in a possible implementation manner, the sixth request message may also include an identifier of the second terminal device and computing service requirement information, where the computing service requirement information indicates a service type of the first computing service.
随后,第二网络设备可以确定支持第一计算服务的服务类型的第一终端设备,并向第一网络设备发送第六响应消息,该第六响应消息中包括计算服务响应信息,该计算服务响应信息指示支持第一计算服务的服务类型的第一终端设备,例如该计算服务响应信息中可包括第一终端设备的标识,用于表示该第一终端设备能够支持第一计算服务的服务类型,可以向该第一终端设备请求第一计算服务。相应的,第一网络设备可以接收来自第二网络设备的第六响应消息,根据该第六响应消息中的计算服务响应信息,确定向第一终端设备请求第一计算服务,进而向第一终端设备发送第四请求消息。Subsequently, the second network device may determine the first terminal device supporting the service type of the first computing service, and send a sixth response message to the first network device, where the sixth response message includes computing service response information, and the computing service responds The information indicates the first terminal device that supports the service type of the first computing service, for example, the computing service response information may include the identifier of the first terminal device, which is used to indicate that the first terminal device can support the service type of the first computing service, The first computing service may be requested from the first terminal device. Correspondingly, the first network device may receive the sixth response message from the second network device, and according to the computing service response information in the sixth response message, determine to request the first computing service from the first terminal device, and then request the first terminal device for the first computing service. The device sends a fourth request message.
应注意的是,本申请实施例对第二网络设备确定支持第一计算服务的服务类型的第一终端设备的方式不作具体限定。例如,第二网络设备可以根据自身获取到的各个服务终端设备的计算能力信息,从各个服务终端设备中确定出支持第一计算服务的服务类型的第一终端设备。或者,第二终端设备也可以采用其他方式来确定第一终端设备,本申请不再一一举例。It should be noted that the embodiment of the present application does not specifically limit the manner in which the second network device determines the first terminal device supporting the service type of the first computing service. For example, the second network device may determine the first terminal device that supports the service type of the first computing service from each of the service terminal devices according to the computing capability information of each service terminal device obtained by itself. Alternatively, the second terminal device may also use other methods to determine the first terminal device, and this application will not give examples one by one.
由上述内容可知,第一网络设备可以自行确定支持第一计算服务的服务类型的第一终端设备,例如根据第二终端设备上报的服务终端设备列表指示的各个服务终端设备的计算能力信息确定,或者也可以在第二网络设备的协助下,根据第二网络设备发送的第六响应消息中的计算服务响应信息来确定支持第一计算服务的服务类型的第一终端设备。It can be seen from the above that the first network device can determine by itself the first terminal device that supports the service type of the first computing service, for example, according to the computing capability information of each service terminal device indicated by the service terminal device list reported by the second terminal device, Alternatively, with the assistance of the second network device, the first terminal device that supports the service type of the first computing service may be determined according to the computing service response information in the sixth response message sent by the second network device.
在一个具体示例中,如图13所示,在步骤S1301中,C-UE可以向gNB/AMF发送第五请求消息,该第五请求消息中包括C-UE的标识、计算服务请求信息和S-UE列表,该计算服务请求信息用于请求第一计算服务,该S-UE列表用于指示C-UE附近的M个S-UE。在步骤S1302中,gNB/AMF可以从所述S-UE列表中确定支持第一计算服务的服务类型的S-UE1。例如,gNB/AMF可根据所述M个S-UE的计算能力信息,从该M个S-UE中确定出支持第一计算服务的服务类型的S-UE1。可选的,gNB/AMF可以接收所述M个S-UE中的每个S-UE上报的计算能力信息。在步骤S1303中,gNB/AMF可以向S-UE1发送第 四请求消息,该第四请求消息中包括C-UE的标识和所述计算服务请求信息,用于向S-UE1请求第一计算服务。随后,在步骤S1304中,S-UE1可以根据自身的负载情况以及所述计算服务请求信息,对第一计算服务进行准入控制,并在步骤S1305中向gNB/AMF发送第四响应消息。如果S-UE1接受第一计算服务,或者说如果S-UE1允许C-UE接入第一计算服务,则,该第四响应消息中可包括计算服务接受信息,该计算服务接受信息指示S-UE1接受了第一计算服务。可选的,该计算服务接受信息可指示接受的该第一计算服务,例如,该计算服务接受信息中可包括第一计算服务的服务标识。在步骤S1306中,gNB/AMF可以向C-UE发送第五响应消息,该第五响应信息中包括所述计算服务接受信息。进一步地,在步骤S1307中,C-UE可为该第一计算服务选择资源。在步骤S1308中,C-UE可在与S-UE1建立连接后,与S-UE1进行应用层数据的交互。In a specific example, as shown in FIG. 13 , in step S1301, the C-UE may send a fifth request message to the gNB/AMF, where the fifth request message includes the identity of the C-UE, computing service request information and S -UE list, the computing service request information is used to request the first computing service, and the S-UE list is used to indicate M S-UEs near the C-UE. In step S1302, the gNB/AMF may determine, from the S-UE list, the S-UE1 that supports the service type of the first computing service. For example, the gNB/AMF may determine, according to the computing capability information of the M S-UEs, the S-UE1 that supports the service type of the first computing service from the M S-UEs. Optionally, the gNB/AMF may receive the computing capability information reported by each of the M S-UEs. In step S1303, the gNB/AMF may send a fourth request message to S-UE1, where the fourth request message includes the identity of the C-UE and the computing service request information, and is used to request the first computing service from S-UE1 . Subsequently, in step S1304, S-UE1 may perform admission control on the first computing service according to its own load situation and the computing service request information, and send a fourth response message to the gNB/AMF in step S1305. If the S-UE1 accepts the first computing service, or if the S-UE1 allows the C-UE to access the first computing service, the fourth response message may include computing service acceptance information indicating that the S-UE1 UE1 accepts the first computing service. Optionally, the computing service acceptance information may indicate the accepted first computing service, for example, the computing service acceptance information may include a service identifier of the first computing service. In step S1306, the gNB/AMF may send a fifth response message to the C-UE, where the fifth response message includes the computing service acceptance information. Further, in step S1307, the C-UE may select resources for the first computing service. In step S1308, the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
在另一个具体实施例中,如图14所示,在步骤S1401中,C-UE可以向gNB1发送第五请求消息,该第五请求消息中包括C-UE的标识、计算服务请求信息和S-UE列表,该计算服务请求信息用于请求第一计算服务,该S-UE列表用于指示C-UE附近的M个S-UE。在步骤S1402中,gNB1从所述S-UE列表中找不到可以支持第一计算服务的服务类型的S-UE,即该S-UE列表中的所述M个S-UE均不支持第一计算服务的服务类型。在步骤S1403中,gNB1可以向gNB2发送第六请求消息,该第六请求消息中包括C-UE的标识和所述计算能力请求信息。可选的,gNB1可以通过gNB间的Xn接口来向gNB2发送该第六请求消息。如此,在步骤S1404中,gNB2可以确定支持该第一计算服务的服务类型的S-UE1。例如,gNB2可根据获取到的若干个S-UE的计算能力信息,从各个S-UE中确定出支持第一计算服务的服务类型的S-UE1。在步骤S1405中,gNB2可以向gNB1发送第六响应消息,该第六响应消息中包括计算服务响应信息,该计算服务响应信息指示支持第一计算服务的服务类型的S-UE1。例如,该计算服务响应信息中可包括该S-UE1的标识。在步骤S1406中,gNB1可以向S-UE1发送第四请求消息,该第四请求消息中包括C-UE的标识和所述计算服务请求信息,用于向S-UE1请求第一计算服务。随后,在步骤S1407中,S-UE1可以根据自身的负载情况以及所述计算服务请求信息,对第一计算服务进行准入控制,并在步骤S1408中向gNB1发送第四响应消息。如果S-UE1接受第一计算服务,或者说如果S-UE1允许C-UE接入第一计算服务,则该第四响应消息中可包括计算服务接受信息,该计算服务接受信息指示S-UE1接受了第一计算服务。可选的,该计算服务接受信息可指示接受的该第一计算服务,例如,该计算服务接受信息中可包括第一计算服务的服务标识。在步骤S1409中,gNB1可以向C-UE发送第五响应消息,该第五响应信息中包括所述计算服务接受信息。进一步地,在步骤S1410中,C-UE可为该第一计算服务选择资源。在步骤S1411中,C-UE可在与S-UE1建立连接后,与S-UE1进行应用层数据的交互。In another specific embodiment, as shown in FIG. 14 , in step S1401, the C-UE may send a fifth request message to gNB1, where the fifth request message includes the identity of the C-UE, computing service request information and S -UE list, the computing service request information is used to request the first computing service, and the S-UE list is used to indicate M S-UEs near the C-UE. In step S1402, gNB1 cannot find an S-UE of the service type that can support the first computing service from the S-UE list, that is, none of the M S-UEs in the S-UE list supports the first computing service. A service type of a computing service. In step S1403, gNB1 may send a sixth request message to gNB2, where the sixth request message includes the identity of the C-UE and the computing capability request information. Optionally, gNB1 may send the sixth request message to gNB2 through the Xn interface between gNBs. In this way, in step S1404, gNB2 may determine the S-UE1 that supports the service type of the first computing service. For example, the gNB2 may determine the S-UE1 that supports the service type of the first computing service from each of the S-UEs according to the obtained computing capability information of several S-UEs. In step S1405, gNB2 may send a sixth response message to gNB1, where the sixth response message includes computing service response information, where the computing service response information indicates the S-UE1 that supports the service type of the first computing service. For example, the computing service response information may include the identifier of the S-UE1. In step S1406, gNB1 may send a fourth request message to S-UE1, where the fourth request message includes the identity of the C-UE and the computing service request information, and is used to request the first computing service from S-UE1. Subsequently, in step S1407, S-UE1 may perform admission control on the first computing service according to its own load situation and the computing service request information, and send a fourth response message to gNB1 in step S1408. If S-UE1 accepts the first computing service, or in other words, if S-UE1 allows C-UE to access the first computing service, the fourth response message may include computing service accepting information, the computing service accepting information indicating S-UE1 Received the first computing service. Optionally, the computing service acceptance information may indicate the accepted first computing service, for example, the computing service acceptance information may include a service identifier of the first computing service. In step S1409, gNB1 may send a fifth response message to the C-UE, where the fifth response message includes the computing service acceptance information. Further, in step S1410, the C-UE may select resources for the first computing service. In step S1411, the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
在第一网络设备确定出第一终端设备之后,若该第一终端设备处于RRC_连接态(RRC_connected),则可以直接按照上面所述的方法执行。After the first network device determines the first terminal device, if the first terminal device is in the RRC_connected state (RRC_connected), the above method may be directly performed.
若该第一终端设备处于RRC_非激活态(即RRC_inactive)或RRC_空闲态(即RRC_idle),则第四请求消息中还可以包括寻呼信息,该寻呼信息用于寻呼第一终端设备,以使第一终端设备进入RRC_连接态。相应的,第四响应消息还可用于恢复(resume)或重建立(resetup)第一终端设备的RRC连接。或者,也可以理解为,该第四请求消息具体为一寻呼消息,如RAN寻呼消息或CN寻呼消息,该寻呼消息中包括第二终端设备的标 识和计算服务请求信息,即该寻呼消息在寻呼第一终端设备的同时,还用于为第二终端设备请求第一计算服务。If the first terminal device is in the RRC_inactive state (ie RRC_inactive) or the RRC_idle state (ie RRC_idle), the fourth request message may further include paging information, where the paging information is used to page the first terminal device, so that the first terminal device enters the RRC_connected state. Correspondingly, the fourth response message may also be used to resume (resume) or re-establish (resetup) the RRC connection of the first terminal device. Alternatively, it can also be understood that the fourth request message is specifically a paging message, such as a RAN paging message or a CN paging message, and the paging message includes the identifier of the second terminal device and computing service request information, that is, the When paging the first terminal device, the paging message is also used to request the first computing service for the second terminal device.
具体的,若第一终端设备处于RRC_非激活态,则对应于RAN寻呼(即RAN paging for inactive UE)的场景,第一网络设备为无线接入网设备(如基站)。在该场景下,第四请求消息中可包括第二终端设备的标识、计算服务请求信息和寻呼信息,其中,该计算服务请求信息用于请求第一计算服务,该寻呼信息用于RAN寻呼第一终端设备,或者说该寻呼信息用于发起针对第一终端设备的RAN寻呼,或者说该寻呼信息具体为针对第一终端设备的RAN寻呼信息。也就是说,在该场景下,该第四请求消息具有向第一终端设备请求第一计算服务,以及发起针对处于RRC_非激活态的第一终端设备的RAN寻呼的双重功能。因此,该第四请求消息也可以称为计算服务请求消息或RAN寻呼消息,或具有其他名称,并不限定。Specifically, if the first terminal device is in the RRC_inactive state, corresponding to the scenario of RAN paging (that is, RAN paging for inactive UE), the first network device is a radio access network device (such as a base station). In this scenario, the fourth request message may include the identifier of the second terminal device, computing service request information, and paging information, where the computing service request information is used to request the first computing service, and the paging information is used for the RAN Paging the first terminal device, or the paging information is used to initiate RAN paging for the first terminal device, or the paging information is specifically RAN paging information for the first terminal device. That is, in this scenario, the fourth request message has the dual function of requesting the first computing service from the first terminal device and initiating RAN paging for the first terminal device in the RRC_inactive state. Therefore, the fourth request message may also be called a computing service request message or a RAN paging message, or have other names, which are not limited.
在此基础上,若第一终端设备接受第一计算服务,则第一终端设备发送的第四响应消息不仅可以用于指示第一终端设备接受了该第一计算服务,还可用于恢复第一终端设备的RRC连接,例如,该第四响应消息中可以包括RRC连接恢复请求信息。在该场景下,第四响应消息也可以称为计算服务响应消息或RRC连接恢复请求消息,或具有其它名称,并不限定。On this basis, if the first terminal device accepts the first computing service, the fourth response message sent by the first terminal device can not only be used to indicate that the first terminal device has accepted the first computing service, but can also be used to restore the first For the RRC connection of the terminal device, for example, the fourth response message may include RRC connection recovery request information. In this scenario, the fourth response message may also be called a computing service response message or an RRC connection recovery request message, or has other names, which are not limited.
若第一终端设备处于RRC_空闲态,则对应于CN寻呼(CN paging for idle UE)的场景,第一网络设备为核心网设备(如AMF)。在该场景下,第四请求消息中可包括第二终端设备的标识、计算服务请求信息和寻呼信息,其中,该计算服务请求信息用于请求第一计算服务,该寻呼信息用于CN寻呼第一终端设备,或者说该寻呼信息用于发起针对第一终端设备的CN寻呼,或者说该寻呼信息具体为针对第一终端设备的CN寻呼信息。也就是说,在该场景下,该第四请求消息具有向第一终端设备请求第一计算服务,以及发起针对处于RRC_空闲态的第一终端设备的CN寻呼的双重功能。因此,该第四请求消息也可以称为计算服务请求消息或CN寻呼消息,或具有其他名称,并不限定。If the first terminal device is in the RRC_idle state, corresponding to a CN paging (CN paging for idle UE) scenario, the first network device is a core network device (such as an AMF). In this scenario, the fourth request message may include the identifier of the second terminal device, computing service request information, and paging information, where the computing service request information is used to request the first computing service, and the paging information is used for CN Paging the first terminal device, or the paging information is used to initiate CN paging for the first terminal device, or the paging information is specifically CN paging information for the first terminal device. That is, in this scenario, the fourth request message has the dual function of requesting the first computing service from the first terminal device and initiating CN paging for the first terminal device in the RRC_idle state. Therefore, the fourth request message may also be called a computing service request message or a CN paging message, or have other names, which are not limited.
在此基础上,若第一终端设备接受第一计算服务,则第一终端设备发送的第四响应消息不仅可以用于指示第一终端设备接受了该第一计算服务,还可用于重建立第一终端设备的RRC连接,例如,该第四响应消息中可以包括RRC连接重建立请求信息。在该场景下,第四响应消息也可以称为计算服务响应消息或RRC连接重建立请求消息,或具有其它名称,并不限定。On this basis, if the first terminal device accepts the first computing service, the fourth response message sent by the first terminal device can not only be used to indicate that the first terminal device has accepted the first computing service, but also be used to re-establish the first computing service. For the RRC connection of a terminal device, for example, the fourth response message may include RRC connection re-establishment request information. In this scenario, the fourth response message may also be called a computing service response message or an RRC connection re-establishment request message, or has other names, which are not limited.
在又一个具体实施例中,如图15所示,在步骤S1501中,C-UE可以向gNB发送第五请求消息,该第五请求消息中包括C-UE的标识、计算服务请求信息和S-UE列表,该计算服务请求信息用于请求第一计算服务,该S-UE列表用于指示C-UE附近的M个S-UE。针对RRC_非激活态S-UE的场景,在步骤S1502中,gNB可以从所述S-UE列表中确定支持第一计算服务的服务类型的S-UE1。例如,gNB可根据所述M个S-UE的计算能力信息,从该M个S-UE中确定出支持第一计算服务的服务类型的S-UE1。可选的,gNB可以接收所述M个S-UE中的每个S-UE上报的计算能力信息。在步骤S1503中,gNB可以向S-UE1发送第四请求消息,该第四请求消息中包括C-UE的标识、所述计算服务请求信息以及RAN寻呼信息,用于向S-UE1请求第一计算服务,并同时发起针对该S-UE的RAN寻呼,使之进入RRC_连接态。In yet another specific embodiment, as shown in FIG. 15 , in step S1501, the C-UE may send a fifth request message to the gNB, where the fifth request message includes the identity of the C-UE, computing service request information and S -UE list, the computing service request information is used to request the first computing service, and the S-UE list is used to indicate M S-UEs near the C-UE. For the scenario of the RRC_inactive S-UE, in step S1502, the gNB may determine, from the S-UE list, the S-UE1 that supports the service type of the first computing service. For example, the gNB may determine, according to the computing capability information of the M S-UEs, the S-UE1 that supports the service type of the first computing service from the M S-UEs. Optionally, the gNB may receive the computing capability information reported by each of the M S-UEs. In step S1503, the gNB may send a fourth request message to the S-UE1, where the fourth request message includes the identity of the C-UE, the computing service request information and the RAN paging information, and is used to request the S-UE1 for the fourth request message. A computing service, and at the same time initiates RAN paging for the S-UE to enter the RRC_CONNECTED state.
针对RRC_空闲态S-UE的场景,在步骤S1504中,gNB可以将从C-UE接收的第五 请求消息转发给AMF。在步骤S1505中,AMF可以从所述S-UE列表中确定支持第一计算服务的服务类型的S-UE1。例如,AMF可根据所述M个S-UE的计算能力信息,从该M个S-UE中确定出支持第一计算服务的服务类型的S-UE1。可选的,AMF可以接收所述M个S-UE中的每个S-UE通过gNB上报的计算能力信息。在步骤S1506中,AMF可以向S-UE1发送第四请求消息,该第四请求消息中包括C-UE的标识、所述计算服务请求信息以及CN寻呼信息,用于向S-UE1请求第一计算服务,并同时发起针对该S-UE的CN寻呼,使之进入RRC_连接态。For the RRC_idle state S-UE scenario, in step S1504, the gNB may forward the fifth request message received from the C-UE to the AMF. In step S1505, the AMF may determine, from the S-UE list, the S-UE1 that supports the service type of the first computing service. For example, the AMF may determine, according to the computing capability information of the M S-UEs, the S-UE1 that supports the service type of the first computing service from the M S-UEs. Optionally, the AMF may receive the computing capability information reported by each of the M S-UEs through the gNB. In step S1506, the AMF may send a fourth request message to the S-UE1, where the fourth request message includes the identity of the C-UE, the computing service request information and the CN paging information, and is used to request the S-UE1 for the first request message. A computing service, and at the same time initiates CN paging for the S-UE to enter the RRC_CONNECTED state.
进而,在步骤S1507中,S-UE1可以根据自身的负载情况以及所述计算服务请求信息,对第一计算服务进行准入控制,并在步骤S1508中向gNB发送第四响应消息。如果S-UE1接受第一计算服务,或者说如果S-UE1允许C-UE接入第一计算服务,则,该第四响应消息中可包括计算服务接受信息,该计算服务接受信息指示S-UE1接受了第一计算服务。可选的,该计算服务接受信息可指示接受的该第一计算服务,例如,该计算服务接受信息中可包括第一计算服务的服务标识。在步骤S1509中,gNB可以向C-UE发送第五响应消息,该第五响应信息中包括所述计算服务接受信息。进一步地,在步骤S1510中,C-UE可为该第一计算服务选择资源。在步骤S1511中,C-UE可在与S-UE1建立连接后,与S-UE1进行应用层数据的交互。Further, in step S1507, S-UE1 may perform admission control on the first computing service according to its own load situation and the computing service request information, and send a fourth response message to the gNB in step S1508. If the S-UE1 accepts the first computing service, or if the S-UE1 allows the C-UE to access the first computing service, the fourth response message may include computing service acceptance information indicating that the S-UE1 UE1 accepts the first computing service. Optionally, the computing service acceptance information may indicate the accepted first computing service, for example, the computing service acceptance information may include a service identifier of the first computing service. In step S1509, the gNB may send a fifth response message to the C-UE, where the fifth response message includes the computing service acceptance information. Further, in step S1510, the C-UE may select resources for the first computing service. In step S1511, the C-UE may perform application layer data interaction with the S-UE1 after establishing a connection with the S-UE1.
上述技术方案提供了另一种基于网络设备辅助的计算服务发现与分配机制,可以有效降低系统中边缘计算的计算负载,提高系统的计算容量,拓展计算服务覆盖范围。The above technical solution provides another computing service discovery and distribution mechanism assisted by network equipment, which can effectively reduce the computing load of edge computing in the system, increase the computing capacity of the system, and expand the coverage of computing services.
现有技术中,中继终端设备仅用于为远端终端设备(remote UE)提供到网络的透明的数据转发服务,并不涉及计算服务。而在本申请实施例中,中继终端设备可以同时为客户终端设备提供数据转发服务和计算服务。In the prior art, the relay terminal device is only used to provide a remote terminal device (remote UE) with a transparent data forwarding service to the network, and does not involve computing services. However, in this embodiment of the present application, the relay terminal device may provide the client terminal device with a data forwarding service and a computing service at the same time.
具体的,当中继终端设备可以同时为客户终端设备提供数据转发服务和计算服务时,在一种可能的实施方式中,中继终端设备和客户终端设备可以进行如图16中所示的配置流程:Specifically, when the relay terminal device can provide data forwarding services and computing services for the client terminal device at the same time, in a possible implementation manner, the relay terminal device and the client terminal device can perform the configuration process shown in FIG. 16 . :
步骤S1601、执行基于终端设备的服务终端设备发现流程,发现第一终端设备。第一终端设备与第二终端设备建立侧行链路连接。Step S1601: Execute a terminal device-based service terminal device discovery process to discover a first terminal device. The first terminal device establishes a sidelink connection with the second terminal device.
在本申请实施例中,第一终端设备为中继终端设备或者也可以称为服务终端设备,第二终端设备为远端终端设备或者也可以称为客户终端设备,第一网络设备为无线接入网设备(例如基站)。也就是说,该第一终端设备既可作为中继终端设备,提供第二终端设备与第一网络设备之间的数据转发服务,同时也可作为服务终端设备,为第二终端设备提供计算服务,例如针对计算业务多级处理场景,第一终端设备对第二终端设备的计算业务进行中间处理。In this embodiment of the present application, the first terminal device is a relay terminal device or may also be called a service terminal device, the second terminal device is a remote terminal device or may also be called a client terminal device, and the first network device is a wireless connection device. Access devices (eg base stations). That is to say, the first terminal device can be used as a relay terminal device to provide data forwarding services between the second terminal device and the first network device, and can also be used as a service terminal device to provide computing services for the second terminal device. For example, for a multi-level processing scenario of computing services, the first terminal device performs intermediate processing on the computing services of the second terminal device.
基于终端设备的服务终端设备发现流程可以采用如图4至图7中所示的任一方法实现。具体过程请参考上文的相关描述以及图4至图7,不再赘述。The service terminal device discovery process based on the terminal device can be implemented by using any of the methods shown in FIG. 4 to FIG. 7 . For the specific process, please refer to the above related description and FIG. 4 to FIG. 7 , which will not be repeated.
步骤S1602、第二终端设备向第一终端设备发送第一配置消息,该第一配置消息用于重配置第一终端设备与第二终端设备之间的侧行链路连接,该第一配置消息中包括第一终端设备与第二终端设备之间的通信接口上的各个逻辑信道(logical channel,LCH)对应的处理指示信息,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理。Step S1602, the second terminal device sends a first configuration message to the first terminal device, where the first configuration message is used to reconfigure the sidelink connection between the first terminal device and the second terminal device, the first configuration message The processing instruction information corresponding to each logical channel (logical channel, LCH) on the communication interface between the first terminal equipment and the second terminal equipment is included, and the processing instruction information is used to indicate whether the data received from the corresponding LCH needs to be processed. Intermediate processing.
相应的,第一终端设备可接收来自第二终端设备的第一配置消息。Correspondingly, the first terminal device may receive the first configuration message from the second terminal device.
步骤S1603、第一终端设备向第二终端设备发送第一配置完成消息,该第一配置完成消息用于指示第一终端设备与第二终端设备之间的侧行链路连接重配置完成。Step S1603: The first terminal device sends a first configuration complete message to the second terminal device, where the first configuration complete message is used to indicate that the reconfiguration of the sidelink connection between the first terminal device and the second terminal device is completed.
经过上述步骤S1601至步骤S1603的配置流程后,第二终端设备与第一网络设备之间可通过第一终端设备的中继进行数据交互,其中第一终端设备从第二终端设备接收的部分或全部数据可在第一终端设备处进行中间处理后再发送给第一网络设备。After the configuration process from steps S1601 to S1603 above, the second terminal device and the first network device can perform data exchange through the relay of the first terminal device, wherein the first terminal device receives the part of the data from the second terminal device or All data may be intermediately processed at the first terminal device and then sent to the first network device.
在另一种可能的实施方式中,中继终端设备、客户终端设备以及网络设备可以进行如图17中所示的配置流程:In another possible implementation manner, the relay terminal device, the client terminal device, and the network device may perform the configuration process as shown in FIG. 17 :
步骤S1701、执行基于网络设备的服务终端设备发现流程,发现第一终端设备。Step S1701: Execute a service terminal device discovery process based on a network device to discover a first terminal device.
在本申请实施例中,第一终端设备为中继终端设备或者也可以称为服务终端设备,第二终端设备为远端终端设备或者也可以称为客户终端设备,第一网络设备为无线接入网设备(例如基站)。也就是说,该第一终端设备既可作为中继终端设备,提供第二终端设备与第一网络设备之间的数据转发服务,同时也可作为服务终端设备,为第二终端设备提供计算服务,例如针对计算业务多级处理场景,第一终端设备对第二终端设备的计算业务进行中间处理。In this embodiment of the present application, the first terminal device is a relay terminal device or may also be called a service terminal device, the second terminal device is a remote terminal device or may also be called a client terminal device, and the first network device is a wireless connection device. Access devices (eg base stations). That is to say, the first terminal device can be used as a relay terminal device to provide data forwarding services between the second terminal device and the first network device, and can also be used as a service terminal device to provide computing services for the second terminal device. For example, for a multi-level processing scenario of computing services, the first terminal device performs intermediate processing on the computing services of the second terminal device.
基于网络设备的服务终端设备发现流程可以基于图8至图10中所示的任一方法实现,也可以基于图11至图15中所示的任一方法实现,并不限定。具体过程请参考上文的相关描述以及图8至图15,不再赘述。The service terminal device discovery process based on the network device can be implemented based on any method shown in FIG. 8 to FIG. 10 , or can be implemented based on any method shown in FIG. 11 to FIG. 15 , which is not limited. For the specific process, please refer to the above related description and FIG. 8 to FIG. 15 , which will not be repeated.
步骤S1702、第一网络设备向第一终端设备发送第二配置消息,该第二配置消息用于重配置第一终端设备的RRC连接。Step S1702: The first network device sends a second configuration message to the first terminal device, where the second configuration message is used to reconfigure the RRC connection of the first terminal device.
相应的,第一终端设备可接收来自第一网络设备的第二配置消息。Correspondingly, the first terminal device may receive the second configuration message from the first network device.
该第二配置消息中包括第二终端设备的标识、第一终端设备与第二终端设备之间的通信接口上的各个LCH对应的处理指示信息以及第一指示信息。其中,所述处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,第一指示信息用于指示第一终端设备与第二终端设备之间的通信接口上的各个LCH与第一终端设备与第一网络设备之间的通信接口上的各个数据无线承载(data radio bearer,DRB)之间的映射关系。如此,当第一终端设备从某一LCH接收到来自第二终端设备的需要进行中间处理的数据时,第一终端设备可在进行相应的数据处理后,根据第一指示信息,将处理后的数据通过该LCH对应的DRB发送给第一网络设备。The second configuration message includes the identifier of the second terminal device, processing indication information corresponding to each LCH on the communication interface between the first terminal device and the second terminal device, and the first indication information. The processing indication information is used to indicate whether intermediate processing is required for the data received from the corresponding LCH, and the first indication information is used to indicate that each LCH on the communication interface between the first terminal device and the second terminal device and the first The mapping relationship between each data radio bearer (data radio bearer, DRB) on the communication interface between a terminal device and the first network device. In this way, when the first terminal device receives data from a certain LCH that needs to be intermediately processed, the first terminal device may, after performing corresponding data processing, process the processed data according to the first indication information. The data is sent to the first network device through the DRB corresponding to the LCH.
示例性的,本申请实施例中,第一终端设备与第二终端设备之间的通信接口可以是PC5接口,第一终端设备与第一网络设备之间的通信接口可以是Uu接口。Exemplarily, in this embodiment of the present application, the communication interface between the first terminal device and the second terminal device may be a PC5 interface, and the communication interface between the first terminal device and the first network device may be a Uu interface.
步骤S1703、第一网络设备向第二终端设备发送第三配置消息,该第三配置消息用于配置第一终端设备与第二终端设备之间的侧行链路连接。Step S1703: The first network device sends a third configuration message to the second terminal device, where the third configuration message is used to configure a side link connection between the first terminal device and the second terminal device.
相应的,第二终端设备可接收来自第一网络设备的第三配置消息。Correspondingly, the second terminal device may receive the third configuration message from the first network device.
该第三配置消息中包括第一终端设备的标识和第二指示信息,该第二指示信息用于指示第二终端设备将需要进行中间处理的数据发送到第一终端设备与第二终端设备之间的通信接口上指定的一个或多个LCH上。该用于接收需要进行中间处理的数据的指定的一个或多个LCH与第一网络设备发送给第一终端设备的第二配置信息中指示的各个LCH对应的处理指示信息是一致的。The third configuration message includes the identifier of the first terminal device and second indication information, where the second indication information is used to instruct the second terminal device to send the data that needs to be intermediately processed to the first terminal device and the second terminal device. on one or more LCHs specified on the communication interface between them. The designated one or more LCHs for receiving the data that need to be subjected to intermediate processing are consistent with the processing indication information corresponding to each LCH indicated in the second configuration information sent by the first network device to the first terminal device.
经过上述步骤S1701至步骤S1703所示的配置流程后,第一终端设备可与第二终端设 备建立侧行链路的连接,第二终端设备与第一网络设备之间可通过第一终端设备的中继进行数据交互,其中第一终端设备从第二终端设备接收的部分或全部数据可在第一终端设备处进行中间处理后再发送给第一网络设备。After the configuration process shown in the above steps S1701 to S1703, the first terminal device can establish a side link connection with the second terminal device, and the second terminal device and the first network device can pass through the first terminal device. The relay performs data interaction, wherein part or all of the data received by the first terminal device from the second terminal device may be intermediately processed at the first terminal device and then sent to the first network device.
应注意的是,图16与图17中所示的技术方案的区别在于,图16所示的配置流程中由第二终端设备触发进行相应的配置和指示,图17所示的配置流程中由第一网络设备触发进行相应的配置和指示。换句话说,在图16所示的配置流程中,第一终端设备与第二终端设备之间的通信接口上的哪些LCH上的数据需要进行中间处理是由第二终端设备指示的,而在图17所示的配置流程中,第一终端设备与第二终端设备之间的通信接口上的哪些LCH上的数据需要进行中间处理是由第一网络设备指示的。It should be noted that the difference between FIG. 16 and the technical solution shown in FIG. 17 is that the configuration process shown in FIG. 16 is triggered by the second terminal device to perform corresponding configuration and instructions. The first network device triggers the corresponding configuration and instruction. In other words, in the configuration flow shown in FIG. 16 , which LCH data on the communication interface between the first terminal device and the second terminal device needs to undergo intermediate processing is indicated by the second terminal device, and in In the configuration process shown in FIG. 17 , which data on the LCH on the communication interface between the first terminal device and the second terminal device needs to be subjected to intermediate processing is indicated by the first network device.
通过图16和图17中所示的技术方案,在中继场景下,中继终端设备可以对远端终端设备的计算服务进行中间处理,如此,可有效降低网络侧的计算负载,提高系统的计算容量。Through the technical solutions shown in FIG. 16 and FIG. 17 , in the relay scenario, the relay terminal device can perform intermediate processing on the computing service of the remote terminal device. In this way, the computing load on the network side can be effectively reduced and the system reliability can be improved. Calculate capacity.
请参考图18,本申请实施例还提供又一种计算服务发现方法,该方法用于在中继场景下进行计算服务的迁移,将计算服务由网络侧迁移到服务终端设备承载,该方法包括:Referring to FIG. 18 , an embodiment of the present application further provides another computing service discovery method. The method is used for migrating computing services in a relay scenario, and migrating computing services from the network side to the service terminal device for bearing. The method includes: :
步骤S1801、第一网络设备确定第一计算服务需要进行迁移,该第一计算服务为第二终端设备请求的计算服务。Step S1801: The first network device determines that the first computing service needs to be migrated, and the first computing service is the computing service requested by the second terminal device.
在本申请实施例中,第一终端设备为中继终端设备或者也可以称为服务终端设备,第二终端设备为远端终端设备或者也可以称为客户终端设备,第一网络设备为无线接入网设备(例如基站)。也就是说,第一终端设备既可作为中继终端设备,提供第二终端设备与第一网络设备之间的数据转发服务,同时也可作为服务终端设备,为第二终端设备提供计算服务。In this embodiment of the present application, the first terminal device is a relay terminal device or may also be called a service terminal device, the second terminal device is a remote terminal device or may also be called a client terminal device, and the first network device is a wireless connection device. Access devices (eg base stations). That is to say, the first terminal device can be used as a relay terminal device to provide data forwarding services between the second terminal device and the first network device, and can also be used as a service terminal device to provide computing services for the second terminal device.
在一种可能的实施方式中,第一网络设备确定第一计算服务需要进行迁移可以包括:第一网络设备根据当前的负载情况,当发生过载或者将要发生过载时,决策对第一计算服务进行迁移。In a possible implementation manner, the first network device determining that the first computing service needs to be migrated may include: the first network device, according to the current load situation, decides to perform the first computing service when overload occurs or is about to occur. migrate.
进而,第一网络设备可以向第二终端设备发送第一信息,该第一信息可指示第二终端设备寻找合适的服务终端设备,以承载该第一计算服务。如此,第二终端设备接收到该第一信息后,可执行基于终端设备的服务终端设备发现流程,发现第一终端设备,并与该第一终端设备建立侧行链路连接。所述基于终端设备的服务终端设备发现流程可以采用如图4至图7中所示的任一方法实现。具体过程请参考上文的相关描述以及图4至图7,不再赘述。Further, the first network device may send first information to the second terminal device, where the first information may instruct the second terminal device to find a suitable service terminal device to carry the first computing service. In this way, after receiving the first information, the second terminal device can perform a terminal device-based service terminal device discovery process, discover the first terminal device, and establish a sidelink connection with the first terminal device. The terminal device-based service terminal device discovery process may be implemented using any of the methods shown in FIG. 4 to FIG. 7 . For the specific process, please refer to the above related description and FIG. 4 to FIG. 7 , which will not be repeated.
可选的,第二终端设备还可向第一网络设备上报该第一终端设备的相关信息,例如第一终端设备的标识,或者第一网络设备、第一终端设备与第二终端设备之间的中继关系,以便第一网络设备将第一计算服务迁移到第一终端设备。可选的,第一网络设备、第一终端设备与第二终端设备之间的中继关系还可由第一终端设备上报。换言之,第二终端设备或第一终端设备可向第一网络设备发送第三信息,该第三信息用于指示第一网络设备、第一终端设备与第二终端设备之间的中继关系,第一网络设备可根据该第三信息,确定将第一计算服务迁移到第一终端设备。Optionally, the second terminal device may also report relevant information of the first terminal device to the first network device, such as the identifier of the first terminal device, or the relationship between the first network device, the first terminal device and the second terminal device. so that the first network device migrates the first computing service to the first terminal device. Optionally, the relay relationship between the first network device, the first terminal device, and the second terminal device may also be reported by the first terminal device. In other words, the second terminal device or the first terminal device may send the third information to the first network device, where the third information is used to indicate the relay relationship between the first network device, the first terminal device and the second terminal device, The first network device may determine to migrate the first computing service to the first terminal device according to the third information.
或者,第一信息也可指示能够承载该第一计算服务的第一终端设备,例如该第一信息中可包括第一终端设备的标识。由于第一信息中直接指示了第一终端设备,因此,第二终 端设备不再需要通过基于终端设备的服务终端设备发现流程去发现第一终端设备,而是可以直接根据该第一信息的指示,与第一终端设备建立侧行链路连接。Alternatively, the first information may also indicate a first terminal device capable of bearing the first computing service, for example, the first information may include an identifier of the first terminal device. Since the first terminal device is directly indicated in the first information, the second terminal device no longer needs to discover the first terminal device through the terminal device-based service terminal device discovery process, but can directly find the first terminal device according to the indication of the first information , and establishes a side link connection with the first terminal device.
可选的,该第一信息还可指示迁移原因,例如过载、链路质量下降、系统级负载均衡目的。Optionally, the first information may also indicate a migration cause, such as overload, link quality degradation, and system-level load balancing purposes.
在另一种可能的实施方式中,第一网络设备确定第一计算服务需要进行迁移可包括:第二终端设备决策第一计算服务需要进行迁移,例如,基于网络指示决策迁移,或者在网络侧无法满足对应业务的KPI时决策迁移,然后第二终端设备可向第一网络设备发送第二信息,该第二信息指示第一计算服务需要进行迁移。进而,第一网络设备接收到来自第二终端设备的第二信息后,可确定第一计算服务需要进行迁移。可选的,该第二信息中可包括第一计算服务的服务标识。In another possible implementation manner, the first network device determining that the first computing service needs to be migrated may include: the second terminal device deciding that the first computing service needs to be migrated, for example, deciding to migrate based on a network indication, or at the network side When the KPI of the corresponding service cannot be met, the decision to migrate is made, and then the second terminal device may send second information to the first network device, where the second information indicates that the first computing service needs to be migrated. Furthermore, after receiving the second information from the second terminal device, the first network device may determine that the first computing service needs to be migrated. Optionally, the second information may include a service identifier of the first computing service.
在该实施方式中,第二终端设备还可执行基于终端设备的服务终端设备发现流程,发现第一终端设备,并与该第一终端设备建立侧行链路连接。可选的,第二终端设备还可向第一网络设备上报该第一终端设备的相关信息,例如第一终端设备的标识,或者第一网络设备、第一终端设备与第二终端设备之间的中继关系,以便第一网络设备将第一计算服务迁移到第一终端设备。可选的,第一网络设备、第一终端设备与第二终端设备之间的中继关系还可由第一终端设备上报。换句话说,第二终端设备或第一终端设备可向第一网络设备发送第三信息,该第三信息用于指示第一网络设备、第一终端设备与第二终端设备之间的中继关系,第一网络设备可根据该第三信息,确定将第一计算服务迁移到第一终端设备。In this embodiment, the second terminal device may also perform a terminal device-based service terminal device discovery process, discover the first terminal device, and establish a sidelink connection with the first terminal device. Optionally, the second terminal device may also report relevant information of the first terminal device to the first network device, such as the identifier of the first terminal device, or the relationship between the first network device, the first terminal device and the second terminal device. so that the first network device migrates the first computing service to the first terminal device. Optionally, the relay relationship between the first network device, the first terminal device, and the second terminal device may also be reported by the first terminal device. In other words, the second terminal device or the first terminal device may send the third information to the first network device, where the third information is used to indicate the relay between the first network device, the first terminal device and the second terminal device relationship, the first network device may determine to migrate the first computing service to the first terminal device according to the third information.
步骤S1802、第一网络设备向第一终端设备发送第六请求消息,该第六请求消息用于指示第一终端设备初始化第一计算服务。Step S1802: The first network device sends a sixth request message to the first terminal device, where the sixth request message is used to instruct the first terminal device to initialize the first computing service.
相应的,第一终端设备可接收来自第一网络设备的第六请求消息,并对该第一计算服务进行初始化。Correspondingly, the first terminal device may receive the sixth request message from the first network device, and initialize the first computing service.
所述第六请求消息中包括需要初始化的第一计算服务的相关信息,该第一计算服务的相关信息可包括第一计算服务的服务标识(service ID)、服务上下文(service context)和关联的LCH列表(associated LCH list)。The sixth request message includes the relevant information of the first computing service that needs to be initialized, and the relevant information of the first computing service may include the service ID (service ID), service context (service context) and associated information of the first computing service. LCH list (associated LCH list).
其中,第一计算服务的服务上下文可包括该第一计算服务的处理进度、中间数据等信息。第一计算服务关联的LCH列表可指示该第一计算服务在终端设备之间的通信接口上关联的一个或多个LCH,例如该LCH列表中可包括所述一个或多个LCH的逻辑信道标识(logical channel ID,LCID),表示该第一计算服务的数据通过该LCH列表中指示的一个或多个LCH传输。所述通信接口例如可以是具有侧行链路连接的两个终端设备之间的PC5接口。The service context of the first computing service may include information such as processing progress and intermediate data of the first computing service. The LCH list associated with the first computing service may indicate one or more LCHs associated with the first computing service on the communication interface between terminal devices, for example, the LCH list may include logical channel identifiers of the one or more LCHs (logical channel ID, LCID), indicating that the data of the first computing service is transmitted through one or more LCHs indicated in the LCH list. The communication interface may be, for example, a PC5 interface between two terminal devices with sidelink connections.
步骤S1803、第一终端设备向第一网络设备发送第六响应消息,该第六响应消息用于指示第一计算服务初始化完成。Step S1803: The first terminal device sends a sixth response message to the first network device, where the sixth response message is used to indicate that the initialization of the first computing service is completed.
相应的,第一网络设备可接收来自第一终端设备的第六响应消息。Correspondingly, the first network device may receive the sixth response message from the first terminal device.
可选的,第六响应消息中可包括初始化完成的第一计算服务的服务标识。Optionally, the sixth response message may include a service identifier of the initialized first computing service.
本申请实施例中,所述第六请求消息还可以称为服务初始化请求(service initialization request)消息,或具有其他名称,并不限定。相应的,所述第六响应消息还可以称为服务初始化响应(service initialization response)消息,或具有其他名称,并不限定。In this embodiment of the present application, the sixth request message may also be called a service initialization request (service initialization request) message, or has other names, which are not limited. Correspondingly, the sixth response message may also be called a service initialization response (service initialization response) message, or have other names, which are not limited.
步骤S1804、第一网络设备向第二终端设备发送第四配置消息,该第四配置消息用于重置第二终端设备的RRC连接,该第四配置消息中包括第一终端设备初始化完成的第一 计算服务的服务标识。Step S1804: The first network device sends a fourth configuration message to the second terminal device, where the fourth configuration message is used to reset the RRC connection of the second terminal device, and the fourth configuration message includes the first terminal device initialization completed. A service identifier for a computing service.
相应的,第二终端设备可接收来自第一网络设备的第四配置消息。Correspondingly, the second terminal device may receive the fourth configuration message from the first network device.
可选的,所述第四配置消息中还可包括第一计算服务关联的LCH列表,以便第二终端设备通过该LCH列表指示的一个或多个LCH,将该第一计算服务的数据发送给第一终端设备。Optionally, the fourth configuration message may further include an LCH list associated with the first computing service, so that the second terminal device sends the data of the first computing service to the LCH through one or more LCHs indicated by the LCH list. The first terminal device.
步骤S1805、第二终端设备将第一计算服务的数据传输途径切换为通过第一终端设备到第一网络设备的中继链路。Step S1805: The second terminal device switches the data transmission path of the first computing service to a relay link from the first terminal device to the first network device.
示例性地,如图19所示,第二终端设备可将第一计算服务的数据传输路径,由原来的通过第二终端设备与第一网络设备之间的上行链路和/或下行链路传输,切换到通过第二终端设备与第一终端设备之间的侧行链路以及第一终端设备与第一网络设备之间的上行链路和/或下行链路传输。换言之,第二终端设备可将第一计算服务的数据传输路径,由原来的通过第二终端设备与第一网络设备之间的通信接口(如Uu接口)传输,切换到通过第二终端设备与第一终端设备之间的通信接口(如PC5接口)以及第一终端设备与第一网络设备之间的通信接口(如Uu接口)传输。Exemplarily, as shown in FIG. 19 , the second terminal device may change the data transmission path of the first computing service from the original through the uplink and/or downlink between the second terminal device and the first network device. The transmission is switched to transmission via the sidelink between the second terminal device and the first terminal device and the uplink and/or downlink between the first terminal device and the first network device. In other words, the second terminal device can switch the data transmission path of the first computing service from the original transmission through the communication interface (such as the Uu interface) between the second terminal device and the first network device to the second terminal device and the first network device. The communication interface (such as the PC5 interface) between the first terminal devices and the communication interface (such as the Uu interface) between the first terminal device and the first network device are transmitted.
在切换数据传输路径之后,第一终端设备可从第一终端设备与第二终端设备之间的通信接口中该第一计算服务关联的LCH列表中指示的一个或多个LCH上,接收来自第二终端设备的数据,进而对所述数据进行处理,并将处理后的数据发送给第一网络设备。After switching the data transmission path, the first terminal device may receive data from the first terminal device from one or more LCHs indicated in the LCH list associated with the first computing service in the communication interface between the first terminal device and the second terminal device. The data of the second terminal device is further processed, and the processed data is sent to the first network device.
应注意,本申请实施例是以迁移第一计算服务为例进行描述的。在实际应用中,第一网络设备可以决策迁移一个或多个计算服务,并不限定。相应的,第六请求消息可以用于请求第一终端设备初始化一个或多个计算服务,第六响应消息也可以用于指示一个或多个计算服务初始化完成,第四配置消息可以包括第一终端设备初始化完成的一个或多个计算服务的相关信息。It should be noted that the embodiments of the present application are described by taking the migration of the first computing service as an example. In practical applications, the first network device may decide to migrate one or more computing services, which is not limited. Correspondingly, the sixth request message may be used to request the first terminal device to initialize one or more computing services, the sixth response message may also be used to indicate that the initialization of one or more computing services is completed, and the fourth configuration message may include the first terminal device. Information about one or more computing services for which device initialization is complete.
在一个具体示例中,如图20所示,在对第一计算服务进行迁移之前,第一计算服务承载在gNB上,C-UE可与gNB进行应用层的数据交互,通过C-UE与gNB之间的Uu接口传输该第一计算服务的数据。在步骤S2001中,C-UE可执行基于终端设备的S-UE发现流程,发现S-UE1,并与该S-UE1建立PC5接口的连接,即侧行链路连接。在步骤S2002中,如图中的虚线所示,C-UE或S-UE1可上报二者之间的中继关系。可选的,gNB可根据C-UE或S-UE1可上报二者之间的中继关系,决策将第一计算服务迁移到S-UE1承载。在步骤S2003中,gNB可向S-UE1发送服务初始化请求,该服务初始化请求中包括需要初始化的计算服务列表(或者说需要迁移的计算服务列表),该计算服务列表指示需要初始化的第一计算服务。示例性的,该计算服务列表中可包括需要初始化的第一计算服务的相关信息,例如第一计算服务的服务标识、服务上下文、关联的LCH列表等,所述关联的LCH列表用于指示传输第一计算服务的数据需要的一个或多个LCH。在步骤S2004中,S-UE1可向gNB发送服务初始化响应,该服务初始化响应中可包括初始化完成的计算服务列表,该计算服务列表指示初始化完成的第一计算服务,例如包括初始化完成的第一计算服务的服务标识。可选的,在第一终端设备初始化完成第一计算服务后,第一终端设备可接收来自第一网络设备的该第一计算服务的中间数据层数据(intermediate application data)。后续在步骤S2005中,gNB可向C-UE发送RRC重配置消息,该RRC重配置消息中包括S-UE1初始化完成的第一计算服务的服务标识以及第一计算服务关联的LCH列表。在步骤S2006中,C-UE可对第一计算服务的数据传输路径进行切换,由原来的C-UE与gNB之 间的上下行链路切换为C-UE与S-UE1之间的侧行链路和S-UE1与gNB之间的上下行链路。此后,C-UE可通过S-UE1的中继与gNB进行应用层的数据交互。In a specific example, as shown in FIG. 20 , before the first computing service is migrated, the first computing service is carried on the gNB, and the C-UE can perform data interaction at the application layer with the gNB, and communicate with the gNB through the C-UE. The Uu interface between them transmits the data of the first computing service. In step S2001, the C-UE can perform a terminal device-based S-UE discovery process, discover the S-UE1, and establish a PC5 interface connection with the S-UE1, that is, a sidelink connection. In step S2002, as shown by the dotted line in the figure, the C-UE or the S-UE1 can report the relay relationship between them. Optionally, the gNB may decide to migrate the first computing service to the S-UE1 bearer according to the relay relationship between the C-UE and the S-UE1 that can be reported. In step S2003, the gNB may send a service initialization request to S-UE1, where the service initialization request includes a list of computing services that need to be initialized (or a list of computing services that need to be migrated), and the list of computing services indicates the first computing service that needs to be initialized Serve. Exemplarily, the computing service list may include information related to the first computing service that needs to be initialized, such as a service identifier of the first computing service, a service context, an associated LCH list, etc., where the associated LCH list is used to indicate transmission. One or more LCHs required for the data of the first computing service. In step S2004, the S-UE1 may send a service initialization response to the gNB, where the service initialization response may include a list of computing services that have been initialized, and the computing service list indicates the first computing services that have been initialized, for example, including the first computing services that have been initialized. The service ID of the compute service. Optionally, after the first terminal device initializes and completes the first computing service, the first terminal device may receive intermediate data layer data (intermediate application data) of the first computing service from the first network device. Subsequently in step S2005, the gNB may send an RRC reconfiguration message to the C-UE, where the RRC reconfiguration message includes the service identifier of the first computing service initialized by the S-UE1 and the LCH list associated with the first computing service. In step S2006, the C-UE can switch the data transmission path of the first computing service, from the original uplink and downlink between the C-UE and the gNB to the side link between the C-UE and the S-UE1 link and uplink and downlink between S-UE1 and gNB. After that, the C-UE can perform data interaction at the application layer with the gNB through the relay of the S-UE1.
通过上述技术方案,在中继场景下,可将网络侧中的计算任务迁移到中继终端设备承载,从而有效降低网络侧的计算负载,扩展系统的计算容量。Through the above technical solutions, in the relay scenario, the computing tasks on the network side can be migrated to the relay terminal equipment, thereby effectively reducing the computing load on the network side and expanding the computing capacity of the system.
请参考图21,本申请实施例还提供一种基于双连接(dual connectivity,DC)的计算服务发现与分配方法,该方法包括:Please refer to FIG. 21 , an embodiment of the present application further provides a dual connectivity (DC)-based computing service discovery and allocation method, the method includes:
步骤S2101、第二终端设备向第一网络设备发送第七请求消息,该第七请求消息中包括计算服务请求信息,该计算服务请求信息用于请求第一计算服务。Step S2101: The second terminal device sends a seventh request message to the first network device, where the seventh request message includes computing service request information, where the computing service request information is used to request the first computing service.
相应的,第一网络设备可接收来自第二终端设备的第七请求消息。Correspondingly, the first network device may receive the seventh request message from the second terminal device.
在本申请实施例中,第二终端设备是客户终端设备,第一网络设备和第二网络设备是无线接入网设备,例如基站,且第二终端设备接入第一网络设备,或者说第一网络设备是第二终端设备的服务无线接入网设备或服务节点。In this embodiment of the present application, the second terminal device is a client terminal device, the first network device and the second network device are wireless access network devices, such as base stations, and the second terminal device accesses the first network device, or the first network device A network device is a serving radio access network device or serving node of the second terminal device.
所述计算服务请求信息中包括请求的第一计算服务相关的一项或多项信息,例如服务标识、服务类型、服务状态类型、硬件需求、完成指标等。关于计算服务请求信息的说明请参考上文中的相关描述,在此不再赘述。The computing service request information includes one or more pieces of information related to the requested first computing service, such as service identifiers, service types, service status types, hardware requirements, completion indicators, and the like. For the description of the computing service request information, please refer to the relevant description above, and details are not repeated here.
步骤S2102、第一网络设备确定不支持第一计算服务。Step S2102, the first network device determines that the first computing service is not supported.
在本申请实施例中,第一网络设备确定不支持第一计算服务可以是指,第一网络设备不支持第一计算服务的服务类型,或者说第一网络设备支持的服务类型中不包括第一计算服务的服务类型,因此第一网络设备无法为第二终端设备提供该第一计算服务。In this embodiment of the present application, determining that the first network device does not support the first computing service may mean that the first network device does not support the service type of the first computing service, or that the service type supported by the first network device does not include the first computing service. A service type of a computing service, so the first network device cannot provide the first computing service for the second terminal device.
步骤S2103、第一网络设备向第二网络设备发送第八请求消息,该第八请求消息中包括所述计算服务请求信息。Step S2103: The first network device sends an eighth request message to the second network device, where the eighth request message includes the computing service request information.
相应的,第二网络设备可接收来自第一网络设备的第八请求消息。Correspondingly, the second network device may receive the eighth request message from the first network device.
步骤S2104、第二网络设备对第一计算服务进行准入控制。Step S2104, the second network device performs admission control on the first computing service.
在本申请实施例中,第二网络设备可基于自身支持的服务类型、自身的硬件条件、当前的负载情况、第一计算服务的相关信息等多种可能的因素,来对第一计算服务进行准入控制。本申请对第二网络设备进行准入控制的判断过程不作具体限定。In this embodiment of the present application, the second network device may perform the first computing service based on a variety of possible factors, such as the type of service it supports, its own hardware conditions, the current load situation, and related information of the first computing service. admission control. This application does not specifically limit the judgment process of the admission control performed by the second network device.
步骤S2105、若第二网络设备接受该第一计算服务,则第二网络设备可向第一网络设备发送第八响应消息,该第八响应消息中包括计算服务接受信息,该计算服务接受信息用于指示第二网络设备接受该第一计算服务。Step S2105: If the second network device accepts the first computing service, the second network device may send an eighth response message to the first network device, where the eighth response message includes computing service acceptance information, and the computing service acceptance information is used for instructing the second network device to accept the first computing service.
相应的,第一网络设备可接收来自第二网络设备的第八响应消息。Correspondingly, the first network device may receive the eighth response message from the second network device.
所述计算服务接受信息可包括第二网络设备接受的该第一计算服务的服务标识。The computing service acceptance information may include a service identifier of the first computing service accepted by the second network device.
可以理解,第二网络设备接受该第一计算服务表示,第二网络设备支持第一计算服务的服务类型,并有能力对外提供第一计算服务。It can be understood that accepting the first computing service by the second network device means that the second network device supports the service type of the first computing service and is capable of providing the first computing service externally.
步骤S2106、第一网络设备向第二终端设备发送第七响应消息,该第七响应消息中包括所述计算服务接受信息。Step S2106: The first network device sends a seventh response message to the second terminal device, where the seventh response message includes the computing service acceptance information.
相应的,第二终端设备可接收来自第一网络设备的第七响应消息。Correspondingly, the second terminal device may receive the seventh response message from the first network device.
在本申请实施例中,第七请求消息也可以称为计算服务请求消息或具有其他名称,并不限定,相应的,第七响应消息也可以称为计算服务响应消息或具有其他名称,也不限定。类似的,第八请求消息也可以称为计算服务请求消息或具有其他名称,并不限定,相应的, 第八响应消息也可以称为计算服务响应消息或具有其他名称,也不限定。应理解,即使第七请求消息与第八请求消息的名称相同,但是它们仍是不同条消息,即是两条消息,但是二者的内容可以相同,表示第一网络设备对从第二终端设备处接收到的内容进行了数据转发。第七响应消息与第八响应消息也是如此,不再赘述。In this embodiment of the present application, the seventh request message may also be called a computing service request message or have other names, which is not limited. Correspondingly, the seventh response message may also be called a computing service response message or have other names, and neither limited. Similarly, the eighth request message may also be called a computing service request message or have other names, which are not limited, and correspondingly, the eighth response message may also be called a computing service response message or have other names, which are also not limited. It should be understood that even though the seventh request message and the eighth request message have the same names, they are still different messages, that is, two messages, but the contents of the two may be the same, indicating that the first network device is not interested in the second terminal device. The received content is forwarded. The same is true for the seventh response message and the eighth response message, and details are not repeated here.
步骤S2107、第二终端设备通过双连接的方式连接第一网络设备和第二网络设备,其中第一网络设备是主无线接入网络设备,第二网络设备是辅无线接入网设备。Step S2107, the second terminal device connects the first network device and the second network device in a dual connection manner, wherein the first network device is the primary wireless access network device, and the second network device is the secondary wireless access network device.
或者说,第一网络设备是第二终端设备接入的主节点,第二网络设备是第二终端设备接入的辅节点。In other words, the first network device is a master node accessed by the second terminal device, and the second network device is a secondary node accessed by the second terminal device.
此后,第二终端设备可通过双连接的方式从第二网络设备获取第一计算服务,与第二网络设备进行应用层的数据交互。Thereafter, the second terminal device can obtain the first computing service from the second network device in a dual connection manner, and perform data interaction at the application layer with the second network device.
本申请实施例还提供一种通信装置,请参考图22,为本申请实施例提供的一种通信装置的结构示意图,该通信装置2200包括:收发模块2210和处理模块2220。An embodiment of the present application further provides a communication device. Please refer to FIG. 22 , which is a schematic structural diagram of a communication device provided by an embodiment of the present application. The communication device 2200 includes a transceiver module 2210 and a processing module 2220 .
在一个实施例中,该通信装置可用于实现上述任一方法实施例中涉及第一终端设备或第二终端设备的功能。例如,该通信装置可以是终端设备,例如手持终端设备或车载终端设备;该通信装置还可以是终端设备中包括的芯片或者电路,或者包括终端设备的装置,如各种类型的车辆等。In one embodiment, the communication apparatus may be used to implement the functions related to the first terminal device or the second terminal device in any of the foregoing method embodiments. For example, the communication device may be a terminal device, such as a handheld terminal device or a vehicle-mounted terminal device; the communication device may also be a chip or circuit included in the terminal device, or a device including the terminal device, such as various types of vehicles.
示例性的,当该通信装置执行图4所示的方法实施例中对应第一终端设备的操作或者步骤时,收发模块2210用于接收来自第二终端设备的第一请求消息,该第一请求消息中包括计算服务请求信息,该计算服务请求信息用于请求第一计算服务;处理模块2220用于,根据自身的负载情况和所述计算服务请求信息,对第一计算服务进行准入控制;若该通信装置接受第一计算服务,则收发模块2210还用于,向第二终端设备发送第一响应消息,该第一响应消息中包括计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。Exemplarily, when the communication apparatus performs the operations or steps corresponding to the first terminal device in the method embodiment shown in FIG. 4 , the transceiver module 2210 is configured to receive a first request message from the second terminal device, the first request The message includes computing service request information, and the computing service request information is used to request the first computing service; the processing module 2220 is configured to perform admission control on the first computing service according to its own load situation and the computing service request information; If the communication device accepts the first computing service, the transceiver module 2210 is further configured to send a first response message to the second terminal device, where the first response message includes computing service acceptance information, and the computing service acceptance information indicates that the first terminal is The device accepts the first computing service.
在一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
在一种可能的设计中,所述硬件需求包括对下列一项或多项参数的需求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In one possible design, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
在一种可能的设计中,收发模块2210还用于,广播自身支持的服务类型,或者广播自身的计算能力信息,或者向第一网络设备发送自身的计算能力信息。In a possible design, the transceiver module 2210 is further configured to broadcast the service type supported by itself, or broadcast its own computing capability information, or send its own computing capability information to the first network device.
在一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。In a possible design, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在一种可能的设计中,收发模块2210还用于,接收第二终端设备广播的第二终端设备需求的服务类型;以及,向第二终端设备发送响应消息,该响应消息指示该通信装置支持第二终端设备需求的服务类型。In a possible design, the transceiver module 2210 is further configured to receive the service type required by the second terminal equipment broadcast by the second terminal equipment; and send a response message to the second terminal equipment, where the response message indicates that the communication apparatus supports The service type required by the second terminal device.
在一种可能的设计中,处理模块2220还用于,与第二终端设备建立侧行链路连接,该通信装置用于提供第二终端设备与第一网络设备之间的数据转发服务;收发模块2210还用于,接收来自第二终端设备的第一配置消息,该第一配置消息用于重配置该通信装置与第二终端设备之间的侧行链路连接,该第一配置消息中包括该通信装置与第二终端设备 之间的通信接口上的各个逻辑信道LCH对应的处理指示信息,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理;收发模块2210用于,向第二终端设备发送第一配置完成消息。In a possible design, the processing module 2220 is further configured to establish a sidelink connection with the second terminal device, and the communication apparatus is configured to provide a data forwarding service between the second terminal device and the first network device; The module 2210 is further configured to receive a first configuration message from the second terminal device, where the first configuration message is used to reconfigure the side link connection between the communication apparatus and the second terminal device, in the first configuration message Including processing instruction information corresponding to each logical channel LCH on the communication interface between the communication device and the second terminal equipment, the processing instruction information is used to indicate whether the data received from the corresponding LCH needs to be subjected to intermediate processing; the transceiver module 2210 uses and sending a first configuration complete message to the second terminal device.
在一种可能的设计中,该通信装置用于提供第二终端设备与第一网络设备之间的数据转发服务;收发模块2210还用于,接收来自第一网络设备的第二配置消息,该第二配置消息用于重配置该通信装置的无线资源控制RRC连接,该第二配置消息中包括第二终端设备的标识、该通信装置与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息以及第一指示信息;其中,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,该第一指示信息用于指示所述各个LCH与该通信装置与第一网络设备之间的通信接口上的各个数据无线承载DRB之间的映射关系。In a possible design, the communication apparatus is configured to provide a data forwarding service between the second terminal device and the first network device; the transceiver module 2210 is further configured to receive a second configuration message from the first network device, the The second configuration message is used to reconfigure the radio resource control RRC connection of the communication device, and the second configuration message includes the identifier of the second terminal device and each logical channel on the communication interface between the communication device and the second terminal device Processing indication information and first indication information corresponding to the LCH; wherein, the processing indication information is used to indicate whether intermediate processing is required for the data received from the corresponding LCH, and the first indication information is used to indicate the respective LCHs and the communication device. The mapping relationship between each data radio bearer DRB on the communication interface with the first network device.
当该通信装置执行图4所示的方法实施例中对应第二终端设备的操作或者步骤时,收发模块2210用于,向第一终端设备发送第一请求消息,该第一请求消息中包括计算服务请求信息,该计算服务请求信息用于请求第一计算服务;以及,接收来自第一终端设备的第一响应消息,该第一响应消息中包括计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。When the communication apparatus executes the operation or step corresponding to the second terminal device in the method embodiment shown in FIG. 4 , the transceiver module 2210 is configured to send a first request message to the first terminal device, where the first request message includes computing service request information, the computing service request information is used to request a first computing service; and receiving a first response message from the first terminal device, the first response message includes computing service acceptance information, the computing service acceptance information indicates the first A terminal device accepts the first computing service.
在一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
在一种可能的设计中,所述硬件需求包括对下列一项或多项参数的需求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In one possible design, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
在一种可能的设计中,收发模块2210还用于,接收第一终端设备广播的第一终端设备支持的服务类型,若第一终端设备支持第一计算服务的服务类型,则处理模块2220用于,确定向第一终端设备请求第一计算服务;或者,收发模块2210还用于,接收第一终端设备广播的第一终端设备的计算能力信息,处理模块2220还用于,根据该计算能力信息,确定向第一终端设备请求第一计算服务。In a possible design, the transceiver module 2210 is further configured to receive the service type supported by the first terminal device broadcast by the first terminal device. If the first terminal device supports the service type of the first computing service, the processing module 2220 uses Then, determine to request the first computing service from the first terminal device; or, the transceiver module 2210 is further configured to receive the computing capability information of the first terminal device broadcasted by the first terminal device, and the processing module 2220 is further configured to, according to the computing capability information, determine to request the first computing service from the first terminal device.
在一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。In a possible design, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在一种可能的设计中,收发模块2210还用于,广播该通信装置需求的服务类型;以及接收来自第一终端设备的响应消息,该响应消息指示第一终端设备支持该通信装置需求的服务类型。In a possible design, the transceiver module 2210 is further configured to broadcast the service type required by the communication device; and receive a response message from the first terminal device, the response message indicating that the first terminal device supports the service required by the communication device type.
在一种可能的设计中,处理模块2220还用于,与第一终端设备建立侧行链路连接,该第一终端设备用于提供该通信装置与第一网络设备之间的数据转发服务;收发模块2210还用于,向第一终端设备发送第一配置消息,该第一配置消息用于重配置第一终端设备与该通信装置之间的侧行链路连接,该第一配置消息中包括第一终端设备与该通信装置之间的通信接口上的各个逻辑信道LCH对应的处理指示信息,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理;收发模块2210还用于,接收来自第一终端设备的第一配置完成消息。In a possible design, the processing module 2220 is further configured to establish a sidelink connection with the first terminal device, where the first terminal device is configured to provide a data forwarding service between the communication apparatus and the first network device; The transceiver module 2210 is further configured to send a first configuration message to the first terminal device, where the first configuration message is used to reconfigure the side link connection between the first terminal device and the communication apparatus, and the first configuration message contains Including processing indication information corresponding to each logical channel LCH on the communication interface between the first terminal equipment and the communication device, the processing indication information is used to indicate whether intermediate processing is required for the data received from the corresponding LCH; the transceiver module 2210 also is used to receive a first configuration complete message from the first terminal device.
在一种可能的设计中,收发模块2210还用于,向第一网络设备发送第二请求消息,该第二请求消息中包括计算服务需求信息,该计算服务需求信息指示该通信装置需求的服务类型;收发模块2210还用于,接收来自第一网络设备的第二响应消息,该第二响应消 息中包括计算服务响应信息,该计算服务响应信息指示支持该通信装置需求的服务类型的第一终端设备。In a possible design, the transceiver module 2210 is further configured to send a second request message to the first network device, where the second request message includes computing service requirement information, where the computing service requirement information indicates a service required by the communication device The transceiver module 2210 is further configured to receive a second response message from the first network device, where the second response message includes computing service response information, the computing service response information indicating a first service type that supports the requirements of the communication device Terminal Equipment.
在一种可能的设计中,收发模块2210还用于,从第一网络设备接收第三配置消息,该第三配置消息用于配置第一终端设备与该通信装置之间的侧行链路连接,该第一终端设备提供该通信装置与第一网络设备之间的数据转发服务,该第三配置消息中包括第一终端设备的标识和第二指示信息,该第二指示信息用于指示该通信装置将需要进行中间处理的数据发送到第一终端设备与该通信装置之间的通信接口上指定的一个或多个LCH上。In a possible design, the transceiver module 2210 is further configured to receive a third configuration message from the first network device, where the third configuration message is used to configure a sidelink connection between the first terminal device and the communication apparatus , the first terminal device provides a data forwarding service between the communication device and the first network device, and the third configuration message includes the identifier of the first terminal device and second indication information, where the second indication information is used to indicate the The communication apparatus sends the data that needs to be subjected to intermediate processing to one or more LCHs designated on the communication interface between the first terminal equipment and the communication apparatus.
当该通信装置执行图8所示的方法实施例中对应第一网络设备的操作或者步骤时,收发模块2210用于,接收来自第二终端设备的第二请求消息,该第二请求消息中包括计算服务需求信息,该计算服务需求信息指示第二终端设备需求的服务类型;处理模块2220用于,确定支持第二终端设备需求的服务类型的第一终端设备;收发模块2210还用于,向第二终端设备发送第二响应消息,该第二响应消息中包括计算服务响应信息,该计算服务响应消息指示支持第二终端设备需求的服务类型的第一终端设备。When the communication apparatus performs the operation or step corresponding to the first network device in the method embodiment shown in FIG. 8 , the transceiver module 2210 is configured to receive a second request message from the second terminal device, where the second request message includes Calculate service demand information, where the calculation service demand information indicates the service type required by the second terminal device; the processing module 2220 is used to determine the first terminal device that supports the service type required by the second terminal device; the transceiver module 2210 is also used to send The second terminal device sends a second response message, where the second response message includes computing service response information, and the computing service response message indicates the first terminal device that supports the service type required by the second terminal device.
在一种可能的设计中,处理模块2220具体用于,根据获取到的M个服务终端设备的计算能力信息,从所述M个服务终端设备中确定支持第二终端设备需求的服务类型的第一终端设备。In a possible design, the processing module 2220 is specifically configured to, according to the acquired computing capability information of the M service terminal devices, determine, from the M service terminal devices, the first service type that supports the requirements of the second terminal device. a terminal device.
在一种可能的设计中,收发模块2210还用于,接收来自第一终端设备的计算能力信息。In a possible design, the transceiver module 2210 is further configured to receive computing capability information from the first terminal device.
在一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。In a possible design, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在一种可能的设计中,若所述M个服务终端设备均不支持第二终端设备需求的服务类型,则收发模块2210还用于,向第二网络设备发送第三请求消息,该第三请求消息中包括所述计算服务需求信息,该通信装置和第二网络设备均为接入网设备;收发模块2210还用于,接收来自第二网络设备的第三响应消息,该第三响应消息中包括所述计算服务响应信息。In a possible design, if none of the M service terminal devices supports the service type required by the second terminal device, the transceiver module 2210 is further configured to send a third request message to the second network device, the third The request message includes the computing service requirement information, the communication device and the second network device are both access network devices; the transceiver module 2210 is further configured to receive a third response message from the second network device, the third response message including the computing service response information.
在一种可能的设计中,第一终端设备提供第二终端设备与该通信装置之间的数据转发服务;收发模块2210还用于,向第一终端设备发送第二配置消息,该第二配置消息用于重配置第一终端设备的无线资源控制RRC连接,该第二配置消息中包括第二终端设备的标识、第一终端设备与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息以及第一指示信息;其中,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,该第一指示信息用于指示所述各个LCH与第一终端设备与该通信装置之间的通信接口上的各个数据无线承载DRB之间的映射关系;收发模块2210还用于,向第二终端设备发送第三配置消息,该第三配置消息用于配置第一终端设备与第二终端设备之间的侧行链路连接,该第三配置消息中包括第一终端设备的标识和第二指示信息,该第二指示信息用于指示第二终端设备将需要进行中间处理的数据发送到第一终端设备与第二终端设备之间的通信接口上指定的一个或多个LCH上。In a possible design, the first terminal device provides a data forwarding service between the second terminal device and the communication device; the transceiver module 2210 is further configured to send a second configuration message to the first terminal device, the second configuration The message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device, and each logical channel LCH on the communication interface between the first terminal device and the second terminal device. Corresponding processing indication information and first indication information; wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate that each LCH and the first terminal equipment The mapping relationship between each data radio bearer DRB on the communication interface with the communication device; the transceiver module 2210 is further configured to send a third configuration message to the second terminal device, where the third configuration message is used to configure the first A sidelink connection between the terminal device and the second terminal device, the third configuration message includes the identifier of the first terminal device and second indication information, and the second indication information is used to indicate that the second terminal device will The intermediately processed data is sent to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
当该通信装置执行图11所示的方法实施例中对应第一终端设备的操作或者步骤时,收发模块2210用于,接收来自第一网络设备的第四请求消息,该第四请求消息中包括第二终端设备的标识和计算服务请求信息,该计算服务请求信息用于请求第一计算服务;处理模块2220用于,根据自身的负载情况和所述计算服务请求信息,对第一计算服务进行准 入控制;若该通信装置接受第一计算服务,则收发模块2210还用于,向第一网络设备发送第四响应消息,该第四响应消息中包括计算服务接受信息,该计算服务接受信息指示该通信装置接受第一计算服务。When the communication apparatus performs the operation or step corresponding to the first terminal device in the method embodiment shown in FIG. 11 , the transceiver module 2210 is configured to receive a fourth request message from the first network device, where the fourth request message includes The identifier of the second terminal device and the computing service request information, the computing service request information is used to request the first computing service; the processing module 2220 is configured to, according to its own load situation and the computing service request information, perform the processing on the first computing service. Admission control; if the communication device accepts the first computing service, the transceiver module 2210 is further configured to send a fourth response message to the first network device, where the fourth response message includes computing service acceptance information, and the computing service acceptance information The communication device is instructed to accept the first computing service.
在一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
在一种可能的设计中,所述硬件需求包括对下列一项或多项参数的需求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In one possible design, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
在一种可能的设计中,如果该通信装置处于无线资源控制RRC_非激活态或RRC_空闲态,则第四请求消息中还包括寻呼信息,该寻呼信息用于寻呼该通信装置,该第四响应消息还用于恢复或重建立该通信装置的RRC连接。In a possible design, if the communication device is in the RRC_inactive state or the RRC_idle state, the fourth request message further includes paging information, where the paging information is used to page the communication device , the fourth response message is also used to restore or re-establish the RRC connection of the communication device.
在一种可能的设计中,收发模块2210还用于,向第一网络设备发送自身的计算能力信息。In a possible design, the transceiver module 2210 is further configured to send its own computing capability information to the first network device.
在一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。In a possible design, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在一种可能的设计中,该通信装置提供第二终端设备与第一网络设备之间的数据转发服务;收发模块2210还用于,接收来自第一网络设备的第二配置消息,该第二配置消息用于重配置该通信装置的无线资源控制RRC连接,该第二配置消息中包括第二终端设备的标识、该通信装置与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息以及第一指示信息;其中,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,该第一指示信息用于指示所述各个LCH与该通信装置与第一网络设备之间的通信接口上的各个数据无线承载DRB之间的映射关系。In a possible design, the communication apparatus provides a data forwarding service between the second terminal device and the first network device; the transceiver module 2210 is further configured to receive a second configuration message from the first network device, the second The configuration message is used to reconfigure the radio resource control RRC connection of the communication device, and the second configuration message includes the identifier of the second terminal device, the corresponding LCH of each logical channel on the communication interface between the communication device and the second terminal device The processing indication information and the first indication information; wherein, the processing indication information is used to indicate whether intermediate processing is required for the data received from the corresponding LCH, and the first indication information is used to indicate the respective LCHs and the communication device and the first indication information. A mapping relationship between each data radio bearer DRB on a communication interface between network devices.
当该通信装置执行图11所示的方法实施例中对应第一网络设备的操作或者步骤时,收发模块2210用于,向第一终端设备发送第四请求消息,该第四请求消息中包括第二终端设备的标识和计算服务请求信息,该计算服务请求信息用于请求第一计算服务;以及接收来自第一终端设备的第四响应消息,该第四响应消息中包括计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。When the communication apparatus performs the operation or step corresponding to the first network device in the method embodiment shown in FIG. 11 , the transceiver module 2210 is configured to send a fourth request message to the first terminal device, where the fourth request message includes the first The identification of the second terminal device and the computing service request information, the computing service request information is used to request the first computing service; and receiving a fourth response message from the first terminal device, the fourth response message includes computing service acceptance information, the The computing service acceptance information indicates that the first terminal device accepts the first computing service.
在一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
在一种可能的设计中,所述硬件需求包括对下列一项或多项参数的要求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In one possible design, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
在一种可能的设计中,收发模块2210还用于,接收来自第二终端设备的第五请求消息,该第五请求消息中包括第二终端设备的标识、所述计算服务请求信息以及服务终端设备列表,该服务终端设备列表指示第二终端设备附近的M个服务终端设备,该第五请求消息用于请求第一计算服务,M为正整数;处理模块2220还用于,从所述M个服务终端设备中,确定支持第一计算服务的服务类型的第一终端设备。In a possible design, the transceiver module 2210 is further configured to receive a fifth request message from the second terminal device, where the fifth request message includes the identifier of the second terminal device, the computing service request information and the service terminal a device list, where the service terminal device list indicates M service terminal devices near the second terminal device, the fifth request message is used to request the first computing service, and M is a positive integer; the processing module 2220 is further configured to, from the M Among the service terminal devices, a first terminal device of a service type that supports the first computing service is determined.
在一种可能的设计中,收发模块2210还用于,接收来自第一终端设备的计算能力信息。In a possible design, the transceiver module 2210 is further configured to receive computing capability information from the first terminal device.
在一种可能的设计中,所述计算能力信息包括支持的服务类型、硬件参数信息和当前 的计算负载。In one possible design, the computing capability information includes supported service types, hardware parameter information, and current computing load.
在一种可能的设计中,若所述M个服务终端设备均不支持第一计算服务的服务类型,则收发模块2210还用于,向第二网络设备发送第六请求消息,该第六请求消息中包括第二终端设备的标识和所述计算服务请求信息,该第六请求消息用于向第二网络设备请求第一计算服务,该通信装置和第二网络设备均为接入网设备;收发模块2210还用于,接收来自第二网络设备的第六响应消息,该第六响应消息中包括计算服务响应信息,该计算服务响应信息指示支持第一计算服务的服务类型的第一终端设备。In a possible design, if none of the M service terminal devices supports the service type of the first computing service, the transceiver module 2210 is further configured to send a sixth request message to the second network device, the sixth request message The message includes the identifier of the second terminal device and the computing service request information, and the sixth request message is used to request the first computing service from the second network device, and the communication device and the second network device are both access network devices; The transceiver module 2210 is further configured to receive a sixth response message from the second network device, where the sixth response message includes computing service response information, where the computing service response information indicates the first terminal device that supports the service type of the first computing service .
在一种可能的设计中,如果第一终端设备处于无线资源控制RRC_非激活态或RRC_空闲态,则第四请求消息中还包括寻呼信息,该寻呼信息用于寻呼第一终端设备;第四响应消息还用于恢复或重建立第一终端设备的RRC连接。In a possible design, if the first terminal device is in the RRC_inactive state or the RRC_idle state, the fourth request message further includes paging information, where the paging information is used to page the first terminal device terminal equipment; the fourth response message is also used to restore or re-establish the RRC connection of the first terminal equipment.
在一种可能的设计中,收发模块2210还用于,向第二终端设备发送第五响应消息,该第五响应消息中包括第一终端设备的标识和计算服务接受信息。In a possible design, the transceiver module 2210 is further configured to send a fifth response message to the second terminal device, where the fifth response message includes the identifier of the first terminal device and the computing service acceptance information.
在一种可能的设计中,第一终端设备提供第二终端设备与该通信装置之间的数据转发服务;收发模块2210还用于,向第一终端设备发送第二配置消息,该第二配置消息用于重配置第一终端设备的无线资源控制RRC连接,该第二配置消息中包括第二终端设备的标识、第一终端设备与第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息以及第一指示信息;其中,该处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,该第一指示信息用于指示所述各个LCH与第一终端设备与该通信装置之间的通信接口上的各个数据无线承载DRB之间的映射关系;收发模块2210还用于,向第二终端设备发送第三配置消息,该第三配置消息用于配置第一终端设备与第二终端设备之间的侧行链路连接,该第三配置消息中包括第一终端设备的标识和第二指示信息,该第二指示信息用于指示第二终端设备将需要进行中间处理的数据发送到第一终端设备与第二终端设备之间的通信接口上指定的一个或多个LCH上。In a possible design, the first terminal device provides a data forwarding service between the second terminal device and the communication device; the transceiver module 2210 is further configured to send a second configuration message to the first terminal device, the second configuration The message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes the identifier of the second terminal device, and each logical channel LCH on the communication interface between the first terminal device and the second terminal device. Corresponding processing indication information and first indication information; wherein, the processing indication information is used to indicate whether intermediate processing is required for data received from the corresponding LCH, and the first indication information is used to indicate that each LCH and the first terminal equipment The mapping relationship between each data radio bearer DRB on the communication interface with the communication device; the transceiver module 2210 is further configured to send a third configuration message to the second terminal device, where the third configuration message is used to configure the first The side link connection between the terminal device and the second terminal device, the third configuration message includes the identifier of the first terminal device and the second indication information, the second indication information is used to indicate that the second terminal device will need to perform The intermediately processed data is sent to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
当该通信装置执行图12所示的方法实施例中对应第二终端设备的操作或者步骤时,收发模块2210用于,向第一网络设备发送第五请求消息,该第五请求消息中包括该通信装置的标识、计算服务请求信息以及服务终端设备列表,该服务终端设备列表指示该通信装置附近的M个服务终端设备,所述第五请求消息用于请求第一计算服务,M为正整数;收发模块2210还用于,接收来自第一网络设备的第五响应消息,该第五响应消息中包括第一终端设备的标识和计算服务接受信息,该计算服务接受信息指示第一终端设备接受第一计算服务。When the communication apparatus performs the operation or step corresponding to the second terminal device in the method embodiment shown in FIG. 12 , the transceiver module 2210 is configured to send a fifth request message to the first network device, where the fifth request message includes the The identification of the communication device, the computing service request information, and the service terminal device list, the service terminal device list indicates M service terminal devices near the communication device, the fifth request message is used to request the first computing service, and M is a positive integer The transceiver module 2210 is further configured to receive the fifth response message from the first network device, the fifth response message includes the identification of the first terminal device and the computing service acceptance information, and the computing service acceptance information indicates that the first terminal device accepts the First Computing Service.
在一种可能的设计中,所述计算服务请求信息包括第一计算服务的下列一项或多项信息:服务标识、服务类型、服务状态类型、硬件需求、完成指标。In a possible design, the computing service request information includes one or more of the following information of the first computing service: service identifier, service type, service status type, hardware requirement, and completion index.
在一种可能的设计中,所述硬件需求包括对下列一项或多项参数的需求:吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。In one possible design, the hardware requirements include requirements for one or more of the following parameters: throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency , CPU execution time, how many million fixed-point instructions are executed per second, MIPS, and the number of floating-point operations executed per second, FLOPS.
在一种可能的设计中,收发模块2210还用于,从第一网络设备接收第三配置消息,该第三配置消息用于配置第一终端设备与该通信装置之间的侧行链路连接,该第一终端设备提供该通信装置与第一网络设备之间的数据转发服务,该第三配置消息中包括第一终端设备的标识和第二指示信息,该第二指示信息用于指示该通信装置将需要进行中间处理的数据发送到第一终端设备与该通信装置之间的通信接口上指定的一个或多个LCH上。In a possible design, the transceiver module 2210 is further configured to receive a third configuration message from the first network device, where the third configuration message is used to configure a sidelink connection between the first terminal device and the communication apparatus , the first terminal device provides a data forwarding service between the communication device and the first network device, and the third configuration message includes the identifier of the first terminal device and second indication information, where the second indication information is used to indicate the The communication apparatus sends the data that needs to be subjected to intermediate processing to one or more LCHs designated on the communication interface between the first terminal equipment and the communication apparatus.
当该通信装置执行图18所示的方法实施例中对应第一网络设备的操作或者步骤时,处理模块2220用于,确定第一计算服务需要进行迁移,该第一计算服务为第二终端设备请求的计算服务;收发模块2210用于,向第一终端设备发送第六请求消息,该第六请求消息用于指示第一终端设备初始化第一计算服务;收发模块2210还用于,接收来自第一终端设备的第六响应消息,该第六响应消息用于指示第一计算服务初始化完成;收发模块2210还用于,向第二终端设备发送第四配置消息,该第四配置消息用于重配置第二终端设备的无线资源控制RRC连接,该第四配置消息中包括第一终端设备初始化完成的第一计算服务的服务标识。When the communication apparatus performs the operation or step corresponding to the first network device in the method embodiment shown in FIG. 18 , the processing module 2220 is configured to determine that the first computing service needs to be migrated, and the first computing service is the second terminal device the requested computing service; the transceiver module 2210 is configured to send a sixth request message to the first terminal device, where the sixth request message is used to instruct the first terminal device to initialize the first computing service; the transceiver module 2210 is further configured to receive data from the first terminal device A sixth response message from the terminal device, the sixth response message is used to indicate that the initialization of the first computing service is completed; the transceiver module 2210 is further configured to send a fourth configuration message to the second terminal device, where the fourth configuration message is used to re-configure The radio resource control RRC connection of the second terminal device is configured, and the fourth configuration message includes the service identifier of the first computing service initialized by the first terminal device.
在一种可能的设计中,所述第六请求消息中包括需要初始化的第一计算服务的相关信息,该第一计算服务的相关信息包括:服务标识、服务上下文、关联的逻辑信道LCH列表;所述第六响应消息中包括初始化完成的第一计算服务的服务标识。In a possible design, the sixth request message includes relevant information of the first computing service that needs to be initialized, and the relevant information of the first computing service includes: a service identifier, a service context, and an associated logical channel LCH list; The sixth response message includes the service identifier of the initialized first computing service.
在一种可能的设计中,所述第四配置消息中还可包括第一计算服务关联的逻辑信道LCH列表。In a possible design, the fourth configuration message may further include a list of logical channel LCHs associated with the first computing service.
在一种可能的设计中,收发模块2210还用于,向第二终端设备发送第一信息,该第一信息指示第二终端设备寻找合适的服务终端设备,以承载该第一计算服务;或者,该第一信息指示能够承载第一计算服务的第一终端设备。可选的,该第一信息还指示迁移原因,如过载。In a possible design, the transceiver module 2210 is further configured to send first information to the second terminal device, where the first information instructs the second terminal device to find a suitable service terminal device to carry the first computing service; or , where the first information indicates a first terminal device capable of bearing the first computing service. Optionally, the first information also indicates a migration cause, such as overload.
在一种可能的设计中,收发模块2210还用于,接收来自第二终端设备的第二信息,该第二信息指示第一计算服务需要进行迁移。可选的,该第二信息包括第一计算服务的服务标识。In a possible design, the transceiver module 2210 is further configured to receive second information from the second terminal device, where the second information indicates that the first computing service needs to be migrated. Optionally, the second information includes a service identifier of the first computing service.
在一种可能的设计中,收发模块2210用于,接收来自第一终端设备或第二终端设备的第三信息,该第三信息用于指示该通信装置、第一终端设备与第二终端设备之间的中继关系。In a possible design, the transceiver module 2210 is configured to receive third information from the first terminal device or the second terminal device, where the third information is used to indicate the communication apparatus, the first terminal device and the second terminal device relay relationship between them.
当该通信装置执行图18所示的方法实施例中对应第一终端设备的操作或者步骤时,收发模块2210用于,接收来自第一网络设备的第六请求消息,该第六请求消息用于指示该通信装置初始化第一计算服务,该第一计算服务为第二终端设备请求的计算服务;处理模块2220用于,对第一计算服务进行初始化;收发模块2210还用于,向第一网络设备发送第六响应消息,该第六响应消息用于指示第一计算服务初始化完成。When the communication apparatus performs the operation or step corresponding to the first terminal device in the method embodiment shown in FIG. 18 , the transceiver module 2210 is configured to receive a sixth request message from the first network device, where the sixth request message is used for Instruct the communication device to initialize the first computing service, the first computing service is the computing service requested by the second terminal device; the processing module 2220 is used to initialize the first computing service; the transceiver module 2210 is also used to send the first network The device sends a sixth response message, where the sixth response message is used to indicate that the initialization of the first computing service is completed.
在一种可能的设计中,所述第六请求消息中包括需要初始化的第一计算服务的相关信息,该第一计算服务的相关信息包括:服务标识、计算服务上下文、关联的逻辑信道LCH列表;所述第六响应消息中包括初始化完成的第一计算服务的服务标识。In a possible design, the sixth request message includes relevant information of the first computing service that needs to be initialized, and the relevant information of the first computing service includes: service identifier, computing service context, and associated logical channel LCH list ; The sixth response message includes the service identifier of the initialized first computing service.
在一种可能的设计中,处理模块2220还用于,与第二终端设备建立侧行链路连接;收发模块2210还用于,从第一计算服务关联的LCH列表指示的各个LCH上,接收来自第二终端设备的数据;处理模块2220还用于,将所述数据进行处理后,将处理后的数据发送给第一网络设备。In a possible design, the processing module 2220 is further configured to establish a sidelink connection with the second terminal device; the transceiver module 2210 is further configured to receive from each LCH indicated by the LCH list associated with the first computing service data from the second terminal device; the processing module 2220 is further configured to, after processing the data, send the processed data to the first network device.
在一种可能的设计中,收发模块2210还用于,向第一网络设备发送第三信息,该第三信息指示第一网络设备、该通信装置与第二终端设备之间的中继关系。In a possible design, the transceiver module 2210 is further configured to send third information to the first network device, where the third information indicates the relay relationship between the first network device, the communication apparatus, and the second terminal device.
当该通信装置执行图18所示的方法实施例中对应第二终端设备的操作或者步骤时,收发模块2210用于,接收来自第一网络设备的第四配置消息,该第四配置消息用于重配置该通信装置的无线资源控制RRC连接,该第四配置消息中包括第一终端设备初始化完 成的第一计算服务的标识;处理模块2220用于,将第一计算服务的数据传输路径切换为通过第一终端设备到第一网络设备的中继链路。When the communication apparatus performs an operation or step corresponding to the second terminal device in the method embodiment shown in FIG. 18 , the transceiver module 2210 is configured to receive a fourth configuration message from the first network device, where the fourth configuration message is used for Reconfigure the radio resource control RRC connection of the communication device, and the fourth configuration message includes the identifier of the first computing service initialized by the first terminal device; the processing module 2220 is configured to switch the data transmission path of the first computing service to through the relay link from the first terminal device to the first network device.
在一种可能的设计中,所述第四配置消息中还包括第一计算服务关联的逻辑信道LCH列表。In a possible design, the fourth configuration message further includes a list of logical channel LCHs associated with the first computing service.
在一种可能的设计中,收发模块2210还用于,接收来自第一网络设备的第一信息,该第一信息指示该通信装置寻找合适的服务终端设备,以承载该第一计算服务;或者,该第一信息指示能够承载第一计算服务的第一终端设备。可选的,该第一信息还指示迁移原因,如过载。In a possible design, the transceiver module 2210 is further configured to receive first information from a first network device, where the first information instructs the communication apparatus to find a suitable service terminal device to carry the first computing service; or , where the first information indicates a first terminal device capable of bearing the first computing service. Optionally, the first information also indicates a migration cause, such as overload.
在一种可能的设计中,收发模块2210还用于,向第一网络设备发送第二信息,该第二信息指示第一计算服务需要进行迁移。可选的,该第二信息包括第一计算服务的服务标识。In a possible design, the transceiver module 2210 is further configured to send second information to the first network device, where the second information indicates that the first computing service needs to be migrated. Optionally, the second information includes a service identifier of the first computing service.
在一种可能的设计中,处理模块2220还用于,发现第一终端设备,并与该第一终端设备建立侧行链路连接,该第一终端设备提供该通信装置与第一网络设备之间的数据转发服务;或者处理模块2220还用于,根据第一信息的指示,与第一终端设备建立侧行链路连接。In a possible design, the processing module 2220 is further configured to discover a first terminal device and establish a side link connection with the first terminal device, and the first terminal device provides a connection between the communication device and the first network device. or the processing module 2220 is further configured to, according to the indication of the first information, establish a side link connection with the first terminal device.
在一种可能的设计中,收发模块2210还用于,向第一网络设备发送第三信息,该第三信息指示第一网络设备、第一终端设备与该通信装置之间的中继关系。In a possible design, the transceiver module 2210 is further configured to send third information to the first network device, where the third information indicates a relay relationship between the first network device, the first terminal device, and the communication apparatus.
该通信装置中涉及的处理模块2220可以由至少一个处理器或处理器相关电路组件实现,收发模块2210可以由至少一个收发器或收发器相关电路组件或通信接口实现。该通信装置中的各个模块的操作和/或功能分别为了实现图4至图21中所示方法的相应流程,为了简洁,在此不再赘述。可选的,该通信装置中还可以包括存储模块,该存储模块可以用于存储数据和/或指令,收发模块2210和/或处理模块2220可以读取存取模块中的数据和/或指令,从而使得通信装置实现相应的方法。该存储模块例如可以通过至少一个存储器实现。The processing module 2220 involved in the communication device may be implemented by at least one processor or a processor-related circuit component, and the transceiver module 2210 may be implemented by at least one transceiver or a transceiver-related circuit component or a communication interface. The operations and/or functions of each module in the communication device are respectively to implement the corresponding processes of the methods shown in FIG. 4 to FIG. 21 , and are not repeated here for brevity. Optionally, the communication device may further include a storage module, the storage module may be used to store data and/or instructions, the transceiver module 2210 and/or the processing module 2220 may read the data and/or instructions in the access module, Thereby, the communication device can implement the corresponding method. The memory module can be implemented, for example, by at least one memory.
上述存储模块、处理模块和收发模块可以分离存在,也可以全部或者部分模块集成,例如存储模块和处理模块集成,或者处理模块和收发模块集成等。The above-mentioned storage module, processing module, and transceiver module may exist separately, or all or part of the modules may be integrated, for example, the storage module and the processing module are integrated, or the processing module and the transceiver module are integrated.
请参考图23,为本申请实施例提供的一种通信装置的另一结构示意图,该通信装置具体可为一种终端设备,用于实现上述任一方法实施例中涉及第一终端设备或第二终端设备的功能。便于理解和图示方便,在图23中,将终端设备以手机作为例子。如图23所示,终端设备包括处理器,还可以包括存储器,当然,也还可以包括射频电路、天线以及输入输出装置等。处理器主要用于对通信协议以及通信数据进行处理,以及对终端设备进行控制,执行软件程序,处理软件程序的数据等。存储器主要用于存储软件程序和数据。射频电路主要用于基带信号与射频信号的转换以及对射频信号的处理。天线主要用于收发电磁波形式的射频信号。输入输出装置,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。需要说明的是,有些种类的终端设备可以不具有输入输出装置。Please refer to FIG. 23 , which is another schematic structural diagram of a communication apparatus provided by an embodiment of the present application. The communication apparatus may specifically be a terminal device for implementing any of the above method embodiments involving the first terminal device or the first terminal device. 2. Function of terminal equipment. For the convenience of understanding and illustration, in FIG. 23 , the terminal device is a mobile phone as an example. As shown in FIG. 23 , the terminal device includes a processor, may also include a memory, and of course, may also include a radio frequency circuit, an antenna, an input and output device, and the like. The processor is mainly used to process communication protocols and communication data, control terminal equipment, execute software programs, and process data of software programs. The memory is mainly used to store software programs and data. The radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal. Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal equipment may not have input and output devices.
当需要发送数据时,处理器对待发送的数据进行基带处理后,输出基带信号至射频电路,射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到终端设备时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。 为便于说明,图23中仅示出了一个存储器和处理器。在实际的终端设备产品中,可以存在一个或多个处理器和一个或多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以是独立于处理器设置,也可以是与处理器集成在一起,本申请实施例对此不做限制。When data needs to be sent, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves. When data is sent to the terminal device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data. For ease of illustration, only one memory and processor are shown in FIG. 23 . In an actual end device product, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or a storage device or the like. The memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
在本申请实施例中,可以将具有收发功能的天线和射频电路视为终端设备的收发单元,将具有处理功能的处理器视为终端设备的处理单元。如图23所示,终端设备包括收发单元2310和处理单元2320。收发单元也可以称为收发器、收发机、收发装置等。处理单元也可以称为处理器,处理单板,处理模块、处理装置等。可选的,可以将收发单元2310中用于实现接收功能的器件视为接收单元,将收发单元2310中用于实现发送功能的器件视为发送单元,即收发单元2310包括接收单元和发送单元。收发单元有时也可以称为收发机、收发器、或收发电路等。接收单元有时也可以称为接收机、接收器、或接收电路等。发送单元有时也可以称为发射机、发射器或者发射电路等。应理解,收发单元2310用于执行上述方法实施例中终端设备侧的发送操作和接收操作,处理单元2320用于执行上述方法实施例中终端设备上除了收发操作之外的其他操作。In the embodiments of the present application, the antenna and the radio frequency circuit with a transceiver function may be regarded as a transceiver unit of the terminal device, and the processor with a processing function may be regarded as a processing unit of the terminal device. As shown in FIG. 23 , the terminal device includes a transceiver unit 2310 and a processing unit 2320 . The transceiving unit may also be referred to as a transceiver, a transceiver, a transceiving device, or the like. The processing unit may also be referred to as a processor, a processing single board, a processing module, a processing device, and the like. Optionally, the device for implementing the receiving function in the transceiver unit 2310 may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit 2310 may be regarded as a transmitting unit, that is, the transceiver unit 2310 includes a receiving unit and a transmitting unit. The transceiver unit may also sometimes be referred to as a transceiver, a transceiver, or a transceiver circuit. The receiving unit may also sometimes be referred to as a receiver, receiver, or receiving circuit, or the like. The transmitting unit may also sometimes be referred to as a transmitter, a transmitter, or a transmitting circuit, or the like. It should be understood that the transceiving unit 2310 is configured to perform the sending and receiving operations on the terminal device side in the above method embodiments, and the processing unit 2320 is configured to perform other operations on the terminal device in the above method embodiments except the transceiving operations.
请参考图24,为本申请实施例提供的一种通信装置的又一结构示意图,该通信装置可具体为一种网络设备,例如基站,用于实现上述任一方法实施例中涉及第一网络设备或第二网络设备的功能,例如当第一网络设备和第二网络设备均为无线接入网设备时的功能。Please refer to FIG. 24 , which is another schematic structural diagram of a communication device provided by an embodiment of the present application. The communication device may be specifically a network device, such as a base station, for implementing any of the above method embodiments involving the first network The function of the device or the second network device, for example, the function when the first network device and the second network device are both radio access network devices.
该通信装置2400包括:一个或多个DU 2401和一个或多个CU 2402。其中,所述DU 2401可以包括至少一个天线24011,至少一个射频单元24012,至少一个处理器24013和至少一个存储器24014。所述DU 2401主要用于射频信号的收发以及射频信号与基带信号的转换,以及部分基带处理。The communication device 2400 includes: one or more DUs 2401 and one or more CUs 2402. Wherein, the DU 2401 may include at least one antenna 24011, at least one radio frequency unit 24012, at least one processor 24013 and at least one memory 24014. The DU 2401 is mainly used for transmitting and receiving radio frequency signals, converting radio frequency signals to baseband signals, and part of baseband processing.
所述CU 2402可以包括至少一个处理器24022和至少一个存储器24021。所述CU 2402主要用于进行基带处理,对基站进行控制等。所述CU 2402是基站的控制中心,也可以称为处理单元。例如所述CU 2402可以用于控制基站执行上述图4至图21所示方法中关于第一网络设备或者第二网络设备对应的操作或步骤。The CU 2402 may include at least one processor 24022 and at least one memory 24021. The CU 2402 is mainly used to perform baseband processing, control the base station, and the like. The CU 2402 is the control center of the base station, and may also be referred to as a processing unit. For example, the CU 2402 may be used to control the base station to perform the operations or steps corresponding to the first network device or the second network device in the methods shown in the foregoing FIG. 4 to FIG. 21 .
CU 2402和DU 2401之间可以通过接口进行通信,其中,控制面(control plane,CP)接口可以为Fs-C,比如F1-C,用户面(user plane,UP)接口可以为Fs-U,比如F1-U。所述DU 2401与CU 2402可以是物理上设置在一起,也可以物理上分离设置的(即分布式基站),并不限定。The CU 2402 and the DU 2401 can communicate through interfaces, wherein the control plane (CP) interface can be Fs-C, such as F1-C, the user plane (UP) interface can be Fs-U, Such as F1-U. The DU 2401 and the CU 2402 may be physically set together, or may be physically set apart (ie, distributed base stations), which is not limited.
具体的,CU和DU上的基带处理可以根据无线网络的协议层划分,例如PDCP层及以上协议层的功能设置在CU,PDCP层以下的协议层(例如RLC层和MAC层等)的功能设置在DU。又例如,CU实现RRC,PDCP层的功能,DU实现RLC、MAC和物理(physical,PHY)层的功能。Specifically, the baseband processing on the CU and DU can be divided according to the protocol layers of the wireless network. For example, the functions of the PDCP layer and the above protocol layers are set in the CU, and the function settings of the protocol layers below the PDCP layer (such as the RLC layer and the MAC layer, etc.) are set. in DU. For another example, the CU implements the functions of the RRC and PDCP layers, and the DU implements the functions of the RLC, MAC, and physical (physical, PHY) layers.
可选的,基站2400可以包括一个或多个射频单元(RU),一个或多个DU和一个或多个CU。其中,DU可以包括至少一个处理器24013和至少一个存储器24014,RU可以包括至少一个天线24011和至少一个射频单元24012,CU可以包括至少一个处理器24022和至少一个存储器24021。Optionally, the base station 2400 may include one or more radio frequency units (RUs), one or more DUs and one or more CUs. The DU may include at least one processor 24013 and at least one memory 24014 , the RU may include at least one antenna 24011 and at least one radio frequency unit 24012 , and the CU may include at least one processor 24022 and at least one memory 24021 .
在一个实施例中,所述CU 2402可以由一个或多个单板构成,多个单板可以共同支持单一接入指示的无线接入网(如5G网),也可以分别支持不同接入制式的无线接入网(如LTE网,5G网或其他网)。所述存储器24021和处理器24022可以服务于一个或多个单板。 也就是说,可以每个单板上单独设置存储器和处理器。也可以是多个单板共用相同的存储器和处理器。此外,每个单板上还可以设置有必要的电路。所述DU 2401可以由一个或多个单板构成,多个单板可以共同支持单一接入指示的无线接入网(如5G网),也可以分别支持不同接入制式的无线接入网(如LTE网,5G网或其他网)。所述存储器24014和处理器24013可以服务于一个或多个单板。也就是说,可以每个单板上单独设置存储器和处理器。也可以是多个单板共用相同的存储器和处理器。此外每个单板上还可以设置有必要的电路。In one embodiment, the CU 2402 may be composed of one or more single boards, and multiple single boards may jointly support a wireless access network (such as a 5G network) with a single access indication, or may support different access standards respectively. wireless access network (such as LTE network, 5G network or other networks). The memory 24021 and the processor 24022 can serve one or more single boards. That is to say, the memory and processor can be provided separately on each single board. It can also be that multiple boards share the same memory and processor. In addition, necessary circuits may also be provided on each single board. The DU 2401 can be composed of one or more single boards, and multiple single boards can jointly support a wireless access network (such as a 5G network) with a single access indication, and can also support wireless access networks with different access standards ( Such as LTE network, 5G network or other network). The memory 24014 and processor 24013 may serve one or more single boards. That is to say, the memory and processor can be provided separately on each single board. It can also be that multiple boards share the same memory and processor. In addition, necessary circuits may also be provided on each single board.
请参考图25,为本申请实施例中提供的一种通信装置的又一结构示意图。该通信装置可用于实现上述方法实施例中第一网络设备对应的功能,例如当第一网络设备为核心网设备时的功能。该通信装置可以是网络设备或者能够支持网络设备实现上述方法实施例中对应功能的装置等。Please refer to FIG. 25 , which is another schematic structural diagram of a communication device provided in an embodiment of the present application. The communication apparatus may be used to implement the function corresponding to the first network device in the above method embodiment, for example, the function when the first network device is a core network device. The communication device may be a network device or a device capable of supporting the network device to implement the corresponding functions in the foregoing method embodiments, or the like.
该通信装置可以包括处理器2501、通信接口2502和存储器2503。其中,通信接口2502用于通过传输介质与其它设备进行通信,该通信接口2502可以是收发器、也可以为接口电路如收发电路、收发芯片等。存储器2503用于存储程序指令和/或数据,处理器2501用于执行存储器2503中存储的程序指令,从而实现上述方法实施例中的方法。可选的,存储器2503和处理器2501耦合,所述耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。The communication device may include a processor 2501 , a communication interface 2502 and a memory 2503 . The communication interface 2502 is used to communicate with other devices through a transmission medium, and the communication interface 2502 may be a transceiver or an interface circuit such as a transceiver circuit, a transceiver chip, and the like. The memory 2503 is used to store program instructions and/or data, and the processor 2501 is used to execute the program instructions stored in the memory 2503, thereby implementing the methods in the above method embodiments. Optionally, the memory 2503 is coupled to the processor 2501, and the coupling is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, used between devices, units or modules. information interaction.
在一个实施例中,通信接口2502可具体用于执行上述收发模块2210的动作,处理器2301可具体用于执行上述处理模块2220的动作,本申请在此不再赘述。In one embodiment, the communication interface 2502 may be specifically configured to perform the operations of the above-mentioned transceiver module 2210, and the processor 2301 may be specifically configured to perform the operations of the above-mentioned processing module 2220, which will not be described herein again.
本申请实施例中不限定上述通信接口2502、处理器2501以及存储器2503之间的具体连接介质。本申请实施例在图25中以存储器2503、处理器2501以及通信接口2502之间通过总线2504连接,总线在图25中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图25中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the communication interface 2502 , the processor 2501 , and the memory 2503 is not limited in the embodiments of the present application. In the embodiment of the present application, the memory 2503, the processor 2501, and the communication interface 2502 are connected by a bus 2504 in FIG. 25. The bus is represented by a thick line in FIG. 25. The connection mode between other components is only for schematic illustration. , is not limited. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is shown in FIG. 25, but it does not mean that there is only one bus or one type of bus.
本申请实施例还提供一种芯片系统,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片系统实现上述任一方法实施例中的对应终端设备(如第一终端设备或第二终端设备)的方法或者对应网络设备(如第一网络设备或第二网络设备)的方法。An embodiment of the present application further provides a chip system, including: a processor, where the processor is coupled with a memory, the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor, the The chip system implements a method corresponding to a terminal device (eg, a first terminal device or a second terminal device) or a method corresponding to a network device (eg, a first network device or a second network device) in any of the above method embodiments.
可选地,该芯片系统中的处理器可以为一个或多个。该处理器可以通过硬件实现也可以通过软件实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。Optionally, the number of processors in the chip system may be one or more. The processor can be implemented by hardware or by software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software codes stored in memory.
可选地,该芯片系统中的存储器也可以为一个或多个。该存储器可以与处理器集成在一起,也可以和处理器分离设置,本申请并不限定。示例性的,存储器可以是非瞬时性处理器,例如只读存储器ROM,其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请对存储器的类型,以及存储器与处理器的设置方式不作具体限定。Optionally, there may also be one or more memories in the chip system. The memory may be integrated with the processor, or may be provided separately from the processor, which is not limited in this application. Exemplarily, the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip, or can be provided on different chips. The setting method of the processor is not particularly limited.
示例性的,该芯片系统可以是现场可编程门阵列(field programmable gate array,FPGA),可以是专用集成芯片(application specific integrated circuit,ASIC),还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器 (programmable logic device,PLD)或其他集成芯片。Exemplarily, the system-on-chip may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a system on chip (SoC), It can also be a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), or a microcontroller (microcontroller). controller unit, MCU), it can also be a programmable logic device (PLD) or other integrated chips.
应理解,上述方法实施例中的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that, each step in the above method embodiments may be implemented by a hardware integrated logic circuit in a processor or an instruction in the form of software. The method steps disclosed in conjunction with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
本申请实施例还提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述任一方法实施例中的方法。Embodiments of the present application further provide a computer-readable storage medium, where computer-readable instructions are stored in the computer storage medium, and when the computer reads and executes the computer-readable instructions, the computer is made to execute any of the foregoing method embodiments method in .
本申请实施例还提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述任一方法实施例中的方法。Embodiments of the present application further provide a computer program product, which, when the computer reads and executes the computer program product, causes the computer to execute the method in any of the above method embodiments.
本申请实施例还提供一种通信系统,该通信系统包括第一终端设备、第二终端设备和第一网络设备。可选的,该通信系统还可以包括第二网络设备。An embodiment of the present application further provides a communication system, where the communication system includes a first terminal device, a second terminal device, and a first network device. Optionally, the communication system may further include a second network device.
应理解,本申请实施例中提及的处理器可以是CPU,还可以是其他通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiments of the present application may be a CPU, other general-purpose processors, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (direct rambus RAM, DR RAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, the memory (storage module) is integrated in the processor.
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
应理解,在本申请的各种实施例中涉及的各种数字编号仅为描述方便进行的区分,上述各过程或步骤的序号的大小并不意味着执行顺序的先后,各过程或步骤的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the various numerical numbers involved in the various embodiments of the present application are only for the convenience of description. The sequence should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的 划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of 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 components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In the various embodiments of the present application, if there is no special description or logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments are based on their inherent Logical relationships can be combined to form new embodiments.

Claims (27)

  1. 一种计算服务发现方法,其特征在于,所述方法包括:A computing service discovery method, characterized in that the method comprises:
    第一终端设备接收来自第二终端设备的第一请求消息,所述第一请求消息中包括计算服务请求信息,所述计算服务请求信息用于请求第一计算服务;The first terminal device receives a first request message from the second terminal device, where the first request message includes computing service request information, where the computing service request information is used to request the first computing service;
    所述第一终端设备根据自身的负载情况和所述计算服务请求信息,对所述第一计算服务进行准入控制;The first terminal device performs admission control on the first computing service according to its own load situation and the computing service request information;
    若所述第一终端设备接受所述第一计算服务,则向所述第二终端设备发送第一响应消息,所述第一响应消息中包括计算服务接受信息,所述计算服务接受信息指示所述第一终端设备接受所述第一计算服务。If the first terminal device accepts the first computing service, it sends a first response message to the second terminal device, where the first response message includes computing service acceptance information, and the computing service acceptance information indicates the The first terminal device accepts the first computing service.
  2. 根据权利要求1所述的方法,其特征在于,所述计算服务请求信息包括所述第一计算服务的下列一项或多项信息:The method according to claim 1, wherein the computing service request information includes one or more of the following information of the first computing service:
    服务标识、服务类型、服务状态类型、硬件需求、完成指标。Service ID, Service Type, Service Status Type, Hardware Requirements, Completion Metrics.
  3. 根据权利要求2所述的方法,其特征在于,所述硬件需求包括对下列一项或多项参数的需求:The method of claim 2, wherein the hardware requirements include requirements for one or more of the following parameters:
    吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。Throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency, CPU execution time, millions of fixed-point instructions executed per second, MIPS, floating-point execution per second The number of operations FLOPS.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    所述第一终端设备广播自身支持的服务类型;或者,The first terminal device broadcasts the service type supported by itself; or,
    所述第一终端设备广播自身的计算能力信息;或者,The first terminal device broadcasts its own computing capability information; or,
    所述第一终端设备向第一网络设备发送所述计算能力信息。The first terminal device sends the computing capability information to the first network device.
  5. 根据权利要求4所述的方法,其特征在于,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。The method according to claim 4, wherein the computing capability information includes supported service types, hardware parameter information and current computing load.
  6. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    所述第一终端设备接收所述第二终端设备广播的所述第二终端设备需求的服务类型;receiving, by the first terminal device, a service type required by the second terminal device broadcast by the second terminal device;
    所述第一终端设备向所述第二终端设备发送响应消息,所述响应消息指示所述第一终端设备支持所述第二终端设备需求的服务类型。The first terminal device sends a response message to the second terminal device, where the response message indicates that the first terminal device supports a service type required by the second terminal device.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    所述第一终端设备与所述第二终端设备建立侧行链路连接,所述第一终端设备提供所述第二终端设备与第一网络设备之间的数据转发服务;establishing a sidelink connection between the first terminal device and the second terminal device, and the first terminal device provides a data forwarding service between the second terminal device and the first network device;
    所述第一终端设备接收来自所述第二终端设备的第一配置消息,所述第一配置消息用于重配置所述第一终端设备与所述第二终端设备之间的侧行链路连接,所述第一配置消息中包括所述第一终端设备与所述第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息,所述处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理;the first terminal device receives a first configuration message from the second terminal device, the first configuration message is used to reconfigure the sidelink between the first terminal device and the second terminal device connection, the first configuration message includes processing indication information corresponding to each logical channel LCH on the communication interface between the first terminal device and the second terminal device, the processing indication information is used to indicate the corresponding Whether the data received by the LCH needs to be intermediately processed;
    所述第一终端设备向所述第二终端设备发送第一配置完成消息。The first terminal device sends a first configuration complete message to the second terminal device.
  8. 根据权利要求1至6中任一项所述的方法,其特征在于,所述第一终端设备提供所述第二终端设备与第一网络设备之间的数据转发服务;The method according to any one of claims 1 to 6, wherein the first terminal device provides a data forwarding service between the second terminal device and the first network device;
    所述方法还包括:The method also includes:
    所述第一终端设备接收来自所述第一网络设备的第二配置消息,所述第二配置消息用于重配置所述第一终端设备的无线资源控制RRC连接,所述第二配置消息中包括所述第二终端设备的标识、所述第一终端设备与所述第二终端设备之间的通信接口上的各个LCH对应的处理指示信息以及第一指示信息;其中,所述处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,所述第一指示信息用于指示所述各个LCH与所述第一终端设备与所述第一网络设备之间的通信接口上的各个数据无线承载DRB之间的映射关系。The first terminal device receives a second configuration message from the first network device, the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message contains It includes the identifier of the second terminal device, the processing indication information corresponding to each LCH on the communication interface between the first terminal device and the second terminal device, and the first indication information; wherein, the processing indication information It is used to indicate whether intermediate processing is required for the data received from the corresponding LCH, and the first indication information is used to indicate the communication interface between each LCH and the first terminal device and the first network device. The mapping relationship between each data radio bearer DRB.
  9. 一种计算服务发现方法,其特征在于,所述方法包括:A computing service discovery method, characterized in that the method comprises:
    第二终端设备向第一终端设备发送第一请求消息,所述第一请求消息中包括计算服务请求信息,所述计算服务请求信息用于请求第一计算服务;The second terminal device sends a first request message to the first terminal device, where the first request message includes computing service request information, and the computing service request information is used to request the first computing service;
    所述第二终端设备接收来自所述第一终端设备的第一响应消息,所述第一响应消息中包括计算服务接受信息,所述计算服务接受信息指示所述第一终端设备接受所述第一计算服务。The second terminal device receives a first response message from the first terminal device, the first response message includes computing service acceptance information, and the computing service acceptance information instructs the first terminal device to accept the first response message. a computing service.
  10. 根据权利要求9所述的方法,其特征在于,所述计算服务请求信息包括所述第一计算服务的下列一项或多项信息:The method according to claim 9, wherein the computing service request information includes one or more of the following information of the first computing service:
    服务标识、服务类型、服务状态类型、硬件需求、完成指标。Service ID, Service Type, Service Status Type, Hardware Requirements, Completion Metrics.
  11. 根据权利要求10所述的方法,其特征在于,所述硬件需求包括对下列一项或多项参数的需求:The method of claim 10, wherein the hardware requirements include requirements for one or more of the following parameters:
    吞吐量、响应时间、利用率、处理机字长、总线宽度、存储器带宽、中央处理单元CPU主频、CPU执行时间、每秒钟执行多少百万次定点指令MIPS、每秒钟执行的浮点操作的次数FLOPS。Throughput, response time, utilization, processor word length, bus width, memory bandwidth, central processing unit CPU frequency, CPU execution time, millions of fixed-point instructions executed per second, MIPS, floating-point execution per second The number of operations FLOPS.
  12. 根据权利要求9至11中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9 to 11, wherein the method further comprises:
    所述第二终端设备接收所述第一终端设备广播的所述第一终端设备支持的服务类型,若所述第一终端设备支持所述第一计算服务的服务类型,则确定向所述第一终端设备请求所述第一计算服务;或者,The second terminal device receives the service type supported by the first terminal device broadcasted by the first terminal device, and if the first terminal device supports the service type of the first computing service, determines to send the service type to the first terminal device. A terminal device requests the first computing service; or,
    所述第二终端设备接收所述第一终端设备广播的所述第一终端设备的计算能力信息,根据所述计算能力信息,确定向所述第一终端设备请求所述第一计算服务。The second terminal device receives the computing capability information of the first terminal device broadcasted by the first terminal device, and determines to request the first computing service from the first terminal device according to the computing capability information.
  13. 根据权利要求12所述的方法,其特征在于,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。The method according to claim 12, wherein the computing capability information includes supported service types, hardware parameter information and current computing load.
  14. 根据权利要求9至11中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9 to 11, wherein the method further comprises:
    所述第二终端设备广播所述第二终端设备需求的服务类型;the second terminal device broadcasts the service type required by the second terminal device;
    所述第二终端设备接收来自所述第一终端设备的响应消息,所述响应消息指示所述第一终端设备支持所述第二终端设备需求的服务类型。The second terminal device receives a response message from the first terminal device, where the response message indicates that the first terminal device supports a service type required by the second terminal device.
  15. 根据权利要求9至14中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9 to 14, wherein the method further comprises:
    所述第二终端设备与所述第一终端设备建立侧行链路连接,所述第一终端设备提供所述第二终端设备与第一网络设备之间的数据转发服务;establishing a sidelink connection between the second terminal device and the first terminal device, and the first terminal device provides a data forwarding service between the second terminal device and the first network device;
    所述第二终端设备向所述第一终端设备发送第一配置消息,所述第一配置消息用于重配置所述第一终端设备与所述第二终端设备之间的侧行链路连接,所述第一配置消息中包括所述第一终端设备与所述第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息,所述处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间 处理;The second terminal device sends a first configuration message to the first terminal device, where the first configuration message is used to reconfigure the sidelink connection between the first terminal device and the second terminal device , the first configuration message includes processing indication information corresponding to each logical channel LCH on the communication interface between the first terminal device and the second terminal device, and the processing indication information is used to indicate the corresponding Whether the data received by LCH requires intermediate processing;
    所述第二终端设备接收来自所述第一终端设备的第一配置完成消息。The second terminal device receives a first configuration complete message from the first terminal device.
  16. 根据权利要求9至11中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9 to 11, wherein the method further comprises:
    所述第二终端设备向第一网络设备发送第二请求消息,所述第二请求消息中包括计算服务需求信息,所述计算服务需求信息指示所述第二终端设备需求的服务类型;The second terminal device sends a second request message to the first network device, where the second request message includes computing service requirement information, and the computing service requirement information indicates a service type required by the second terminal device;
    所述第二终端设备接收来自所述第一网络设备的第二响应消息,所述第二响应消息中包括计算服务响应信息,所述计算服务响应信息指示支持所述第二终端设备需求的服务类型的所述第一终端设备。The second terminal device receives a second response message from the first network device, the second response message includes computing service response information, and the computing service response information indicates a service that supports the requirements of the second terminal device type of the first terminal device.
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method of claim 16, wherein the method further comprises:
    所述第二终端设备从所述第一网络设备接收第三配置消息,所述第三配置消息用于配置所述第一终端设备与所述第二终端设备之间的侧行链路连接,所述第一终端设备提供所述第二终端设备与第一网络设备之间的数据转发服务,所述第三配置消息中包括所述第一终端设备的标识和第二指示信息,所述第二指示信息用于指示所述第二终端设备将需要进行中间处理的数据发送到所述第一终端设备与所述第二终端设备之间的通信接口上指定的一个或多个LCH上。the second terminal device receives a third configuration message from the first network device, where the third configuration message is used to configure a sidelink connection between the first terminal device and the second terminal device, The first terminal device provides a data forwarding service between the second terminal device and the first network device, the third configuration message includes the identifier of the first terminal device and the second indication information, the first The second indication information is used to instruct the second terminal device to send the data that needs to be subjected to intermediate processing to one or more LCHs designated on the communication interface between the first terminal device and the second terminal device.
  18. 一种计算服务发现方法,其特征在于,所述方法包括:A computing service discovery method, characterized in that the method comprises:
    第一网络设备接收来自第二终端设备的第二请求消息,所述第二请求消息中包括计算服务需求信息,所述计算服务需求信息指示所述第二终端设备需求的服务类型;The first network device receives a second request message from the second terminal device, where the second request message includes computing service requirement information, where the computing service requirement information indicates a service type required by the second terminal device;
    所述第一网络设备确定支持所述第二终端设备需求的服务类型的第一终端设备;determining, by the first network device, a first terminal device that supports a service type required by the second terminal device;
    所述第一网络设备向所述第二终端设备发送第二响应消息,所述第二响应消息中包括计算服务响应信息,所述计算服务响应消息指示支持所述第二终端设备需求的服务类型的所述第一终端设备。The first network device sends a second response message to the second terminal device, where the second response message includes computing service response information, and the computing service response message indicates a service type that supports the requirements of the second terminal device of the first terminal device.
  19. 根据权利要求18所述的方法,其特征在于,所述确定支持所述第二终端设备需求的服务类型的第一终端设备,包括:The method according to claim 18, wherein the determining the first terminal device that supports the service type required by the second terminal device comprises:
    所述第一网络设备根据获取到的M个服务终端设备的计算能力信息,从所述M个服务终端设备中确定支持所述第二终端设备需求的服务类型的所述第一终端设备。The first network device determines, according to the acquired computing capability information of the M serving terminal devices, the first terminal device that supports the service type required by the second terminal device from the M serving terminal devices.
  20. 根据权利要求19所述的方法,其特征在于,所述方法还包括:The method of claim 19, wherein the method further comprises:
    所述第一网络设备接收来自所述第一终端设备的计算能力信息。The first network device receives computing capability information from the first terminal device.
  21. 根据权利要求20所述的方法,其特征在于,所述计算能力信息包括支持的服务类型、硬件参数信息和当前的计算负载。The method according to claim 20, wherein the computing capability information includes supported service types, hardware parameter information and current computing load.
  22. 根据权利要求19所述的方法,其特征在于,所述方法还包括:The method of claim 19, wherein the method further comprises:
    若所述M个服务终端设备均不支持所述第二终端设备需求的服务类型,则所述第一网络设备向第二网络设备发送第三请求消息,所述第三请求消息中包括所述计算服务需求信息,所述第一网络设备和所述第二网络设备均为接入网设备;If none of the M service terminal devices supports the service type required by the second terminal device, the first network device sends a third request message to the second network device, where the third request message includes the Computing service requirement information, the first network device and the second network device are both access network devices;
    所述第一网络设备接收来自所述第二网络设备的第三响应消息,所述第三响应消息中包括所述计算服务响应信息。The first network device receives a third response message from the second network device, where the third response message includes the computing service response information.
  23. 根据权利要求18至22中任一项所述的方法,其特征在于,所述第一终端设备提供所述第二终端设备与所述第一网络设备之间的数据转发服务;The method according to any one of claims 18 to 22, wherein the first terminal device provides a data forwarding service between the second terminal device and the first network device;
    所述方法还包括:The method also includes:
    所述第一网络设备向所述第一终端设备发送第二配置消息,所述第二配置消息用于重 配置所述第一终端设备的无线资源控制RRC连接,所述第二配置消息中包括所述第二终端设备的标识、所述第一终端设备与所述第二终端设备之间的通信接口上的各个逻辑信道LCH对应的处理指示信息以及第一指示信息;其中,所述处理指示信息用于指示从对应的LCH接收的数据是否需要进行中间处理,所述第一指示信息用于指示所述各个LCH与所述第一终端设备与所述第一网络设备之间的通信接口上的各个数据无线承载DRB之间的映射关系;The first network device sends a second configuration message to the first terminal device, where the second configuration message is used to reconfigure the radio resource control RRC connection of the first terminal device, and the second configuration message includes: The identifier of the second terminal device, the processing indication information corresponding to each logical channel LCH on the communication interface between the first terminal device and the second terminal device, and the first indication information; wherein the processing indication The information is used to indicate whether intermediate processing is required for the data received from the corresponding LCH, and the first indication information is used to indicate the communication interface between each LCH and the first terminal device and the first network device. The mapping relationship between each data radio bearer DRB;
    所述第一网络设备向所述第二终端设备发送第三配置消息,所述第三配置消息用于配置所述第一终端设备与所述第二终端设备之间的侧行链路连接,所述第三配置消息中包括所述第一终端设备的标识和第二指示信息,所述第二指示信息用于指示所述第二终端设备将需要中间处理的数据发送到所述第一终端设备与所述第二终端设备之间的通信接口上的指定的一个或多个LCH上。the first network device sends a third configuration message to the second terminal device, where the third configuration message is used to configure a sidelink connection between the first terminal device and the second terminal device, The third configuration message includes the identifier of the first terminal device and second indication information, where the second indication information is used to instruct the second terminal device to send the data requiring intermediate processing to the first terminal on the designated one or more LCHs on the communication interface between the device and the second terminal device.
  24. 一种通信装置,其特征在于,所述装置包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合:A communication device, characterized in that the device comprises at least one processor coupled to at least one memory:
    所述至少一个处理器,用于执行所述至少一个存储器中存储的计算机程序或指令,以使得所述装置执行如权利要求1至8中任一项所述的方法,或者使得所述装置执行如权利要求9至17中任一项所述的方法,或者使得所述装置执行如权利要求18至23中任一项所述的方法。the at least one processor for executing computer programs or instructions stored in the at least one memory to cause the apparatus to perform the method of any one of claims 1 to 8, or to cause the apparatus to perform A method as claimed in any one of claims 9 to 17, or the apparatus is caused to perform a method as claimed in any one of claims 18 to 23.
  25. 一种计算机可读存储介质,其特征在于,用于存储指令,当所述指令被执行时,使如权利要求1至8中任一项所述的方法被实现,或者使如权利要求9至17中任一项所述的方法被实现,或者使如权利要求18至23中任一项所述的方法被实现。A computer-readable storage medium, characterized in that it is used for storing instructions, when the instructions are executed, the method according to any one of claims 1 to 8 is realized, or the method according to claim 9 to claim 9 is realized. 17 is carried out, or the method of any one of claims 18 to 23 is carried out.
  26. 一种通信装置,其特征在于,包括处理器和接口电路;A communication device, comprising a processor and an interface circuit;
    所述接口电路,用于与所述处理器交互代码指令或数据;the interface circuit for interacting code instructions or data with the processor;
    所述处理器用于执行如权利要求1至8中任一项所述的方法,或者所述处理器用于执行如权利要求9至17中任一项所述的方法,或者所述处理器用于执行如权利要求18至23中任一项所述的方法。The processor is used to perform the method of any one of claims 1 to 8, or the processor is used to perform the method of any one of claims 9 to 17, or the processor is used to perform A method as claimed in any one of claims 18 to 23.
  27. 一种计算机程序,其特征在于,当所述计算机程序被执行时,使如权利要求1至8中任一项所述的方法被实现,或者使如权利要求9至17中任一项所述的方法被实现,或者使如权利要求18至23中任一项所述的方法被实现。A computer program, characterized in that, when the computer program is executed, the method according to any one of claims 1 to 8 is realized, or the method according to any one of claims 9 to 17 is realized The method of claim 18 is carried out, or the method of any one of claims 18 to 23 is carried out.
PCT/CN2021/111281 2020-10-28 2021-08-06 Computing service discovery method and communication apparatus WO2022088826A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011171029.8A CN114423065A (en) 2020-10-28 2020-10-28 Computing service discovery method and communication device
CN202011171029.8 2020-10-28

Publications (1)

Publication Number Publication Date
WO2022088826A1 true WO2022088826A1 (en) 2022-05-05

Family

ID=81260272

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/111281 WO2022088826A1 (en) 2020-10-28 2021-08-06 Computing service discovery method and communication apparatus

Country Status (2)

Country Link
CN (1) CN114423065A (en)
WO (1) WO2022088826A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023246267A1 (en) * 2022-06-24 2023-12-28 华为技术有限公司 Communication method, communication device, and system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117597890A (en) * 2022-06-13 2024-02-23 北京小米移动软件有限公司 Method, apparatus, device and storage medium for providing AI service
WO2024036579A1 (en) * 2022-08-18 2024-02-22 Oppo广东移动通信有限公司 Wireless communication method and device
WO2024045043A1 (en) * 2022-08-31 2024-03-07 华为技术有限公司 Computing resource sharing method and apparatus, and terminal device
WO2024050848A1 (en) * 2022-09-09 2024-03-14 北京小米移动软件有限公司 Artificial intelligence (ai) task processing method and apparatus
WO2024065844A1 (en) * 2022-09-30 2024-04-04 北京小米移动软件有限公司 Interaction method for path switching capabilities and apparatus therefor
WO2024077546A1 (en) * 2022-10-13 2024-04-18 华为技术有限公司 Capability calling method and communication apparatus
CN115695320B (en) * 2023-01-04 2023-03-31 苏州浪潮智能科技有限公司 Front-end and back-end load management method, system, equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105992298A (en) * 2015-02-02 2016-10-05 北京信威通信技术股份有限公司 D2D communication relay node selection method
US20170295598A1 (en) * 2016-04-07 2017-10-12 Qualcomm Incorporated Relaying based on service-type indicator and network availability
CN109479189A (en) * 2016-07-21 2019-03-15 三星电子株式会社 Pass through the system and method for sidelinks discovery user equipment (UE) in device-to-device (D2D) communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105992298A (en) * 2015-02-02 2016-10-05 北京信威通信技术股份有限公司 D2D communication relay node selection method
US20170295598A1 (en) * 2016-04-07 2017-10-12 Qualcomm Incorporated Relaying based on service-type indicator and network availability
CN109479189A (en) * 2016-07-21 2019-03-15 三星电子株式会社 Pass through the system and method for sidelinks discovery user equipment (UE) in device-to-device (D2D) communication

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PHILIPS INTERNATIONAL B.V.: "KI#3, New Solution: Network assisted relay selection.", 3GPP DRAFT; S2-2005756, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Electronic, Elbonia; 20200819 - 20200901, 13 August 2020 (2020-08-13), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051920563 *
QUALCOMM INCORPORATED: "Resolve open issues for Model B discovery", 3GPP DRAFT; S2-150121_RESOLVE OPEN ISSUES FOR MODEL B DISCOVERY, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Sorrento, Italy; 20150126 - 20150130, 25 January 2015 (2015-01-25), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP050942098 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023246267A1 (en) * 2022-06-24 2023-12-28 华为技术有限公司 Communication method, communication device, and system

Also Published As

Publication number Publication date
CN114423065A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
WO2022088826A1 (en) Computing service discovery method and communication apparatus
CN113812208B (en) User equipment coordination set for out-of-mode
CN109417695A (en) A kind of communication path conversion method and equipment
US9843989B2 (en) Uniform UE initialization procedure for both in-coverage and out-of-coverage D2D communications
CN109565738B (en) System and method for efficient connection establishment and communication for power sensitive devices
WO2017215275A1 (en) Communication method and apparatus for realizing service continuity
WO2022042146A1 (en) Communication method and device
JP2022544813A (en) Paging method and apparatus
JP2014504065A (en) Probe messaging for direct link connections
EP4266756A1 (en) Network resource selection method, and terminal device and network device
WO2022111646A1 (en) Computing-aware session management method and communication device
JP2023533365A (en) Information transmission method and device
US20230139345A1 (en) Computing service implementation method and apparatus
CN116746085A (en) Method and device for transmitting data
WO2022021131A1 (en) Initial bandwidth part (bwp) reselection method, terminal device, and network device
US20230247418A1 (en) Network edge computing method and communication apparatus
WO2022126641A1 (en) Wireless communication method, terminal device, first access network device, and network element
WO2022257733A1 (en) Communication processing method and apparatus in network sharing scenario
WO2022088156A1 (en) Service discovery method and apparatus
WO2023015573A1 (en) Communication method, devices and storage medium
WO2023070684A1 (en) Wireless communication method, and device
WO2024036579A1 (en) Wireless communication method and device
WO2022082538A1 (en) Wireless communication method and apparatus and communication device
WO2023025279A1 (en) Communication processing method and communication apparatus
WO2022218313A1 (en) Measurement reporting method, apparatus and system

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: 21884561

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: 21884561

Country of ref document: EP

Kind code of ref document: A1