Local area network user position determination method and device, equipment and storage medium

By querying the user status and home broadband account from the target management device, and determining the location of the local area network user using the corresponding relationship table, the problem of large error in position determination in the prior art is solved, and more accurate and real-time user location positioning is achieved.

CN119254826AActive Publication Date: 2025-01-03CHINA UNITED NETWORK COMM GRP CO LTD

Patent Information

Application Number
CN202411281246.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-01-03
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

In the prior art, the local area network user location determination method has a large error, the positioning results are inaccurate, and the actual location of the user cannot be reflected in real time.

Method used

Through the location query device, the user identification and user status are obtained. If online, the home broadband account is obtained, and the user's latitude and longitude location information is determined using the home broadband account and the corresponding relationship table.

Benefits of technology

It realizes more accurate local area network user location determination, and improves the real-time and accuracy of positioning results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254826A_ABST
    Figure CN119254826A_ABST
Patent Text Reader

Abstract

The invention provides a method, a device and equipment for determining the position of a local area network user and a storage medium. The method comprises the following steps: sending a first query request to target management equipment through position query equipment; the target management device determines a user state corresponding to the user identifier; under the condition that the user state is an online state, the target management equipment determines a home broadband account accessed by the local area network user; the target management equipment feeds back a corresponding first query result to the position query equipment; and the position query device determines the position information of the local area network user according to the household broadband account. According to the method, the position information of the user determined by the acquired home broadband account of the local area network user has real-time performance, so that the position information of the local area network user can be accurately reflected, and the positioning result is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of location determination, and in particular to a method, apparatus, device and storage medium for determining the location of a local area network user. Background Art

[0002] LAN users are users of computers or devices connected to a LAN. A LAN is a network with a small coverage area, usually used in homes, offices, schools, etc., which allows data transmission and resource sharing between connected devices.

[0003] In the existing method for determining the location of a LAN user, considering that after the user accesses the LAN, the location is not too far from the LAN to which the user accesses, the installation address of the home LAN or public LAN to which the LAN user accesses is taken as the user's location.

[0004] In the existing methods for determining the location of LAN users, the positioning method for estimating the location of LAN users has a large error and the estimation result is not accurate. Summary of the invention

[0005] The present application provides a method, apparatus, device and storage medium for determining the position of a local area network user, so as to solve the defect of inaccurate position estimation results of local area network users existing in the prior art.

[0006] In a first aspect, the present application provides a method for determining the location of a local area network user, which is applied to a location query device, and the method includes:

[0007] Sending a first query request to a target management device, wherein the first query request includes: a user identifier of a local area network user;

[0008] receiving a query result fed back by the target management device, wherein the query result is used to indicate a home broadband account corresponding to the local area network user or to indicate a query error;

[0009] In the case where the query result is the first query result, the location information of the local area network user is determined according to the home broadband account, and the first query result is used to indicate the home broadband account corresponding to the local area network user.

[0010] In a possible implementation, determining the location information of the local area network user according to the home broadband account includes:

[0011] According to the home broadband account and the first correspondence table, the target longitude and latitude of the LAN user are determined, and the target longitude and latitude are used as the location information of the LAN user. The first correspondence table is used to indicate the correspondence between the home broadband account and the longitude and latitude.

[0012] In a possible implementation manner, before sending the first query request to the target management device, the method further includes:

[0013] Determine a unified data management function network element corresponding to the user identifier, and send a second query request to the unified data management function network element, where the second query request is used to instruct the unified data management function network element to determine a session management function network element corresponding to the user identifier;

[0014] Receive a second query result fed back by the unified data management function network element, and determine a target management device corresponding to the second query result.

[0015] In a possible implementation, the second query result includes: a session management function network element corresponding to the user identifier, and determining a target management device corresponding to the second query result includes:

[0016] Determine the target management area corresponding to the local area network user according to the session management function network element and the second correspondence table, wherein the second correspondence table is used to indicate the correspondence between the session management function network element and the management area;

[0017] The target management device corresponding to the local area network user is determined according to the target management area and the third correspondence table, wherein the third correspondence table is used to indicate the correspondence between the management area and the management device.

