Perception method and device
By directly triggering and processing perception services through terminal devices calling APIs, the problem of inability to effectively trigger perception services in existing technologies is solved, and flexible and efficient perception service management is achieved.
Patent Information
- Application Number
- CN202410292520.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-12
- Publication Date
- 2025-09-12
AI Technical Summary
In the prior art, the way in which a service requester triggers a perception service may not satisfy certain scenarios, resulting in failure to effectively trigger the perception service.
Terminal devices directly trigger perception services by calling application programming interfaces (APIs), including requesting to enable perception type, area, duration, or performance parameters, and sending perception service requests, receiving and processing perception data and results, and directly or indirectly obtaining perception results to expose to applications.
It enables terminal devices to flexibly trigger and process perception services in different scenarios, meeting user needs and improving the controllability and efficiency of perception services.
Smart Images

Figure CN120640261A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a sensing method and device. Background Art
[0002] In the perception scenario, the service request direction sends a perception service request to the perception function network element to request the execution of the perception service; the perception function network element sends a control command to the perception device based on the perception service request; the perception device performs perception based on the perception requirements in the perception control command and reports the acquired perception data; the sensing data processing function (SDPF) processes the perception data to obtain the perception results, and can expose the perception results to the application.
[0003] However, the method of triggering the perception service by the service requester may not meet certain scenarios. Therefore, how to trigger the perception service remains to be studied. Summary of the Invention
[0004] The embodiments of the present application provide a perception method and apparatus, which enable a terminal device to trigger a perception service by calling an application program interface.
[0005] On the first aspect, an embodiment of the present application provides a perception method, which can be executed by a terminal device. The terminal device here can refer to the terminal device itself, or a processor, module, chip, or chip system that implements the method in the terminal device. In this method, the terminal device responds to a first instruction and calls a first application programming interface API. The first instruction is used to request the start of a first perception service that meets the perception requirement. The perception requirement includes at least one of the following: perception type, perception area, perception duration, or perception performance parameter. Based on the first API, the terminal device sends a perception service request, and the perception service request includes the identifier of the terminal device and the perception requirement. Among them, the first API is an API for requesting the start of a perception service.
[0006] It can be seen that in the embodiment of the present application, when the terminal device receives the first instruction requesting to start the first perception service that meets the perception requirements, it calls the first API to send a perception service request to trigger the start of the first perception service.
[0007] In an optional implementation, the terminal device may also perform the following operations: sending first perception data, where the first perception data is obtained by the terminal device executing a first perception service; receiving a first perception result, where the first perception result is obtained by the perception data processing function SDPF processing the first perception data, that is, the first perception result is obtained based on the first perception data; and based on the first API, passing the first perception result to an application deployed on the terminal device.
[0008] It can be seen that after the terminal device reports the first perception data, it obtains the first perception result returned by the SDPF. Therefore, the terminal device can expose the first perception result to the application deployed on the terminal device.
[0009] In an optional embodiment, before receiving the first perception result, the terminal device may further send a perception result acquisition request, where the perception result acquisition request includes the service identifier of the first perception service. In this manner, the terminal device requests to obtain the perception result corresponding to the first perception service through the perception result acquisition request.
[0010] In another optional embodiment, the terminal device further performs the following operations: in response to a second instruction, calling a second API, where the second instruction is used to request the acquisition of a perception result that satisfies the first information, where the first information includes at least one of the following: the perception type of the first perception service, the service identifier of the first perception service, the perception time of the first perception service, or the perception area of the first perception service; and based on the second API, sending a perception result acquisition request, where the perception result acquisition request includes the identifier of the terminal device and the first information. The second API is an API for requesting the acquisition of the perception result.
[0011] It can be seen that when the second instruction is input to the terminal device, it sends a perception result acquisition request by calling the second API to request to obtain the perception result that meets the first information. This method is conducive to the terminal device exposing the perception result to the application deployed on the terminal device.
[0012] In an optional embodiment, when the terminal device obtains the perception result by calling the second API, the terminal device also receives the first perception result and, based on the second API, transmits the first perception result to an application deployed on the terminal device. The first perception result satisfies the first information. Thus, the terminal device can obtain the first perception result that satisfies the first requirement by calling the second API and can expose the first perception result to the application deployed on the terminal device.
[0013] In another optional embodiment, the terminal device may also perform the following operations: receive perception control information, the perception control information is used to instruct the terminal device to execute a first perception service; execute the first perception service to obtain first perception data; process the first perception data to obtain a first perception result; based on the first API, pass the first perception result to an application deployed on the terminal device.
[0014] It can be seen that after the terminal device executes the first perception service and obtains the first perception data, it can also process the first perception data by itself to obtain the first perception result, thereby directly exposing the first perception result to the application deployed on the terminal device.
[0015] In an optional implementation, the terminal device may also receive second information before processing the first perception data and obtaining the first perception result. The second information is used to instruct the terminal device to process the perception data and obtain the perception result.
[0016] In an optional embodiment, before the terminal device responds to the first instruction, it may also perform the following operations: respond to a third instruction, call a third API, the third instruction is used to request to obtain the perception service type supported by the terminal device, the third instruction includes the identification of the terminal device and the location information of the terminal device; based on the third API, send a perception service type acquisition request, the perception service type acquisition request includes the identification of the terminal device and the location information of the terminal device; receive third information, the third information is used to indicate the perception service type supported by the terminal device.
[0017] It can be seen that when the third instruction is input to the terminal device, the terminal device can request to obtain the perception service type supported by the terminal device by calling the third API, which is conducive to the terminal device requesting to start the perception service supported by itself.
[0018] In a second aspect, embodiments of the present application further provide a communication device. The communication device has the capability to implement some or all of the functions of the terminal device described in the first aspect above. For example, the functions of the communication device may include some or all of the functions of the terminal device described in the first aspect of the embodiments of the present application, or may include the capability to independently implement any one of the embodiments of the present application. The functions may be implemented in hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the functions described above.
[0019] In one possible design, the communication device may include a processing unit and a communication unit. The processing unit is configured to support the communication device in performing the corresponding functions in the above method. The communication unit is configured to support communication between the communication device and other communication devices. The communication device may also include a storage unit, which is coupled to the processing unit and the communication unit and stores program instructions and data necessary for the communication device.
[0020] In one embodiment, the communication device includes: a processing unit and a communication unit, the device is applied to a terminal device, and the communication unit is used to send and receive signaling;
[0021] The processing unit is configured to call a first application programming interface (API) in response to a first instruction, wherein the first instruction is configured to request activation of a first sensing service that meets a sensing requirement, wherein the sensing requirement includes at least one of the following: a sensing type, a sensing area, a sensing duration, or a sensing performance parameter;
[0022] The processing unit is further configured to send a perception service request based on the first API, where the perception service request includes an identifier of the terminal device and the perception requirement.
[0023] In addition, in this aspect, other optional implementations of the communication device can refer to the relevant content of the first aspect above and will not be described in detail here.
[0024] As an example, the communication unit may be a transceiver or a communication interface, the storage unit may be a memory, and the processing unit may be a processor.
[0025] In one embodiment, the communication device includes: a processor and a transceiver, the device is applied to a terminal device, and the transceiver is used to send and receive signaling;
[0026] The processor is configured to call a first application programming interface (API) in response to a first instruction, wherein the first instruction is configured to request to enable a first sensing service that meets a sensing requirement, where the sensing requirement includes at least one of the following: a sensing type, a sensing area, a sensing duration, or a sensing performance parameter;
[0027] The processor is further configured to send a perception service request based on the first API, where the perception service request includes an identifier of the terminal device and the perception requirement.
[0028] In addition, in this aspect, other optional implementations of the communication device can refer to the relevant content of the first aspect above and will not be described in detail here.
[0029] In another embodiment, the communication device is a chip or a chip system. The processing unit may also be embodied as a processing circuit or a logic circuit; and the communication unit may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or related circuits on the chip or chip system.
[0030] During implementation, the processor can be used to perform, for example, but not limited to, baseband-related processing, and the transceiver can be used to perform, for example, but not limited to, radio frequency transceiver. The above-mentioned devices can be respectively arranged on independent chips, or at least partially or entirely arranged on the same chip. For example, the processor can be further divided into an analog baseband processor and a digital baseband processor. Among them, the analog baseband processor can be integrated with the transceiver on the same chip, and the digital baseband processor can be arranged on a separate chip. With the continuous development of integrated circuit technology, more and more devices can be integrated on the same chip. For example, a digital baseband processor can be integrated with multiple application processors (such as, but not limited to, a graphics processor, a multimedia processor, etc.) on the same chip. Such a chip can be called a system on a chip (SoC). Whether each device is independently arranged on different chips or integrated on one or more chips often depends on the needs of the product design. The embodiments of the present application do not limit the implementation form of the above-mentioned devices.
[0031] In a third aspect, an embodiment of the present application further provides a processor for executing the various methods described above. In the process of executing these methods, the process of sending the above-mentioned information and receiving the above-mentioned information in the above-mentioned methods can be understood as the process of the processor outputting the above-mentioned information and the process of the processor receiving the above-mentioned information input. When outputting the above-mentioned information, the processor outputs the above-mentioned information to the transceiver so that the transceiver can transmit it. After being output by the processor, the above-mentioned information may also need to undergo other processing before reaching the transceiver. Similarly, when the processor receives the above-mentioned information input, the transceiver receives the above-mentioned information and inputs it into the processor. Furthermore, after the transceiver receives the above-mentioned information, the above-mentioned information may need to undergo other processing before being input into the processor.
[0032] For the sending and receiving operations involved in the processor, unless otherwise specified, or unless they conflict with their actual functions or internal logic in the relevant descriptions, they can be more generally understood as processor output, reception, input and other operations, rather than sending and receiving operations directly performed by the RF circuit and antenna.
[0033] During implementation, the processor may be a processor specifically configured to execute these methods, or may be a processor that executes computer instructions in a memory to execute these methods, such as a general-purpose processor. The memory may be a non-transitory memory, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed on separate chips. The embodiments of the present application do not limit the type of memory or the configuration of the memory and the processor.
[0034] In a fourth aspect, an embodiment of the present application further provides a communication system, which includes a terminal device, a network device, and a core network device. In another possible design, the system may also include other devices / functional network elements that interact with the terminal device, the network device, and the core network device.
[0035] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium for storing instructions, which, when executed by a computer, implements the method described in the first aspect above.
[0036] In a sixth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, implements the method described in the first aspect above.
[0037] In the seventh aspect, an embodiment of the present application provides a chip system, which includes a processor and an interface, wherein the interface is used to obtain a program or instruction, and the processor is used to call the program or instruction to implement or support the terminal device to implement the functions involved in the first aspect. For example, determining or processing at least one of the data and information involved in the above method. In one possible design, the chip system also includes a memory, which is used to store program instructions and data necessary for the terminal. The chip system can be composed of a chip, or it can include a chip and other discrete devices.
[0038] In an eighth aspect, an embodiment of the present application provides a communication device, comprising a processor for executing a computer program or executable instructions stored in a memory, so that when the computer program or executable instructions are executed, the device executes the methods in each possible implementation of the first aspect.
[0039] In one possible implementation, the processor and memory are integrated;
[0040] In another possible implementation, the memory is located outside the communication device.
[0041] The beneficial effects of the second to eighth aspects can refer to the beneficial effects of the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a schematic diagram of a system architecture provided by an embodiment of the present application;
[0043] Figure 2 This is a flow chart of a sensing method provided in an embodiment of the present application;
[0044] Figure 3 It is a schematic diagram of the transmission of perception data;
[0045] Figure 4 This is another schematic diagram of sensory data transmission;
[0046] Figure 5 This is another schematic diagram of sensory data transmission;
[0047] Figure 6 This is an interactive schematic diagram of a perception method provided in an embodiment of the present application;
[0048] Figure 7 This is an interactive diagram of another perception method provided in an embodiment of the present application;
[0049] Figure 8 This is an interactive diagram of another perception method provided in an embodiment of the present application;
[0050] Figure 9 This is a schematic diagram of the structure of a communication device provided in an embodiment of the present application;
[0051] Figure 10 It is a structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The technical solutions in the embodiments of the present application are clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0053] To better understand the embodiments of the present application, the following first introduces the system architecture involved in the embodiments of the present application:
[0054] See Figure 1 , Figure 1 A schematic diagram of a system architecture provided in an embodiment of the present application. Figure 1 As shown in the figure, the system architecture includes terminal equipment, network equipment, access and mobility management function (AMF), network repository function (NRF), session management function (SMF), data communication proxy (DCP), data storage function (DSF), sensing service control function (SSCF) and sensing data processing function (SDPF).
[0055] Among them, one or more applications (APPs) are deployed on the terminal device, and the operating system (OS) of the terminal device can be connected to the baseband (BB) and the APP. An application programming interface (API) related to the perception service is newly added to the OS of the terminal device. For example, at least one of the following multiple APIs is newly added to the OS of the terminal device: an API for requesting to obtain the perception service type supported by the terminal device, an API for requesting to start the perception service, and an API for requesting to obtain the perception result. Therefore, when an instruction is input to the APP of the terminal device, it can respond to the instruction by calling the relevant API to obtain the supported perception service type, or to start the perception service, or to obtain the perception result.
[0056] The AMF is a control plane function provided by the operator network, responsible for access control and mobility management of terminal devices accessing the operator network, such as mobility status management, allocating temporary user identities, and authenticating and authorizing users.
[0057] SMF is a control plane function provided by the operator network, responsible for managing the protocol data unit (PDU) session of the terminal device. A PDU session is a channel for transmitting PDUs. The terminal device needs to transmit PDUs to and from the data network (DN) through the PDU session. The SMF is responsible for establishing, maintaining, and deleting PDU sessions. SMF includes session management (such as session establishment, modification, and release, including tunnel maintenance between the user plane function (UPF) and the radio access network (RAN)), UPF selection and control, service and session continuity (SSC) mode selection, roaming, and other session-related functions.
[0058] Network devices can publish perception data to the DCP in the form of topics, and then the SDPF retrieves data from the DCP using the same topic. In other words, the DCP is used to store perception data in the form of topics.
[0059] SSCF is used to receive capability registrations from perception entities, implement the orchestration of perception services (including the selection of perception signal receiving and sending entities, configuration information distribution, data bearer establishment, etc.), perception service lifecycle management, generation of billing events, generation of incentive events, policy distribution, and perception service continuity management. SSCF communicates with other network functions (NFs) via a service-based interface (SBI). SSCF can register the services it provides with the NRF network element. SSCF and AMF communicate based on SBI, SSCF and SDPF communicate via a dedicated interface, and SSCF and RAN can communicate indirectly via AMF or directly via the Ns interface.
[0060] The SDPF processes sensor data, including calculating sensory measurement data from raw sensor data and sensory results from sensory measurement data; data routing and forwarding; policy enforcement (quality of service, billing, incentives, and security); providing data exposure interfaces to the network exposure function (NEF); managing the Internet Protocol (IP) addresses of terminal devices; and protecting data privacy. The SDPF is directly connected to the SSCF and mounted on the DCP.
[0061] The embodiments of the present application can be applied to long term evolution (LTE) systems, fifth generation (5G) mobile communication systems, sixth generation (6G) mobile communication systems and other systems evolved after 5G, satellite communications and short-range wireless communication systems.
[0062] The wireless communication systems mentioned in the embodiments of the present application include but are not limited to: narrowband Internet of Things (NB-IoT) system, global system for mobile communications (GSM) system, enhanced data rate for GSM evolution (EDGE) system, wideband code division multiple access (WCDMA) system, code division multiple access 2000 (CDMA2000) system, time division-synchronization code division multiple access (TD-SCDMA) system, LTE and three major application scenarios of 5G mobile communication systems: enhanced mobile broadband (eMBB), ultra-reliable-low-latency communication (URLLC) and enhanced machine type communication (eMTC).
[0063] In the embodiment of the present application, the network device is an entity on the network side for transmitting or receiving signals, has wireless transceiver functions, and is used to communicate with the terminal device. The network device can be an evolved Node B (eNB or eNodeB) in LTE, or a base station in a 5G / 6G network or a base station in a future evolved public land mobile network (PLMN), a broadband network gateway (BNG), an aggregation switch, or a non-third generation partnership project (3GPP) access device. Optionally, the network devices in the embodiments of the present application may include various forms of base stations, such as: macro base stations, micro base stations (also known as small stations), relay stations, access points, devices that realize base station functions in the future, access points (APs) in wireless fidelity (WiFi) systems, transmitting and receiving points (TRPs), transmitting points (TPs), mobile switching centers, and devices that perform base station functions in device-to-device (D2D), vehicle-to-everything (V2X), and machine-to-machine (M2M) communications, devices that realize base station functions in communication systems evolved after 5G, integrated access and backhaul (IAB), and may also include centralized units (CUs) and distributed units (DUs) in cloud radio access networks (C-RAN) systems, non-terrestrial networks (non-terrestrial networks), and mobile switching centers. The network equipment in the NTN communication system can be deployed on a high-altitude platform or a satellite, or can be various devices constituting an access node, such as an active antenna unit (AAU) and a baseband unit (BBU), etc., which are not specifically limited in the embodiments of the present application.
[0064] Network devices can communicate and interact with core network devices to provide communication services to terminal devices. Core network devices are, for example, devices in the 5G core network (CN). As a bearer network, the core network provides an interface to the data network, providing communication connections, authentication, management, policy control, and data service delivery for terminals.
[0065] In the embodiments of the present application, a terminal device is an entity on the user side that is used to receive or transmit signals. It may include various handheld devices with wireless communication capabilities, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem. A terminal device may also be referred to as a terminal. Terminal equipment may also refer to user equipment (UE), access terminal, subscriber unit, user agent, cellular phone, smart phone, wireless data card, personal digital assistant (PDA), tablet computer, wireless modem, handheld device (handset), laptop computer, smart point of sale (POS), customer-premises equipment (CPE), machine type communication (MTC) terminal, communication equipment carried on high-altitude aircraft, wearable device, drone, robot, terminal in D2D, terminal in V2X, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, etc. This application does not limit the wireless terminals in the city, the wireless terminals in the smart home, or the terminal devices in the future communication network.
[0066] The embodiments disclosed herein will present various aspects, embodiments, or features of the present invention centered around a system comprising multiple devices, components, modules, etc. It should be understood that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the accompanying drawings. Furthermore, combinations of these solutions may also be used.
[0067] This embodiment of the application proposes a sensing method 100. Figure 2 1 is a flow chart of the perception method 100. The perception method 100 is described from the perspective of the terminal device. The perception method 100 includes but is not limited to the following steps:
[0068] S201. The terminal device responds to a first instruction and calls a first API. The first instruction is used to request to start a first perception service that meets a perception requirement. The perception requirement includes at least one of the following: perception type, perception area, perception duration, or perception performance parameter.
[0069] Among them, the first instruction is input by the user through an APP deployed on the terminal device. The APP can be an APP related to perception, for example, the APP is an APP for triggering a perception service, or an APP for obtaining perception results. The first instruction is used to request the activation of a first perception service that meets the perception needs. The perception needs are input by the user to the APP through the first instruction. For example, when the user needs to activate the first perception service, he inputs the first instruction through an APP deployed on the terminal device and related to perception. The first instruction includes the perception needs to request the activation of the first perception service that meets the perception needs.
[0070] In addition, the perception type is the perception type of the first perception service. The perception type of the first perception service can be, for example, one of home intrusion detection, breathing detection, human posture detection, or rainfall detection. The perception area is the area where the first perception service is requested to be enabled. For example, if the first perception service is requested to be enabled in area A, the perception area is area A. The perception duration is the duration of the request to enable the first perception service. For example, if the first perception service is requested to be enabled in the first time period, the perception duration is the first time period. The first time period is the time period between time point t1 and time point t2. The perception performance parameter is the performance indicator parameter required to achieve the first perception service requested to be enabled. The performance indicator parameter can be, for example, at least one of distance resolution, velocity resolution, angle measurement accuracy, or horizontal field of view angle.
[0071] The first API is an API in the operating system of the terminal device, and the first API is used to request the activation of the perception service. Then, the terminal device responds to the first instruction and calls the first API, including: responding to the first instruction of an APP deployed on the terminal device, and calling the first API in the OS through the APP to request the activation of the first perception service.
[0072] Optionally, the terminal device calling the first API includes: calling the first API and using the sensing requirement as input to the first API to request activation of a first sensing service that meets the sensing requirement. For example, the terminal device calls the function android.telephony.SensingManager and uses the sensing requirement as input to the function android.telephony.SensingManager to request activation of the first sensing service that meets the sensing requirement.
[0073] It can be seen that when the first instruction is input into a certain APP, the terminal device responds to the first instruction by calling the first API to request to start the first perception service that meets the perception requirements in the first instruction.
[0074] In an optional embodiment, before the terminal device responds to the first instruction, it may also perform the following operations: respond to a third instruction, call a third API, the third instruction is used to request to obtain the perception service type supported by the terminal device, the third instruction includes the identification of the terminal device and the location information of the terminal device; send a perception service type acquisition request based on the third API, the perception service type acquisition request includes the identification of the terminal device and the location information of the terminal device; receive third information, the third information is used to indicate the perception service type supported by the terminal device.
[0075] Among them, the third API is an API for requesting to obtain the perception service type. The third instruction is entered by the user through an APP deployed on the terminal device. The APP may be an APP related to perception, and the APP is the same as or different from the APP into which the first instruction is entered. For example, the APP related to perception is APP#1, and the user enters the third instruction through APP#1, as well as the first instruction. For another example, the APPs related to perception include APP#1 and APP#2, and the user enters the third instruction through APP#1, as well as the first instruction through APP#2.
[0076] The third instruction is used to request the types of sensing services supported by the terminal device. The types of sensing services supported by the terminal device include at least one of the following: home intrusion detection, breathing detection, human posture detection, or rainfall detection. The terminal device identifier is used to identify the terminal device, and the terminal device identifier can be an identity identifier of the terminal device. The terminal device identifier is used by the SSCF to verify the legitimacy of the terminal device.
[0077] The location information of the terminal device may be geographical location information of the terminal device, such as global positioning system (GPS) location information of the terminal device, or relative location information of the terminal device relative to a reference object.
[0078] Terminal devices in different location areas support different types of sensing services. Therefore, the SSCF can determine the types of sensing services supported by the terminal device based on the terminal device's location information. For example, a terminal device in location area A may support home intrusion detection, breathing detection, and human posture detection, while a terminal device in location area B may support rainfall detection. The SSCF determines based on the terminal device's location information that the terminal device is located in location area A. Therefore, the SSCF determines that the sensing services supported by the terminal device include home intrusion detection, breathing detection, and human posture detection.
[0079] It can be seen that after the APP on the terminal device is input with the third instruction, it can respond to the third instruction by calling the third API in the OS. The terminal device then converts the function of the third API into a perception service type acquisition request, and sends the perception service type acquisition request to request the perception service type supported by the terminal device. Thus, the SSCF determines the perception service type supported by the terminal device based on the location information of the terminal device, and indicates the perception service type supported by the terminal device to the terminal device through the third information. Accordingly, the terminal device learns the perception service type supported by itself through the third information.
[0080] Optionally, the third information includes identifiers corresponding to one or more types of sensing services supported by the terminal device. For example, if the types of sensing services supported by the terminal device include home intrusion detection, respiration detection, and human posture detection, the third information includes an identifier corresponding to home intrusion detection, an identifier corresponding to respiration detection, and an identifier corresponding to human posture detection.
[0081] The identifier corresponding to each of the multiple sensing service types may be pre-negotiated between the terminal device and the SSCF. For example, the terminal device and the SSCF pre-negotiate that the letter a represents the type of home intrusion detection, the letter b represents the type of respiration detection, and the letter c represents the type of human posture detection. In this case, the identifier corresponding to home intrusion detection is the letter a, the identifier corresponding to respiration detection is the letter b, and the identifier corresponding to human posture detection is the letter c. If the sensing service types supported by the terminal device include home intrusion detection, respiration detection, and human posture detection, the third information includes the letters a, b, and c.
[0082] S202. The terminal device sends a perception service request based on the first API, where the perception service request includes an identifier of the terminal device and perception requirements.
[0083] In an optional implementation, the terminal device sends a perception service request based on the first API, including: converting the function of the first API into a perception service request, and sending the perception service request, where the perception service request is used to request the start of a first perception service that meets the perception requirements.
[0084] The identifier of the terminal device is used by the SSCF to verify whether the terminal device can execute the first perception service.
[0085] Optionally, the sensing service request may further include an identifier of a sensing result exposure mode, where the sensing result exposure mode includes terminal device exposure, NEF exposure, or gateway exposure, etc. This mode enables the SSCF to expose the sensing result in the sensing result exposure mode requested by the terminal device.
[0086] Optionally, the terminal device sends the perception service request, including: the terminal device sends the perception service request to the RAN, and the RAN forwards the perception service request to the SSCF. The RAN directly forwards the perception service request from the terminal device to the SSCF through the Ns interface, or the RAN forwards the perception service request from the terminal device to the SSCF through the AMF.
[0087] It can be seen that the terminal device converts the function of the first API into a perception service request and sends the perception service request to the SSCF to request the SSCF to start the first perception service that meets the perception requirement. In other words, the terminal device can request to trigger the perception service by calling the first API.
[0088] In an optional embodiment, after receiving the perception service request, the SSCF further sends perception control information to the terminal device via the RAN, where the perception control information is used to instruct the terminal device to execute the first perception service. Accordingly, the terminal device receives the perception control information, executes the first perception service based on the perception control information, and obtains the first perception data.
[0089] Optionally, the perception control information is further used to instruct the terminal device to establish a perception service bearer, so that the terminal device can also establish a perception service bearer based on the perception control information. The perception service bearer established by the terminal device is used to carry perception data or perception results. For example, the terminal device can report the first perception data via the perception service bearer.
[0090] In addition, from the perspective of the data processing stage, the data type of the first perception data includes but is not limited to one of raw data, spectral information and point cloud information. The raw data can be the in-phase / orthogonal data (i.e., I / Q data) of the radio frequency signal, and can also be understood as the time domain digital signal obtained after the perception device performs analog-to-digital (A / D) conversion on the received reflected signal (or echo signal). Spectral information includes range velocity (RV) spectrum, range Doppler (RD) spectrum, range velocity angle (RVA) spectrum and range Doppler angle (RDA) spectrum. Point cloud information can be understood as the position information and velocity of the scattering points detected by the perception device.
[0091] Raw data, spectral information, and point cloud information are all obtained when the sensing device performs sensing services. Specifically, raw data is obtained by processing the received reflected signals when the sensing device performs sensing services; spectral information is obtained by processing the raw data when the sensing device performs sensing services; and point cloud information is obtained by processing the spectral information when the sensing device performs sensing services. Spectral information and / or point cloud information can also be referred to as intermediate information, intermediate processing information, or pre-processed information.
[0092] It can be seen that after receiving the perception service request, the SSCF can arrange the terminal device to perform the first perception service based on the perception control information. Therefore, the terminal device performs the first perception service based on the perception control information and obtains the first perception data.
[0093] Optionally, the SSCF may further, through indication information, orchestrate the SDPF to process the perception data corresponding to the first perception service to obtain a perception result. This approach facilitates the SDPF to process the perception data corresponding to the first perception service to obtain a perception result after obtaining the perception data. For example, the SSCF may further send indication information to the SDPF, where the indication information includes a service identifier for the first perception service. The indication information is used to instruct the SDPF to process the perception data corresponding to the first perception service to obtain a perception result. Thus, after obtaining the first perception data, the SDPF may process the first perception data to obtain a first perception result.
[0094] In addition, the perception data obtained by the terminal device can be exposed to a third party in the form of a perception result, such as exposure to an APP deployed on the terminal device. The perception result can be the location information and speed information of the target after aggregating multiple scattering points into a target. Optionally, the perception result can also include information such as the target size and outline of the target. For example, when the type of perception service is home intrusion detection, the perception result can be one or more of the location information, speed information, size information and outline information of the intrusion target. For another example, when the type of perception service is breathing detection, the perception result can be normal breathing or abnormal breathing. For another example, when the type of perception service is human posture detection, the perception result can be normal human posture or abnormal human posture. For another example, when the type of perception service is rainfall detection, the perception result is the amount of rainfall.
[0095] The following describes several implementation methods for exposing perception results:
[0096] Implementation method 1: SDPF sends the perception result to the terminal device, and the terminal device exposes the perception result through the first API.
[0097] Specifically, the terminal device sends first perception data to the SDPF via the perception service bearer. In response, the SDPF receives the first perception data, processes the first perception data, obtains a first perception result, and then sends the first perception result to the terminal device. The terminal device, based on the first API, transmits the first perception result to an application deployed on the terminal device.
[0098] That is to say, the terminal device can also perform the following operations: sending first perception data; receiving a first perception result, which is obtained by SDPF processing the first perception data; and passing the first perception result to an application deployed on the terminal device based on the first API.
[0099] For example, the first perception service type is home intrusion detection. The first perception data obtained by the terminal device when executing the first perception service is point cloud information. The terminal device reports this point cloud information to the SDPF, which processes the point cloud information and obtains a first perception result indicating the presence of an illegal intrusion. The SDPF transmits this first perception result back to the terminal device, which then exposes it to an app deployed on the terminal device via a first API. Furthermore, the user can be informed of the illegal intrusion by the first perception result displayed on the app.
[0100] Optionally, the SDPF sends the first perception result to the terminal device, which may be sent to the terminal device through the RAN, or may be sent to the terminal device through the UPF and the RAN. The embodiment of the present application does not limit the implementation method of the SDPF sending the first perception result to the terminal device.
[0101] Optionally, before receiving the first perception result, the terminal device may also send a perception result acquisition request. The perception result acquisition request is used to request the perception result corresponding to the first perception service. The perception result acquisition request includes the service identifier of the first perception service. Accordingly, the SDPF receives the perception result acquisition request. In this manner, the SDPF can learn, based on the perception result acquisition request, that the terminal device requests the perception result corresponding to the first perception service, and can thereby return the first perception result to the terminal device.
[0102] It can be seen that SDPF can return the first perception result obtained by processing the first perception data to the terminal device, and the terminal device can expose the first perception result to the application deployed on the terminal device through the first API.
[0103] Implementation method 2: The terminal device requests to obtain the perception result by calling the second API, and exposes the perception result through the second API.
[0104] Specifically, the terminal device requests to obtain the perception result by calling the second API, including: responding to the second instruction, calling the second API, the second instruction is used to request to obtain the perception result that meets the first information, the first information includes at least one of the following: the perception type of the first perception service, the service identifier of the first perception service, the perception time of the first perception service, or the perception area of the first perception service; based on the second API, sending a perception result acquisition request, the perception result acquisition request includes the identifier of the terminal device and the first information.
[0105] The second instruction is input by the user through an APP related to the perception service deployed on the terminal device, and the first information is input by the user to the APP through the second instruction. The second API in the OS is an API for requesting to obtain the perception result.
[0106] Therefore, when the second instruction is input to the app deployed on the terminal device, the terminal device responds to the second instruction and calls the second API in the OS through the app. The terminal device then converts the function of the second API into a perception result acquisition request and sends the perception result acquisition request to request the perception result that satisfies the first information.
[0107] Correspondingly, the DSF receives the perception result acquisition request and sends a first perception result that satisfies the first information to the terminal device. The first perception result in the DSF is obtained by the SDPF after processing the first perception data from the terminal device and stored in the DSF in the form of a service identifier of the first perception service.
[0108] Correspondingly, the terminal device also receives a first perception result that satisfies the first information, and based on the second API, passes the first perception result to an application deployed on the terminal device to expose the first perception result to the APP.
[0109] It can be seen that the terminal device can obtain the first perception result that meets the first information by calling the second API, and then can expose the first perception result to the application deployed on the terminal device based on the second API.
[0110] Implementation method 3: The terminal device processes the perception data by itself, obtains the perception result, and exposes the perception result through the first API.
[0111] Specifically, after obtaining the first perception data, the terminal device processes the first perception data to obtain a first perception result. The terminal device then transmits the first perception result to an application deployed on the terminal device based on the first API to expose the first perception result.
[0112] For example, the first perception service type is home intrusion detection. The terminal device obtains raw information from the first perception data obtained by executing the first perception service. The terminal device processes this raw data and obtains a first perception result indicating no illegal intrusion. The terminal device transmits this first perception result back to an app deployed on the terminal device via a first API. Furthermore, the user can verify that no illegal intrusion has occurred through the first perception result displayed on the app.
[0113] Optionally, after receiving the perception service request, the SSCF may further send a second message to the terminal device, where the second message is used to instruct the terminal device to process the perception data and obtain a perception result. For example, after receiving the perception service request, if the SSCF determines that the terminal device sending the perception service request has the ability to independently process the perception data, the SSCF may send the second message to the terminal device to instruct the terminal device to independently process the perception data and obtain a perception result.
[0114] Accordingly, the terminal device processes the first perception data and receives the second information before obtaining the first perception result. Thus, after obtaining the first perception data, the terminal device processes the first perception data on its own and exposes the obtained first perception result.
[0115] It can be seen that in Implementation Modes 1 to 3, the terminal device exposes the perception results through the API, so that the APP can directly obtain the perception data from the terminal device, which can improve usability and user experience.
[0116] See Figure 3 , Figure 3 This is a schematic diagram of perceptual data transmission. Figure 3As shown in the figure, the terminal device transparently transmits the perception data to the UPF through the RAN. The UPF then transmits the perception data to the SDPF. The SDPF processes the perception data to obtain the perception results, and then exposes the perception results through the NEF or gateway (GW). For example, the SDPF exposes the perception results to the app through the NEF or GW.
[0117] See Figure 4 , Figure 4 This is another schematic diagram of sensing data transmission. Figure 4 As shown in Figure 1, the terminal device transmits the perception data to the RAN via the data radio bearer (DRB). The RAN then passes the perception data to the SDPF via the DCP. The SDPF processes the perception data to obtain the perception results, which are then exposed through the NEF or GW. Figure 4 The sensor data transmission method shown is the same as Figure 3 Compared with the sensory data transmission method shown in Figure 4 The perception data stored in the DCP includes the perception data of the terminal device and the perception data of the RAN. Figure 3 The perception data obtained by SDPF includes the perception data of the terminal device, but does not include the perception data of the RAN.
[0118] See Figure 5 , Figure 5 This is another diagram of sensing data transmission. Figure 5 As shown in Figure 1, the terminal device sends the perception data to the RAN through the DRB. The RAN then sends the perception data to the UPF, which then sends the perception data to the SDPF. The SDPF processes the perception data to obtain the perception results, which are then exposed through the NEF or GW. Figure 5 The sensor data transmission method shown is the same as Figure 3 Compared with the sensory data transmission method shown in Figure 5 The perception data obtained by SDPF includes the perception data of the terminal device and the perception data of RAN. Figure 3 The perception data obtained by SDPF includes the perception data of the terminal device, but does not include the perception data of the RAN.
[0119] visible, Figures 3 to 5 In the embodiment of the present application, the SDPF exposes the sensing results through NEF or GW. Figures 3 to 5 The implementation method in exposes the first perception result.
[0120] In addition, with Figures 3 to 5Compared with the exposure method of perception results in Implementation 1 to Implementation 3, the terminal device exposes the perception results through the API, rather than the SDPF exposing the perception results through the NEF or GW, which can meet the scenario requirements of exposing the perception results by the terminal device.
[0121] In an embodiment of the present application, after the APP deployed on the terminal device is input with the first instruction, the terminal device responds to the first instruction, calls the first API for requesting to start the perception service through the APP, and sends a perception service request based on the first API to trigger the first perception service that meets the perception requirements in the first instruction.
[0122] See Figure 6 , Figure 6 It is an interactive diagram of a perception method. Specifically, Figure 6 This is an interactive diagram that takes the SDPF returning the perception results to the terminal device and the terminal device exposing the perception results as an example. Figure 6 As shown, the interaction process between various devices / functional network elements includes but is not limited to:
[0123] S601. The terminal device responds to the first instruction on the APP and calls the first API in the OS through the APP.
[0124] The first instruction is used to request the activation of a first perception service that meets a perception requirement. The perception requirement includes at least one of the following: perception type, perception area, perception duration, or perception performance parameter. The first instruction is entered by a user through an app deployed on a terminal device. The first API is used to request the activation of the perception service.
[0125] When a user inputs a first instruction to an app deployed on a terminal device, the terminal device responds to the first instruction on the app by calling a first API in the OS through the app to request the start of a first perception service that meets the perception requirement in the first instruction. When the terminal device calls the first API in the OS through the app, the input of the first API is the perception requirement.
[0126] S602. The terminal device sends a perception service request to the RAN via the baseband based on the first API. The perception service request includes the terminal device's identifier and perception requirements. In response, the RAN receives the perception service request.
[0127] Specifically, the terminal device converts the function of the first API into a perception service request, and sends the perception service request to the RAN through the baseband. The perception service request is used to request to start the first perception service that meets the perception requirements.
[0128] S603. RAN sends a perception service request to SSCF. Correspondingly, SSCF receives the perception service request.
[0129] Optionally, the RAN sends the awareness service request directly to the SSCF. Optionally, the RAN sends the awareness service request to the SSCF via the AMF.
[0130] S604. SSCF performs perception service orchestration based on the perception service request.
[0131] Specifically, the SSCF arranges multiple perception devices that execute the first perception service based on the content in the perception service request, and the multiple perception devices include terminal devices.
[0132] In addition, the SSCF also arranges multiple perception devices that execute the first perception service and establishes a perception service bearer. The perception service bearer established by each of the multiple perception devices is used to carry perception data and / or perception results.
[0133] S605. The SSCF sends perception control information, where the perception control information is used to instruct the terminal device to execute the first perception service. Correspondingly, the terminal device receives the perception control information.
[0134] Specifically, the SSCF arranges the terminal device to perform the first perception service based on the perception service request, and sends perception control information to the terminal device to instruct the terminal device to perform the first perception service.
[0135] Optionally, the perception control information is also used to instruct the terminal device to establish a perception service bearer.
[0136] Optionally, the SSCF further sends perception control information to other perception devices among the multiple perception devices, excluding the terminal device, to instruct the other perception devices to execute the first perception service. For example, if the multiple perception devices also include an access network device, the SSCF further sends perception control information to the access network device, where the perception control information is used to instruct the access network device to execute the first perception service. Thus, the access network device can execute the first perception service and obtain perception data based on the perception control information.
[0137] Optionally, the SSCF may further, through an instruction message, instruct the SDPF to process the perception data corresponding to the first perception service to obtain a perception result. For example, the SSCF may send an instruction message to the SDPF, where the instruction message includes an identifier of the first perception service, and the instruction message is used to instruct the SDPF to process the perception data of the first perception service to obtain a perception result.
[0138] S606. The terminal device executes the first perception service based on the perception control information and obtains the first perception data.
[0139] Optionally, the terminal device also establishes a perception service bearer based on the perception control information, and the perception service bearer is used to carry perception data and / or perception results.
[0140] S607: The terminal device sends the first perception data. Correspondingly, the SDPF receives the first perception data.
[0141] Specifically, the terminal device sends the first perception data to the SDPF through the RAN based on the perception service bearer. Optionally, the terminal device sends the first perception data to the SDPF through the RAN and the UPF based on the perception service bearer.
[0142] S608. SDPF processes the first perception data to obtain a first perception result.
[0143] S609. The SDPF sends the first perception result. Correspondingly, the terminal device receives the first perception result.
[0144] Optionally, the SDPF sends the first perception result to the terminal device through the RAN based on the perception service bearer. Optionally, the SDPF sends the first perception result to the terminal device through the RAN and UPF based on the perception service bearer.
[0145] Optionally, the SDPF can also store the first perception result in the DSF in the form of a perception service identifier. This method is conducive to other devices / functional network elements subsequently obtaining the first perception result in the DSF through the service identifier of the first perception service. For example, the SDPF sends an indication message to the DSF, where the indication message is used to instruct the DSF to store the perception result corresponding to the first perception service, and the indication message includes the service identifier of the first perception service and the first perception result, so that the DSF stores the first perception result in the form of the service identifier of the first perception service based on the indication message.
[0146] S610. The terminal device transmits the first perception result to the APP based on the first API.
[0147] Specifically, the terminal device passes the first perception result to the APP deployed on the terminal device by calling the first API on the OS.
[0148] It can be seen that when the APP on the terminal device is input with the first instruction, it responds to the first instruction and calls the first API on the OS through the APP. The terminal device then converts the function of the first API into a perception service request and sends the perception service request. Thus, based on the perception service request, the SSCF sends perception control information to the terminal device to orchestrate the terminal device to perform the first perception service. Based on the perception control information, the terminal device executes the first perception service, obtains the first perception data, and reports the first perception data to the SDPF. The SDPF processes the first perception data, obtains the first perception result, and transmits the first perception result back to the terminal device. Furthermore, the terminal device exposes the first perception result to the APP deployed on the terminal device through the first API. This method can meet the scenario requirements of exposing perception results by the terminal device.
[0149] See Figure 7 , Figure 7 This is an interactive diagram of another perception method. Specifically, Figure 7 This is an interactive diagram that takes the example of a terminal device obtaining the perception results by calling an API request and exposing the perception results. Figure 7 As shown, the interaction process between various devices / functional network elements includes but is not limited to:
[0150] S701. The terminal device responds to the second instruction on the APP and calls the second API in the OS through the APP.
[0151] The second instruction is input by the user through the APP on the terminal device and is used to request the acquisition of a perception result that satisfies the first information. The first information includes at least one of the following: perception type, service identifier, perception time, or perception area. The specific implementation of the first information is described in the above-mentioned perception method 100 and is not repeated here. The second API is an API in the terminal device's OS for requesting the acquisition of the perception result.
[0152] Therefore, after the user inputs the second instruction to the APP in the terminal device, the APP calls the second API in the OS to request to obtain the perception result that satisfies the first information. When the terminal device calls the second API in the OS through the APP, the input of the second API is the first information.
[0153] S702. The terminal device sends a sensing result acquisition request via the baseband based on the second API. The sensing result acquisition request is used to request the sensing result that satisfies the first information. Correspondingly, the SSCF receives the sensing result acquisition request.
[0154] Specifically, the terminal device converts the function of the second API into a perception result acquisition request and sends the perception result acquisition request via the baseband. Optionally, the terminal device sends the perception result acquisition request to the SSCF via the baseband and the RAN. In other words, the baseband of the terminal device sends the perception result acquisition request to the RAN, and the RAN forwards the perception result acquisition request to the SSCF.
[0155] Optionally, the terminal device sends a perception result acquisition request to the SSCF through the baseband, RAN, and AMF. That is, the baseband of the terminal device sends the perception result acquisition request to the RAN, the RAN forwards the perception result acquisition request to the AMF, and the AMF forwards the perception result acquisition request to the SSCF.
[0156] S703. Based on the perception result acquisition request, the SSCF sends third information to the DSF, where the third information is used to instruct the DSF to send the perception result that meets the first information to the terminal device, wherein the third information includes the first information.
[0157] The SSCF obtains the perception result request through the perception result acquisition request, and learns that the terminal device requests the perception result that satisfies the first information, thereby instructing the DSF to send the perception result that satisfies the first information to the terminal device through the third information.
[0158] S704. The DSF sends a first perception result, and the first perception result satisfies the first information. Correspondingly, the terminal device receives the first perception result.
[0159] S705. The terminal device transmits the first perception result to the APP based on the second API.
[0160] Specifically, the terminal device passes the first perception result to the APP deployed on the terminal device by calling the second API on the OS.
[0161] It can be seen that when the APP on the terminal device is input with the second instruction, it responds to the second instruction and calls the second API on the OS through the APP. The terminal device then converts the function of the second API into a perception result acquisition request and sends the perception result acquisition request. Thus, the SSCF instructs the DSF to send the perception result that meets the first information in the perception acquisition request to the terminal device through the third information. Furthermore, the DSF sends the first perception result that meets the first information to the terminal device, and the terminal device exposes the first perception result to the APP deployed on the terminal device based on the second API. This method can meet the scenario requirements of exposing perception results by the terminal device.
[0162] See Figure 8 , Figure 8 This is another interactive diagram of a perception method. Specifically, Figure 8The interactive diagram is an example of a terminal device that starts a perception service by calling an API request, processes the perception data obtained by executing the perception service, obtains the perception result, and exposes the perception result. Figure 8 As shown, the interaction process between various devices / functional network elements includes but is not limited to:
[0163] S801. The terminal device responds to the first instruction on the APP and calls the first API in the OS through the APP.
[0164] S802. The terminal device sends a perception service request to the RAN via the baseband based on the first API. The perception service request includes the terminal device's identifier and perception requirements. In response, the RAN receives the perception service request.
[0165] S803. RAN sends a perception service request to SSCF. Correspondingly, SSCF receives the perception service request.
[0166] S804. SSCF performs perception service orchestration based on the perception service request.
[0167] S805. The SSCF sends perception control information, where the perception control information is used to instruct the terminal device to execute the first perception service. Correspondingly, the terminal device receives the perception control information.
[0168] S806. The terminal device executes the first perception service based on the perception control information and obtains the first perception data.
[0169] The implementation of S801 to S806 can refer to the implementation of S601 to S606 above, and will not be described in detail.
[0170] S807. The terminal device processes the first perception data to obtain a first perception result.
[0171] Optionally, the SSCF further sends second information to the terminal device, the second information being used to instruct the terminal device to process the perception data and obtain a perception result. Accordingly, the terminal device also receives the second information. Based on the second information, the terminal device thereby learns that it has the capability to process the perception data and obtain a perception result. Therefore, after obtaining the first perception data, the terminal device independently processes the first perception data and obtains the first perception result.
[0172] S808. The terminal device transmits the first perception result to the APP based on the first API.
[0173] As can be seen, the terminal device can not only request to start the first perception service by calling the first API, but can also independently process the first perception data obtained by executing the first perception service to obtain the first perception result, and then expose the first perception result to the app deployed on the terminal device. This method can meet the scenario requirements of the terminal device exposing the perception result.
[0174] With respect to the technical solutions described above, the corresponding device implementation solutions are further described below.
[0175] To implement the various functions of the methods provided in the embodiments of the present application, the terminal device may include hardware structures and / or software modules, and implement the aforementioned functions in the form of hardware structures, software modules, or a combination of hardware structures and software modules. Whether a particular one of the aforementioned functions is implemented in the form of hardware structures, software modules, or a combination of hardware structures and software modules depends on the specific application and design constraints of the technical solution.
[0176] like Figure 9 As shown, an embodiment of the present application provides a communication device 900. The communication device 900 can be a component of a terminal device (e.g., an integrated circuit, a chip, etc.). The communication device 900 can also be other communication units for implementing the method in the method embodiment of the present application. The communication device 900 may include: a communication unit 901 and a processing unit 902. Optionally, it may also include a storage unit 903.
[0177] In one possible design, Figure 9 One or more units may be implemented by one or more processors, or by one or more processors and memories, or by one or more processors and transceivers, or by one or more processors, memories, and transceivers, and this is not limited in the present embodiment. The processors, memories, and transceivers may be provided separately or integrated.
[0178] The communication device 900 has the functions of implementing the terminal device described in the embodiments of this application. For example, the communication device 900 includes a reader / writer that executes the modules, units, or means corresponding to the steps involved in the terminal device in the above-mentioned method embodiments. The functions, units, or means can be implemented through software, hardware, hardware executing the corresponding software implementation, or a combination of software and hardware. For further details, please refer to the corresponding description in the above-mentioned corresponding method embodiments.
[0179] In one possible design, the communication device 900 may include: a processing unit 902 and a communication unit 901;
[0180] The processing unit 902 is configured to call a first application programming interface (API) in response to a first instruction, wherein the first instruction is configured to request activation of a first sensing service that meets a sensing requirement, where the sensing requirement includes at least one of the following: a sensing type, a sensing area, a sensing duration, or a sensing performance parameter;
[0181] The processing unit 902 is further configured to send a perception service request based on the first API, where the perception service request includes an identifier of the terminal device and the perception requirement.
[0182] In an optional embodiment, the communication unit 901 is used to send first perception data, which is obtained by executing the first perception service; the communication unit 901 is also used to receive a first perception result, which is obtained based on the first perception data; the processing unit 902 is also used to pass the first perception result to an application deployed on the terminal device based on the first API.
[0183] In an optional implementation, before receiving the first perception result, the communication unit 901 further sends a perception result acquisition request, where the perception result request includes a service identifier of the first perception service.
[0184] In another optional embodiment, the processing unit 902 is further used to: respond to a second instruction and call a second API, wherein the second instruction is used to request to obtain a perception result that satisfies the first information, and the first information includes at least one of the following: the perception type of the first perception service, the service identifier of the first perception service, the perception time of the first perception service, or the perception area of the first perception service; based on the second API, send a perception result acquisition request, and the perception result acquisition request includes the identifier of the terminal device and the first information.
[0185] In an optional embodiment, the communication unit 901 is also used to receive a first perception result, which satisfies the first information; the processing unit 902 is also used to pass the first perception result to an application deployed on the terminal device based on the second API.
[0186] In an optional embodiment, the processing unit 902 is also used to: receive perception control information, the perception control information is used to instruct the terminal device to execute the first perception service; execute the first perception service to obtain first perception data; process the first perception data to obtain a first perception result; based on the first API, pass the first perception result to an application deployed on the terminal device.
[0187] In an optional implementation, the communication unit 901 is further configured to receive second information, where the second information is configured to instruct the terminal device to process the perception data and obtain a perception result.
[0188] In an optional embodiment, before responding to the first instruction, the processing unit 902 is further used to: respond to a third instruction, call a third API, the third instruction is used to request to obtain the perception service type supported by the terminal device, the third instruction includes the identification of the terminal device and the location information of the terminal device; based on the third API, send a perception service type acquisition request, the perception service type acquisition request includes the identification of the terminal device and the location information of the terminal device; receive third information, the third information is used to indicate the perception service type supported by the terminal device.
[0189] The embodiments of the present application and the above-mentioned method embodiments are based on the same concept, and the technical effects they bring are also the same. For the specific principles, please refer to the description of the above-mentioned embodiments, which will not be repeated here.
[0190] The embodiment of the present application further provides a communication device 1000, Figure 10 1 is a schematic diagram of the structure of a communication device 1000. The communication device 1000 can be a terminal device, or a chip, chip system, or processor that supports the terminal device to implement the above method. The device can be used to implement the method described in the above method embodiment. For details, please refer to the description of the above method embodiment.
[0191] The communication device 1000 may include one or more processors 1001. The processor 1001 may be a general-purpose processor or a dedicated processor. For example, it may be a baseband processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or a central processing unit (CPU). The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control a communication device (e.g., a base station, a baseband chip, a terminal, a terminal chip, a DU or CU, etc.), execute software programs, and process data from the software programs.
[0192] Optionally, the communication device 1000 may include one or more memories 1002, on which instructions 1004 may be stored. The instructions may be executed on the processor 1001, causing the communication device 1000 to perform the method described in the above method embodiment. Optionally, data may also be stored in the memory 1002. The processor 1001 and memory 1002 may be provided separately or integrated together.
[0193] Optionally, the communication device 1000 may further include a transceiver 1005 and an antenna 1006. The transceiver 1005 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., and is configured to implement transceiver functions. The transceiver 1005 may include a receiver and a transmitter. The receiver may be referred to as a receiver or a receiving circuit, etc., and is configured to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, etc., and is configured to implement a transmitting function.
[0194] In one possible design, the communication device 1000 can be applied to a terminal device. Specifically, the processor 1001 is used to execute S201 and S201 in the above-mentioned perception method 100.
[0195] Optionally, the processor 1001 may store an instruction 1003. The instruction 1003 runs on the processor 1001, which may enable the communication device 1000 to perform the method described in the above method embodiment. The instruction 1003 may be fixed in the processor 1001. In this case, the processor 1001 may be implemented by hardware.
[0196] The embodiment of the present application and the embodiment of the method shown in the above-mentioned perception method 100 are based on the same concept, and the technical effects they bring are also the same. For the specific principles, please refer to the description of the embodiment shown in the above-mentioned perception method 100, and no further details will be given.
[0197] The embodiment of the present application further provides a communication system, which may include a terminal device, a network device, and a core network device. In another possible design, the system may also include other devices / functional network elements that interact with the terminal device, the network device, and the core network device.
[0198] An embodiment of the present application further provides a chip, which includes a processor, and the processor calls a computer program stored in a memory to enable a communication device including the chip to implement the functions of any of the above method embodiments.
[0199] An embodiment of the present application further provides a computer-readable storage medium for storing computer software instructions, which, when executed by a communication device, implements the functions of any of the above method embodiments.
[0200] An embodiment of the present application also provides a computer program product for storing computer software instructions, which, when executed by a communication device, implements the functions of any of the above method embodiments.
[0201] The embodiments of the present application also provide a computer program that, when executed on a computer, implements the functions of any of the above method embodiments.
[0202] The terms "first" and "second" in the description, claims and drawings of the embodiments of this application are used to distinguish different objects, rather than to describe a specific order. "First", "second" and the like are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second" and the like may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "multiple" means two or more.
[0203] Furthermore, the terms "include," "comprise," and "have," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements, but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0204] Reference to an "embodiment" in the embodiments of this application means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it mean that each embodiment is mutually exclusive of another embodiment or an alternative embodiment. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0205] In the embodiments of the present application, "at least one (item)" refers to one or more, "more than one" refers to two or more, and "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can represent: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0206] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner to facilitate understanding.
[0207] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, an SSD).
[0208] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A perception method, characterized in that: The method comprises: In response to a first instruction, calling a first application programming interface (API), wherein the first instruction is used to request to start a first sensing service that meets a sensing requirement, wherein the sensing requirement includes at least one of the following: a sensing type, a sensing area, a sensing duration, or a sensing performance parameter; Based on the first API, a perception service request is sent, where the perception service request includes an identifier of the terminal device and the perception requirement.
2. The method according to claim 1, characterized in that The method further comprises: Sending first perception data, where the first perception data is obtained by executing the first perception service; receiving a first perception result, where the first perception result is obtained based on the first perception data; Based on the first API, the first perception result is delivered to an application deployed on the terminal device.
3. The method according to claim 2, characterized in that Before receiving the first perception result, the method further includes: A perception result acquisition request is sent, where the perception result request includes a service identifier of the first perception service.
4. The method according to claim 1, wherein The method further comprises: In response to a second instruction, calling a second API, where the second instruction is used to request obtaining a perception result that satisfies first information, where the first information includes at least one of the following: a perception type of the first perception service, a service identifier of the first perception service, a perception time of the first perception service, or a perception area of the first perception service; Based on the second API, a perception result acquisition request is sent, where the perception result acquisition request includes the identifier of the terminal device and the first information.
5. The method according to claim 4, characterized in that The method further comprises: receiving a first perception result, where the first perception result satisfies the first information; Based on the second API, the first perception result is delivered to an application deployed on the terminal device.
6. The method according to claim 1, characterized in that The method further comprises: receiving perception control information, where the perception control information is used to instruct the terminal device to execute the first perception service; executing the first sensing service to obtain first sensing data; Processing the first perception data to obtain a first perception result; Based on the first API, the first perception result is delivered to an application deployed on the terminal device.
7. The method according to claim 6, characterized in that The method further comprises: Receive second information, where the second information is used to instruct the terminal device to process the perception data and obtain a perception result.
8. The method according to any one of claims 1 to 7, characterized in that Before responding to the first instruction, the method further includes: In response to a third instruction, calling a third API, the third instruction being used to request acquisition of a perception service type supported by the terminal device, the third instruction including an identifier of the terminal device and location information of the terminal device; Based on the third API, sending a request for obtaining a perception service type, where the request includes an identifier of the terminal device and location information of the terminal device; Receive third information, where the third information is used to indicate the type of perception service supported by the terminal device.
9. A communication device, characterized in that: The communication device comprises means for performing the method according to any one of claims 1 to 8.
10. A communication device, characterized in that: The communication device comprises a processor configured to execute the method according to any one of claims 1 to 8.
11. A chip, characterized in that: The device comprises a processor, wherein the processor calls a computer program stored in a memory to enable the communication device comprising the chip to implement the method according to any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store instructions, and when the computer-readable storage medium is run on a computer, the method according to any one of claims 1 to 8 is executed.
13. A computer program product comprising instructions, characterized in that When the computer is run, the method according to any one of claims 1 to 7 is executed.