Service processing method and communication device

By sending measurement parameters from the terminal device to the network device and quickly determining the reference point using a fingerprint database, combined with the K-nearest neighbor algorithm, the problems of long positioning time and low accuracy of the terminal device are solved, achieving fast and accurate positioning and improving the user experience.

CN121968009APending Publication Date: 2026-05-01HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2024-10-31
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The positioning process of existing terminal devices is time-consuming, consumes a lot of processing resources, and has low positioning accuracy, resulting in a poor user experience.

Method used

The terminal device sends multiple measurement parameters to the network device, which uses a fingerprint database to quickly determine a reference point. The terminal device then accurately locates itself based on the indicated information, and the K-nearest neighbor algorithm is used to improve positioning accuracy and speed.

Benefits of technology

It enables rapid and accurate positioning of terminal devices, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121968009A_ABST
    Figure CN121968009A_ABST
Patent Text Reader

Abstract

Provided are a service processing method and a communication device, the method being applied to a terminal device, the method comprising: when a first service needs to position the terminal device, sending first information to a first network device, the first information comprising a plurality of measurement parameters of the terminal device, the first network device comprising a fingerprint database, the fingerprint database is used for indicating a plurality of measurement parameters respectively corresponding to the plurality of reference points, the measurement parameters are obtained by adopting a first signal, the first signal is used for measuring and positioning the terminal equipment, and the measurement parameters are used for indicating a fading condition and a synchronization condition of the first signal; receiving second information sent by the first network equipment, wherein the second information is used for indicating the first reference point; and determining position information of the terminal equipment according to the second information. Therefore, the terminal equipment can be quickly and accurately positioned by means of the fingerprint database, so that the terminal equipment can complete services in time, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Service processing methods and communication devices Technical Field

[0001] This application relates to the field of communication technology, and in particular to a service processing method and a communication device. Background Technology

[0002] With the continuous development of wireless communication technology, positioning technology for terminal devices has emerged, such as indoor and outdoor navigation, precise location push, and network optimization, which require positioning services.

[0003] Currently, terminal devices typically use positioning algorithms, such as those based on parameters like reference signal receiving power (RSRP), received signal strength indication (RSSI), and angle of arrival (AOA). Positioning can also be based on downlink positioning reference signals (PRS) and uplink reference signals (e.g., sounding reference signal (SRS) and demodulation reference signal (DMRS)). For example, PRS and uplink reference signals can be used to calculate parameters such as time of arrival (TOA), difference in time of arrival (DTOA), and observed time difference of arrival (ODTOA).

[0004] However, during the aforementioned positioning process, it takes a long time for the terminal device to obtain the positioning result, which consumes too much of the terminal device's processing resources, and the positioning result is not accurate, resulting in a poor user experience. Summary of the Invention

[0005] This application provides a service processing method and a communication device that enables accurate positioning of terminal devices, allowing them to complete services in a timely manner and improving the user experience.

[0006] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:

[0007] Firstly, a service processing method is provided, applied to a terminal device, the method comprising:

[0008] When the first service requires the positioning of the terminal device, the first information is sent to the first network device. The first information includes multiple measurement parameters of the terminal device. The first network device includes a fingerprint database, which is used to indicate the multiple measurement parameters corresponding to each of the multiple reference points. The measurement parameters are obtained using a first signal. The first signal is used by the terminal device for measurement and positioning. The measurement parameters are used to indicate the fading and synchronization status of the first signal.

[0009] Receive second information sent by the first network device, the second information being used to indicate the first reference point;

[0010] Based on the second piece of information, the location information of the terminal device is determined.

[0011] Based on the method described in the first aspect, the terminal device can determine whether the first service requires location tracking when implementing the first service. If location tracking is required, the terminal device can send first information to the first network device. This first information includes multiple measurement parameters of the terminal device. The first network device can then quickly determine a first reference point from a fingerprint database based on the first information. The first network device can then send second information to the terminal device to indicate the first reference point. Based on the second information, the terminal device can quickly and accurately determine its location. Therefore, by utilizing the fingerprint database, the terminal device can be located quickly and accurately, improving its location speed and accuracy, enabling timely service completion, and enhancing the user experience.

[0012] In one possible implementation of the first aspect, the method further includes:

[0013] Send a first request to the second network device corresponding to the first service. The first request is used to request the first service and includes the location information of the terminal device.

[0014] Receive a first response sent by the second network device, the first response including service data of the first service.

[0015] Thus, the terminal device can provide the first service.

[0016] In one possible implementation of the first aspect, the method further includes:

[0017] A third piece of information is sent to the first network device. The third piece of information includes the location information of the terminal device and multiple measurement parameters, so that the first network device updates the fingerprint database based on the third piece of information.

[0018] Therefore, the terminal device can send its location information and multiple measurement parameters to the first network device, enabling the first network device to update the fingerprint database.

[0019] In one possible implementation of the first aspect, determining the location information of the terminal device based on the second information includes:

[0020] Determine K reference points from the first reference point, where K is a positive integer greater than 1;

[0021] The location information of the terminal device is determined based on the Euclidean distances between K reference points.

[0022] Therefore, this provides a feasible way to determine the location information of a terminal device.

[0023] In one possible implementation of the first aspect, the method further includes:

[0024] When the terminal device is in the first position, it receives a first signal sent by the third network device;

[0025] The first signal is measured to obtain multiple measurement parameters of the terminal device;

[0026] Obtain the location information of the terminal device located at the first location;

[0027] A fourth message is sent to the first network device. The fourth message includes the location information of the terminal device and multiple measurement parameters, so that the first network device can create a fingerprint database based on the fourth message.

[0028] Therefore, multiple terminal devices can proactively send their respective location information and multiple measurement parameters to the first network device, enabling the first network device to create a fingerprint database.

[0029] In one possible implementation of the first aspect, the method further includes:

[0030] When the terminal device is in the first position, it receives a first signal sent by the third network device;

[0031] The first signal is measured to obtain multiple measurement parameters of the terminal device;

[0032] The third network device sends a fifth message, which includes multiple measurement parameters of the terminal device, to the third network device so that the third network device sends a sixth message to the first network device. The sixth message includes the location information of the third network device and multiple measurement parameters of the terminal device so that the first network device can create a fingerprint database based on the sixth message.

[0033] Thus, multiple third network devices can send their respective location information and multiple measurement parameters to the first network device, enabling the first network device to create a fingerprint database.

[0034] In one possible implementation of the first aspect, the fingerprint database includes: the global cell identification code of each reference point, the reference signal received power (RSRP) of each reference point, the received signal strength indication (RSSI) of each reference point, and the synchronization measurement signal time difference of each reference point.

[0035] In one possible implementation of the first aspect, the first signal is any one of the cell-specific reference signal (cell-RS), the synchronization signal block (SSB), and the channel state information reference signal (CIS-RS).