[0018] In a second aspect, the present application provides a method for determining the location of a local area network user, which is applied to a target management device, and the method includes:

[0019] receiving a first query request sent by a location query device, wherein the first query request includes: a user identifier of a local area network user;

[0020] Determine the user status corresponding to the user identifier; and if the user status is online, determine the home broadband account accessed by the local area network user;

[0021] A corresponding first query result is fed back to the location query device, so that the location query device determines the location information of the local area network user based on the first query result, wherein the first query result is used to indicate the home broadband account corresponding to the local area network user.

[0022] In a possible implementation, the method further includes:

[0023] Acquire synchronization information sent by a packet data gateway, where the synchronization information is used to instruct to perform registration processing or deregistration processing on the local area network registration information of the local area network user;

[0024] When the synchronization information indicates that the LAN registration information of the LAN user is to be registered, storing the LAN registration information of the LAN user;

[0025] When the synchronization information indicates that the LAN registration information of the LAN user is to be deregistered, the stored LAN registration information is deleted.

[0026] In a possible implementation, the method further includes:

[0027] When the user status is offline, a corresponding third query result is fed back to the location query device, where the third query result is used to indicate a query error.

[0028] In a third aspect, the present application provides a local area network user location determination device, which is applied to a location query device, and the device includes:

[0029] A sending module, configured to send a first query request to a target management device, wherein the first query request includes: a user identifier of a local area network user;

[0030] A receiving module, used for receiving a query result fed back by the target management device, wherein the query result is used for indicating a home broadband account corresponding to the local area network user or indicating a query error;

[0031] The processing module is used to determine the location information of the local area network user according to the home broadband account when the query result is a first query result, and the first query result is used to indicate the home broadband account corresponding to the local area network user.

[0032] In a possible implementation, the processing module is used to determine the target longitude and latitude of the local area network user based on the home broadband account and a first correspondence table, and use the target longitude and latitude as the location information of the local area network user, and the first correspondence table is used to indicate the correspondence between the home broadband account and the longitude and latitude.

[0033] In a possible implementation manner, the processing module is further used to determine a unified data management function network element corresponding to the user identifier;

[0034] The sending module is further used to send a second query request to the unified data management function network element, where the second query request is used to instruct the unified data management function network element to determine a session management function network element corresponding to the user identifier;

[0035] The receiving module is further used to receive a second query result fed back by the unified data management function network element;

[0036] The processing module is further used to determine the target management device corresponding to the second query result.

[0037] In a possible implementation, the second query result includes: a session management function network element corresponding to the user identifier; the processing module is used to determine the target management area corresponding to the local area network user based on the session management function network element and a second correspondence table, wherein the second correspondence table is used to indicate the correspondence between the session management function network element and the management area; and determine the target management device corresponding to the local area network user based on the target management area and a third correspondence table, wherein the third correspondence table is used to indicate the correspondence between the management area and the management device.

[0038] In a fourth aspect, the present application provides a device for determining the location of a local area network user, which is applied to a target management device, and the device includes:

[0039] A receiving module, configured to receive a first query request sent by a location query device, wherein the first query request includes: a user identifier of a local area network user;

[0040] A processing module, used to determine the user status corresponding to the user identification; and when the user status is online, determine the home broadband account accessed by the local area network user;

[0041] A sending module is used to feed back a corresponding first query result to the location query device, so that the location query device determines the location information of the local area network user based on the first query result, wherein the first query result is used to indicate the home broadband account corresponding to the local area network user.

[0042] In a possible implementation, the device further includes: an acquisition module;

[0043] The acquisition module is used to acquire synchronization information sent by the packet data gateway, wherein the synchronization information is used to indicate to perform registration processing or deregistration processing on the local area network registration information of the local area network user;

[0044] The processing module is further configured to store the LAN registration information of the LAN user when the synchronization information indicates that the LAN registration information of the LAN user is to be registered;

[0045] The processing module is further configured to delete the stored LAN registration information when the synchronization information indicates that the LAN registration information of the LAN user should be deregistered.

[0046] In a possible implementation manner, the processing module is further configured to feed back a corresponding third query result to the location query device when the user status is offline, wherein the third query result is used to indicate a query error.

