Perception service processing method and device
Patent Information
- Application Number
- ES2022863462T
- Authority / Receiving Office
- ES · ES
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2042-08-30
Smart Images

Figure 00000030_0000 
Figure 00000030_0001 
Figure 00000031_0000
Abstract
Description
Perception service processing method and device Technical field This application relates to the field of communication technologies and, specifically, to a method for processing a detection service and a device, where the device may include an apparatus for processing a detection service, a terminal, a network-side device, and the like. Background Wireless communication and radar sensing (C&S) have developed in parallel with limited overlap. In recent years, these two systems have received increasing attention from researchers in terms of coexistence, cooperation, and joint design. If a wireless communication system could also provide a detection function in addition to its data transmission function, it would be equivalent to merging the wireless communication system and a radar detection system into a single system. This would greatly reduce hardware implementation costs. However, current wireless communication systems cannot provide the detection function. US2019 / 364399A1 provides a mechanism capable of processing a service using a plurality of sensor devices in a distributed manner, while eliminating a communication load and providing the service. A control device is located on one side of the local network with respect to a gateway between the Internet and the local network. The control device includes: a control unit configured to transmit or receive information relating to one or more sensor devices wirelessly connected to a first cell associated with the control device to or from another control device associated with a second cell. Document CN112804662A pertains to the field of wireless communication technology, specifically a method, device, terminal equipment, and storage medium for providing wireless sensing services. The method applies to terminal equipment lacking wireless sensing capability (NSCS). The steps include: sending a sensing service request frame to terminal equipment equipped with wireless sensing capabilities (SCS). The sensing service request frame includes a sensing service identifier (SID). Receiving a sensing service response frame from the SCS. The sensing service response frame includes a status code and a sensing SID, where the status code indicates whether the SCS agrees or disagrees with providing the sensing service.And receive the detection results obtained through the wireless detection process performed by the SCS. US2014 / 036728A1 provides an apparatus for controlling a backbone network according to the present invention comprising: a context interpretation unit, which interprets a service request from a sensor node and generates a session containing routing information; a sensor node registration unit, which stores sensor node information and routing information, and provides routing information; a gateway, which transmits the service request using routing information and receives a response message; and a message processing unit, which transmits the service request and provides the response message. Summary The realizations of this application provide a method for processing a detection service and device, which can solve the problem that a wireless communication system cannot provide a detection function. According to a first aspect, a method is provided for processing a detection service, which includes: receiving, by an SCF, a detection service request message sent by a first device; sending, by the SCF, detection service control information to a detection device, wherein the detection service control information is generated by the SCF according to the detection service request message, and the detection service control information is used to instruct the detection device to obtain detection measurement data; and receiving, by the SCF, the detection measurement data sent by the detection device. According to a second aspect, a method is provided for processing a detection service, which includes: receiving, by means of an access and mobility management function, detection service control information from an SCF; and sending, by means of the access and mobility management function, the detection service control information to a detection device, wherein the detection service control information is used to instruct the detection device to obtain detection measurement data. Optionally, the detection service control information is also used to indicate at least one of the following: the detection device configures a detection measurement resource; and the detection device performs the detection measurement. Optionally, prior to the receipt, by an access and mobility management function, of the detection service control information from an SCF, the method further includes: the receipt, by the access and mobility management function, of a detection service request message sent by a first device; and sending, by the access and mobility management function, the detection service request message to the SCF, where the first device includes an AF or a consumer terminal device. Optionally, the detection service request message includes at least one of the following: detection service description information, a consumer terminal device identifier, and detection service target range information. Optionally, the target range information of the detection service includes range information corresponding to the position information of the consumer's terminal device. Optionally, the detection service description information includes at least one of the following: detection service type information; information about a detection object; detection quantity information of the detection object; information about the purpose or use of the detection service; detection service granularity information; detection service runtime information; related reporting information of the detection measurement data; and detection service QoS information. Optionally, the detection device includes at least one of the following: a detection terminal device and a detection access network device. Optionally, the method also includes: sending, via the access and mobility management function, an identifier or address information of the detection device to the SCF, where the identifier or address information of the detection device is used by the SCF to select the detection device. Optionally, the method also includes: receiving, via the access and mobility management function, the detection measurement data sent by the detection device; and sending, via the access and mobility management function, the detection measurement data to the SCF. Optionally, the detection device includes a detection terminal device, and the method further includes: requesting, by the access and mobility management function from a policy control function, the URSP corresponding to the detection terminal device, where the URSP includes a corresponding data path selection policy according to which the detection device sends the detection measurement data to the SCF; receiving, by the access and mobility management function, the URSP sent by the policy control function; and sending, by the access and mobility management function, the received URSP to the detection device. According to a third aspect, a method for processing a detection service is provided, which includes: receiving, by a detection device, detection service control information from an SCF, where the detection service control information is used to instruct the detection device to obtain detection measurement data; obtaining, by the detection device, the detection measurement data according to the detection service control information; and sending, by the detection device, the detection measurement data to the SCF. According to a fourth aspect, a method is provided for processing a detection service, which includes: obtaining, by means of a detection terminal device, a UE URSP path selection policy sent by a policy control function, wherein the URSP includes a corresponding data path selection policy according to which the detection terminal device sends detection measurement data to the SCF; and sending, by the detection device, the detection measurement data to the SCF in accordance with the URSP. Optionally, the URSP includes at least one of the following corresponding route selection description information: flow description information corresponding to the detection service, detection measurement data, time information, and position information. Optionally, obtaining, by a discovery terminal device, a UE URSP route selection policy sent by a policy control function includes: obtaining, by the discovery terminal device through an access and mobility management function, the UE URSP route selection policy sent by the policy control function. According to a fifth aspect, a method for processing a detection service is provided, which includes: determining, by means of a policy control function, a URSP corresponding to a detection terminal device, where the URSP includes a corresponding data path selection policy according to which the detection terminal device sends detection measurement data to an SCF; and sending, by means of the policy control function, the URSP to the detection terminal device. Optionally, the URSP includes at least one of the following corresponding route selection description information: flow description information corresponding to the detection service, detection measurement data, time information, and position information. Optionally, the method also includes: receiving, by the policy control function, a policy request message sent by an access and mobility management function or the SCF, where the policy request message is used to request the corresponding URSP from the discovery terminal device. Optionally, sending the URSP to the detection terminal device via the policy control function includes: sending the URSP to the detection terminal device via the access and mobility management function. According to a sixth aspect, an apparatus is provided for processing a detection service, which includes: a receiving module, configured to receive a detection service request message sent by a first device; a sending module, configured to: send detection service control information to a detection device, where the detection service control information is generated by the apparatus according to the detection service request message, and the detection service control information is used to instruct the detection device to obtain detection measurement data; and the receiving module is further configured to receive the detection measurement data sent by the detection device.According to a seventh aspect, an apparatus is provided for processing a detection service, which includes: a receiving module, configured to receive detection service control information from an SCF; and a sending module, configured to send the detection service control information to a detection device, where the detection service control information is used to instruct the detection device to obtain detection measurement data. According to an eighth aspect, an apparatus is provided for processing a detection service, which includes: a receiving module, configured to receive detection service control information from an SCF, where the detection service control information is used to instruct the apparatus to obtain detection measurement data; a processing module, configured to obtain the detection measurement data according to the detection service control information; and a sending module, configured to send the detection measurement data to the SCF. According to a ninth aspect, an apparatus is provided for processing a detection service, which includes: a obtaining module, configured to obtain an UE route selection policy (URSP) sent by a policy control function, wherein the URSP includes a corresponding data route selection policy according to which a detection terminal device sends detection measurement data to an SCF; and a sending module, configured to send the detection measurement data to the SCF according to the URSP. According to a tenth aspect, an apparatus is provided for processing a detection service, which includes: a determination module, configured to determine a URSP corresponding to a detection terminal device, wherein the URSP includes a corresponding data path selection policy according to which the detection terminal device sends detection measurement data to an SCF; and a sending module, configured to send the URSP to the detection terminal device. According to an eleventh aspect, a terminal is provided. The terminal includes a processor, memory, and a program or instruction stored in memory that can be executed by the processor, where, when the program or instruction is executed by the processor, the method is implemented according to the third or fourth aspect. According to a twelfth aspect, a terminal is provided, which includes a processor and a communication interface.The communication interface is configured to receive detection service control information from a SCF, where the detection service control information is used to instruct the terminal to obtain detection measurement data; the processor is configured to obtain the detection measurement data according to the detection service control information; the communication interface is further configured to send the detection measurement data to the SCF; or the communication interface is configured to: obtain a URSP sent by a policy control function, where the URSP includes a corresponding data path selection policy according to which the detection terminal device sends the detection measurement data to the SCF; and send the detection measurement data to the SCF according to the URSP. According to a thirteenth aspect, a network-side device is provided.The network-side device includes a processor, a memory, and a program or instruction that is stored in memory and can be executed by the processor, where, when the program or instruction is executed by the processor, the method is implemented according to any of the aspects from the first to the fifth. According to a fourteenth aspect, a network-side device is provided, which includes a processor and a communication interface, wherein the processor and the communication interface are used to implement the method according to any one of the aspects from the first to the fifth. According to a fifteenth aspect, a readable storage medium is provided. The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the method is implemented according to any of the aspects from the first to the fifth. According to a sixteenth aspect, a chip is provided. The chip includes a processor and a communication interface; the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the method according to any of the aspects from the first to the fifth. According to a seventeenth aspect, a computer program / program product is provided, wherein the computer program / program product is stored on a non-transient storage medium, and the program / program product is executed by at least one processor to implement the method according to any of the first through fifth aspects. In the execution of this request, the SCF receives the detection service request message sent by the first device and sends the detection service control information to the detection device. The detection service control information is generated by the SCF according to the detection service request message and is used to instruct the detection device to obtain the detection measurement data. After the detection device performs the detection measurement to generate the detection measurement data, the SCF can also receive the detection measurement data sent by the detection device.In the implementations of this application, in addition to providing a data communication transmission function, the wireless communication system can also provide a detection function, to help implement the fusion of wireless communication and radar detection, thereby greatly reducing hardware deployment costs. Brief description of the drawings Figure 1 is a schematic diagram of a wireless communication system according to one implementation of this application; Figure 2 is a schematic flowchart of a method for processing a detection service according to a realization of this request; Figure 3 is a schematic flowchart of a method for processing a detection service according to a realization of this request; Figure 4 is a schematic flowchart of a method for processing a detection service according to a realization of this request; Figure 5 is a schematic flowchart of a method for processing a detection service according to a realization of this request; Figure 6 is a schematic flowchart of a method for processing a detection service according to a realization of this request; Figure 7 is a schematic diagram of a system architecture of a method for processing a detection service according to a realization of this request; Figure 8 is a schematic flowchart of a method for processing a detection service according to a realization of this request; Figure 9 is a schematic diagram of a system architecture of a method for processing a detection service according to a realization of this request; Figure 10 is a schematic flowchart of a method for processing a detection service according to a realization of this request; Figure 11 is a schematic structural diagram of an apparatus for processing a detection service according to an implementation of this application; Figure 12 is a schematic structural diagram of an apparatus for processing a detection service according to an implementation of this application; Figure 13 is a schematic structural diagram of an apparatus for processing a detection service according to an implementation of this application; Figure 14 is a schematic structural diagram of an apparatus for processing a detection service according to an implementation of this application; Figure 15 is a schematic structural diagram of an apparatus for processing a detection service according to an implementation of this application; Figure 16 is a schematic structural diagram of a communication device according to an implementation of this application; Figure 17 is a schematic structural diagram of a terminal according to one implementation of this application; and Figure 18 is a schematic structural diagram of a network-side device according to one implementation of this application. Description of the achievements The following clearly describes the technical solutions in the embodiments of this application with reference to the accompanying drawings. It is evident that the embodiments described are some, but not all, of the embodiments of this application. All other embodiments obtained by a person skilled in the art based on the embodiments of this application will fall within the scope of protection of this application. The terms "first," "second," and the like in this specification and in the claims of this application are used to distinguish between similar objects rather than to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable in appropriate circumstances, so that the embodiments of this application may be implemented in an order other than the order illustrated or described herein. Objects classified as "first" and "second" are usually of the same type, and the number of objects is not limited. For example, there may be one or more first objects. Furthermore, in the specification and the claims, "and / or" represents at least one of the connected objects, and a " / " character generally represents an "or" relationship between associated objects. It should be noted that the technology described in the embodiments of this application is not limited to a Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, and may also be used in other wireless communication systems such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" in the embodiments of this application may generally be used interchangeably.The technologies described can be applied to the radio systems and technologies mentioned above, as well as to other radio systems and technologies. A new radio (NR) system is described below for illustrative purposes, and the term NR is used in most descriptions, although these technologies can also be used in an application other than an NR system application, for example, a 6th generation (6G) communication system. Figure 1 is a schematic diagram of a wireless communication system to which an implementation of this application may be applied. The wireless communication system includes a terminal 11 and a network-side device 12. Terminal 11 may also be referred to as a terminal device or user equipment (UE).Terminal 11 can be a terminal-side device, such as a mobile phone, a tablet personal computer, a laptop computer (or notebook computer), a personal digital assistant (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, a vehicle user equipment (VUE), a pedestrian user equipment (PUE), or a smart home (a household device with wireless communication functionality, such as a refrigerator, television, washing machine, or furniture).The wearable device includes: a smartwatch, a smart bracelet, smart headphones, smart glasses, smart jewelry (a smart bracelet, a smart wristband, a smart ring, a smart necklace, a smart anklet, a smart ankle chain, and the like), a smart wristband, smart clothing, a game console, and the like. It should be noted that a specific type of terminal 11 is not limited in the embodiments of this application. The network-side device 12 can be a base station or a backbone network.The base station may be called a Node B, evolved Node B, access point, base transceiver station (BTS), radio base station, radio transceiver, basic service set (BSS), extended service set (ESS), Node B, evolved Node B (eNB), next-generation Node B (gNB), home Node B, evolved home Node B, wireless local area network (WLAN) access point, wireless fidelity node (WiFi), transmitting-receiving point (TRP), or another term appropriate in the art. Provided the same technical effect is achieved, the base station is not restricted to a specific technical term. It should be noted that the base station in the NR system is taken only as an example in the embodiments of this application and is not limited to a specific type of base station. It should be noted that the steps in carrying out this application are merely illustrative descriptions and do not mean that all steps are mandatory, and that some steps may not be carried out in some cases. With reference to the attached drawings, a method for processing a detection service and a device provided in the embodiments of this application is described in detail below by using some of the embodiments and application scenarios thereof. As shown in Figure 2, one implementation of this request provides a 200 method for processing a sensing service. The method can be implemented by a Sensing Control Function (SCF). The method includes the following steps. S202: The SCF receives a detection service request message sent by a first device. In this embodiment, the SCF can be configured to control a sensing device to obtain sensing measurement data, and based on the sensing measurement data reported by the sensing device, the SCF can further perform some data processing (e.g., data analysis) to obtain a sensing result. The SCF may have different names in different communication systems. For example, the SCF may also be called the Sensing Function (SF) or similar names. The first device may include an Application Function (AF) or a consumer terminal device (e.g., consumer UE), or similar. It can be understood that the AF and the consumer terminal device may also have different names in different communication systems. Optionally, at this stage, the SCF receiving the detection service request message sent by the first device includes one of the following: (1) The SCF directly receives the detection service request message sent by the first device, where the first device includes an AF application function or a consumer terminal device. (2) The SCF receives, through a Network Exposure Function (NEF), the discovery service request message sent by the first device, where the first device includes an AF application function or a consumer terminal device. In this example, the consumer terminal device can send the discovery service request message to the AF, and the AF sends the discovery service request message to the SCF via the NEF; or, the consumer terminal device can send the discovery service request message to the AF, the AF sends the discovery service request message to an access and mobility management function via the NEF, and the access and mobility management function can send the discovery service request message to the SCF. The access and mobility management function mentioned in the implementations of this application can be used for the access and mobility management of a terminal and may have different names in different communication systems. For example, in a 5th generation (5G) communication system, the access and mobility management function may be called (access and mobility management function, AMF). (3) The SCF receives, through an access and mobility management function, the discovery service request message sent by the first device, where the first device includes an AF application function or a consumer terminal device. In this example, the consumer terminal device or the AF can send the discovery service request message to the access and mobility management function, and then the access and mobility management function can send the discovery service request message to the SCF. The detection service request message mentioned in the examples above may include at least one of the following: detection service description information, a consumer terminal device identifier, and detection service target range information. Optionally, the detection service's target range information includes range information corresponding to the consumer's terminal device position information. For example, the range information is within a circle with a radius of 100 meters centered on the consumer's terminal device position. This range information can be understood as relative position information with respect to the consumer's terminal device, absolute position information, or similar. In other words, the detection service's target range information includes three cases: the consumer's terminal device position + relative position range; the consumer's terminal device position + absolute position range; and the absolute position range. Optionally, the detection service description information includes at least one of the following: detection service type information; information about a detection object; detection quantity information for the detection object; information about the purpose or use of the detection service; detection service granularity information; detection service runtime information; related reporting information for detection measurement data; and detection service Quality of Service (QoS) information. The detection service description information is described in detail in subsequent implementations. S204: The SCF sends detection service control information to the detection device, where the detection service control information is generated by the SCF in accordance with the detection service request message, and the detection service control information is used to instruct the detection device to obtain detection measurement data. Optionally, the detection service control information is also used to instruct the detection device to configure a detection measurement resource, where the measurement resource may include a detection signal resource and the like. Optionally, the detection service control information is also used to instruct the detection device to perform the detection measurement. At this stage, the SCF sending the detection service control information to the detection device may include: The SCF sends, through an access and mobility management function, the detection service control information to the detection device, where the detection device may include at least one of the following: a detection terminal device, a detection access network device, and the like. In one example, before the SCF sends the detection service control information to the detection device, the method further includes at least one of the following: The SCF selects the detection device according to the detection service request message sent by the first device; and the SCF selects, according to an identifier or address information that is from the detection device and that is obtained in the access and mobility management function, the detection device. S206: The SCF receives the detection measurement data sent by the detection device. In this embodiment, after receiving the detection service control information sent by the SCF, the detection device can perform a detection measurement according to the detection service control information, to obtain the detection measurement data; or, the detection device indicates, according to the detection service control information, to a second device to perform the detection measurement, to obtain the detection measurement data sent by the second device. Optionally, the SCF receiving the detection measurement data sent by the detection device includes at least one of the following: The SCF receives, via a control plane tunnel, the detection measurement data sent by the detection device; and the SCF receives, via a user plane tunnel, the detection measurement data sent by the detection device. That the SCF receives, through the control plane tunnel, the detection measurement data sent by the detection device includes: The SCF receives, through an access and mobility management function, the detection measurement data sent by the detection device, where the control plane tunnel includes a control plane tunnel between the SCF and the access and mobility management function. In a specific example, when the sensing device is a sensing terminal device, the control plane tunnel includes a non-access stratum (NAS) signaling tunnel from the sensing terminal device. That the SCF receives, through the user plane tunnel, the detection measurement data sent by the detection device includes: The SCF receives, through a user plane function, the detection measurement data sent by the detection device, where the user plane tunnel includes a user plane tunnel between the SCF and the user plane function. In a specific example, when the discovery device is a discovery terminal device, the user plane tunnel includes a packet data protocol (PDU) session tunnel from the discovery terminal device. If the SCF receives detection measurement data through the user plane tunnel, the detection measurement data can be sent by the detection terminal device according to a UE Route Selection Policy (URSP). In this case, Method 200 provided in this embodiment can further include the following steps: The SCF requests, from a policy control function, the corresponding URSP from the detection terminal device, where the URSP includes a corresponding data route selection policy according to which the detection device sends the detection measurement data to the SCF; the SCF receives the URSP sent by the policy control function; and the SCF sends the received URSP to the detection terminal device. Optionally, based on the above embodiments, the method further includes the following step: The SCF sends at least one of the following to the first device: the detection measurement data; and a detection service analysis result obtained by the SCF in accordance with the detection measurement data. In the method for processing a detection service provided in this implementation of this request, the SCF receives the detection service request message sent by the first device and sends the detection service control information to the detection device, where the detection service control information is generated by the SCF according to the detection service request message, and is used to instruct the detection device to obtain the detection measurement data, and after the detection device performs the detection measurement to generate the detection measurement data, the SCF can further receive the detection measurement data sent by the detection device.In fulfilling this application, in addition to providing a data communication transmission function, the wireless communication system can also provide a detection function, to help implement the fusion of wireless communication and radar detection, thus greatly reducing hardware deployment costs. The method for processing a detection service according to one implementation of this request is described in detail above with reference to Figure 2. A method for processing a detection service according to another implementation of this request is described in detail below with reference to Figure 3. It can be understood that the descriptions from the access and mobility management function side are the same as, or correspond to, the descriptions from the SCF side in the method shown in Figure 2. To avoid repetition, related descriptions are appropriately omitted. Figure 3 is a schematic flowchart of the implementation of a method for processing a detection service according to a realization of this request. The method can be applied to an access and mobility management function. As shown in Figure 3, Method 300 includes the following steps. S302: The access and mobility management function receives detection service control information from an SCF. S304: The access and mobility management function sends the detection service control information to a detection device, where the detection service control information is used to instruct the detection device to obtain detection measurement data. In this request process, the access and mobility management function receives detection service control information from the SCF and sends it to the detection device. This information is then used to instruct the detection device to obtain detection measurement data. The detection device can then perform a detection measurement to generate the data and send it to the SCF.In fulfilling this application, in addition to providing a data communication transmission function, the wireless communication system can also provide a detection function, to help implement the fusion of wireless communication and radar detection, thus greatly reducing hardware deployment costs. Optionally, in one embodiment, the detection service control information is further used to indicate at least one of the following: the detection device configures a detection measurement resource; and the detection device performs the detection measurement. Optionally, in one embodiment, before the access and mobility management function receives the discovery service control information from the SCF, the method further includes: The access and mobility management function receives a discovery service request message sent by a first device; and the access and mobility management function sends the discovery service request message to the SCF, where the first device includes an AF or a consumer terminal device. Optionally, in one embodiment, the detection service request message includes at least one of the following: detection service description information, a consumer terminal device identifier, and detection service target range information. Optionally, in one embodiment, the target range information of the detection service includes range information corresponding to the position information of the consumer terminal device. This range information may be understood to be relative position information with respect to the position of the consumer terminal device, absolute position information, or similar. In other words, the target range information of the detection service includes three cases: the position of the consumer terminal device plus the relative position range; the position of the consumer terminal device plus the absolute position range; and the absolute position range. Optionally, in one embodiment, the detection service description information includes at least one of the following: detection service type information; information about a detection object; detection quantity information of the detection object; information about the purpose or use of the detection service; detection service granularity information; detection service runtime information; related reporting information of the detection measurement data; and detection service QoS information. Optionally, in one embodiment, the detection device includes at least one of the following: a detection terminal device and a detection access network device. Optionally, in one embodiment, the method further includes: The access and mobility management function sends an identifier or address information of the detection device to the SCF, where the SCF uses the identifier or address information of the detection device to select the detection device. Optionally, in one embodiment, the method further includes: The access and mobility management function receives the detection measurement data sent by the detection device; and the access and mobility management function sends the detection measurement data to the SCF. Optionally, in one embodiment, the detection device includes a detection terminal device, and the method further includes: The access and mobility management function requests, from a policy control function, a corresponding URSP from the detection terminal device, where the URSP includes a corresponding data path selection policy according to which the detection device sends the detection measurement data to the SCF; the access and mobility management function receives the URSP sent by the policy control function; and the access and mobility management function sends the received URSP to the detection device. Figure 4 is a schematic flowchart of the implementation of a method for processing a detection service according to a realization of this request. The method can be applied to one side of a detection device. As shown in Figure 4, Method 400 includes the following steps. S402: The sensing device receives control information from the sensing service of an SCF, where the control information from the sensing service is used to instruct the sensing device to obtain sensing measurement data. S404: The detection device obtains detection measurement data in accordance with the control information from the detection service. S406: The detection device sends the detection measurement data to the SCF. In this implementation, the detection device receives control information from the SCF detection service, obtains detection measurement data according to that control information, and transmits the generated detection measurement data. In this implementation, in addition to providing a data communication transmission function, the wireless communication system can also provide a detection function, facilitating the fusion of wireless communication and radar detection, thereby significantly reducing hardware deployment costs. Optionally, in one embodiment, the fact that the detection device obtains the detection measurement data in accordance with the control information of the detection service includes: The detection device performs the detection measurement in accordance with the control information of the detection service, to obtain the detection measurement data; or, the detection device indicates, in accordance with the control information of the detection service, to a second device to perform the detection measurement, to obtain the detection measurement data sent by the second device. Optionally, in one embodiment, the detection device instructing the second device to perform the detection measurement, in accordance with the detection service control information, includes: The detection device configures a detection measurement resource in accordance with the detection service control information; and the detection device sends information about the detection measurement resource to the second device, where the information about the detection measurement resource is used to instruct the second device to perform the detection measurement. Optionally, in one embodiment, the detection device sending detection measurement data to the SCF includes at least one of the following: The detection device sends detection measurement data to the SCF via a control plane tunnel; and the detection device sends detection measurement data to the SCF via a user plane tunnel. Optionally, in one embodiment, the detection service control information includes at least one of the following: detection service description information, a consumer terminal device identifier, and detection service target range information. Optionally, in one embodiment, the detection service description information includes at least one of the following: detection service type information; information about a detection object; detection quantity information of the detection object; information about the purpose or use of the detection service; detection service granularity information; detection service runtime information; related reporting information of the detection measurement data; and detection service QoS information. Optionally, in one embodiment, the detection device includes at least one of the following: a detection terminal device and a detection access network device. Optionally, in one embodiment, the sensing device includes a sensing terminal device, and the sensing device sending the sensing measurement data to the SCF includes: The sensing terminal device sends the sensing measurement data to the SCF via a NAS signaling tunnel or a packet data PDU session tunnel. Optionally, in one embodiment, the sensing end device sends the sensing measurement data to the SCF via the packet data PDU session tunnel, and the method further includes: The sensing end device receives a corresponding URSP sent by a policy control function, wherein the URSP includes a corresponding data path selection policy according to which the sensing end device sends the sensing measurement data to the SCF; and the sensing end device establishes or modifies the PDU session tunnel in accordance with the URSP. Figure 5 is a schematic flowchart of the implementation of a method for processing a detection service according to a realization of this request. The method can be applied to one side of a detection device. As shown in Figure 5, the 500 method includes the following steps. S502: The sensing terminal device obtains a URSP sent by a policy control function, where the URSP includes a corresponding data path selection policy according to which the sensing terminal device sends sensing measurement data to an SCF. S504: The detection device sends detection measurement data to the SCF according to the URSP. In this implementation, the detection terminal device receives the URSP from the policy control function, where the URSP includes the corresponding data path selection policy according to which the detection terminal device sends the detection measurement data to the SCF; and the detection device sends the detection measurement data to the SCF according to the URSP. In this implementation, in addition to providing a data communication transmission function, the wireless communication system can also provide a detection function, to help implement the fusion of wireless communication and radar detection, thereby greatly reducing hardware deployment costs.Optionally, in one embodiment, the URSP includes at least one of the following corresponding route selection description information: flow description information corresponding to the detection service, detection measurement data, time information, and position information. The route selection description information includes at least one of the following information: Data Network Name (DNN) selection information, segment selection information (e.g., Single Network Slice Selection Assistance Information, S-NSSAI), PDU session type selection information, access type selection information (e.g., a 3rd Generation Partnership Project, 3GPP access type, a non-3GPP access type), and the like. Optionally, in one embodiment, the method by which the discovery terminal device obtains the UE URSP path selection policy sent by the policy control function includes: The discovery terminal device obtains, via an access and mobility management function, the UE URSP path selection policy sent by the policy control function; or the discovery terminal device obtains, via the SCF, the URSP sent by the policy control function. Figure 6 is a schematic flowchart of the implementation of a method for processing a detection service according to a realization of this request. The method can be applied on one side of a policy control function. As shown in Figure 6, Method 600 includes the following steps. S602: The policy control function determines a URSP corresponding to a sensing terminal device, wherein the URSP includes a corresponding data path selection policy according to which the sensing terminal device sends sensing measurement data to an SCF. S604: The policy control function sends the URSP to the detection terminal device. In this implementation of the application, the policy control function determines the URSP corresponding to the detection terminal device. The URSP includes the corresponding data path selection policy according to which the detection terminal device sends the detection measurement data to the SCF. The policy control function then sends the URSP to the detection terminal device. In this implementation, in addition to providing a data communication transmission function, the wireless communication system can also provide a detection function, facilitating the fusion of wireless communication and radar detection, thereby significantly reducing hardware deployment costs. Optionally, in one embodiment, the URSP includes at least one of the following corresponding route selection description information: flow description information corresponding to the detection service, detection measurement data, time information, and position information. Optionally, in one embodiment, the method further includes: The policy control function receives a policy request message sent by an access and mobility management function or the SCF, where the policy request message is used to request the corresponding URSP from the discovery terminal device. Optionally, in one embodiment, the policy control function sending the URSP to the discovery terminal device includes: The policy control function sends the URSP to the discovery terminal device via the access and mobility management function; or the policy control function sends the URSP to the discovery terminal device via the SCF. To describe in detail the method for processing a detection service provided in the realizations of this request, descriptions are provided below with reference to two specific realizations. Implementation 1 An architecture to which this embodiment is applicable is shown in Figure 7. An independent sensing service function network element (e.g., an SCF) can be deployed in a network, and a point-to-point interface (e.g., an Nx interface) or a service-based interface is provided between the SCF and an AMF. The Nx interface or the service-based interface carries the transmission of control signaling related to the sensing task (e.g., sensing service control information) and / or sensing measurement data. It can be understood that the Nx interface may alternatively have another name. In this embodiment, a new protocol stack, specifically an NR detection protocol (NR detection protocol, NRSP), can be added between the SCF and a detection terminal device (UE) based on an existing protocol stack. The NR detection protocol can be understood as a protocol by which the SCF controls a detection device to perform the detection measurement configuration and report the detection measurement data, and the NR detection protocol may alternatively have another name. As shown in Figure 8, this implementation may include the following steps: Stage 0: Optionally, the consumer terminal device (consumer UE) exchanges detection task information with an AF at an application layer, where the detection task information may include an identifier (ID) of the consumer UE and description information of a detection service. The information describing the detection service includes at least one of the following: (1) Detection service type information, where type information is used to define a detection service type and can be defined according to a physical detection range and a real-time requirement. For example, Type I represents a wide detection range and a high real-time requirement (delay-critical LSS); Type II represents a wide detection range and a low real-time requirement (LSS); Type III represents a small detection range and a low real-time requirement (delay-critical SSS); and Type IV represents a small detection range and a low real-time requirement (SSS). (2) Information about a detection object, where the detection object includes, but is not limited to, at least one of: an article, a device, a person, an animal, a building, a car, an environment, air quality, humidity, temperature and a specific area (i.e., a particular area). (3) Detection quantity information of the detection object, where the detection quantity information includes, among others, at least one of: a position of the detection object, a distance of the detection object, a speed of movement of the detection object, images of the detection object, a movement trajectory of the detection object, texture analysis of the detection object, and material analysis of the detection object. (4) Information on the purpose or use of the detection service, corresponding respectively to the second and third columns of Table 1 below. Table 1 Purpose of use of the application of the detection service (5) Granularity information (by EU or by area) of the detection service, for example, indicating whether the detection service is for a single user or for a group of users, or indicating that the detection service is for a target area. (6) Runtime information of the detection service, where the runtime information of the detection service can be determined as absolute time information (e.g., from 13:00 to 19:00, Monday) or relative time information (e.g., within the next month). The runtime information may include a start time, an end time, the duration, or similar. (7) Related reporting information (reporting information) of detection measurement data, where reporting information is used to define a condition for reporting detection measurement data, a reporting time, a reporting format, a number of times to report, and the like. The reporting condition can be triggered by an event or triggered cyclically. In the former case, the reporting condition also includes information describing the event (for example, determining that a user has entered a driving state); in the latter case, the reporting condition also includes information about the reporting cycle (for example, every five minutes). The reporting time is used to indicate a time interval within which the detection measurement data must be reported, and the reporting time may or may not be consistent with the previous detection service time. Additionally, the notification format is used to specify how the detection measurement data will be reported, for example, indicating that the detection measurement data will be reported in binary / text format, or similar. The number of times to report indicates whether the report is generated once or multiple times, and a specific number of times to report if the report is generated multiple times. (8) Quality of Service (QoS) information of the detection service (or referred to as the detection indicator). The QoS of the detection service includes, but is not limited to, at least one of: detection accuracy, detection error, detection range, detection delay, detection probability, and false alarm probability, where detection accuracy includes: distance resolution, imaging resolution, motion speed resolution, or angular resolution; and detection error includes: distance error, imaging error, or motion speed error. Optionally, the consuming UE can also direct the detection service range information to the AF to indicate that the detection service is being performed for the detection service object within a specified range. The range can be a relative position range (e.g., within 20 meters) or an absolute position range (Tracking Area Identity, TAI, Cell ID, and Area Description information (e.g., Tiananmen Square, Beijing)). For example, when the detection service granularity is TAI(s), it indicates that the detection service is performed within a range specified by the TAI(s); or when the detection service granularity is an Area ID, it indicates that the detection service is performed within a range specified by the Area ID. When there are multiple pieces of information, the ranges indicated by these pieces of information can be either consistent or inconsistent.If the ranges indicated by the plurality of information fragments are inconsistent, it indicates that the detection service is performed within a union set range of the ranges indicated by the plurality of information fragments. At this stage, the AF can know that the consumer UE requests to run the detection service corresponding to the detection service description information. Step 1a: The AF service server sends a discovery service request message to the network (the AMF or SCF) through a NEF, where the discovery service request message can carry discovery service description information. The detection service description information in stage 1a may be the same as or different from that in stage 0. If the detection service description information in stage 1a is different from that in stage 0, the AF actually extracts or generates the corresponding detection service description information in stage 1a based on the detection service description information in stage 0. Optionally, the discovery service request message also includes service object identifier information for the discovery service, for example, the consumer's EU ID, to indicate a user device identifier that triggers the discovery service, or to indicate a user identifier corresponding to the discovery service's service object. Optionally, the detection service's target range information is used to indicate the execution of the detection service for the detection service object within the range. The range can be a relative position range (e.g., within 20 meters) or an absolute position range (e.g., Tiananmen Square, Beijing). Optionally, if the AF has determined which discovery device(s) (including a discovery terminal device or an access network device) is to be used for a particular service object (consumer UE) or a particular target range, the discovery service request message may also include discovery device identifier information (including discovery terminal device(s) ID(s) or access network device(s) ID(s)). In one implementation, the AF can send the discovery service request message to the AMF via the NEF, and then the AMF forwards the discovery service request message to the SCF. This implementation might occur, among other scenarios, where multiple SCFs are deployed on the network and the AMF needs to select a suitable SCF from among them based on information such as the location of the consuming UE and the type of discovery service. In another implementation, the AF can directly send the discovery service request message to the SCF via the NEF. This implementation can occur, among other scenarios, when one or a relatively small number of SCFs are deployed on the network. It should be noted that, if the AF is an AF that an operator relies on, step 1a can be performed without the NEF. Step 1b: Optionally, the consumer UE can alternatively send the detection service request message directly to the network (the AMF or the SCF). The content of the detection service request message is similar to that of step 1a. In one implementation, the consuming UE can send the discovery service request message to the AMF using a NAS message, and the AMF then forwards the discovery service request message to the SCF. This implementation might occur, among other scenarios, where multiple SCFs are deployed on the network and the AMF needs to select a suitable SCF from among them based on information such as the consuming UE's location and the type of discovery service. In another implementation, the consuming UE can directly send the discovery service request message to the SCF. This implementation can occur, among other scenarios, when one or a relatively small number of SCFs are deployed on the network. After receiving the message in stage 1a or 1b, the following two stages can also be included: The network (an executing body can be the AMF or the SCF) selects a corresponding detection device (including the detection terminal device / access network device) for the detection service of the target service object (the consumer UE). The network (an executing agency can be the AMF or the SCF) selects a corresponding detection device (including the detection terminal device / access network device) for the detection service within the target range (target AOI). In the two previous cases, if the AMF selects the corresponding detection devices, the AMF may also send identifiers or address information corresponding to the detection devices to the SCF before the following steps are performed. Step 2: The SCF sends detection service related information (corresponding to the detection service control information in the previous implementations) to the AMF, where the detection service related information may include a detection service correlation ID, a detection device identifier, the detection service description information (optional), and detection service configuration information. Specifically, the SCF may invoke a Namf_Communication_N1N2MessageTransfer message to send the detection service related information. The detection service correlation ID can be used to identify a detection service session. The detection device identifier is used to notify the AMF of a device participating in the detection signal measurement. The detection device may include the detection terminal device and / or the detection access network device. The detection device information is typically sent if the SCF selects the corresponding detection device. For descriptive information about the detection service, please refer to the descriptions above for more details. The detection service configuration information is policy and control information formulated by the SCF for the detection service description. For example, the detection service configuration information includes specifically used detection measurement data, a detection resource, a configured QoS profile for the detection service (a bandwidth setting, a priority setting, a precision setting, and so on), a configured activation condition for the detection service, reporting information, and so forth. The detection measurement data mentioned above includes: a first type of measurement data K11 and a second type of measurement data K12. Specifically, the first type of measurement data K11 includes at least one of the following: K111, an H-channel array; K112, a Received Signal Strength Indication (RSSI); K113, a Reference Signal Received Power (RSRP); K114, Channel State Information (CSI); K115, power of each path in a multipath channel; K116, delay of each path in the multipath channel; K117, angle information of each path in the multipath channel; K118, Doppler broadening; K119, Doppler frequency shift; K120, a phase difference between a detection signal received by a first antenna and a detection signal received by a second antenna; K121, a delay difference between the detection signal received by the first antenna and the detection signal received by the second antenna;and K122, a characteristic difference between an I-channel signal and a Q-channel signal; It should be noted that the characteristic difference may be a phase difference or some other difference between the I channel signal and the Q channel signal. It should be noted in this document that the channel I signal and the channel Q signal are respectively an in-phase signal and a quadrature signal, where I is in-phase, Q is quadrature, and the phase difference between the channel I signal and the channel Q signal is 90 degrees. Specifically, the second type of measurement data K12 includes at least one of the following: K121, characteristic information of a target article, where it should be noted that characteristic information of the target article is information that may reflect an attribute or a state of the target article, and may be at least one of the following: presence of the target article, a distance from the target article, a position of the target article, a speed of the target article, an acceleration of the target article, a material of the target article, a shape of the target article, a category of the target article, a Radar Cross Section (RCS) of the target article, a polarization scattering characteristic, and the like;K122, related information of a target event, where it should be noted that related information of the target event is information related to the target event, i.e., information that can be detected / perceived when the target event occurs, and may be at least one of the following: fall detection, intrusion detection, quantity statistics, indoor positioning, gesture recognition, lip language recognition, gait recognition, facial expression recognition, respiration monitoring, heart rate monitoring, and the like;and K123, related information of a target environment, where it should be noted that the related information of the target environment may be at least one of the following: humidity, brightness, temperature and humidity, atmospheric pressure, air quality, weather conditions, topography, distribution of buildings / vegetation, people count, crowd density, vehicle density and the like.; Optionally, the measurement data may also include at least one of the following: k21, a position, a material, a shape and / or a category of a reflection point; and k22, radar spectrum information. Optionally, the measurement data are measurement data for each antenna or measurement data for each detection resource (a time domain or a frequency domain, where the frequency domain includes one or more subcarriers, a Radio Bearer (RB), a Bandwidth Part (BWP), a carrier and the like). Step 3: The AMF sends the related detection service information (corresponding to the detection service control information in previous realizations) to the detection device. Step 3a: If the discovery device includes the discovery terminal device, the AMF sends the discovery service-related information to the discovery terminal device via a downlink NAS message. This discovery service-related information includes the discovery service correlation ID, the discovery device identifier, the discovery service description (optional), and the discovery service configuration information. Specifically, the discovery service-related information is encapsulated within the NAS message and transmitted transparently to the UE, making it potentially impossible for the AMF to parse. This method has two possible implementations. In one implementation, the detection terminal device, acting as the measurement executor for the detection service, performs a detection measurement on a detection signal received by the detection terminal device, based on the related detection service information sent by the AMF, to obtain the detection measurement data. In the other implementation, the detection terminal device configures a corresponding detection resource (e.g., a detection signal) based on the related detection service information sent by the AMF, and sends the detection signal to a network element used for detection measurement (including the UE itself, another detection terminal device, or the detection access network device), so that the other network element can obtain the detection measurement data. Step 3b: If the sensing device includes the sensing access network device, the AMF can further send sensing service related information to the sensing access network device by means of an N2 interface message, where the sensing service related information includes the sensing service correlation ID, the sensing device identifier, the sensing service description information (optional), and the sensing service configuration information. In one implementation, the discovery access network device sends a downlink discovery signal to the discovery terminal device based on information received from the discovery service. This allows the discovery terminal device to perform the corresponding measurement on the downlink discovery signal to obtain the relevant discovery measurement data. This implementation is generally applicable to a scenario where the discovery access network device uses existing Radio Resource Management (RRM) configuration information to control the discovery terminal device in order to measure certain existing measurement data (e.g., CSI, a Synchronization Signal and PBCH block, SSB, etc.).If the UE detects the downlink detection signal, the detection access network device can further notify the UE of the downlink detection signal configuration information, helping the UE to receive the downlink detection signal according to the configuration information. In another implementation, the detection access network device, acting as the detection service measurement executor, performs a detection measurement on a detection signal received by the detection access network device, based on the related detection service information sent by the AMF, to obtain the detection measurement data.The detection signal received by the detection access network device includes: a detection signal sent and received by the detection access network device itself, an uplink detection signal sent by the UE, or a detection signal sent by another access network device. If the detection access network device receives an uplink detection signal sent by the UE, it can notify the UE of the uplink detection signal configuration information in advance, helping the UE to send the uplink detection signal according to that configuration. The above configuration information for the detection signal may specifically include at least one of the following: (1) a waveform, for example, orthogonal frequency division multiplex (OFDM), single-carrier frequency division multiple access (SC-FDMA), orthogonal time frequency space (OTFS), a frequency modulated continuous wave (FMCW), a pulse signal, or the like; (2) a spacing between subcarriers: for example, a spacing between subcarriers of 30 KHz of an OFDM system; (3) A guard interval: a time interval between the moment when the transmission of a signal ends and the moment when a final echo signal of the signal is received; this parameter is proportional to a maximum detection distance; for example, the guard interval can be calculated by 2dmax / c, where " / " in this document represents a division operation, and dmax represents the maximum detection distance (which belongs to the detection requirements); for example, for a detection signal sent and received by the detection device itself, dmax represents a maximum distance between a point of reception of the detection signal and a point of transmission of the signal; and, in some cases, a cyclic prefix CP of an OFDM signal can serve as a minimum guard interval; (4) a bandwidth: this parameter is inversely proportional to a distance resolution, and can be obtained via c / (2*delta_d) , where " / " here represents a division operation, "*" represents a multiplication operation, delta_d represents the distance resolution (which belongs to the detection requirements) and c represents the speed of light; (5) Burst duration: This parameter is inversely proportional to a rate resolution (which belongs to the detection requirements), and this parameter is a time interval of the detection signal, mainly for the purpose of calculating a Doppler shift; this parameter can be obtained by dividing c by a first parameter value, which is a product of 2delta_v and fc, where delta_v represents the rate resolution; and fc represents a carrier frequency of the detection signal; (6) a time domain interval: this parameter can be obtained by dividing c by a second parameter value, which is a product of 2fc and v_range, where v_range is a maximum speed minus a minimum speed (which belongs to the detection requirements); and this parameter is a time interval between two adjacent detection signals; (7) transmission signal power, for example, a value taken every 2 dBm from -20 dBm to 23 dBm; (8) a signal format, for example a probe reference signal (SRS), a demodulation reference signal (DMRS), a positioning reference signal (PRS) or similar, or other predefined signal, a related sequence format and other information; (9) a signal direction, for example, direction or beam information of the detection signal; (10) a time resource, for example, an index of a slot in which the detection signal is located or a symbol index of the slot, wherein the time resource is divided into two types, one being a unique time resource, for example, a symbol sends a first omnidirectional signal, and the other being non-unique time resources, for example, a plurality of periodic time resource groups or discontinuous time resources (which may include a start time and an end time), each periodic time resource group sending detection signals in the same direction, and the beam directions in different periodic time resource groups are different; (11) a frequency resource, including a center frequency, bandwidth, RB or subcarrier, Point A, start bandwidth position or the like of the detection signal; and (12) a quasi co-location (QCL) relation, e.g. the detection signal includes a plurality of resources, each resource corresponds to an SSB QCL, and the QCL includes Type A, B, C or D. Similarly, in a case where the discovery access network device sends and receives the discovery signal itself, it can also configure the discovery signal beforehand, so that it sends the discovery signal according to the configuration information. For configuration information for the discovery signal sent and received by the discovery access network device itself, refer to the UE uplink discovery signal configuration information in the preceding text. Similarly, if the detection access network device receives a detection signal from another access network device, the detection access network device can also configure the detection signal for the other access network device in advance (or the SCF sends the detection service control information to the other access network device via the AMF to configure the detection signal), so that the other access network device sends the detection signal according to the configuration information. For the detection signal configuration information, refer to the UE uplink detection signal configuration information in the preceding text. Step 4a: The detection terminal device performs the detection measurement according to the related detection service information to obtain the detection measurement data. Step 4b: The detection access network device performs detection measurement according to the related information from the detection service, to obtain the detection measurement data. In another example, step 4b can be modified as: The access network device instructs the detection terminal device to perform the detection measurement. Specifically, the detection terminal device either sends and receives the detection signal itself or receives a downlink detection signal sent by a Radio Access Network (RAN), and performs the detection signal measurement to obtain the corresponding detection measurement data. Step 5: The detection device sends the detection measurement data to the AMF. When the detection device is the detection terminal device, this stage has two possible implementations: Step 5a: The detection terminal device sends the obtained detection measurement data to the AMF via an uplink NAS message. Steps 5b and 5c: The detection terminal device sends the obtained detection measurement data to the access network device via a Radio Resource Control (RRC) message, and the access network device sends the detection measurement data to the AMF. When the detection device is the discovery access network device, this step has one possible implementation: Step 5d: The detection access network device sends the detection measurement data obtained by the detection access network device to the AMF using the N2 interface message. Step 6: The AMF forwards the detection measurement data reported by the detection device to the SCF. Specifically, the AMF can forward the detection measurement data to the SCF using a Namf_Communication_N1InforNotify message. Step 7: Optionally, the SCF obtains an analysis result from the detection service in accordance with the detection measurement data. Specifically, the SCF can perform the corresponding computational analysis based on an internally configured algorithm specific to the type of detection service, to obtain the result of the detection service analysis. For example, the detection service result could be information about the user's respiratory health status (whether breathing is abnormal, the degree of abnormality, or similar), or information about traffic hazards in the neighborhood (whether there is a sudden appearance of a pedestrian, the probability of appearance, and the time), or similar information. Certainly, the algorithm can be an intelligent algorithm based on artificial intelligence (AI), and the algorithm can come from an external intelligent entity or from its own AI model training. Step 8: The SCF sends the detection measurement data and / or the result of the detection service analysis to the AF. Subsequently, the AF may also send the detection measurement data and / or the detection service analysis result to a consumer terminal device. Alternatively, step 8 may be replaced by the following: The SCF sends the detection measurement data and / or the detection service analysis result to a consumer terminal device. Implementation 2 Figure 9 shows an architecture to which this embodiment is applicable. An independent sensing service function network element (e.g., an SCF) is deployed in a network. A point-to-point interface (e.g., an Nx interface) or a service-based interface is provided between the SCF and an AMF, and a point-to-point interface (e.g., a Ny interface) or a service-based interface is provided between the SCF and a User Plane Function (UPF). The Nx interface or the corresponding service-based interface carries the transmission of control signaling related to the sensing task. The Nx interface or the corresponding service-based interface carries the transmission of sensing measurement data. It can be understood that the Nx or Ny interface may each have a different name. In addition, the AMF interacts with the UPF via a Session Management Function (SMF). In this embodiment, a new control plane protocol stack can be added between the SCF and a sensing terminal device (SU) based on an existing protocol stack, to control the transmission of control signaling related to the sensing task; and a new user plane protocol stack can be added between the SCF and the sensing terminal device (SU), to control the transmission of sensing measurement data. Steps 1 to 4 in this embodiment are similar to steps 1 to 4 in Embodiment 1. As shown in Figure 10, the difference lies in the following points. Optionally, at any time prior to step 4, a network Policy Control Function (PCF) can send one or more new UE Route Selection Policies (URSPs) to the UE via the AMF, where the URSP is used to instruct the UE to transmit network-related sensing service measurement data via a particular PDU session or to instruct the UE to offload measurement data to a non-3gpp tunnel for transmission to the network. In one example, in step 3a, the related information from the detection service carries the URSP. Alternatively, in steps 3b and 3c, the related information from the detection service carries the URSP. This step can take place in a procedure where the detection terminal device is registered on the network, or at another time when the URSP corresponding to the detection service must be delivered after registration is complete. In one example, in step 1a or 1b, when the detection service is activated, the AMF or SCF can request, from the PCF, the URSP corresponding to the detection terminal device, and the AMF / SCF sends the obtained URSP to the detection terminal device through step 2 or 3a. If a discovery service has multiple URSPs, these URSPs can be prioritized. Furthermore, the URSPs can correspond to different measurement data within the discovery service. Specifically, the URSP instructs the UE to route different measurement data within the same discovery service to different PDU sessions or to offload different measurement data within the same discovery service to a non-3GPP tunnel. Optionally, the URSP includes at least one of the following corresponding route selection description information: flow description information corresponding to the detection service, detection measurement data, time information, and position information. The flow description information for the discovery service includes at least one of the following: discovery service type information, discovery service identifier information (for example, a discovery service application ID); an Internet Protocol (IP) / non-IP address corresponding to a discovery service server; and port number information corresponding to the discovery service. Step 5: Optionally, if the detection terminal device determines that there is no PDU session that can be used to transmit the measurement data corresponding to the detection service, the detection terminal device initiates a PDU session creation / modification procedure. If the sensing terminal device determines that an existing PDU session can be used to transmit the corresponding measurement data to the sensing service, it is not necessary to initiate this step. Step 6: The detection terminal device sends the detection measurement data to the UPF using a PDU session user plane tunnel. The UPF forwards the detection measurement data to the SCF using the Ny interface between the UPF and the SCF. Stages 7 and 8 are the same as those in Implementation 1. Subsequently, the AF may also send the detection measurement data and / or the detection service analysis result to a consumer terminal device. Alternatively, step 8 may be replaced by the following: The SCF sends the detection measurement data and / or the detection service analysis result to a consumer terminal device. It should be noted that the method for processing a detection service provided in the embodiments of this request may be performed by a detection service processing device, or by a control module located in the detection service processing device and configured to perform the detection service processing method. In the embodiments of this request, an example is used in which the detection service processing device performs the detection service processing method to describe the detection service processing device provided in the embodiments of this request. Figure 11 is a schematic structural diagram of an apparatus for processing a detection service according to one embodiment of this application. The apparatus may correspond to an SCF in another embodiment. As shown in Figure 11, an 1100 apparatus includes the following modules: a 1102 receiving module, configured to receive a detection service request message sent by a first device; a sending module 1104, configured to: send detection service control information to a detection device, wherein the detection service control information is generated by the apparatus in accordance with the detection service request message, and the detection service control information is used to instruct the detection device to obtain detection measurement data; and The 1102 receiving module is also configured to receive detection measurement data sent by the detection device. In this execution of this request, the receiving module receives the detection service request message sent by the first device. The sending module sends the detection service control information to the detection device. The detection service control information is generated by the device according to the detection service request message and is used to instruct the detection device to obtain the detection measurement data. After the detection device performs the detection measurement to generate the detection measurement data, the receiving module can also receive the detection measurement data sent by the detection device.In fulfilling this application, in addition to providing a data communication transmission function, a wireless communication system can also provide a detection function, to help implement the fusion of wireless communication and radar detection, thereby greatly reducing hardware deployment costs. Optionally, in one embodiment, the detection service control information is further used to indicate at least one of the following: the detection device configures a detection measurement resource; and the detection device performs the detection measurement. Optionally, in one embodiment, the receiving module 1102 is configured to perform one of the following operations: directly receive the discovery service request message sent by the first device; receive, via a network exposure function, the discovery service request message sent by the first device; or receive, via an access and mobility management function, the discovery service request message sent by the first device, where the first device includes an AF application function or a consumer terminal device. Optionally, in one embodiment, the detection service request message includes at least one of the following: detection service description information, a consumer terminal device identifier, and detection service target range information. Optionally, in one embodiment, the target range information of the detection service includes range information corresponding to the position information of the consumer terminal device. Optionally, in one embodiment, the detection service description information includes at least one of the following: detection service type information; information about a detection object; detection quantity information of the detection object; information about the purpose or use of the detection service; detection service granularity information; detection service runtime information; related reporting information of the detection measurement data; and detection service QoS information. Optionally, in one embodiment, the 1104 dispatch module is configured to send detection service control information to the detection device via an access and mobility management function, where the detection device includes at least one of the following: a detection terminal device and a detection access network device. Optionally, in one embodiment, the device further includes a selection module, configured to perform at least one of the following operations: selecting the detection device according to the detection service request message sent by the first device; and selecting, according to an identifier or address information that is from the detection device and that is obtained in the access and mobility management function, the detection device. Optionally, in one embodiment, the receiving module 1102 is configured to perform at least one of the following: receive, via a control plane tunnel, the detection measurement data sent by the detection device; and receive, via a user plane tunnel, the detection measurement data sent by the detection device. Optionally, in one embodiment, when the sensing device is a sensing terminal device, the control plane tunnel includes a NAS signaling tunnel from the sensing terminal device. Optionally, in one embodiment, when the sensing device is a sensing terminal device, the user plane tunnel includes a packet data PDU session tunnel from the sensing terminal device. Optionally, in one embodiment, the 1102 receiving module can be configured to receive, via an access and mobility management function, the sensing measurement data sent by the sensing device, wherein the control plane tunnel includes a control plane tunnel between the SCF and the access and mobility management function. Optionally, in one embodiment, the receiving module 1102 can be configured to receive, via a user plane function, the detection measurement data sent by the detection device, wherein the user plane tunnel includes a user plane tunnel between the SCF and the user plane function. Optionally, in one embodiment, the detection measurement data is sent by the detection terminal device in accordance with a UE URSP path selection policy, and the sending module 1104 can be further configured to request, from a policy control function, the corresponding URSP from the detection terminal device, where the URSP includes a corresponding data path selection policy according to which the detection device sends the detection measurement data to the SCF; the receiving module 1102 can be further configured to receive the URSP sent by the policy control function; and the sending module 1104 can be further configured to send the received URSP to the detection terminal device. Optionally, in one embodiment, the sending module 1104 can be further configured to send at least one of the following to the first device: the detection measurement data; and a detection service analysis result obtained by the SCF in accordance with the detection measurement data. The apparatus 1100, according to this embodiment of this application, may correspond to the procedures of Method 200 in the embodiments of this application, and the units / modules in the apparatus 1100 and the operations and / or functions described above are separately for implementing the corresponding procedures of Method 200, and may achieve an equal or equivalent technical effect. For the sake of brevity, the details are not described again in this document. Figure 12 is a schematic structural diagram of a device for processing a detection service according to one embodiment of this application. The device may correspond to an access and mobility management function in another embodiment. As shown in Figure 12, a 1200 device includes the following modules: a 1202 receiving module, configured to receive detection service control information from an SCF; and a 1204 sending module, configured to send detection service control information to a detection device, wherein the detection service control information is used to instruct the detection device to obtain detection measurement data. In this request process, the receiving module receives the detection service control information from the SCF, and the sending module sends the detection service control information to the detection device. This information is then used to instruct the detection device to obtain the detection measurement data. In this way, the detection device can perform a detection measurement to generate the detection measurement data and send it to the SCF.In fulfilling this application, in addition to providing a data communication transmission function, a wireless communication system can also provide a detection function, to help implement the fusion of wireless communication and radar detection, thereby greatly reducing hardware deployment costs. Optionally, in one embodiment, the detection service control information is further used to instruct the detection device to configure a detection measurement resource. Optionally, in one embodiment, the receiving module 1202 can be further configured to receive a detection service request message sent by a first device; and the sending module 1204 can be further configured to send the detection service request message to the SCF, where the first device includes an AF or a consumer terminal device. Optionally, in one embodiment, the detection service request message includes at least one of the following: detection service description information, a consumer terminal device identifier, and detection service target range information. Optionally, in one embodiment, the target range information of the detection service includes range information corresponding to the position information of the consumer terminal device. Optionally, in one embodiment, the detection service description information includes at least one of the following: detection service type information; information about a detection object; detection quantity information of the detection object; information about the purpose or use of the detection service; detection service granularity information; detection service runtime information; related reporting information of the detection measurement data; and detection service QoS information. Optionally, in one embodiment, the detection device includes at least one of the following: a detection terminal device and a detection access network device. Optionally, in one embodiment, the 1204 sending module can be further configured to send a detection device identifier or address information to the SCF, where the detection device identifier or address information is used by the SCF to select the detection device. Optionally, in one embodiment, the receiving module 1202 can be further configured to receive the detection measurement data sent by the detection device; and the sending module 1204 can be further configured to send the detection measurement data to the SCF. Optionally, in one embodiment, the detection device includes a detection terminal device; the sending module 1204 can be further configured to request, from a policy control function, a corresponding URSP from the detection terminal device, where the URSP includes a corresponding data path selection policy according to which the detection device sends the detection measurement data to the SCF; the receiving module 1202 can be further configured to receive the URSP sent by the policy control function; and the sending module 1204 can be further configured to send the received URSP to the detection device.The apparatus 1200, in accordance with this embodiment of this application, may correspond to the procedures of method 300 in the embodiments of this application, and the units / modules in the apparatus 1200 and the operations and / or functions described above are separately for implementing the corresponding procedures of method 300, and may achieve an equal or equivalent technical effect. For the sake of brevity, the details are not described again in this document. Figure 13 is a schematic structural diagram of an apparatus for processing a detection service according to one embodiment of this application. The apparatus may correspond to a detection device in another embodiment. As shown in Figure 13, an apparatus 1300 includes the following modules: a 1302 receiving module, configured to receive detection service control information from an SCF, wherein the detection service control information is used to instruct the apparatus to obtain detection measurement data; a processing module 1304, configured to obtain detection measurement data in accordance with the detection service control information; and a 1306 sending module, configured to send detection measurement data to the SCF. In this implementation, the receiving module receives detection service control information from the SCF, the processing module obtains detection measurement data based on this control information, and the transmitting module sends the generated detection measurement data. In this implementation, in addition to providing data transmission, a wireless communication system can also provide detection capabilities, facilitating the fusion of wireless communication and radar detection, thereby significantly reducing hardware deployment costs. Optionally, in one embodiment, the processing module 1304 is configured to: perform a detection measurement according to the control information of the detection service, to obtain the detection measurement data; or indicate, according to the control information of the detection service, a second device to perform the detection measurement, to obtain the detection measurement data sent by the second device.Optionally, in one embodiment, the indication, according to the control information of the detection service, of a second device to perform the detection measurement includes: setting up, by the processing module 1304, a detection measurement resource according to the control information of the detection service; and sending, by the sending module 1306, information about the detection measurement resource to the second device, wherein the information about the detection measurement resource is used to indicate to the second device to perform the detection measurement. Optionally, in one embodiment, the 1306 send module is configured to perform at least one of the following operations: send the sensing measurement data to the SCF via a control plane tunnel; and send the sensing measurement data to the SCF via a user plane tunnel. Optionally, in one embodiment, the detection service control information includes at least one of the following: detection service description information, a consumer terminal device identifier, and detection service target range information. Optionally, in one embodiment, the detection service description information includes at least one of the following: detection service type information; information about a detection object; detection quantity information of the detection object; information about the purpose or use of the detection service; detection service granularity information; detection service runtime information; related reporting information of the detection measurement data; and detection service QoS information. Optionally, in one embodiment, the detection device includes at least one of the following: a detection terminal device and a detection access network device. Optionally, in one embodiment, the sensing device includes a sensing terminal device, and the 1306 sending module is configured to send the sensing measurement data to the SCF via a NAS signaling tunnel or a packet data PDU session tunnel. Optionally, in one embodiment, the sending module 1306 is configured to send the detection measurement data to the SCF via a packet data PDU session channel; the receiving module 1302 is configured to receive a URSP corresponding to the detection terminal device sent by a policy control function, wherein the URSP includes a corresponding data path selection policy according to which the detection terminal device sends the detection measurement data to the SCF; and the processing module 1304 is configured to establish or modify the PDU session tunnel in accordance with the URSP. The apparatus 1300, in accordance with this embodiment of this application, may correspond to the procedures of Method 400 in the embodiments of this application, and the units / modules in the apparatus 1300 and the operations and / or functions described above are separately for implementing the corresponding procedures of Method 400, and may achieve an equal or equivalent technical effect. For the sake of brevity, the details are not described again in this document. Figure 14 is a schematic structural diagram of an apparatus for processing a detection service according to one embodiment of this application. The apparatus may correspond to a detection device in another embodiment. As shown in Figure 14, an apparatus 1400 includes the following modules: a 1402 fetch module, configured to fetch a UE URSP path selection policy sent by a policy control function, wherein the URSP includes a corresponding data path selection policy whereby a sensing terminal device sends sensing measurement data to an SCF; and a 1404 sending module, configured to send detection measurement data to the SCF in accordance with the URSP. In this implementation of the application, the obtaining module retrieves the UE URSP path selection policy sent by the policy control function. The URSP includes the corresponding data path selection policy according to which the detection terminal device sends the detection measurement data to the SCF. The sending module then sends the detection measurement data to the SCF in accordance with the URSP. In this implementation, in addition to providing a data communication transmission function, a wireless communication system can also provide a detection function, facilitating the fusion of wireless communication and radar detection, thereby significantly reducing hardware deployment costs. Optionally, in one embodiment, the URSP includes at least one of the following corresponding route selection description information: flow description information corresponding to the detection service, detection measurement data, time information, and position information. Optionally, in one embodiment, the retrieval module 1402 is configured to retrieve, via an access and mobility management function, the UE URSP route selection policy sent by the policy control function. The apparatus 1400, according to this embodiment of this application, may correspond to the procedures of method 500 in the embodiments of this application, and the units / modules in the apparatus 1400 and the operations and / or functions described above are separately for implementing the corresponding procedures of method 500, and may achieve the same or an equivalent technical effect. For the sake of brevity, the details are not described again in this document. Figure 15 is a schematic structural diagram of an apparatus for processing a detection service according to one embodiment of this application. The apparatus may correspond to a policy control function in another embodiment. As shown in Figure 15, an apparatus 1500 includes the following modules: a determination module 1502, configured to determine a URSP corresponding to a sensing terminal device, wherein the URSP includes a corresponding data path selection policy according to which the sensing terminal device sends sensing measurement data to an SCF; and a 1504 sending module, configured to send the URSP to the detection terminal device. In this implementation of the application, the determination module determines the URSP corresponding to the detection terminal device. The URSP includes the corresponding data path selection policy according to which the detection terminal device sends the detection measurement data to the SCF. The transmitting module then sends the URSP to the detection terminal device. In this implementation, in addition to providing a data communication transmission function, a wireless communication system can also provide a detection function, facilitating the fusion of wireless communication and radar detection, thereby significantly reducing hardware deployment costs. Optionally, in one embodiment, the URSP includes at least one of the following corresponding route selection description information: flow description information corresponding to the detection service, detection measurement data, time information, and position information. Optionally, in one embodiment, the determination module 1502 can be further configured to receive a policy request message sent by an access and mobility management function or the SCF, where the policy request message is used to request the corresponding URSP from the detection terminal device. Optionally, in one embodiment, the 1504 sending module is configured to send the URSP to the detection terminal device via the access and mobility management function. The apparatus 1500, according to this embodiment of this application, may correspond to the procedures of method 600 in the embodiments of this application, and the units / modules in the apparatus 1500 and the operations and / or functions described above are separately for implementing the corresponding procedures of method 600, and may achieve an equal or equivalent technical effect. For the sake of brevity, the details are not described again in this document. The apparatus for processing a detection service in this embodiment of this application may be an electronic apparatus or device with an operating system, or it may be a component, integrated circuit, or chip in a terminal. The electronic apparatus or device may be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may include, but is not limited to, the terminal types listed above, and the non-mobile terminal may be a server, network-attached storage (NAS), a personal computer (PC), a television (TV), an ATM, or a self-service machine. This is not specifically limited in this embodiment of this application. The apparatus for processing a detection service provided in this embodiment of this application can implement the processes implemented in the method embodiments shown in Figures 2 through 10, and the same technical effect can be achieved. To avoid repetition, the details are not described again herein. Optionally, as shown in Figure 16, an embodiment of this application further provides a communication device 1600, which includes a processor 1601, a memory 1602, and a program or instruction stored in memory 1602 that can be executed by the processor 1601. For example, when the communication device 1600 is a terminal, the program or instruction is executed by the processor 1601 to implement the processes of the preceding method embodiments for processing a detection service, and the same technical effect can be achieved.When the 1600 communication device is a network-side device, the program or instruction is executed by the 1601 processor to implement the processes of the previous embodiments of the method for processing a detection service, and the same technical effect can be achieved. To avoid repetition, the details are not described again in this document. An implementation of this request additionally provides a terminal, which includes a processor and a communication interface.The communication interface is configured to receive detection service control information from a SCF, where the detection service control information is used to instruct the terminal to obtain detection measurement data; the processor is configured to obtain the detection measurement data in accordance with the detection service control information; the communication interface is further configured to send the detection measurement data to the SCF; or the communication interface is configured to: obtain a URSP sent by a policy control function, where the URSP includes a corresponding data path selection policy according to which the detection terminal device (i.e., the terminal used as the detection terminal device) sends the detection measurement data to the SCF; and send the detection measurement data to the SCF in accordance with the URSP. This terminal implementation corresponds to the implementation of the previous method on the terminal side. Each implementation process and step of the previous method implementation can be applied to this terminal implementation, and the same technical effect can be achieved. Specifically, Figure 17 is a schematic diagram of a terminal hardware structure according to this implementation. The 1700 terminal includes, but is not limited to, at least some components in a radio frequency unit 1701, a network module 1702, an audio output unit 1703, an input unit 1704, a sensor 1705, a display unit 1706, a user input unit 1707, an interface unit 1708, a memory 1709, and a processor 1710. A person skilled in the art may understand that the 1700 terminal can also include a power supply (such as a battery) that provides power to each component. The power supply can be logically connected to the 1710 processor using a power management system to implement functions such as charge and discharge management and power consumption management. The terminal structure shown in Figure 17 does not constitute a limitation for the terminal, and the terminal may include more or fewer components than those shown in the figure, combine some components, or have different component arrangements. These details are not described herein. It should be understood that, in this embodiment of this application, the input unit 1704 may include a graphics processing unit (GPU) 17041 and a microphone 17042, and the graphics processing unit 17041 processes image data from a still image or video obtained by an image capture device (such as a camera) in either video capture mode or image capture mode. The display unit 1706 may include a display panel 17061. The display panel 17061 may be configured in a form such as a liquid crystal display or an organic light-emitting diode. The user input unit 1707 includes a touch panel 17071 and another input device 17072. The touch panel 17071 is also referred to as a touchscreen. The touch panel 17071 may include two parts: a touch-sensing device and a touch controller.The other 17072 input device may include, among others, a physical keyboard, a function button (such as a volume control button or a power button), a trackball, a mouse, and a joystick. Details are not described herein. In this implementation of this application, the 1701 radio frequency unit receives downlink data from a network-side device and then sends the downlink data to the 1710 processor for processing; and it sends uplink data to the network-side device. Typically, the 1701 radio frequency unit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and similar components. The 1709 memory can be configured to store a software program or instruction and various data. The 1709 memory typically includes a program or instruction storage area and a data storage area. The program or instruction storage area can store an operating system, an application, or an instruction required by at least one function (for example, a sound playback function or an image playback function), and similar items. Additionally, the 1709 memory can include high-speed random-access memory and may also include non-transient memory.Non-transient memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory, for example, at least a disk storage device, flash memory, or other non-transient solid-state storage device. The 1710 processor may include one or more processing units. Optionally, an application processor and a modem processor may be integrated into the 1710 processor. The application processor primarily processes an operating system, user interface, application, instruction, or similar. The modem processor primarily processes wireless communication, for example, a baseband processor. It can be understood that, alternatively, the modem processor may not be integrated into the 1710 processor. Radio frequency unit 1701 is configured to receive detection service control information from an SCF, where the detection service control information is used to instruct the terminal to obtain detection measurement data; processor 1710 is configured to obtain the detection measurement data in accordance with the detection service control information; and radio frequency unit 1701 is further configured to send the generated detection measurement data. Alternatively, the radio frequency unit 1701) is configured to: obtain a URSP sent by a policy control function, wherein the URSP includes a corresponding data path selection policy according to which the sensing terminal device sends the sensing measurement data to the SCF; and send the sensing measurement data to the SCF in accordance with the URSP. In this execution of this request, the detection terminal receives detection service control information from the SCF, where the detection service control information is used to instruct the detection terminal to obtain detection measurement data; and the detection terminal obtains the detection measurement data according to the detection service control information and sends the generated detection measurement data. Alternatively, the detection terminal receives the URSP sent by the policy control function, where the URSP includes the corresponding data path selection policy according to which the detection terminal sends the detection measurement data to the SCF; and the detection terminal sends the detection measurement data to the SCF according to the URSP.In fulfilling this application, in addition to providing a data communication transmission function, a wireless communication system can also provide a detection function, to help implement the fusion of wireless communication and radar detection, thereby greatly reducing hardware deployment costs. The 1700 terminal provided in this implementation of this application can also implement the processes of previous implementations of the method for processing a detection service, and the same technical effect can be achieved. To avoid repetition, the details are not described again in this document. One implementation of this application additionally provides a network-side device, which includes a processor and a communication interface. The processor and communication interface can be configured to implement the methods described in Figures 2 through 6. The implementation of the network-side device corresponds to the implementation of the previous network-side device method. Each implementation process and method described in the previous method can be applied to the implementation of the network-side device, and the same technical effect can be achieved. Specifically, one implementation of this application further provides a network-side device. As shown in Figure 18, the 1800 network-side device includes an antenna 181, a radio frequency apparatus 182, and a baseband apparatus 183. The antenna 181 is connected to the radio frequency apparatus 182. In an uplink direction, the radio frequency apparatus 182 receives information using the antenna 181 and sends the received information to the baseband apparatus 183 for processing. In a downlink direction, the baseband apparatus 183 processes the information to be sent and sends the information to the radio frequency apparatus 182. The radio frequency apparatus 182 processes the received information and then sends the information using the antenna 181. The frequency band processing apparatus may be located in the baseband apparatus 183. The method carried out by the network-side device in the above embodiment may be implemented in the baseband apparatus 183. The baseband apparatus 183 includes a processor 184 and a memory 185. The baseband apparatus 183 may include, for example, at least one baseband board, where a plurality of chips are arranged on the baseband board. As shown in Figure 18, one chip, for example, the processor 184, is connected to memory 185, to invoke a program in memory 185 to perform the network-side device operations shown in the implementation of the preceding method. The baseband apparatus 183 may also include a network interface 186, configured to exchange information with the radio frequency apparatus 182. For example, the interface is a common public radio interface (CPRI for short). Specifically, the network-side device in this implementation of this application further includes an instruction or program stored in memory 185 that can be executed by processor 184. Processor 184 invokes the instruction or program in memory 185 to perform the method implemented by the modules shown in Figures 11 through 15, and the same technical effect can be achieved. To avoid repetition, the details are not provided again herein. It should be noted that when the 1800 network-side device is a core network device, the antenna 181, radio frequency apparatus 182 and baseband apparatus 183 may not be included. One implementation of this application further provides a readable storage medium. The readable storage medium stores a program or instruction. When the program or instruction is executed by a processor, the processes of the previous implementations of the method for processing a detection service are implemented, and the same technical effect can be achieved. To avoid repetition, the details are not described again in this document. The processor is the terminal processor described in the previous embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), a magnetic disk, a compact disc, or similar. One embodiment of this application further provides a chip. The chip includes a processor and a communication interface; the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the processes of the previous embodiments of the method for processing a detection service, and the same technical effect can be achieved. To avoid repetition, the details are not described again in this document. It should be understood that the chip mentioned in this embodiment of this application may also be referred to as a system-level chip, system chip, system-on-a-chip, or system-on-a-chip. An implementation of this application further provides a software product. The software product is stored in non-volatile memory. The software product is executed by at least one processor to implement the processes of the previous implementations of the method for processing a detection service, and the same technical effect can be achieved. To avoid repetition, the details are not described again in this document. An embodiment of this application further provides a communication device, configured to implement the processes of the prior embodiments of the method for processing a detection service, and the same technical effect can be achieved. To avoid repetition, the details are not repeated herein. It should be noted that, in this specification, the term "include," "comprising," or any variant thereof is intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent in that process, method, article, or apparatus. An element limited by "includes (a)..." does not, without further restriction, exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.Furthermore, it should be noted that the scope of the method and apparatus in the implementations of this application is not limited to performing functions in an illustrated or annotated sequence, and may also include performing functions essentially simultaneously or in a reverse sequence, depending on the functions in question. For example, the described method may be performed in a different order, and steps may be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples. Based on the descriptions of the prior implementations, a person skilled in the art can clearly understand that the method in the prior embodiments can be implemented either by software in addition to a necessary universal hardware platform or by hardware alone. In most cases, the former is a preferred implementation. Based on this understanding, the technical schemes of this application, essentially, or the part that contributes to the prior art, can be implemented in the form of a computer software product. The computer software product is stored on a storage medium (such as ROM / RAM, a hard disk, or an optical disk) and includes various instructions for instructing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, a network-side device, or the like) to perform the methods described in the embodiments of this application. Although the invention has been explained in relation to its preferred embodiment(s) as mentioned above, it should be understood that many other possible modifications and variations can be made without departing from the scope of the present invention, which is defined by the claims.
Claims
1. A method for processing a sensing service, the method comprising: receiving (S202), by a sensing control function, SCF, a sensing service request message sent by a first device; sending (S204), by the SCF, sensing service control information to a sensing device, wherein the sensing service control information is generated by the SCF in accordance with the sensing service request message, and the sensing service control information is used to instruct the sensing device to obtain sensing measurement data; and receiving (S206), by the SCF, the sensing measurement data sent by the sensing device, wherein sending (S204), by the SCF, of sensing service control information to a sensing device comprises: sending, by the SCF through an access and mobility management function,The detection service control information to the detection device, wherein the detection device comprises at least one of the following: a detection terminal device and a detection access network device; wherein prior to the transmission (S204) by the SCF of detection service control information to the detection device, the method further comprises at least one of the following: selecting, by the SCF, the detection device according to the detection service request message sent by the first device; and selecting, by the SCF, the detection device according to an identifier or address information that is of the detection device and that is obtained in the access and mobility management function.
2. The method according to claim 1,wherein the detection service control information is further used to indicate at least one of the following: the detection device configures a detection measurement resource; and the detection device performs a detection measurement; or wherein the receipt (S202), by an SCF, of a detection service request message sent by a first device comprises: receiving directly, by the SCF, the detection service request message sent by the first device; receiving, by the SCF via a network exposure function, the detection service request message sent by the first device; or receiving, by the SCF via an access and mobility management function, the detection service request message sent by the first device, wherein the first device comprises an application function, AF, or a consumer terminal device.
3. The method according to claim 1,wherein the detection service request message comprises at least one of the following: detection service description information, a consumer terminal device identifier, and detection service target range information; wherein the detection service target range information comprises range information corresponding to the consumer terminal device position information; or,wherein the detection service description information comprises at least one of the following: detection service type information; information about a detection object; detection quantity information of the detection object; information about the purpose or use of the detection service; detection service granularity information; detection service runtime information; related reporting information of the detection measurement data; and quality of service (QoS) information of the detection service.
4. The method according to claim 1, wherein the reception (S206) by the SCF of the detection measurement data sent by the detection device comprises at least one of the following: receiving, by the SCF via a control plane tunnel, the detection measurement data sent by the detection device; and receiving, by the SCF via a user plane tunnel,The detection measurement data sent by the detection device.
5. The method according to claim 4, wherein when the detection device is a detection terminal device, the control plane tunnel comprises a non-accessible layer signaling (NAS) tunnel from the detection terminal device.
6. The method according to claim 4, wherein when the detection device is a detection terminal device, the user plane tunnel comprises a packet data PDU session tunnel from the detection terminal device.
7. The method according to claim 4, wherein the reception, by the SCF via a control plane tunnel, of the detection measurement data sent by the detection device comprises: receiving, by the SCF via an access and mobility management function, the detection measurement data sent by the detection device,wherein the control plane tunnel comprises a control plane tunnel between the SCF and the access and mobility management function; or, wherein the reception, by the SCF via a user plane tunnel, of the detection measurement data sent by the detection device comprises: receiving, by the SCF via a user plane function, the detection measurement data sent by the detection device, wherein the user plane tunnel comprises a user plane tunnel between the SCF and the user plane function.
8. The method according to claim 6, wherein the detection measurement data is sent by the detection terminal device in accordance with a UE route selection policy, URSP, and the method further comprises: requesting, by the SCF from a policy control function, the URSP corresponding to the detection terminal device,wherein the URSP comprises a corresponding data path selection policy according to which the sensing device sends the sensing measurement data to the SCF; the SCF receives the URSP sent by the policy control function; and the SCF sends the received URSP to the sensing terminal device.
9. The method according to claim 1, wherein the method further comprises: the SCF sending to the first device at least one of the following: the sensing measurement data; and a sensing service analysis result obtained by the SCF according to the sensing measurement data.
10. A method for processing a sensing service, the method comprising: a sensing device receiving sensing service control information from an SCF,wherein the detection service control information is used to instruct the detection device to obtain detection measurement data; obtaining (S404), by the detection device, the detection measurement data in accordance with the detection service control information; and sending (S406), by the detection device, the detection measurement data to the SCF; wherein the detection service control information is sent by the SCF through an access and mobility management function to the detection device; the detection device comprises at least one of the following: a detection terminal device and a detection access network device; wherein the detection device is selected by the SCF in accordance with the detection service request message sent by the first device,or the detection device is selected by the SCF according to an identifier or address information that is from the detection device and that is obtained in the access and mobility management function.
11. An apparatus (1100) for processing a detection service, the apparatus comprising: a receiving module (1102), configured to receive a detection service request message sent by a first device; a sending module (1104), configured to: send detection service control information to a detection device, wherein the detection service control information is generated by the apparatus according to the detection service request message,and the detection service control information is used to instruct the detection device to obtain detection measurement data; and the receiving module is further configured to receive the detection measurement data sent by the detection device; wherein the sending module (1104) is configured to send, by the SCF via an access and mobility management function, the detection service control information to the detection device, wherein the detection device comprises at least one of the following: a detection terminal device and a detection access network device; wherein prior to the sending (S204), by the SCF, of detection service control information to the detection device, the sending module (1104) is further configured to perform at least one of the following: select, by the SCF,the detection device according to the detection service request message sent by the first device; and selecting, by the SCF, the detection device according to an identifier or address information that is from the detection device and that is obtained in the access and mobility management function.
12. An apparatus (1300) for processing a detection service, the apparatus comprising: a receiving module (1302), configured to receive detection service control information from an SCF, wherein the detection service control information is used to instruct the apparatus to obtain detection measurement data; a processing module (1304), configured to obtain the detection measurement data according to the detection service control information; and a sending module (1306),configured to send detection measurement data to the SCF; wherein detection service control information is sent by the SCF through an access and mobility management function to the detection device; the detection device comprises at least one of the following: a detection terminal device and a detection access network device; wherein the detection device is selected by the SCF according to the detection service request message sent by the first device, or the detection device is selected by the SCF according to an identifier or address information that is of the detection device and that is obtained in the access and mobility management function.