[0036] In a second aspect, a communication device is provided for use in a terminal device, the device comprising: a module for performing the method described in the first aspect and any possible implementation thereof.

[0037] Thirdly, a communication device is provided, comprising: a transceiver, a processor, and a memory. The memory stores computer programs or instructions, and the processor controls the transceiver to transmit and receive signals. The processor also calls and executes the computer programs or instructions stored in the memory, causing the processor to implement the methods described in the first aspect and any possible implementation thereof.

[0038] Fourthly, a communication device is provided, comprising: a processor; the processor being configured to invoke a computer program or instructions in a memory, causing the communication device to execute the methods described in the first aspect and any possible implementation thereof.

[0039] Optionally, the communication device further includes a memory for storing program instructions. The processor is coupled to the memory via an interface.

[0040] Fifthly, a chip device is provided, including a processor for invoking a computer program or instructions in the memory to cause the processor to perform the methods described in the first aspect and any possible implementation thereof.

[0041] Alternatively, the processor may be coupled to the memory via an interface.

[0042] In a sixth aspect, a chip is provided, comprising: an interface circuit and a logic circuit, wherein the interface circuit is used to receive signals from other chips outside the chip and transmit them to the logic circuit, or to send signals from the logic circuit to other chips outside the chip, and the logic circuit is used to implement the methods in the first aspect and any possible implementation thereof.

[0043] In a seventh aspect, a computer-readable storage medium is provided, which stores a computer program or instructions configured to perform the methods described in the first aspect and any possible implementation thereof.

[0044] Eighthly, a computer program product is provided that, when run on a computer, causes the computer to perform the methods described in the first aspect and any possible implementation thereof. Attached Figure Description

[0045] Figure 1 is a schematic diagram of the architecture of a communication system provided in an embodiment of this application;

[0046] Figure 2 is a schematic diagram of a terminal device provided in an embodiment of this application;

[0047] Figure 3 is a flowchart illustrating a service processing method provided in an embodiment of this application;

[0048] Figure 4 is a flowchart illustrating a service processing method provided in an embodiment of this application;

[0049] Figure 5 is a flowchart illustrating a service processing method provided in an embodiment of this application;

[0050] Figure 6 is a flowchart illustrating a service processing method provided in an embodiment of this application;

[0051] Figure 7 is a flowchart illustrating a service processing method provided in an embodiment of this application;

[0052] Figure 8 is a flowchart illustrating a service processing method provided in an embodiment of this application;

[0053] Figure 9 is a schematic diagram of the structure of a communication device provided in an embodiment of this application;

[0054] Figure 10 is a schematic diagram of the hardware structure of a communication device provided in an embodiment of this application;

[0055] Figure 11 is a schematic diagram of the hardware structure of a communication device provided in an embodiment of this application. Detailed Implementation

[0056] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature.

[0057] In embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0058] In the embodiments of this application, "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0059] In the description of the embodiments of this application, it should be noted that, unless otherwise explicitly specified and limited, the terms "set", "connected", and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. Those skilled in the art can understand the specific meaning of the above terms in the embodiments of this application based on the specific circumstances.

[0060] It should be noted that the user information (such as the location information of the terminal device) used in this application embodiment is limited to information for which individual consent has been obtained, including but not limited to notifying and reminding users to read the relevant user agreement (notification) and sign the agreement (authorization) which includes the authorization of relevant user information before the user uses the information collection function.