[0047] In a fifth aspect, the present application provides a device for determining a location of a local area network user, the device comprising:

[0048] A processor, and a memory communicatively connected to the processor;

[0049] The memory stores computer-executable instructions;

[0050] The processor executes the computer-executable instructions stored in the memory to implement the method for determining the location of a local area network user according to any one of the first aspect or any one of the second aspect.

[0051] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement a method for determining a location of a local area network user as described in any one of the first aspect or any one of the second aspect.

[0052] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method for determining the location of a local area network user described in any one of the first aspect or any one of the second aspect.

[0053] The method, device, equipment and storage medium for determining the location of a local area network user provided by the present application includes sending a first query request to a target management device through a location query device; the target management device determines the user status corresponding to the user identifier; when the user status is online, the target management device determines the home broadband account accessed by the local area network user; the target management device feeds back the corresponding first query result to the location query device; the location query device determines the location information of the local area network user based on the home broadband account. Since the location information of the user determined by obtaining the home broadband account of the local area network user is real-time, the method can accurately reflect the location information of the local area network user, making the positioning result more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0055] Figure 1 Interactive schematic diagram of a method for determining the location of a local area network user provided in this application Figure 1 ;

[0056] Figure 2Interactive schematic diagram of a method for determining the location of a local area network user provided in this application Figure 2 ;

[0057] Figure 3 A schematic diagram of the structure of a local area network user location determination device provided in this application Figure 3 ;

[0058] Figure 4 A schematic diagram of a local area network user location determination device provided in this application Figure 4 ;

[0059] Figure 5 A schematic diagram of the structure of a local area network user location determination device provided in this application Figure 5 .

[0060] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0061] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims, rather than all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0062] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, products or devices.

[0063] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0064] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0065] LAN users are users of computers or devices connected to a LAN. A LAN is a network with a small coverage area that allows data transmission and resource sharing between connected devices. This technology has important value in application scenarios such as network management, security monitoring, location services, and smart homes.

[0066] In user positioning technology, the mobile network user positioning technology currently available in the core network is to query the cell location information accessed by the UE from the AMF / MME through the GMLC / LCS network element. However, in the vowifi service, the UE does not access the core network through the AMF / MME network element, nor does it have cell information accessed through the base station. Therefore, the current mobile network user positioning technology is not completely suitable for the positioning of vowifi users. Among them, GMLC is the core node for processing location service requests, responsible for receiving location service requests from the LCS client or external application function (AF), and interacting with network functions such as AMF / MME to obtain the location information of the UE; LCS is the general name of the system that provides location services, and GMLC is a key component in LCS; AMF is the access and mobility management function in the 5G network, responsible for processing the access and mobility management of the UE, and also interacting with the LCS service to provide the location information of the UE; MME is a mobile management entity that plays a role in the transition stage or hybrid network environment; UE means user equipment; vowifi is a technology that transmits voice calls through a wireless local area network, that is, converting traditional calls into calls through a wireless network.

[0067] In the existing methods for determining the location of LAN users, the current location of LAN users is mainly estimated through the historical access information of LAN users. Due to the lag of data, the positioning method for estimating the location of LAN users in the existing methods for determining the location of LAN users has a large error and the estimation result is inaccurate.

[0068] In view of the above problems, the present application provides a method for determining the location of a local area network user, which initiates a local area network user registration status information query to a target management device through a location query device, obtains a home broadband account corresponding to the local area network currently accessed by the local area network user, and determines the location information of the local area network user according to the home broadband account of the local area network user. Since the location information of the user determined by obtaining the home broadband account of the local area network user is real-time, it can accurately reflect the location information of the local area network user, making the positioning result more accurate.

[0069] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in a certain embodiment. The embodiments of the present application are described below in conjunction with the accompanying drawings.

[0070] Figure 1 Interaction of a method for determining the location of a local area network user provided in an embodiment of the present application Figure 1 .like Figure 1 As shown, the method for determining the location of a local area network user provided in this embodiment includes:

[0071] S101: A location query device sends a first query request to a target management device, where the first query request includes a user identifier of a local area network user.