[0061] Exemplary, this application provides a service processing method. This service processing method can be applied to a communication system, which may include, but is not limited to, wireless communication systems, such as narrowband Internet of Things (NB-IoT), Global System for Mobile Communications (GSM), Enhanced Data Rate for GSM Evolution (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access 2000 (CDMA2000), Time Division-Synchronization Code Division Multiple Access (TD-SCDMA), LTE, the 5th generation (5G), the 6th generation (6G), and future systems.

[0062] The scenarios for which this communication system is applicable may include, but are not limited to: terrestrial cellular communication, non-terrestrial network (NTN), satellite communication, high altitude platform station (HAPS) communication, vehicle-to-everything (V2X) communication, integrated access and backhaul (IAB) communication, and reconfigurable intelligent surface (RIS) communication.

[0063] Please refer to Figure 1, which is a schematic diagram of the architecture of a communication system provided in an embodiment of this application. As shown in Figure 1, the communication system in this embodiment may include: a first network device 20, a second network device 30, a third network device 40, and a terminal device 10. The first network device 20, the second network device 30, and the third network device 40 are different network devices. The first network device 20, the second network device 30, and the third network device 40 can communicate with the terminal device 10 respectively, and the first network device 20 can also communicate with the third network device 40.

[0064] The first network device 20 can be a service device or a computing platform. For example, it can be a physical server or a virtual server, located locally or in a cloud server, and can provide services such as data processing and storage, as well as other functions such as user interface, data visualization, remote access, and integration of third-party services or applications (APP).

[0065] The first network device 20 may include a fingerprint database (RadioMap) that indicates multiple measurement parameters corresponding to multiple reference points. The fingerprint database may also be referred to as a fingerprint library.

[0066] Each measurement parameter is obtained using a first signal. In some embodiments, the terminal device 10 and the third network device 40 can transmit the first signal, enabling the terminal device 10 to perform measurement and other processing on the first signal, thereby allowing the terminal device 10 to obtain multiple measurement parameters.

[0067] The first signal is used by the terminal device for measurement and positioning. This application does not limit the specific type of the first signal. In some embodiments, the first signal is a reference signal or a pilot signal. For example, the first signal can be any one of a cell-specific reference signal (cell-RS), a synchronization signal block (SSB), and a channel state information-reference signal (CSI-RS).

[0068] The measurement parameters are used to indicate the fading and synchronization status of the first signal. In some embodiments, the measurement parameters may include: reference signal receiving power (RSRP), received signal strength indicator (RSSI), and time difference of sync measured signal (TDSM).

[0069] The TDSM mentioned in this article refers to the synchronization difference between different cells (also known as synchronization time difference or synchronization measurement signal time difference), which can ensure time synchronization between the third network device 40 and the terminal device 10. A cell refers to the cell to which a third network device 40 belongs, and different cells refer to the cells to which different third network devices 10 belong.

[0070] In some embodiments, the TDSM can be determined using a time synchronization point, such as the difference between the time synchronization points of different cells. The time synchronization point refers to the point at which the clocks of the terminal device 10 and the third network device 40 are aligned in time.

[0071] Please refer to Figure 2, which is a schematic diagram of a terminal device scenario provided in an embodiment of this application. As shown in Figure 2, the terminal device 10 is located at position O, and three third network devices 40 are located at positions A, B, and C of the first cell, respectively. If a reference point in the fingerprint database is position O, then the TDSM of this reference point in the first cell can be T1-T0, the TDSM of this reference point in the second cell can be T2-T0, and the TDSM of this reference point in the third cell can be T3-T0. T0 refers to the time synchronization point between the terminal device 10 and a certain third network device, T1 refers to the time synchronization point between the terminal device 10 and the third network device located at position A in the first cell, T2 refers to the time synchronization point between the terminal device 10 and the third network device located at position B in the second cell, and T3 refers to the time synchronization point between the terminal device 10 and the third network device located at position C in the third cell.

[0072] Taking terminal device 10 as UE and third network device 40 as base station as an example, UE can receive cell-RS sent by three base stations. UE can perform time-domain or frequency-domain correlation between the received cell-RS and the reference signal sequence of the known cell-RS generated locally to find the first path of arrival, estimate the arrival time, and calculate the arrival time difference between different cells and the reference cell.

[0073] Therefore, the UE can use an appropriate location solving algorithm to solve the UE's location information, such as location coordinates. The UE can report and perform fingerprint database matching based on the information of the cell to which the UE belongs, the synchronization time point of the cell to which the UE belongs, RSRP, RSRQ, and RSSI to obtain the UE's location coordinates.

[0074] In addition, measurement parameters can also be determined using frequency synchronization points and / or symbol synchronization points. For example, TDSM can be the difference between frequency synchronization points and / or symbol synchronization points of different cells. The frequency synchronization point refers to the point where the local oscillator frequency of the terminal device 10 is consistent with the carrier frequency of the third network device 40. The symbol synchronization point refers to the point where the terminal device 10 can correctly identify the start and end positions of each symbol sent by the third network device 40.

[0075] In addition, measurement parameters may include the distance between different cells.

[0076] In addition, the measurement parameters may include any one or any combination of the following: reference signal receiving quality (RSRQ), signal to interference plus noise ratio (SINR), and channel response.

[0077] It should be noted that TDSM is obtained using the first signal among the measurement parameters. Additionally, any one or any combination of RSRP, RSSI, RSRQ, SINR, and channel response can be obtained using the first signal or related techniques; this application does not limit this.

[0078] Here, a reference point refers to any location, also known as a reference location or simply a location. In some embodiments, the reference point can be a location within a certain area. In other embodiments, the reference point can be the location of the terminal device. In still other embodiments, the reference point can be a location adjacent to the location of the terminal device.

[0079] In this application, the specific implementation of the fingerprint database is not limited. In some embodiments, the fingerprint database may include: the cell global identity (CGI) of each reference point, the reference signal receiving power (RSRP) of each reference point, the received signal strength indicator (RSSI) of each reference point, and the time difference of sync measured (TDSM) of each reference point.

[0080] In addition, the fingerprint database may include any one or any combination of the following: reference signal receiving quality (RSRQ) of each reference point, signal to interference plus noise ratio (SINR) of each reference point, channel response of each reference point, frequency synchronization point of each reference point, and symbol synchronization point of each reference point.

[0081] Below, with reference to Table 1, we illustrate one possible implementation of a fingerprint database.

[0082] Table 1 Fingerprint Database

[0083]

[0084] In Table 1, the number of reference points is m, where m is a positive integer. Multiple measurement parameters are used...<CGI,RSRP,RSSI,TDSM> The data is represented as follows: Each reference point has multiple columns and multiple measurement parameters, meaning that different cells have their own set of measurement parameters. In other words, for the same reference point, Table 1 shows the multiple measurement parameters corresponding to different cells. Each cell has multiple rows and multiple measurement parameters, meaning that different reference points have their own set of measurement parameters. In other words, for the same cell, Table 1 shows the multiple measurement parameters corresponding to different reference points.

[0085] Furthermore, the cells mentioned above refer to adjacent cells of the corresponding reference point, also known as neighboring cells or non-serving cells. A non-serving cell is a cell that is not currently providing service to the terminal device. A serving cell is a cell that is currently providing service to the terminal device, i.e., the cell with which the terminal device is communicating, receiving, and sending data. The signal quality of the serving cell directly affects the communication quality and performance of the terminal device. In some instances, a non-serving cell may be another cell that the terminal device can detect but has not established a connection with, i.e., a neighboring cell. Neighboring cells usually overlap with non-serving cells; a neighboring cell refers to a cell geographically adjacent to the serving cell. A neighboring cell can be a cell surrounding the serving cell. The terminal device will measure and monitor the signal of neighboring cells, but the terminal device is not currently communicating, receiving, or sending data on neighboring cells. The signal quality of non-serving cells is also important for network devices in deciding whether to perform cell handover, ensuring that the terminal device always connects to a cell with good signal quality, thereby providing stable and high-quality communication services.

[0086] The second network device 30 can be a service server providing data. The second network device 30 can be a service device or a computing platform. For example, it can be a physical server or a virtual server, located locally or in a cloud server, providing services such as data processing and storage, and can also perform other functions, such as user interface, data visualization, remote access, and integration of third-party services or applications (APPs).

[0087] The third network device 40 may include one or more devices. The third network device 40 is a device in a wireless network. The third network device 40 may be a base station, an access point, or an access network device, or it may refer to a device in the access network that communicates with a wireless terminal through one or more sectors on the air interface (referred to as the air interface). The third network device 40 can be used to convert received air frames to and from Internet Protocol (IP) packets, acting as a router between the wireless terminal and the rest of the access network, where the rest of the access network may include an IP network. The third network device 40 can also coordinate the attribute management of the air interface. For example, the third network device 40 can be a satellite, a drone, an evolved Node B (eNB or eNodeB) in LTE, a radio controller in a cloud radio access network (CRAN) scenario, or a terminal, relay station, or access point that performs base station functions in wearable devices or vehicle-mounted devices, vehicular to everything (V2X), device-to-device (D2D), and machine-to-machine (M2M) communications, or a base station in a 5G network, such as a gNB, or a base station in a future 6G network, or a network device in a future evolved public land mobile network (PLMN) network, and is not limited here.

[0088] The third network device 40 may be a RAN node that connects user equipment 20 to the wireless network. Examples of RAN nodes currently include: gNB, transmission reception point (TRP), evolved Node B (eNB), home base station (e.g., home evolved Node B, or home Node B, HNB), base band unit (BBU), or wireless fidelity (Wi-Fi) access point (AP), IAB, etc.

[0089] In one network architecture, the third network device 40 may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including CU nodes and DU nodes, or a RAN device including control plane CU nodes (CU-CP nodes), user plane CU nodes (CU-UP nodes), and DU nodes.

[0090] CU and DU can be understood as a logical functional division of RAN nodes. CU and DU are connected via the F1 interface; CU can represent gNB and connect to the core network via the NG interface. Physically, CU and DU can be separate or deployed together; this application does not specifically limit this. One CU can connect to one DU, or multiple DUs can share one CU, which can save costs and facilitate network expansion. The division of CU and DU can be based on the protocol stack. One possible approach is to deploy the radio resource control (RRC), service data adaptation protocol (SDAP), and packet data convergence protocol (PDCP) layers on the CU, and the remaining radio link control (RLC), media access control (MAC), and physical layers on the DU. This application does not completely limit the above protocol stack division method; other division methods are also possible.

[0091] Terminal device 10 may include one or more devices. Terminal device 10 is a device with wireless transceiver capabilities. Terminal device 10 can be a wireless terminal or a wired terminal. A wireless terminal can be a device providing voice and / or other service data connectivity to a user, a handheld device with wireless connectivity, or other processing devices connected to a wireless modem. The wireless terminal can communicate with one or more core networks via a radio access network (RAN). The wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, for example, a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device that exchanges voice and / or data with the radio access network. Examples include personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), drones, wearable devices, and terminals in vehicle-to-everything (V2X) networks. A wireless terminal can also be referred to as a system, subscriber unit, subscriber station, mobile station (MS), mobile station, remote station, remote terminal, access terminal, user terminal, user agent, user device or user equipment, user equipment (UE), terminal unit, terminal station, remote station, mobile device, terminal, wireless communication equipment, terminal agent, or terminal device, etc., without limitation.