[0072] Among them, the location query device is used to query the user's location information, and it can initiate a location query service to obtain the current location of a specific target device; the location query device can, for example, be a location query service platform, a 4G or 5G base station positioning platform, or an external query system.

[0073] The target management device may be, for example, a tracing gateway, or a device storing registration information of LAN users and / or corresponding home broadband information.

[0074] The user identifier is a name or unique code used to distinguish different users in a local area network. The user identifier may be, for example, an international unique identification code corresponding to the user, or may be the user ID of the user, or may be a unique identifier such as a mobile phone number corresponding to the user.

[0075] In this step, since the location query device does not contain the corresponding user information, the location query device needs to first send a first query request to the target management device, so that the target management device determines the corresponding user information based on the first query request.

[0076] S102: The target management device determines the user status corresponding to the user identifier.

[0077] The user status corresponding to the user identification may include, for example, an online status and an offline status.

[0078] The target management device, for example, can manage the source tracing gateway of the user ID, or is a device carrying the registration information of the user ID. The target management device can record the user's network activity log, which can include: the user's login information, network requests, responses, etc.

[0079] The target management device can, for example, determine the corresponding user status by searching for the network traffic parameters corresponding to the user identifier and based on the network traffic parameters, or determine the corresponding user status through the status confirmation results fed back by other management devices; or determine the corresponding user status through the user identifiers of multiple home broadbands connected to the target management device. This application does not limit this.

[0080] In a possible implementation, the target management device determines the user status corresponding to the user identifier according to network traffic monitoring, including:

[0081] When the user accesses the local area network, the corresponding user device will communicate with other devices, thereby generating network traffic;

[0082] If the target management device detects a traffic change in the user account corresponding to the user identifier in the network, it determines that the user is online;

[0083] When the user is not connected to the local area network, that is, the corresponding user device does not generate network traffic, the target management device monitors that there is no traffic change in the user account corresponding to the user identifier in the network, and determines that the user is offline.

[0084] S103: When the user status is online, the target management device determines the home broadband account accessed by the LAN user.

[0085] In the above steps, if the user status is online, it means that the user is currently near the corresponding home broadband, that is, the user is close to the home broadband. At this time, the target management device can determine the home broadband account connected to the LAN user.

[0086] The target management device determines the home broadband account accessed by the LAN user, for example, by accessing the stored LAN registration information of the LAN user through the user identifier to obtain the corresponding home broadband account accessed by the LAN user, and feeds it back to the target management device as a query result.

[0087] It can be understood that the LAN registration information of the LAN user is synchronously stored in the target management device through the packet data gateway, and the home broadband account accessed by the LAN user in real time is queried through the target management device.

[0088] In a possible implementation, the target management device stores multiple home broadband accounts in the corresponding area and the LAN registration information of the LAN users corresponding to each home broadband account. The following is an explanation of the process of storing the LAN registration information by the target management device.

[0089] Wherein, in the process of storing the local area network registration information of the target management device, the target management device registers or cancels the registration information of the local area network user through the synchronization information of the packet data gateway. The target management device registers or cancels the registration information of the local area network user through the synchronization information of the packet data gateway, including:

[0090] Acquire synchronization information sent by a packet data gateway, where the synchronization information is used to instruct to perform registration processing or deregistration processing on the local area network registration information of the local area network user;

[0091] Among them, the packet data gateway is a network device or software module, a component in the network architecture, responsible for transmitting and managing packet data between different networks. It is usually used to connect wireless LANs and core networks to achieve seamless data transmission and user mobility management.

[0092] When the synchronization information indicates that the LAN registration information of the LAN user is to be registered, storing the LAN registration information of the LAN user;

[0093] When the synchronization information indicates that the LAN registration information of the LAN user is to be deregistered, the stored LAN registration information is deleted.

[0094] S104: The target management device feeds back a corresponding first query result to the location query device, where the first query result is used to indicate a home broadband account corresponding to the local area network user.

[0095] S105: The location query device determines the location information of the local area network user according to the home broadband account.

[0096] In this step, the location query device determines the location information of the local area network user according to the home broadband account in the following manner:

[0097] Method 1: The location query device queries the relevant table of corresponding location information according to the home broadband account, obtains the location information of the home account, and uses it as the local area network user location information.

[0098] Method 2: The location query device determines the area of ​​the LAN corresponding to the LAN user according to the home broadband account, and uses the area as the location information of the LAN user.

[0099] Method three: The location query device determines the historical locations of multiple local area network users corresponding to the home broadband account, and predicts the location information of the local area network users based on the multiple historical locations.

[0100] In a possible implementation manner, the location query device determines the location information of the local area network user according to the home broadband account in the following specific implementation manner:

[0101] The location query device determines the target longitude and latitude of the local area network user according to the home broadband account and the first correspondence table, and uses the target longitude and latitude as the location information of the local area network user.

[0102] The first correspondence table is used to indicate the correspondence between the home broadband account and the longitude and latitude.

[0103] The first correspondence table can be stored in a location query device, for example. When the location query device receives the first query result fed back by the target management device, the longitude and latitude corresponding to the home broadband account are obtained according to the correspondence between the home broadband account and the longitude and latitude in the first correspondence table, and used as the location information of the corresponding local area network user.

[0104] In a possible implementation, if the user status is offline, the target management device feeds back the corresponding third query result to the location query device.

[0105] The third query result is used to indicate a query error. It is understandable that when a LAN user is offline, it indicates that the user is not currently connected to the LAN. At this time, the target management device cannot find the LAN user based on the LANs corresponding to the multiple home broadband accounts stored in the device. Therefore, the target management device will feedback the third query result with a query error.

[0106] The method for determining the location of a local area network user provided in this embodiment includes: a location query device sends a first query request to a target management device; the target management device determines the user status corresponding to the user identifier; when the user status is online, the target management device determines the home broadband account accessed by the local area network user; the target management device feeds back the corresponding first query result to the location query device; the location query device determines the location information of the local area network user according to the home broadband account. Since the location information of the user determined by obtaining the home broadband account of the local area network user is real-time, it can accurately reflect the location information of the local area network user, making the positioning result more accurate.

[0107] Figure 2 Interaction of a method for determining the location of a local area network user provided in an embodiment of the present application Figure 2 This embodiment is in Figure 1 Based on the embodiment, a possible implementation method of determining the target management device corresponding to the user is supplemented. Figure 2 As shown, the method includes:

[0108] S201: The location query device determines a unified data management function network element corresponding to the user identifier.

[0109] Among them, the Unified Data Management (UDM) network element is an important functional entity in the core network of the fifth generation mobile communication technology (5G). It is responsible for managing users' subscription data, authentication data and policy data, ensuring that user devices can correctly access the network and enjoy corresponding services.

[0110] In this embodiment, the UDM network element is usually responsible for managing the relevant data of all users in the local area network, and through centralized management, it ensures the consistency and accuracy of user data and avoids data redundancy and conflict; after the location query device determines the corresponding UDM network element through the user identifier, it realizes data interaction with the UDM network element, reducing the query time and reducing the network load, ensuring efficient data processing.

[0111] In the above steps, the location query device may determine the UDM network element corresponding to the user identifier in the following manner:

[0112] The location query device queries the address of the UDM network element to which it belongs according to the user identifier, and determines the corresponding UDM network element according to the address.

[0113] It can be understood that there is a mapping relationship corresponding to the UDM network element address in the location query device, and the corresponding UDM network element can be determined according to the UDM network element address obtained by querying the user identity.

[0114] S202: The location query device sends a second query request to the UDM network element.

[0115] Among them, the second query request is used to instruct the UDM network element to determine the session management function network element corresponding to the user identifier; the session management function network element is used to manage the session between the user device and the data network; determine the transmission path of the user data to ensure that the data can reach the target network or device correctly; execute corresponding access control and data forwarding strategies to ensure the security and efficiency of the network. The main tasks include establishing, modifying and releasing sessions, and interacting with other network function entities.

[0116] When LAN users communicate over the network, they establish multiple sessions. The session management function network element is responsible for establishing, maintaining, and releasing these sessions. The location query device determines the session management function network element corresponding to the user based on the session status information stored in the UDM network element itself. The location query device reduces the query time and can improve the efficiency and accuracy of user location determination.