[0092] Access terminals can be cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, in-vehicle devices, wearable devices, terminal devices in 5G networks, 6G networks or future networks, or terminal devices in future evolved public land mobile networks (PLMNs), etc.

[0093] In addition, the terminal device 10 may use mobile operating systems such as Android, Linux, Windows, and iOS, and this application embodiment does not limit this.

[0094] Below, this application embodiment will take the terminal device 10, the first network device 20, the second network device 30 and the third network device 40 with the structures shown in FIG1 and FIG2 as examples, and, in conjunction with the accompanying drawings and application scenarios, will describe in detail the service processing method provided by this application embodiment.

[0095] The method is executed by a terminal device, which may be terminal device 10 or a device in terminal device 10 in Figures 1 and 2. The first network device may be first network device 20 or a device in first network device 20 in Figures 1 and 2. The second network device may be second network device 30 or a device in second network device 30 in Figures 1 and 2. The third network device may be third network device 40 or a device in third network device 40 in Figures 1 and 2.

[0096] Please refer to Figure 3, which is a flowchart illustrating a service processing method provided in an embodiment of this application. As shown in Figure 3, the service processing method in this embodiment may include:

[0097] S101. When the first service requires the terminal device to be located, the terminal device sends the first information to the first network device.

[0098] Accordingly, the first network device sends the first information to the terminal device when the first service requires the terminal device to be located.

[0099] The first information includes multiple measurement parameters of the terminal device, and the first network device includes a fingerprint database. The fingerprint database is used to indicate multiple measurement parameters corresponding to multiple reference points. The measurement parameters are obtained by measuring the first signal. The first signal is used by the terminal device for measurement and positioning. The measurement parameters are used to indicate the fading and synchronization status of the first signal.

[0100] When a terminal device needs to perform a primary service, the primary service may require locating the terminal device.

[0101] In this application, the specific implementation of the first service is not limited. In some embodiments, the first service may be any service that requires location of the terminal device, such as map viewing, ride-hailing, or food delivery.

[0102] For example, after receiving a user's action of opening a map application, the terminal device can determine that it needs to perform location tracking. Similarly, after receiving a user's action of using a ride-hailing application to hail a ride, the terminal device can determine that it needs to perform location tracking.

[0103] The terminal device can pre-store multiple measurement parameters of the terminal device obtained using the first signal. The specific implementation of the first signal and the specific implementation of the measurement parameters are described above and will not be repeated here. Therefore, the terminal device can send first information carrying the multiple measurement parameters of the terminal device to the first network device, enabling the first network device to search the fingerprint database.

[0104] The specific implementation of the fingerprint database can be found in the preceding description and will not be repeated here. This application does not limit the method of sending the first information. In some embodiments, the terminal device may transmit the first information with the first network device via account sharing, or via signaling.

[0105] S102, The first network device sends the second information to the terminal device.

[0106] Correspondingly, the terminal device receives the second information sent by the first network device.

[0107] The second piece of information is used to indicate the first reference point.

[0108] After receiving the first information, the first network device can search for multiple measurement parameters of the terminal device in the fingerprint database. For each measurement parameter of the terminal device, the first network device can determine a reference point in the fingerprint database corresponding to a value within a preset range that corresponds to the difference between the measurement parameter of that terminal device and the parameter itself.

[0109] In this application embodiment, the size of the preset range is not limited. Generally, the preset range is close to 0.

[0110] In addition, the first network device can select a preset number of reference points from the aforementioned reference points. However, this embodiment does not limit the specific size of the preset number. This helps reduce the computational load on the terminal device.

[0111] Thus, the first network device can obtain one or more reference points, namely the first reference point. The first network device can send second information carrying the first reference point to the terminal device, enabling the terminal device to quickly and accurately determine its location.

[0112] The method of sending the second information can be referred to in the specific description of the method of sending the first information, and is not limited here. The specific implementation method of the reference point can be referred to the previous description, and will not be repeated here. In some embodiments, the second information may include a first reference point. The reference point may be represented in the form of coordinates such as longitude and latitude, or in other representation methods, which are not limited in this application embodiment.

[0113] S103. The terminal device determines its location information based on the second information.

[0114] After receiving the second information, the terminal device can determine the first reference point based on the second information. Thus, the terminal device can determine its location information.

[0115] In this application, the method for determining the location information of the terminal device is not limited. In some embodiments, the location information of the terminal device can be used to indicate the relative position of the terminal device or the actual geographical location of the terminal device.

[0116] In some embodiments, the terminal device can determine K reference points from the first reference points, where K is a positive integer greater than 1. Then, the terminal device uses an algorithm such as the K-nearest neighbors (KNN) to determine the minimum value based on the Euclidean distance between the K reference points. When the number of reference points corresponding to the minimum value is 1, the terminal device can determine that reference point as its location information. When the number of reference points corresponding to the minimum value is greater than 1, the terminal device can randomly select one reference point from the multiple reference points corresponding to the minimum value to determine its location information, or it can determine the location information of the terminal device by averaging the positions of the multiple reference points corresponding to the minimum value, as shown in Formula 1.

[0117]

[0118] in, This refers to the location information of the terminal device. This refers to the longitude of the terminal equipment. This refers to the latitude of the terminal device, k refers to the number of reference points corresponding to the minimum value, i is a positive integer greater than or equal to 1 and less than or equal to k, and α i This refers to the longitude of the i-th reference point out of k reference points, β. i It refers to the latitude of the i-th reference point out of k reference points.

[0119] The service processing method provided in this application embodiment allows a terminal device to determine whether the first service requires location tracking when implementing a first service. If location tracking is required, the terminal device can send first information to a first network device. This first information includes multiple measurement parameters of the terminal device. The first network device can then quickly determine a first reference point from a fingerprint database based on the first information. The first network device can then send second information to the terminal device to indicate the first reference point. Based on the second information, the terminal device can quickly and accurately determine its location. Therefore, by utilizing a fingerprint database, the terminal device can be located quickly and accurately, improving its location speed and accuracy, enabling timely service completion, and enhancing the user experience.

[0120] Based on the above embodiments, after determining the location of the terminal device, the terminal device may continue to complete the first service.

[0121] Next, referring to Figure 3, we will explain in detail the specific implementation process of the terminal device to implement the first service.

[0122] Based on S101 to S103, as shown in Figure 3, the embodiments of this application may further include:

[0123] S104. The terminal device sends a first request to the second network device corresponding to the first service.

[0124] Correspondingly, the second network device corresponding to the first service receives the first request sent by the terminal device.

[0125] The first request is used to request the first service, and the first request includes the location information of the terminal device.

[0126] S105, The second network device sends the first response to the terminal device.

[0127] Correspondingly, the terminal device receives the first response sent by the second network device.

[0128] The first response includes the service data of the first service.

[0129] A terminal device can provide multiple functions, each of which may generate one or more corresponding services. For example, for the function of browsing web pages on the terminal device, the terminal device can generate a web browsing service. Similarly, for the function of opening a specific app on the terminal device, the terminal device can generate an app opening service. Each service has a corresponding second network device, and the number of second network devices can be one or more.

[0130] Therefore, the terminal device can send a first request to the second network device corresponding to the first service to request the second network device to provide the service data of the first service to the terminal device.

[0131] In summary, after accurately determining the location information of the terminal device, it can communicate with the second network device to quickly and accurately provide the terminal device with its primary service.

[0132] S104 and S105 are optional. Since the terminal device may be interrupted by other services to implement other services, or may suspend the implementation of the first service, the terminal device may not execute S104 and S105.

[0133] Based on the above embodiments, the terminal device can also maintain the fingerprint database. In some embodiments, the terminal device can send third information to the first network device. The third information includes the terminal device's location information and multiple measurement parameters. Thus, the first network device can update the fingerprint database based on the third information.

[0134] In some embodiments, the first network device may determine a second reference point based on the location information of the terminal device. The first network device may determine whether a reference point identical to the second reference point exists in the fingerprint database.

[0135] If the reference point exists, the first network device can replace the multiple measurement parameters in the third information with the multiple measurement parameters corresponding to that reference point in the fingerprint database. If the reference point does not exist, the first network device can store the second reference point and the multiple measurement parameters in the third information in the fingerprint database.

[0136] In addition to the methods described above, the first network device can also use third information to correct multiple measurement parameters corresponding to relevant reference points in the fingerprint database.

[0137] In one specific embodiment, with reference to Figure 4, the implementation of the first service requiring location by the terminal device is described in detail.

[0138] Please refer to Figure 4, which is a flowchart illustrating a service processing method provided in an embodiment of this application. As shown in Figure 4, the service processing method in this embodiment may include:

[0139] S201, Terminal devices obtain first services.

[0140] S202. The terminal device performs fingerprint database matching, that is, when the first service needs to locate the terminal device, the terminal device sends first information to the first network device.

[0141] S203, The first network device sends the second information to the terminal device.

[0142] S204. The terminal device determines its location information based on the second information.

[0143] S205, The terminal device sends a first request to the second network device.

[0144] S206. The second network device obtains the service data of the first service from the service database and sends the first response to the terminal device.

[0145] S207. The terminal device provides the first service based on the first response.

[0146] In summary, the terminal device can complete the first service required for location services.

[0147] Based on the above embodiments, the creation of a fingerprint database can include various methods.

[0148] The following sections, in conjunction with Figures 5-6 and 7-8, detail the specific process of creating a fingerprint database.

[0149] Please refer to Figures 5 and 6. Figure 5 is a flowchart illustrating a service processing method provided in an embodiment of this application, and Figure 6 is a flowchart illustrating a service processing method provided in an embodiment of this application. As shown in Figure 5, the service processing method of this embodiment may include:

[0150] S301. When the terminal device is in the first position, the third network device sends a first signal to the terminal device.

[0151] Accordingly, when the terminal device is in the first position, the terminal device receives the first signal sent by the third network device.

[0152] Typically, the first signal is located in a specified time and / or frequency domain, i.e., the location of a time-frequency resource. Based on this, the third network device transmits a wireless signal to the terminal device. This wireless signal contains the first signal and user data.

[0153] It should be understood that the terminal device can receive the first signal sent by the third network device through one or more antenna interfaces, that is, the terminal device can receive the first signal through each antenna interface.

[0154] S302. The terminal device measures the first signal and obtains multiple measurement parameters of the terminal device.

[0155] After receiving a wireless signal, the terminal device can determine multiple locations of one or more first signals by analyzing the position of the wireless signal in the time domain and frequency domain. Each first signal corresponds to an antenna interface, and the position of each first signal refers to its position in the time domain and frequency domain.

[0156] In this application, the specific types of the wireless signal and the first signal are not limited. In some embodiments, the first signal is a reference signal or a pilot signal. The first signal can be any one of cell-RS, SSB, and CIS-RS. The number of first signals is not limited in this application. Typically, a terminal device can receive wireless signals through one or more antenna interfaces; therefore, for each antenna interface, the terminal device can determine multiple locations of a first signal.

[0157] In summary, the terminal device can determine multiple locations of each first signal contained in the wireless signal. By performing measurements and other processing on each first signal, the terminal device can obtain multiple measurement parameters.

[0158] S303, The terminal device obtains the location information of the terminal device located at the first location.

[0159] The order of S301-S302 and S303 is not limited; they can be executed simultaneously or sequentially.

[0160] The terminal device carries a positioning module, such as a GNSS chip. Therefore, the terminal device can obtain its current location information, i.e., its initial location information, through the positioning module.

[0161] S304. The terminal device sends the fourth information to the first network device.

[0162] Correspondingly, the first network device receives the fourth information sent by the terminal device.

[0163] The fourth piece of information includes the location information of the terminal device and multiple measurement parameters. Additionally, the fourth piece of information may also include the location information between the terminal device and various third network devices, that is, the location of the terminal device within the cell to which the third network devices belong.

[0164] The terminal device carries a Minimization of Drive Tests (MDT) module. This MDT module employs methods to optimize wireless network coverage and Quality of Service (QoS). It includes user-initiated measurements and reporting capabilities. Therefore, after completing the measurements, the terminal device can send fourth information to the first network device via the MDT module.

[0165] S305. The first network device creates a fingerprint database based on the fourth information.

[0166] In summary, for each terminal device, if it carries both a positioning module and an MDT module, it can send its location information and multiple measurement parameters to the first network device. Therefore, the first network device can receive a large amount of location information and corresponding measurement parameters from the terminal devices, enabling it to create a fingerprint database.

[0167] Referring to Figure 6, the above process can be divided into an offline stage and an online stage.