[0117] S203: The UDM determines a second query result, where the second query result is used to indicate a session management function network element corresponding to the user identifier.

[0118] In the above steps, the UDM network element determines the second query result, and the second query result is used to indicate the session management function network element corresponding to the user identifier, for example, by the following method:

[0119] The UDM network element queries the internal database of the UDM network element based on the user identifier, retrieves the subscription data and session information related to the user identifier, and based on the user's subscription data, session information and current network configuration, the UDM network element can determine the session management function network element corresponding to the user identifier.

[0120] S204: The UDM feeds back a second query result to the location query device.

[0121] S205: The location query device determines the target management area corresponding to the local area network user according to the session management function network element and a second correspondence table, where the second correspondence table is used to indicate the correspondence between the session management function network element and the management area.

[0122] Among them, the second correspondence table can be stored in the location query device, for example. When the session management function network element is received, the target management area corresponding to the local area network user is obtained according to the mapping relationship in the second correspondence table, and the target management area is fed back to the location query device.

[0123] This step determines the target management area corresponding to the LAN user based on the second correspondence table, which can reduce the query time of the location query device directly querying the target management area, thereby reducing the resource consumption of the location query device and improving the efficiency of LAN user location determination.

[0124] S206: The location query device determines the target management device corresponding to the local area network user according to the target management area and a third correspondence table, where the third correspondence table is used to indicate the correspondence between management areas and management devices.

[0125] In this step, the third correspondence table can be stored in the location query device, for example. When it is necessary to query the target management device corresponding to the LAN user, the location query device can directly determine the corresponding target management device based on the third correspondence table stored in itself, thereby reducing the query time of the location query device to determine the target management device corresponding to the LAN user, reducing the resource consumption of the location query device, and improving the efficiency of determining the location of the LAN user.

[0126] The method for determining the location of a local area network user provided in this embodiment comprises the following steps: a location query device determines the UDM network element corresponding to the user identifier; the location query device sends a second query request to the UDM network element; the UDM network element determines a second query result, the second query result is used to indicate the session management function network element corresponding to the user identifier; the location query device receives the second query result fed back by the UDM network element, the second query result is used to indicate the session management function network element corresponding to the user identifier; the location query device determines the target management area corresponding to the local area network user according to the session management function network element and the second correspondence table, the second correspondence table is used to indicate the correspondence between the session management function network element and the management area; the location query device determines the target management device corresponding to the local area network user according to the target management area and the third correspondence table, the third correspondence table is used to indicate the correspondence between the management area and the management device. Before determining the location of the local area network user, the location query device determines the target management device through the UDM network element and the session management function network element, provides a method for device search, selects the corresponding target management device in real time, and improves the efficiency of determining the location of the local area network user and the accuracy of the positioning result.

[0127] Figure 3A local area network user location determination device provided in an embodiment of the present application is applied to a location query device. Figure 3 As shown, the local area network user location determination device 300 provided in the embodiment of the present application includes:

[0128] The sending module 301 is used to send a first query request to a target management device, wherein the first query request includes: a user identifier of a local area network user;

[0129] A receiving module 302 is used to receive a query result fed back by the target management device, wherein the query result is used to indicate a home broadband account corresponding to the local area network user or to indicate a query error;

[0130] The processing module 303 is used to determine the location information of the local area network user according to the home broadband account when the query result is a first query result, and the first query result is used to indicate the home broadband account corresponding to the local area network user.

[0131] In a possible implementation, the processing module 303 is used to determine the target longitude and latitude of the local area network user based on the home broadband account and the first correspondence table, and use the target longitude and latitude as the location information of the local area network user. The first correspondence table is used to indicate the correspondence between the home broadband account and the longitude and latitude.

[0132] In a possible implementation, the processing module 303 is further configured to determine a unified data management function network element corresponding to the user identifier;

[0133] The sending module 301 is further used to send a second query request to the unified data management function network element, where the second query request is used to instruct the unified data management function network element to determine the session management function network element corresponding to the user identifier;

[0134] The receiving module 302 is further configured to receive a second query result fed back by the unified data management function network element;