[0168] As shown in Figure 6, during the offline phase, taking the terminal device as an example (using the receiver), the receiver can determine the signal values ​​at different reference points. Here, the signal values ​​refer to the measured parameters. The terminal device can send fourth information to the first network device in the form of an MDT report. Thus, the first network device can create a fingerprint database.

[0169] During the online phase, the terminal device is located at a first location. At this time, the terminal device needs to perform a first service, which requires locating the terminal device. The terminal device can obtain first information from the first network device. The terminal device loads the first information into a location matching algorithm, enabling it to determine its location information. Thus, the terminal device may be able to obtain location information. If the terminal device knows the location information of the first location, it can calculate the error between the first location and the location indicated by the obtained location information. Then, the terminal device can send third information to the first network device. Additionally, the terminal device can also send the aforementioned error to the first network device. Furthermore, the first network device can update its fingerprint database.

[0170] In summary, as shown in Figures 5 and 6, the fingerprint database does not rely on measurements from the terminal device. By incorporating the synchronization time difference between cells, it improves the positioning accuracy of the terminal device and eliminates the need for a dedicated positioning signal (PRS), thus saving spectrum resources. Furthermore, the terminal device can proactively report multiple measurement parameters to the first network device.

[0171] In some embodiments, if the TDSM and RSRP are the same in a large number of MDT reports, and there is a signal difference at the corresponding reference point, the first network device may update the fingerprint database by constructing weights or performing deviation compensation.

[0172] Please refer to Figures 7 and 8. Figure 7 is a flowchart illustrating a service processing method provided in an embodiment of this application, and Figure 8 is a flowchart illustrating a service processing method provided in an embodiment of this application. As shown in Figure 7, the service processing method of this embodiment may include:

[0173] S401. When the terminal device is in the first position, the third network device sends a first signal to the terminal device.

[0174] Accordingly, when the terminal device is in the first position, the terminal device receives the first signal sent by the third network device.

[0175] The specific implementation of S401 can be found in the description of S301 in Figure 5, which will not be elaborated here.

[0176] S402. The terminal device measures the first signal and obtains multiple measurement parameters of the terminal device.

[0177] The specific implementation of S402 can be found in the description of S302 in Figure 5, and will not be elaborated here.

[0178] S403, The terminal device sends the fifth information to the third network device.

[0179] Correspondingly, the third network device receives the fifth information sent by the terminal device.

[0180] The fifth piece of information includes multiple measurement parameters of the terminal device.

[0181] The terminal device may not have a positioning module. Therefore, the terminal device can send a fifth piece of information to a third network device, enabling the third network device to locate the terminal device's position.

[0182] S404, The third network device sends the sixth message to the first network device.

[0183] Correspondingly, the first network device receives the sixth information sent by the third network device.

[0184] The sixth piece of information includes the location information of the third network device and multiple measurement parameters of the terminal device. Additionally, the sixth piece of information may also include location information between the third network device and the terminal device, specifically the location of the terminal device within the cell to which the third network device belongs.

[0185] S405. The first network device creates a fingerprint database based on the sixth piece of information.

[0186] In summary, for each terminal device, even without a positioning module and MDT module, the terminal device can send the location information and multiple measurement parameters of the third network device to the first network device via the third network device. Therefore, the first network device can receive a large amount of location information and corresponding measurement parameters sent by the third network device. Consequently, the first network device can create a fingerprint database based on this information.

[0187] Referring to Figure 8, the above process can be divided into an offline stage and an online stage.

[0188] As shown in Figure 8, during the offline phase, taking the terminal device as the receiver and the third network device as the base station as an example, the receiver can determine the signal values ​​at different reference points. Here, signal values ​​refer to measurement parameters. Additionally, the terminal device records the timestamps of the received signals. By comparing the timestamps of the cell-RS received from different cells, the terminal device can calculate the synchronization time difference (TDSM) between different cells. Thus, the terminal device can obtain the distance between different cells. Using the acquired synchronization time difference, combined with the base station's location information and other parameters, the terminal device can perform positioning calculations to obtain its location information. Therefore, the terminal device can send fifth information to the base station. Each base station can send sixth information to the first network device. In this way, the first network device can create a fingerprint database.

[0189] During the online phase, the terminal device is located at a first location. At this time, the terminal device needs to perform a first service, which requires locating the terminal device. The terminal device can obtain first information from the first network device. The terminal device loads the first information into a location matching algorithm, enabling it to determine its location information. Thus, the terminal device may be able to obtain location information. If the terminal device knows the location information of the first location, it can calculate the error between the first location and the location indicated by the obtained location information. Then, the terminal device can send third information to the first network device. Additionally, the terminal device can also send the aforementioned error to the first network device. Furthermore, the first network device can update its fingerprint database.

[0190] In summary, as shown in Figures 7 and 8, the fingerprint database does not rely on measurements from the terminal device. By incorporating the synchronization time difference between cells, it improves the positioning accuracy of the terminal device and eliminates the need for a dedicated positioning signal (PRS), thus saving spectrum resources. Furthermore, the terminal device can report multiple measurement parameters to the first network device via a third network device.

[0191] By way of example, embodiments of this application also provide a communication device.

[0192] Please refer to Figure 9, which is a schematic diagram of the structure of a communication device provided in an embodiment of this application.

[0193] As shown in Figure 9, the communication device 900 can exist independently or be integrated into other devices. It can communicate with the network devices mentioned above (such as the first network device, the second network device, and the third network device) to implement the operation corresponding to the terminal device in any of the above method embodiments.

[0194] The communication device 900 may include a transceiver unit 901 and a processing unit 902. The transceiver unit 901 can implement corresponding communication functions, and the processing unit 902 is used for data processing. The transceiver unit 901 may also be referred to as a communication interface or a communication unit.

[0195] Optionally, the communication device 900 may further include a storage unit, which can be used to store instructions and / or data. The processing unit 902 can read the instructions and / or data in the storage unit so that the communication device 900 can implement the aforementioned method embodiments.

[0196] The communication device 900 can be used to perform the actions performed by the terminal device in the preceding method embodiments. The communication device 900 can be the terminal device or a component configurable on the terminal device. The transceiver unit 901 is used to perform reception-related operations of the terminal device in the preceding method embodiments, and the processing unit 902 is used to perform processing-related operations of the terminal device in the preceding method embodiments.

[0197] Optionally, the transceiver unit 901 may include a sending unit and a receiving unit. The sending unit is used to perform the sending operation in the foregoing method embodiments. The receiving unit is used to perform the receiving operation in the foregoing method embodiments.

[0198] It should be noted that the communication device 900 may include a transmitting unit but not a receiving unit. Alternatively, the communication device 900 may include a receiving unit but not a transmitting unit. Specifically, it depends on whether the above-described scheme executed by the communication device 900 includes both transmitting and receiving actions.

[0199] As an example, the communication device 900 is used to perform the actions performed by the terminal device in the embodiments shown in Figures 1-8 above.