[0135] The processing module 303 is further configured to determine a target management device corresponding to the second query result.

[0136] In a possible implementation, the second query result includes: a session management function network element corresponding to the user identifier; the processing module 303 is used to determine the target management area corresponding to the local area network user according to the session management function network element and a second correspondence table, wherein the second correspondence table is used to indicate the correspondence between the session management function network element and the management area; and determine the target management device corresponding to the local area network user according to the target management area and a third correspondence table, wherein the third correspondence table is used to indicate the correspondence between the management area and the management device.

[0137] The present embodiment provides a device for determining the location of a local area network user, which can execute the method for determining the location of a local area network user provided in the above method embodiment. The implementation principle and technical effect are similar, and are not described in detail in the present embodiment.

[0138] Figure 4 A local area network user location determination device provided in an embodiment of the present application is applied to a location query device. Figure 4 As shown, the local area network user location determination device 400 provided in the embodiment of the present application includes:

[0139] The receiving module 401 is used to receive a first query request sent by a location query device, wherein the first query request includes: a user identifier of a local area network user;

[0140] Processing module 402 is used to determine the user status corresponding to the user identification; and when the user status is online, determine the home broadband account accessed by the local area network user;

[0141] The sending module 403 is used to feed back the corresponding first query result to the location query device, so that the location query device determines the location information of the local area network user based on the first query result, wherein the first query result is used to indicate the home broadband account corresponding to the local area network user.

[0142] In a possible implementation, the device further includes: an acquisition module 404;

[0143] The acquisition module 404 is used to acquire synchronization information sent by the packet data gateway, where the synchronization information is used to indicate whether to register or unregister the local area network registration information of the local area network user;

[0144] The processing module 402 is further configured to store the LAN registration information of the LAN user when the synchronization information indicates that the LAN registration information of the LAN user is to be registered;

[0145] The processing module 402 is further configured to delete the stored LAN registration information when the synchronization information indicates to cancel the LAN registration information of the LAN user.

[0146] In a possible implementation, the processing module 402 is further configured to feed back a corresponding third query result to the location query device when the user status is offline, where the third query result is used to indicate a query error.

[0147] The present embodiment provides a device for determining the location of a local area network user, which can execute the method for determining the location of a local area network user provided in the above method embodiment. The implementation principle and technical effect are similar, and are not described in detail in the present embodiment.

[0148] Figure 5 A schematic diagram of the structure of the local area network user location determination device provided in this application. Figure 5 As shown, the local area network user location determination device 500 provided in the present application includes: a receiver 501 , a transmitter 502 , a processor 503 and a memory 504 .

[0149] Receiver 501, used for receiving instructions and data;

[0150] A transmitter 502, used for sending instructions and data;

[0151] Memory 504, used to store computer-executable instructions;

[0152] The processor 503 is used to execute the computer-executable instructions stored in the memory 504 to implement the various steps executed by the method for determining the location of a local area network user in the above embodiment. For details, please refer to the relevant description in the above embodiment of the method for determining the location of a local area network user.

[0153] Optionally, the memory 504 may be independent or integrated with the processor 503 .

[0154] When the memory 504 is independently provided, the electronic device further includes a bus for connecting the memory 504 and the processor 503 .

[0155] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, a method for determining a location of a local area network user as performed by the above-mentioned local area network user location determination device is implemented.

[0156] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps performed by the above-mentioned method for determining the location of a local area network user. For details, please refer to the relevant description in the above-mentioned embodiment of the method for determining the location of a local area network user.

[0157] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0158] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for determining the location of a local area network user, characterized in that: Applied to a location query device, the method comprises: Sending a first query request to a target management device, wherein the first query request includes: a user identifier of a local area network user; receiving a query result fed back by the target management device, wherein the query result is used to indicate a home broadband account corresponding to the local area network user or to indicate a query error; In the case where the query result is the first query result, the location information of the local area network user is determined according to the home broadband account, and the first query result is used to indicate the home broadband account corresponding to the local area network user.

2. The method according to claim 1, characterized in that The determining, according to the home broadband account, the location information of the local area network user includes: According to the home broadband account and the first correspondence table, the target longitude and latitude of the LAN user are determined, and the target longitude and latitude are used as the location information of the LAN user. The first correspondence table is used to indicate the correspondence between the home broadband account and the longitude and latitude.

3. The method according to claim 1, characterized in that Before sending the first query request to the target management device, the method further includes: Determine a unified data management function network element corresponding to the user identifier, and send a second query request to the unified data management function network element, where the second query request is used to instruct the unified data management function network element to determine a session management function network element corresponding to the user identifier; Receive a second query result fed back by the unified data management function network element, and determine a target management device corresponding to the second query result.

4. The method according to claim 3, characterized in that The second query result includes: a session management function network element corresponding to the user identifier, and determining a target management device corresponding to the second query result includes: Determine the target management area corresponding to the local area network user according to the session management function network element and the second correspondence table, wherein the second correspondence table is used to indicate the correspondence between the session management function network element and the management area; The target management device corresponding to the local area network user is determined according to the target management area and the third correspondence table, wherein the third correspondence table is used to indicate the correspondence between the management area and the management device.

5. A method for determining the location of a local area network user, characterized in that: Applied to a target management device, the method comprises: receiving a first query request sent by a location query device, wherein the first query request includes: a user identifier of a local area network user; Determine the user status corresponding to the user identifier; and if the user status is online, determine the home broadband account accessed by the local area network user; A corresponding first query result is fed back to the location query device, so that the location query device determines the location information of the local area network user based on the first query result, wherein the first query result is used to indicate the home broadband account corresponding to the local area network user.

6. The method according to claim 5, characterized in that The method further comprises: Acquire synchronization information sent by a packet data gateway, where the synchronization information is used to instruct to perform registration processing or deregistration processing on the local area network registration information of the local area network user; When the synchronization information indicates that the LAN registration information of the LAN user is to be registered, storing the LAN registration information of the LAN user; When the synchronization information indicates that the LAN registration information of the LAN user is to be deregistered, the stored LAN registration information is deleted.

7. The method according to claim 5, characterized in that The method further comprises: When the user status is offline, a corresponding third query result is fed back to the location query device, where the third query result is used to indicate a query error.

8. A device for determining the location of a local area network user, characterized in that: Applied to a location query device, the device comprises: A sending module, configured to send a first query request to a target management device, wherein the first query request includes: a user identifier of a local area network user; A receiving module, used for receiving a query result fed back by the target management device, wherein the query result is used for indicating a home broadband account corresponding to the local area network user or indicating a query error; The processing module is used to determine the location information of the local area network user according to the home broadband account when the query result is a first query result, and the first query result is used to indicate the home broadband account corresponding to the local area network user.

9. A device for determining the location of a local area network user, characterized in that: Applied to a target management device, the device comprises: A receiving module, configured to receive a first query request sent by a location query device, wherein the first query request includes: a user identifier of a local area network user; A processing module, used to determine the user status corresponding to the user identification; and when the user status is online, determine the home broadband account accessed by the local area network user; A sending module is used to feed back a corresponding first query result to the location query device, so that the location query device determines the location information of the local area network user based on the first query result, wherein the first query result is used to indicate the home broadband account corresponding to the local area network user.

10. A device for determining the location of a local area network user, characterized in that: The device comprises: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method for determining the location of a local area network user as described in any one of claims 1-4 or 5-7.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method for determining the location of a local area network user as described in any one of claims 1-4 or 5-7.

12. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the method for determining the position of a local area network user as described in any one of claims 1-4 or 5-7.

Citation Information

Patent Citations

  • Network quality obtaining method and device

    CN110198551A

  • Positioning method, server and mobile terminal

    CN110430525A

  • Network access method, related device and system

    CN110519826A

  • Network access method and device and storage medium

    CN112422518A

  • Network tracing method and device, electronic equipment and storage medium

    CN115802288A

Cited By

  • User positioning method and device, equipment, medium and product

    CN119584286A

  • User positioning method, apparatus, device, medium, and product

    CN119584286B

  • IP address affiliation positioning method and system based on fixed network multi-dimensional data and storage medium

    CN121367691A