[0200] The communication device 900 may include a transceiver unit 901 and a processing unit 902.

[0201] The transceiver unit 901 is used to send first information to the first network device when the first service requires the terminal device to be located. The first information includes multiple measurement parameters of the terminal device. The first network device includes a fingerprint database, which is used to indicate the multiple measurement parameters corresponding to each of the multiple reference points. The measurement parameters are obtained by measuring a first signal. The first signal is used for the terminal device to perform measurement and positioning. The measurement parameters are used to indicate the fading and synchronization status of the first signal.

[0202] The transceiver unit 901 is also used to receive second information sent by the first network device, the second information being used to indicate the first reference point;

[0203] The processing unit 902 is used to determine the location information of the terminal device based on the second information.

[0204] In some embodiments, the transceiver unit 901 is further configured to send a first request to a second network device corresponding to the first service, the first request being used to request the first service and including the location information of the terminal device; and to receive a first response sent by the second network device, the first response including service data of the first service.

[0205] In some embodiments, the transceiver unit 901 is further configured to send third information to the first network device, the third information including the location information of the terminal device and multiple measurement parameters, so that the first network device updates the fingerprint database according to the third information.

[0206] In some embodiments, the processing unit 902 is specifically configured to determine K reference points from the first reference points, where K is a positive integer greater than 1; and determine the location information of the terminal device based on the Euclidean distance between the K reference points.

[0207] In some embodiments, the transceiver unit 901 is further configured to receive a first signal sent by a third network device when the terminal device is located in a first position;

[0208] The processing unit 902 is also used to measure the first signal to obtain multiple measurement parameters of the terminal device;

[0209] The processing unit 902 is also used to obtain the location information of the terminal device located at the first location;

[0210] The transceiver unit 901 is also used to send fourth information to the first network device, the fourth information including the location information of the terminal device and multiple measurement parameters, so that the first network device can create a fingerprint database based on the fourth information.

[0211] In some embodiments, the transceiver unit 901 is further configured to receive a first signal sent by a third network device when the terminal device is located in a first position;

[0212] The processing unit 902 is also used to measure the first signal to obtain multiple measurement parameters of the terminal device;

[0213] The transceiver unit 901 is also used to send fifth information to a third network device, the fifth information including multiple measurement parameters of the terminal device, so that the third network device sends sixth information to the first network device, the sixth information including the location information of the third network device and multiple measurement parameters of the terminal device, so that the first network device creates a fingerprint database based on the sixth information.

[0214] In some embodiments, the fingerprint database includes: the global cell identification code of each reference point, the reference signal received power (RSRP) of each reference point, the received signal strength indication (RSSI) of each reference point, and the synchronization measurement signal time difference of each reference point.

[0215] In some embodiments, the first signal is any one of the cell-specific reference signal (cell-RS), synchronization signal block (SSB), and channel state information reference signal (CIS-RS).

[0216] It should be understood that the corresponding processes performed by each unit have been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.

[0217] The processing unit 902 in the preceding embodiments can be implemented by at least one processor or processor-related circuitry. The transceiver unit 901 can be implemented by a transceiver or transceiver-related circuitry. The transceiver unit 901 can also be referred to as a communication unit or communication interface. The storage unit can be implemented by at least one memory.

[0218] This application embodiment can divide the communication device into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0219] By way of example, embodiments of this application also provide a communication device.

[0220] Please refer to Figure 10, which is a schematic diagram of the hardware structure of a communication device provided in an embodiment of this application.

[0221] The communication device 1000 includes a processor 1001, which is coupled to a memory 1002. The memory 1002 is used to store computer programs or instructions and / or data. The processor 1001 is used to execute the computer programs or instructions and / or data stored in the memory 1002, so that the methods in the preceding method embodiments are executed.

[0222] Optionally, the communication device 1000 may include one or more processors 1001.

[0223] Optionally, as shown in FIG10, the communication device 1000 may further include a memory 1002.

[0224] Optionally, the communication device 1000 may include one or more memory 1002.

[0225] Alternatively, the memory 1002 may be integrated with the processor 1001, or it may be set separately.

[0226] As shown in Figure 10, the communication device 1000 may further include a transceiver 1003, which is used for receiving and / or transmitting signals. For example, the processor 1001 is used to control the transceiver 1003 to receive and / or transmit signals.

[0227] As one approach, the communication device 1000 is used to implement the operations performed by the terminal device in the aforementioned method embodiments.

[0228] For example, processor 1001 is used to implement the processing-related operations performed by the terminal device in the above method embodiments, and transceiver 1003 is used to implement the sending and receiving-related operations performed by the terminal device in the above method embodiments.

[0229] As an alternative, the communication device 1000 is used to implement the operations performed by the terminal device in the method embodiments described above.

[0230] For example, processor 1001 is used to implement the processing-related operations performed by the terminal device in the above method embodiments, and transceiver 1003 is used to implement the sending and receiving-related operations performed by the terminal device in the above method embodiments.

[0231] In the communication device shown in Figure 10 above, the device in transceiver 1003 used for receiving power can be regarded as a receiving unit, and the device in transceiver 1003 used for transmitting functions can be regarded as a transmitting unit. That is, transceiver 1003 can include a receiver and a transmitter. Transceiver 1003 can also be called a transceiver, transceiver unit, or transceiver circuit, etc. Receiver can also be called a receiver, receiving unit, receiver, or receiving circuit, etc. Transmitter can also be called a transmitter, transmitter, transmitting unit, or transmitting circuit, etc. Processor 1001 has processing functions and can be called a processing unit. Memory 1002 is used to store computer program code and data and can also be called a storage unit.

[0232] By way of example, embodiments of this application also provide a communication device.

[0233] The communication device 1100 may be a terminal device or a chip of a terminal device. The communication device 1100 may be used to perform the operations performed by the terminal device in the above method embodiments.

[0234] Please refer to Figure 11, which is a schematic diagram of the hardware structure of a communication device provided in an embodiment of this application.

[0235] The communication device 1100 includes parts 1110, 1120, and 1130. Part 1110 is mainly used for baseband processing and controlling the base station; part 1110 is typically the control center of the base station, often referred to as a processor or processing unit, used to control the terminal device to perform the processing operations of the terminal device in the above method embodiments. Part 1120 is mainly used for storing computer program code and data, and can typically be called a memory or storage unit. Part 1130 is mainly used for transmitting and receiving radio frequency signals and converting radio frequency signals to baseband signals; part 1130 can typically be called a transceiver unit, transceiver, transceiver circuit, or transceiver. The transceiver unit of part 1130, also called a transceiver, includes an antenna 1133 and a radio frequency circuit (not shown in the figure), wherein the radio frequency circuit is mainly used for radio frequency processing. Optionally, the device in part 1130 used to implement the receiving function can be regarded as a receiver, and the device used to implement the transmitting function can be regarded as a transmitter, that is, part 1130 includes a receiver 1132 and a transmitter 1131. A receiver can also be called a receiving unit, receiver circuit, or receiving circuit, while a transmitter can be called a transmitting unit, transmitting unit, transmitter, or transmitting circuit.

[0236] Sections 1110 and 1120 may include one or more circuit boards, each of which may include one or more processors and one or more memories. The processors are used to read and execute programs from the memories to implement baseband processing functions and control the base station. If multiple circuit boards exist, they can be interconnected to enhance processing capabilities. As an optional implementation, multiple circuit boards may share one or more processors, multiple circuit boards may share one or more memories, or multiple circuit boards may simultaneously share one or more processors.

[0237] In one implementation, the transceiver unit in section 1130 is used to execute the transceiver-related processes performed by the terminal device in the embodiments shown in Figures 1-8. The processor in section 1110 is used to execute the processing-related processes performed by the terminal device in the embodiments shown in Figures 1-8.

[0238] It should be understood that Figure 11 is merely an example and not a limitation, and the terminal device described above, including the processor, memory, and transceiver, may not depend on the structure shown in Figure 11.

[0239] When the communication device 1100 is a chip, the chip includes a transceiver, a memory, and a processor. The transceiver can be an input / output circuit or a communication interface; the processor is a processor, microprocessor, or integrated circuit integrated on the chip. In the above method embodiments, the sending operation of the terminal device can be understood as the output of the chip, and the receiving operation of the terminal device in the above method embodiments can be understood as the input of the chip.

[0240] For example, embodiments of this application also provide a computer-readable storage medium having stored thereon computer instructions for implementing the methods executed by a terminal device in the above method embodiments.

[0241] For example, when the computer program is executed by the computer, it enables the computer to implement the method executed by the terminal device in the above method embodiments.

[0242] For example, embodiments of this application also provide a computer program product containing instructions that, when executed by a computer, cause the computer to implement the method executed by the terminal device in the above method embodiments.

[0243] For example, this application also provides a communication system, which includes a terminal device and a network device. The terminal device is used to execute the processes performed by the terminal device in the preceding embodiments.

[0244] For example, embodiments of this application also provide a chip device, including a processor, for calling computer programs or computer instructions stored in the memory to cause the processor to execute the methods of the above embodiments.

[0245] In one possible implementation, the input of the chip device corresponds to the receiving operation in the embodiments shown in Figures 1-8, and the output of the chip device corresponds to the sending operation in the embodiments shown in Figures 1-8.

[0246] Optionally, the processor is coupled to the memory via an interface.

[0247] Optionally, the chip device may also include a memory that stores computer programs or computer instructions.

[0248] The processor mentioned above can be a general-purpose central processing unit, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of a program for controlling the methods described in the preceding embodiments. The memory mentioned above can be read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, such as random access memory (RAM).

[0249] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the explanations and beneficial effects of the relevant content in any of the communication devices provided above can be referred to the corresponding method embodiments provided above, and will not be repeated here.

[0250] In this embodiment, the terminal device may include a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system layer. The hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory). The operating system layer may be any one or more computer operating systems that implement business processing through processes, such as Linux, Unix, Android, iOS, or Windows. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.

[0251] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0252] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.

[0253] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0254] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0255] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the part of the technical solution that essentially contributes to the present application's embodiments, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the processes of the methods in the various embodiments of the present application's embodiments. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.

[0256] The above embodiments are only used to illustrate the technical solutions of the embodiments of this application, and are not intended to limit them. Although the embodiments of this application have been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A service processing method, characterized in that, The method, applied to a terminal device, includes: when a first service requires positioning of the terminal device, sending first information to a first network device, the first information including multiple measurement parameters of the terminal device, the first network device including a fingerprint database, the fingerprint database being used to indicate multiple measurement parameters corresponding to multiple reference points, the measurement parameters being obtained using a first signal, the first signal being used for measurement and positioning of the terminal device, the measurement parameters being used to indicate the fading and synchronization status of the first signal; receiving second information sent by the first network device, the second information being used to indicate a first reference point; and determining the location information of the terminal device based on the second information.

2. The method according to claim 1, characterized in that, The method further includes: sending a first request to a second network device corresponding to the first service, the first request being used to request the first service, the first request including the location information of the terminal device; and receiving a first response sent by the second network device, the first response including service data of the first service.

3. The method according to claim 1 or 2, characterized in that, The method further includes sending third information to the first network device, the third information including the location information of the terminal device and multiple measurement parameters, so that the first network device updates the fingerprint database according to the third information.

4. The method according to any one of claims 1-3, characterized in that, The step of determining the location information of the terminal device based on the second information includes: determining K reference points from the first reference points, where K is a positive integer greater than 1; and determining the location information of the terminal device based on the Euclidean distance between the K reference points.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: receiving the first signal sent by a third network device when the terminal device is located at the first location; measuring the first signal to obtain multiple measurement parameters of the terminal device; obtaining the location information of the terminal device located at the first location; and sending fourth information to the first network device, the fourth information including the location information of the terminal device and multiple measurement parameters, so that the first network device creates the fingerprint database based on the fourth information.

6. The method according to any one of claims 1-4, characterized in that, The method further includes: when the terminal device is located at a first position, receiving the first signal sent by a third network device; measuring the first signal to obtain multiple measurement parameters of the terminal device; sending fifth information to the third network device, the fifth information including the multiple measurement parameters of the terminal device, so that the third network device sends sixth information to the first network device, the sixth information including the location information of the third network device and the multiple measurement parameters of the terminal device, so that the first network device creates the fingerprint database based on the sixth information.

7. The method according to any one of claims 1-6, characterized in that, The fingerprint database includes: the global cell identification code of each reference point, the reference signal received power (RSRP) of each reference point, the received signal strength indication (RSSI) of each reference point, and the time difference of the synchronization measurement signal of each reference point.

8. The method according to any one of claims 1-7, characterized in that, The first signal is any one of the following: cell-specific reference signal (cell-RS), synchronization signal block (SSB), and channel state information reference signal (CIS-RS).

9. A communication device, characterized in that, include: A module for performing the method as described in any one of claims 1-8.

10. A communication device, characterized in that, include: At least one processor and an interface circuit, the interface circuit being configured to receive signals from other communication devices besides the communication device and transmit them to the processor, or to send signals from the processor to other communication devices besides the communication device, the processor being configured to implement the method as described in any one of claims 1-8 via logic circuits or execution code instructions.

11. A computer-readable storage medium, characterized in that, It includes a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1-8.

12. A chip, characterized in that, include: An interface circuit and a logic circuit, wherein the interface circuit is used to receive signals from other chips besides the chip and transmit them to the logic circuit, or to send signals from the logic circuit to other chips besides the chip, and the logic circuit is used to implement the method as described in any one of claims 1-8.

13. A computer program product, characterized in that, The computer program product includes: a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1-8.