WO2017197834A1 - 位置信息的获取方法及电子设备、基站、存储介质 - Google Patents
位置信息的获取方法及电子设备、基站、存储介质 Download PDFInfo
- Publication number
- WO2017197834A1 WO2017197834A1 PCT/CN2016/103208 CN2016103208W WO2017197834A1 WO 2017197834 A1 WO2017197834 A1 WO 2017197834A1 CN 2016103208 W CN2016103208 W CN 2016103208W WO 2017197834 A1 WO2017197834 A1 WO 2017197834A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- base station
- location information
- information
- identity information
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/003—Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
Definitions
- the present invention relates to the field of wireless communications, and in particular, to a method for acquiring location information, an electronic device, a base station, and a storage medium.
- location information is a very important information that has been applied to various fields such as navigation, security, and management.
- Servers in these fields can obtain location information of terminals and perform location navigation and positioning based on location information of the terminals. And management, etc.
- LTE Long Term Evolution
- the terminal performs a network search, after searching for the target network and selecting the target cell, performing network registration on the base station corresponding to the target cell, and after the user identity authentication or the like, the terminal user becomes a legal registered user;
- the base station acquires a location request sent by the terminal, acquires location information of the terminal by using a base station location technology, and returns location information of the terminal to the terminal;
- the terminal receives the location information of the terminal sent by the base station, and sends the location information of the terminal to the server for use by the server.
- the terminal can obtain its own location information and send it to the server after becoming a legal registered user, so that if there is a problem in any of the above steps, for example, the user network registration fails, The subsequent steps cannot be performed, and the application server cannot obtain the location information of the terminal.
- the terminal after the terminal obtains its own location information through the base station, it also needs to establish a data connection with the server to set its own location. The information is sent to the server. In this way, the server obtains the location information of the terminal, and the terminal needs to perform more data interaction with the network side, such as the base station and the server. The server cannot quickly obtain the location information of the terminal.
- the embodiments of the present invention provide a method for acquiring location information, an electronic device, a base station, and a storage medium, which can quickly acquire location information of the electronic device.
- An embodiment of the present invention provides a method for acquiring location information of an electronic device, where the method includes:
- the signaling message in the registration process is sent to the base station corresponding to the target cell, and the signaling message in the registration process includes identity information of the electronic device, where The signaling message in the registration process is used to request the base station to determine location information of the electronic device corresponding to the identity information of the electronic device.
- the method before the target cell is selected from the cell list, the method further includes:
- the identity information of the electronic device is obtained through the internal interface.
- the method when the identity information of the electronic device is obtained through the internal interface, the method further includes:
- the privacy control information is used to indicate whether the base station sends the location information of the electronic device to the server;
- the signaling message in the registration process further includes privacy control information of the electronic device.
- the embodiment of the invention further provides a method for acquiring location information of an electronic device, the method comprising:
- the method further includes:
- the signaling message in the registration process further includes the privacy control information of the electronic device, and correspondingly, the sending the identity information and the location information of the electronic device to the server includes:
- the privacy control information indicates that the base station sends the location information of the electronic device to the server
- the identity information and the location information of the electronic device are sent to the server.
- the determining location information of the electronic device corresponding to the identity information of the electronic device includes:
- An embodiment of the present invention provides an electronic device, where the electronic device includes:
- a first sending unit configured to: when a target cell is selected from the cell list obtained by the acquiring unit, send a signaling message in a registration process to a base station corresponding to the target cell, in the registration process
- the signaling message includes the identity information of the electronic device, and the signaling message in the registration process is used to request the base station to determine location information corresponding to the identity information.
- the acquiring unit is further configured to acquire identity information of the electronic device through the internal interface.
- the acquiring unit is further configured to acquire the privacy control of the electronic device.
- Information, the privacy control information is used to indicate whether the base station sends the location information of the electronic device to the server;
- the signaling message in the registration process sent by the first sending unit further includes privacy control information of the electronic device.
- An embodiment of the present invention further provides a base station, where the base station includes:
- a receiving unit configured to receive a signaling message in a registration process sent by the electronic device; the signaling message in the registration process includes identity information of the electronic device;
- a positioning unit configured to determine location information of the electronic device corresponding to the identity information of the electronic device received by the receiving unit.
- the base station further includes:
- the second sending unit is configured to send the identity information of the electronic device received by the receiving unit and the location information of the electronic device determined by the positioning unit to a server.
- the signaling message in the registration process further includes privacy control information of the electronic device; correspondingly,
- the second sending unit is further configured to: when the privacy control information received by the receiving unit indicates that the base station sends the location information of the electronic device to the server, the electronic device received by the receiving unit The identity information and the location information of the electronic device determined by the positioning unit are sent to the server.
- the positioning unit is further configured to determine location information of the electronic device corresponding to the identity information of the electronic device received by the receiving unit, based on a base station positioning technology.
- the embodiment of the present invention provides a method for acquiring location information, an electronic device, a base station, and a storage medium.
- the electronic device acquires a cell list, and when the target cell is selected from the cell list, the signaling message in the registration process is sent to The base station corresponding to the target cell, the signaling message in the registration process includes identity information of the electronic device; the base station is receiving the electronic After the signaling message in the registration process sent by the device, the location information of the electronic device corresponding to the identity information of the electronic device is determined.
- the signaling message in the registration process including the identity information of the electronic device is sent to the base station corresponding to the target cell, and the base station can quickly determine the electronic device.
- the location information of the electronic device corresponding to the identity information so that the base station can quickly obtain the location information of the electronic device regardless of whether the electronic device successfully performs network registration.
- FIG. 1 is a schematic flowchart of a method for acquiring location information of an electronic device applied to an electronic device according to Embodiment 1 of the present invention
- FIG. 2 is a schematic flowchart of a method for acquiring location information of an electronic device applied to a base station according to Embodiment 1 of the present invention
- FIG. 3 is a schematic flowchart of a method for acquiring location information of an electronic device according to Embodiment 2 of the present invention.
- FIG. 4 is a structural block diagram of an electronic device according to Embodiment 3 of the present invention.
- FIG. 5 is a structural block diagram of a base station according to Embodiment 3 of the present invention.
- the embodiment provides a method for acquiring location information of an electronic device, which is applied to the side of the electronic device.
- the processing procedure of the method in this embodiment includes the following steps:
- Step 101 Obtain a cell list.
- the electronic device first searches for an available network, scans a cell in the available network, and obtains List of cells.
- Step 102 Send a signaling message in the registration process to the base station corresponding to the target cell when the target cell is selected from the cell list.
- the signaling message in the registration process includes the identity information of the electronic device, and the signaling message in the registration process is used to request the base station to determine the electronic device corresponding to the identity information of the electronic device. Location information.
- the electronic device After acquiring the cell list, the electronic device selects an optimal target cell belonging to the available network from the cell list; when the target cell is selected from the cell list, the electronic device will register the process.
- the signaling message is sent to the base station corresponding to the target cell, that is, the base station to which the target cell belongs.
- the signaling message in the registration process includes the identity information of the electronic device, and the signaling message in the registration process is used to request the base station to determine the electronic device corresponding to the identity information of the electronic device. Location information.
- the identity information may include an electronic device ID and/or a user ID, where the electronic device ID is a code that can uniquely identify the identity of the electronic device.
- the electronic device ID is an International Mobile Equipment Identity (IMEI);
- the user ID is a code that uniquely identifies the user identity.
- the user ID may be an identity card number, a passport number, or the like.
- the identity information may also include other identity information, which is not specifically limited in the embodiment of the present invention.
- the signaling message in the registration process may be an RRC connection request message.
- the signaling message in the registration process may also be any signaling in the registration process.
- the message is not specifically limited in the embodiment of the present invention.
- the electronic device may be an electronic product, such as a mobile phone, a notebook computer, a personal digital assistant (PDA), or the like, or may be a household appliance, such as a refrigerator, a television, an air conditioner, or the like.
- PDA personal digital assistant
- the electronic device can also be various electronic devices in other fields. It is not specifically limited in the embodiment of the present invention.
- the base station receives a signaling message in a registration process sent by the electronic device, and determines location information of the electronic device corresponding to the identity information of the electronic device.
- the electronic device sends a signaling message in the registration process including the identity information of the electronic device to the base station, and the base station can quickly determine the electronic device corresponding to the identity information of the electronic device. Location information. In this way, even if the electronic device network registration fails, the base station can quickly acquire the location information of the electronic device.
- the embodiment of the present invention further describes a first type of computer storage medium, wherein the first type of computer storage medium stores a computer program for performing location information of the electronic device shown in FIG. 1 in the embodiment of the present invention. Get the method.
- the embodiment also provides a method for acquiring location information of an electronic device, which is applied to the side of the base station.
- the processing procedure of the method in this embodiment includes the following steps:
- Step 201 Receive a signaling message in a registration process sent by an electronic device.
- the signaling message in the registration process includes identity information of the electronic device.
- the electronic device first searches for an available network, scans cells in the available network, and obtains a cell list. After acquiring the cell list, the electronic device selects an optimal target cell belonging to the available network from the cell list; when the target cell is selected from the cell list, the electronic device will register the process.
- the signaling message is sent to the base station corresponding to the target cell, that is, the base station to which the target cell belongs.
- the signaling message in the registration process includes the identity information of the electronic device, and the signaling message in the registration process is used to request the base station to determine the electronic device corresponding to the identity information of the electronic device. Location information.
- the identity information may include an electronic device ID and/or a user ID, where the electronic device ID is a code that can uniquely identify the identity of the electronic device.
- the electronic device ID is IMEI; the user ID is uniquely identifiable
- the encoding of the user identity for example, the user ID may be an identity card number, a passport number, or the like.
- the identity information may also include other identity information, which is not specifically limited in the embodiment of the present invention.
- the signaling message in the registration process may be an RRC connection request message.
- the signaling message in the registration process may also be any signaling message in the registration process, which is implemented in the present invention. There is no specific limitation in the examples.
- the electronic device may be an electronic product, such as a mobile phone, a notebook computer, a PDA, etc., or may be a household appliance, such as a refrigerator, a television, an air conditioner, or the like, or may be a vehicle, such as a car or a train. Motor trains, etc.
- the electronic device may also be various electronic devices in other fields, which are not specifically limited in the embodiment of the present invention.
- Step 202 Determine location information of the electronic device corresponding to the identity information of the electronic device.
- the base station determines location information of the electronic device corresponding to identity information of the electronic device based on a base station positioning technology.
- the base station positioning technology may obtain the foregoing according to a technology such as a Time of Arrival (TOA), a Time Difference of Arrival (TDOA), or an Assisted Global Positioning System (A-GPS) technology.
- TOA Time of Arrival
- TDOA Time Difference of Arrival
- A-GPS Assisted Global Positioning System
- Location information of the electronic device may be determined by other positioning technologies, which is not specifically limited in the embodiment of the present invention.
- the electronic device sends a signaling message in the registration process including the identity information of the electronic device to the base station, and the base station can quickly determine the electronic device corresponding to the identity information of the electronic device. Location information. In this way, even if the electronic device network registration fails, the base station can quickly acquire the location information of the electronic device.
- the embodiment of the present invention further describes a second type of computer storage medium, wherein the second type of computer storage medium stores a computer program for performing location information of the electronic device shown in FIG. 2 in the embodiment of the present invention. Get the method.
- This embodiment provides a method for acquiring location information of an electronic device. As shown in FIG. 3, the processing procedure of the method in this embodiment includes the following steps:
- Step 301 The communication chip of the electronic device acquires identity information and privacy control information of the electronic device through an internal interface.
- the identity information includes a user ID and an electronic device ID
- the privacy control information is used to indicate whether the base station sends the location information of the electronic device to the server.
- the communication chip is mounted in the electronic device and can be connected to the electronic device through various internal interfaces.
- the internal interface may be a serial interface, a standard socket 45 (Registered Jack 45, RJ45), a remote network driver interface specification (RNDIS) interface, or the like.
- the internal interface may also be other interfaces, which are not specifically limited in the embodiment of the present invention.
- the communication chip when the communication chip establishes a connection with the electronic device through a serial interface, the communication chip acquires identity information and privacy control information of the electronic device through a serial port AT (Attention) command.
- the user Before using the communication chip, the user can set the user ID and privacy control information on the electronic device. After setting the user ID and privacy control information of the electronic device, the communication chip acquires identity information and privacy control information of the electronic device through an internal interface. For example, when the electronic device is a mobile terminal, the user can input the user ID and the privacy control information through the mobile terminal, and the communication chip can acquire the user ID and privacy control information input by the user through the internal interface.
- the communication chip may obtain the identity information and the privacy control information of the electronic device by using other methods, for example, acquiring the user ID and the privacy control information by using other devices connected to the electronic device, in the embodiment of the present invention. No specific restrictions are made.
- the identity information may include a user ID and an electronic device ID, where the electronic device ID is a code that can uniquely identify the identity of the electronic device.
- the electronic device ID is a code that can uniquely identify the identity of the electronic device.
- the electronic device is a mobile terminal
- the electronic device ID is an IMEI
- the user ID is a code that can uniquely identify the user identity.
- the user ID can be an ID card number, a passport number, and the like
- the privacy control information is used to indicate whether the base station is to use the electronic device.
- the location information is sent to the server.
- the electronic device may be an electronic product, such as a mobile phone, a notebook computer, a PDA, etc., or may be a household appliance, such as a refrigerator, a television, an air conditioner, or the like, or may be a vehicle, such as a car or a train. Motor trains, etc.
- the electronic device may also be various electronic devices in other fields, which are not specifically limited in the embodiment of the present invention.
- the communication chip may be an Internet of Things communication chip, and the communication chip may be a Long Term Evolution-Machine to Machine (LTE-M) chip, which has miniaturization,
- LTE-M Long Term Evolution-Machine to Machine
- the low power consumption feature enables the existing LTE communication network to communicate, and the communication conforms to the LTE-M standard protocol, and can be widely applied to various electronic devices of the LTE communication network.
- the LTE-M standard protocol is part of the thirteenth edition of the 3rd Generation Partnership Project (3GPP) LTE standard, featuring wide coverage, low power consumption, low latency and low cost.
- Rate-efficient machine to machine (M2M) communication applications provide a cost-effective connection network.
- the communication chip may also be other communication chips, and is not limited in the embodiment of the present invention.
- Step 302 The communication chip of the electronic device acquires the cell list, and when the target cell is selected from the cell list, the RRC connection request message is sent to the base station corresponding to the target cell.
- the RRC connection request message includes the identity information of the terminal and the privacy control information, where the RRC connection request message is used to request the base station to determine location information of the terminal corresponding to the identity information of the terminal.
- the communication chip of the electronic device first searches for an available Public Land Mobile Network (PLMN), and then scans the cells in the available network to obtain a cell list, after the electronic device acquires the cell list, Selecting, from the cell list, a target cell that belongs to the strongest signal in the PLMN, that is, an optimal target cell; when selecting a target cell from the cell list, the communication chip of the electronic device starts to establish with the base station.
- the RRC connection sends an RRC connection request message to the base station corresponding to the target cell, that is, the base station to which the target cell belongs.
- the RRC connection request message includes the identity information of the terminal and the privacy control information, where the RRC connection request message is used to request the base station to determine location information of the terminal corresponding to the identity information of the terminal.
- the communication chip of the electronic device sends the RRC connection request message to the base station, so that the base station can be timely Determining the location of the electronic device.
- 6.2.2 of 3GPP TS 36.331 defines the structure of the RRC connection request message.
- the structure of the RRC connection request message in the embodiment of the present invention is as follows:
- the LTE-MTC-Identity is a new field, where the E-Identity represents identity information of the electronic device, and the format of the E-Identity is defined as: [user ID + electronic device ID], here,
- the electronic device ID may be 64 bits;
- the UserControlValue represents the privacy control information of the electronic device, and the values are: Allow, Forbidden, and Other;
- the Allow indicates that the base station is allowed to send the location information of the electronic device to the server;
- Forbidden indicates that the base station is prohibited from transmitting the location information of the electronic device to the server;
- the Other indicates other control rules customized by the user.
- Step 303 The base station receives an RRC connection request message sent by a communication chip of the electronic device.
- Step 304 The base station determines location information of the electronic device corresponding to the identity information of the electronic device.
- the base station determines location information of the electronic device corresponding to identity information of the electronic device based on a base station positioning technology.
- the base station positioning technology may acquire location information of the electronic device according to technologies such as TOA, TDOA, or A-GPS technology.
- the location information of the electronic device corresponding to the identity information of the electronic device may be determined by other positioning technologies, which is not specifically limited in the embodiment of the present invention.
- the base station after determining, by the base station, the location information of the electronic device corresponding to the identity information of the electronic device, the identity information, the privacy control information, and the location information of the electronic device are saved.
- Step 305 The base station determines, when the privacy control information indicates that the base station sends the location information of the electronic device to the server, and sends the identity information and the location information of the electronic device to the server.
- the electronic device Determining, when the privacy control information indicates that the base station sends the location information of the electronic device to the server, for example, when the privacy control information is Allow, the electronic device The identity information and location information of the device are sent to the server, so that the server can quickly acquire and save the identity information and location information of each electronic device, that is, the correspondence between the person (user ID)-object (electronic device ID)-location (location information). relationship.
- the server may be a global positioning server, and the identity information and location information of each electronic device saved in the global positioning server may be used by all application servers, and may also be used by an ordinary user to query a certain The specific location of the electronic device.
- the server may be other types of servers, which are not specifically limited in the embodiment of the present invention.
- the privacy control information may be used to indicate that the base station sends the location information of the electronic device to the server, and the privacy control information may further indicate that the base station prohibits sending the location information of the electronic device to the server, for example,
- the privacy control information is Forbidden, the location information of the electronic device is prohibited from being sent to the server, where the identity information and the location information of the electronic device are not saved, and the identity information and location of the electronic device may be The information is stored in the database of the base station and is ready for emergency use.
- the privacy control information may also be other control rules customized by the user.
- the base station when the privacy control information is Other, when the privacy control information indicates that the first application generated by the user occurs, the base station will The identity information and the location information of the electronic device are sent to the application server corresponding to the first application, and when the second application preset by the user occurs, the identity information and the location information of the electronic device are prohibited from being sent to the second Apply the corresponding application server. In this way, the user can set whether to allow the server corresponding to the specific application to acquire the identity information and the location information of the electronic device as needed.
- Step 306 The server acquires a user ID or an electronic device ID of the target electronic device.
- the ordinary user can input the user ID or power of the target electronic device through the server.
- the sub-device ID is used to query location information of the electronic device; the server acquires a user ID or an electronic device ID of the target electronic device input by the user, and performs a search in the pre-stored identity information and location information of each electronic device to determine the target.
- the location of the electronic device is used to query location information of the electronic device; the server acquires a user ID or an electronic device ID of the target electronic device input by the user, and performs a search in the pre-stored identity information and location information of each electronic device to determine the target. The location of the electronic device.
- the privacy control information previously set by the user indicates that the base station prohibits sending the location information of the electronic device to the server.
- the identity information and the location information of the electronic device are not saved in the server.
- the identity information and the location information of the electronic device are stored in the database of the base station. Therefore, the ordinary user cannot input the identity information of the target electronic device through the server to query the location information of the electronic device, only when an emergency situation occurs, for example. A personal kidnapping occurs, and a special user authorized by the public security organ, such as a public security organ, can query the location information of the electronic device through the base station.
- Step 307 The server determines that the user ID or the electronic device ID of the target electronic device is in the pre-stored identity information of the electronic device, and outputs the user ID of the target electronic device or the location information corresponding to the electronic device ID.
- the identity information of the electronic device includes a user ID and/or an electronic device ID.
- the server determines that the user ID or the electronic device ID of the target electronic device is in the pre-stored identity information of the electronic device, the server outputs the user ID of the target electronic device or the location information corresponding to the electronic device ID. In this way, the user can be helped to find the location information of the target electronic device.
- the identity information is a user ID
- the location information corresponding to the user ID is output, and of course, the user ID may also be output.
- the electronic device ID corresponding to the user ID and the location information corresponding to the electronic device ID; or, when the identity information is the electronic device ID, determining the identity of the electronic device ID of the target electronic device in the pre-stored electronic device In the case of information, the electronic device ID is output corresponding to the position information, and of course, the user ID and the position information corresponding to the electronic device ID may be output.
- the server pre-stores three pieces of information whose user ID is ID1, as shown in Table 1. Shown.
- the electronic device ID and location information corresponding to ID1 are output: (IMEI1, x1.y1), (IMEI4, x4.y4) and (IMEI5, x5.y5).
- the electronic device ID input by the user is IMEI3
- the user ID and location information corresponding to IMEI3 are output: (ID3, x3.y3).
- the user Since the correspondence between the person-object and the location is saved in the server, the user is convenient to query the location information of the target electronic device.
- An embodiment of the present invention provides an electronic device.
- the electronic device includes: an obtaining unit 401 and a first sending unit 402, where
- the obtaining unit 401 is configured to acquire a cell list.
- the first sending unit 402 is configured to: when the target cell is selected from the cell list obtained by the acquiring unit 401, send a signaling message in the registration process to the base station corresponding to the target cell, where The signaling message in the registration process includes the identity information of the electronic device, and the signaling message in the registration process is used to request the base station to determine the location information of the electronic device corresponding to the identity information of the electronic device. .
- the obtaining unit 401 is further configured to acquire identity information of the electronic device through the internal interface.
- the acquiring unit 401 is further configured to acquire the privacy control information of the electronic device, where the privacy control information is used to indicate whether the base station sends the location information of the electronic device to the server;
- the signaling message in the registration process sent by the first sending unit 402 further includes privacy control information of the electronic device.
- the embodiment of the present invention further provides a base station.
- the base station includes: a receiving unit 501, and a positioning unit 502, where
- the receiving unit 501 is configured to receive a signaling message in a registration process sent by the electronic device, where the signaling message in the registration process includes identity information of the electronic device.
- the positioning unit 502 is configured to determine location information of the electronic device corresponding to the identity information of the electronic device received by the receiving unit 501.
- the base station further includes: a second sending unit 503;
- the second sending unit 503 is configured to send the identity information of the electronic device received by the receiving unit 501 and the location information of the electronic device determined by the positioning unit 502 to the server.
- the signaling message in the registration process further includes privacy control information of the electronic device; correspondingly,
- the second sending unit 503 is further configured to: when the privacy control information received by the receiving unit 501 instructs the base station to send the location information of the electronic device to the server, the receiving unit 501 receives the location The identity information of the electronic device and the location information of the electronic device determined by the positioning unit 502 are sent to the server.
- the positioning unit 502 is further configured to determine, according to a base station positioning technology, location information of the electronic device corresponding to the identity information of the electronic device received by the receiving unit 501.
- the obtaining unit 401 and the first sending unit 402 described in this embodiment are used. It can be implemented by a device such as a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), a modem, or the like on an electronic device.
- a device such as a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), a modem, or the like on an electronic device.
- CPU central processing unit
- MPU microprocessor
- DSP digital signal processor
- FPGA field programmable gate array
- the receiving unit 501, the positioning unit 502, and the second sending unit 503 described in this embodiment may be implemented by a central processing unit (CPU), a microprocessor (MPU), and a digital signal processor (DSP) on the base station. ) or device implementation such as field programmable gate array (FPGA), modem, etc.
- CPU central processing unit
- MPU microprocessor
- DSP digital signal processor
- FPGA field programmable gate array
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded into a computer or other programmable data processing device Having a series of operational steps performed on a computer or other programmable device to produce computer-implemented processing such that instructions executed on a computer or other programmable device are provided for implementing one or more processes in a flowchart and/or Or block diagram the steps of a function specified in a box or multiple boxes.
- the signaling message in the registration process including the identity information of the electronic device is sent to the base station corresponding to the target cell, and the base station can quickly determine the location.
- the location information of the electronic device corresponding to the identity information of the electronic device so that the base station can quickly obtain the location information of the electronic device regardless of whether the electronic device successfully performs network registration.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明实施例公开了一种电子设备位置信息的获取方法,所述方法包括:获取小区列表;在从所述小区列表中选择出目标小区时,将无线资源控制注册过程中的信令消息发送给所述目标小区对应的基站,所述注册过程中的信令消息中包括所述电子设备的身份信息,所述注册过程中的信令消息用于请求所述基站确定所述电子设备的身份信息对应的所述电子设备的位置信息。本发明实施例还公开了一种电子设备、基站及存储介质。
Description
本发明涉及无线通信领域,尤其涉及一种位置信息的获取方法及电子设备、基站、存储介质。
当今社会,位置信息是一个非常重要的信息,已经被应用于导航、安全、管理等各个领域,这些领域中的服务器可以获取终端的位置信息,并根据所述终端的位置信息进行位置导航、定位和管理等。
目前,基于长期演进(Long Term Evolution,LTE)技术,某服务器获取终端的位置信息需要通过以下几个步骤:
(1)终端进行网络搜索,在搜索到目标网络、选择出目标小区之后,在所述目标小区对应的基站进行网络注册,经用户身份认证等操作之后,所述终端用户成为合法的注册用户;
(2)所述终端向所述基站发送定位请求;
(3)所述基站获取所述终端发送的定位请求,通过基站定位技术等获取所述终端的位置信息,并将所述终端的位置信息返回给所述终端;
(4)所述终端接收所述基站发送的所述终端的位置信息,将所述终端的位置信息发送给该服务器,供该服务器使用。
然而,基于现有的LTE技术,所述终端在成为合法的注册用户之后,才能获取到自身的位置信息并发送给服务器,这样,如果上述任一环节出现问题时,例如用户网络注册失败,就不能进行后续步骤,所述应用服务器就无法获取所述终端的位置信息;另外,所述终端通过基站获取到自身的位置信息之后,还需要建立与服务器之间的数据连接才能将自身的位置
信息发送给服务器,这样,服务器获取终端的位置信息,需要终端与网络侧如基站、服务器进行较多的数据交互,该服务器不能快速的获取所述终端的位置信息。
发明内容
为解决现有存在的技术问题,本发明实施例提供一种位置信息的获取方法及电子设备、基站、存储介质,可以快速的获取电子设备的位置信息。
为达到上述目的,本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种电子设备位置信息的获取方法,所述方法包括:
获取小区列表;
在从所述小区列表中选择出目标小区时,将注册过程中的信令消息发送给所述目标小区对应的基站,所述注册过程中的信令消息中包括电子设备的身份信息,所述注册过程中的信令消息用于请求所述基站确定所述电子设备的身份信息对应的所述电子设备的位置信息。
在上述方案中,在从所述小区列表中选择出目标小区之前,所述方法还包括:
通过内部接口获取电子设备的身份信息。
在上述方案中,在通过内部接口获取电子设备的身份信息时,所述方法还包括:
获取所述电子设备的隐私控制信息,所述隐私控制信息用于指示基站是否将所述电子设备的位置信息发送给服务器;
相应的,所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息。
本发明实施例还提供了一种电子设备位置信息的获取方法,所述方法包括:
接收电子设备发送的注册过程中的信令消息,所述注册过程中的信令消息中包括电子设备的身份信息;
确定所述电子设备的身份信息对应的所述电子设备的位置信息。
在上述方案中,确定所述电子设备的身份信息对应的所述电子设备的位置信息之后,所述方法还包括:
将所述电子设备的身份信息和位置信息发送给服务器。
在上述方案中,所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息,相应的,所述将所述电子设备的身份信息和位置信息发送给服务器包括:
在所述隐私控制信息指示基站将所述电子设备的位置信息发送给服务器时,将所述电子设备的身份信息和位置信息发送给服务器。
在上述方案中,所述确定所述电子设备的身份信息对应的所述电子设备的位置信息,包括:
基于基站定位技术,确定所述电子设备的身份信息对应的所述电子设备的位置信息。
本发明实施例提供了一种电子设备,所述电子设备包括:
获取单元,配置为获取小区列表;
第一发送单元,配置为在从所述获取单元获取到的所述小区列表中选择出目标小区时,将注册过程中的信令消息发送给所述目标小区对应的基站,所述注册过程中的信令消息中包括所述电子设备的身份信息,所述注册过程中的信令消息用于请求所述基站确定所述身份信息对应的位置信息。
在上述方案中,所述获取单元,还配置为通过内部接口获取电子设备的身份信息。
在上述方案中,所述获取单元,还配置为获取所述电子设备的隐私控
制信息,所述隐私控制信息用于指示基站是否将所述电子设备的位置信息发送给服务器;
相应的,第一发送单元发送的所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息。
本发明实施例还提供了一种基站,所述基站包括:
接收单元,配置为接收电子设备发送的注册过程中的信令消息;所述注册过程中的信令消息中包括电子设备的身份信息;
定位单元,配置为确定所述接收单元接收到的所述电子设备的身份信息对应的所述电子设备的位置信息。
在上述方案中,所述基站还包括:
第二发送单元,配置为将所述接收单元接收到的所述电子设备的身份信息和所述定位单元确定的所述电子设备的位置信息发送给服务器。
在上述方案中,所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息;相应的,
所述第二发送单元,还配置为在所述接收单元接收到的所述隐私控制信息指示基站将所述电子设备的位置信息发送给服务器时,将所述接收单元接收到的所述电子设备的身份信息和所述定位单元确定的所述电子设备的位置信息发送给服务器。
在上述方案中,所述定位单元,还配置为基于基站定位技术,确定所述接收单元接收到的所述电子设备的身份信息对应的所述电子设备的位置信息。
本发明实施例提供了位置信息的获取方法及电子设备、基站、存储介质,首先电子设备获取小区列表,在从所述小区列表中选择出目标小区时,将注册过程中的信令消息发送给所述目标小区对应的基站,所述注册过程中的信令消息中包括所述电子设备的身份信息;所述基站在接收所述电子
设备发送的注册过程中的信令消息后,确定所述电子设备的身份信息对应的所述电子设备的位置信息。由于电子设备在选择出目标小区时,就将包括所述电子设备的身份信息的注册过程中的信令消息发送给所述目标小区对应的基站,所述基站可以快速确定出所述电子设备的身份信息对应的所述电子设备的位置信息,从而,不论所述电子设备是否成功进行网络注册,所述基站都可以快速获取到所述电子设备的位置信息。
图1为本发明实施例1提供的一种应用于电子设备一侧的电子设备位置信息的获取方法的流程示意图;
图2为本发明实施例1提供的一种应用于基站一侧的电子设备位置信息的获取方法的流程示意图;
图3为本发明实施例2提供的一种电子设备位置信息的获取方法的流程示意图;
图4为本发明实施例3提供的一种电子设备的结构框图;
图5为本发明实施例3提供的一种基站的结构框图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
实施例1
本实施例提供了一种电子设备位置信息的获取方法,应用于电子设备一侧,如图1所示,本实施例方法的处理流程包括以下步骤:
步骤101、获取小区列表。
所述电子设备首先搜索可用网络,扫描所述可用网络中的小区,获取
小区列表。
步骤102、在从所述小区列表选择出目标小区时,将注册过程中的信令消息发送给所述目标小区对应的基站。
其中,所述注册过程中的信令消息中包括所述电子设备的身份信息,所述注册过程中的信令消息用于请求所述基站确定所述电子设备的身份信息对应的所述电子设备的位置信息。
所述电子设备在获取小区列表之后,从所述小区列表中选择出属于该可用网络中最优的目标小区;在从所述小区列表中选择出目标小区时,所述电子设备就将注册过程中的信令消息发送给所述目标小区对应的基站,也就是所述目标小区所属的基站。其中,所述注册过程中的信令消息中包括所述电子设备的身份信息,所述注册过程中的信令消息用于请求所述基站确定所述电子设备的身份信息对应的所述电子设备的位置信息。
这里,所述身份信息中可以包括电子设备ID和/或用户ID,其中,所述电子设备ID为可唯一标识该电子设备身份的编码,示例的,当所述电子设备为移动终端时,所述电子设备ID为国际移动设备标识(International Mobile Equipment Identity,IMEI);所述用户ID为可唯一标识用户身份的编码,示例的,所述用户ID可以为身份证号码、护照号码等。当然,所述身份信息中还可以包括其他身份信息,本发明实施例中不做具体限定。
在一具体实施例中,所述注册过程中的信令消息可以为RRC连接请求消息(RRC connection request message),当然,所述注册过程中的信令消息还可以为注册过程中任一信令消息,在本发明实施例中不做具体限定。
这里需要说明的是,所述电子设备可以为电子产品、例如移动电话、笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)等,也可以为家用电器,例如冰箱、电视、空调等,也可以为交通工具,例如汽车、火车、动车等。当然,所述电子设备还可以为其他领域中的各种电子设备,
在本发明实施例中不做具体限定。
所述基站接收电子设备发送的注册过程中的信令消息,确定所述电子设备的身份信息对应的所述电子设备的位置信息。
在注册过程中,所述电子设备将包括所述电子设备的身份信息的注册过程中的信令消息发送给基站,所述基站就可以快速确定所述电子设备的身份信息对应的所述电子设备的位置信息。这样,即使所述电子设备网络注册失败,所述基站也可以快速获取到所述电子设备的位置信息。
本发明实施例还记载了第一种计算机存储介质,所述第一种计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例中图1所示的电子设备位置信息的获取方法。
本实施例还提供了一种电子设备位置信息的获取方法,应用于基站一侧,如图2所示,本实施例方法的处理流程包括以下步骤:
步骤201、接收电子设备发送的注册过程中的信令消息。
其中,所述注册过程中的信令消息中包括电子设备的身份信息。
所述电子设备首先搜索可用网络,扫描所述可用网络中的小区,获取小区列表。所述电子设备在获取小区列表之后,从所述小区列表中选择出属于该可用网络中最优的目标小区;在从所述小区列表中选择出目标小区时,所述电子设备就将注册过程中的信令消息发送给所述目标小区对应的基站,也就是所述目标小区所属的基站。其中,所述注册过程中的信令消息中包括所述电子设备的身份信息,所述注册过程中的信令消息用于请求所述基站确定所述电子设备的身份信息对应的所述电子设备的位置信息。
这里,所述身份信息中可以包括电子设备ID和/或用户ID,其中,所述电子设备ID为可唯一标识该电子设备身份的编码,示例的,当所述电子设备为移动终端时,所述电子设备ID为IMEI;所述用户ID为可唯一标识
用户身份的编码,示例的,所述用户ID可以为身份证号码、护照号码等。当然,所述身份信息中还可以包括其他身份信息,本发明实施例中不做具体限定。
在一具体实施例中,所述注册过程中的信令消息可以为RRC连接请求消息,当然,所述注册过程中的信令消息还可以为注册过程中任一信令消息,在本发明实施例中不做具体限定。
这里需要说明的是,所述电子设备可以为电子产品、例如移动电话、笔记本电脑、PDA等,也可以为家用电器,例如冰箱、电视、空调等,也可以为交通工具,例如汽车、火车、动车等。当然,所述电子设备还可以为其他领域中的各种电子设备,在本发明实施例中不做具体限定。
所述基站接收所述电子设备发送的注册过程中的信令消息,将根据所述注册过程中的信令消息中的所述电子设备的身份信息确定所述电子设备的身份信息对应的所述电子设备的位置信息。
步骤202、确定所述电子设备的身份信息对应的所述电子设备的位置信息。
所述基站根据所述注册过程中的信令消息确定所述电子设备的身份信息对应的所述电子设备的位置信息。
在一具体实施例中,所述基站基于基站定位技术,确定所述电子设备的身份信息对应的所述电子设备的位置信息。这里,所述基站定位技术可根据达到时刻(Time of Arrival,TOA)、到达时间差(Time Difference of Arrival,TDOA)或辅助全球定位系统(Assisted Global Positioning System,A-GPS)技术等技术获取所述电子设备的位置信息。当然,还可以通过其他定位技术来确定所述电子设备的身份信息对应的所述电子设备的位置信息,在本发明实施例中不做具体限定。
在注册过程中,所述电子设备将包括所述电子设备的身份信息的注册过程中的信令消息发送给基站,所述基站就可以快速确定所述电子设备的身份信息对应的所述电子设备的位置信息。这样,即使所述电子设备网络注册失败,所述基站也可以快速获取到所述电子设备的位置信息。
本发明实施例还记载了第二种计算机存储介质,所述第二种计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例中图2所示的电子设备位置信息的获取方法。
实施例2
本实施例提供了一种电子设备位置信息的获取方法,如图3所示,本实施例方法的处理流程包括以下步骤:
步骤301、电子设备的通信芯片通过内部接口获取电子设备的身份信息和隐私控制信息。
其中,所述身份信息包括用户ID和电子设备ID,所述隐私控制信息用于指示基站是否将所述电子设备的位置信息发送给服务器。
通信芯片安装于电子设备中,可以通过各种内部接口与所述电子设备建立连接。这里,所述内部接口可以为串行接口(Serial Interface)、标准插座45(Registered Jack 45,RJ45)、远端网络驱动接口协议(Remote Network Driver Interface Specification,RNDIS)接口等。当然,所述内部接口还可以为其他接口,在本发明实施例中不做具体限定。
在一具体实施例中,当所述通信芯片通过串行接口与所述电子设备建立连接时,所述通信芯片通过串口AT(Attention)命令获取所述电子设备的身份信息和隐私控制信息。
在使用所述通信芯片之前,用户可以在所述电子设备上设置用户ID和隐私控制信息。在设置好所述电子设备的用户ID和隐私控制信息之后,所
述通信芯片通过内部接口获取所述电子设备的身份信息和隐私控制信息。示例的,当所述电子设备为移动终端时,用户可以通过移动终端输入用户ID和隐私控制信息,所述通信芯片就可以通过内部接口获取该用户输入的用户ID和隐私控制信息。当然,所述通信芯片还可以通过其他方式获取所述电子设备的身份信息和隐私控制信息,例如借助于与所述电子设备相连的其他设备来获取用户ID和隐私控制信息,在本发明实施例中不做具体限定。
这里,所述身份信息中可以包括用户ID和电子设备ID,其中,所述电子设备ID为可唯一标识该电子设备身份的编码,示例的,当所述电子设备为移动终端时,所述电子设备ID为IMEI;所述用户ID为可唯一标识用户身份的编码,示例的,所述用户ID可以为身份证号码、护照号码等;所述隐私控制信息用于指示基站是否将所述电子设备的位置信息发送给服务器。
这里需要说明的是,所述电子设备可以为电子产品、例如移动电话、笔记本电脑、PDA等,也可以为家用电器,例如冰箱、电视、空调等,也可以为交通工具,例如汽车、火车、动车等。当然,所述电子设备还可以为其他领域中的各种电子设备,在本发明实施例中不做具体限定。
这里还需要说明的是,所述通信芯片可以为物联网通信芯片,所述通信芯片可以为长期演进-机器对机器(Long Term Evolution-Machine to Machine,LTE-M)芯片,其具有微型化、低功耗的特点,能够利用现有的LTE通信网络进行通信,其通信遵循LTE-M标准协议,可广泛应用于LTE通信网络的各个电子设备上。其中,LTE-M标准协议是第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)第十三版LTE标准的一部分,具有广覆盖率、低功耗、低延迟及低成本等特性,为低速率的机器对机器(Machine to Machine,M2M)通讯应用提供高性价比的连接网路。当然,
所述通信芯片还可以为其他通信芯片,遵循相应的网络协议,在本发明实施例中不做具体限定。
步骤302、电子设备的通信芯片获取小区列表,在从所述小区列表中选择出目标小区时,将无线资源控制RRC连接请求消息发送给所述目标小区对应的基站。
其中,所述RRC连接请求消息中包括所述终端的身份信息和隐私控制信息,所述RRC连接请求消息用于请求所述基站确定所述终端的身份信息对应的所述终端的位置信息。
所述电子设备的通信芯片首先搜索可用的公共陆地移动网络(Public Land Mobile Network,PLMN),然后扫描所述可用网络中的小区,获取小区列表,在所述电子设备在获取小区列表之后,从所述小区列表中选择出属于该PLMN中信号最强的目标小区,即最优的目标小区;在从所述小区列表中选择出目标小区时,所述电子设备的通信芯片开始建立与基站的RRC的连接,将RRC连接请求消息发送给所述目标小区对应的基站,也就是所述目标小区所属的基站。其中,所述RRC连接请求消息中包括所述终端的身份信息和隐私控制信息,所述RRC连接请求消息用于请求所述基站确定所述终端的身份信息对应的所述终端的位置信息。这样,在网络交互的最初阶段,即所述电子设备的通信芯片与所述基站开始建立RRC连接时,所述电子设备的通信芯片就将包括所述RRC连接请求消息发送给基站,便于基站及时的确定所述电子设备的位置。
示例的,3GPP TS 36.331中6.2.2定义了RRC连接请求消息的结构,在此基础上,本发明实施例中RRC连接请求消息的结构如下:
上述代码中,LTE-MTC-Identity为新增字段,其中,所述E-Identity表示电子设备的身份信息,所述E-Identity的格式的定义为:[用户ID+电子设备ID],这里,所述电子设备ID可以为64位;所述UserControlValue表示电子设备的隐私控制信息,其取值分别为:Allow、Forbidden和Other;所述Allow表示允许基站将电子设备的位置信息发送给服务器;所述Forbidden表示禁止基站将电子设备的位置信息发送给服务器;所述Other表示用户自定义的其他控制规则。
步骤303、所述基站接收电子设备的通信芯片发送的RRC连接请求消息。
所述基站接收所述电子设备的通信芯片发送的RRC连接请求消息,将根据所述RRC连接请求消息中的所述电子设备的身份信息确定所述电子设备的身份信息对应的所述电子设备的位置信息。这样,不论所述电子设备是否成功进行网络注册,所述基站都将可以获取到所述电子设备的位置信息。
步骤304、所述基站确定所述电子设备的身份信息对应的所述电子设备的位置信息。
所述基站根据所述RRC连接请求消息中的所述电子设备的身份信息确定所述电子设备的身份信息对应的所述电子设备的位置信息。
在一具体实施例中,所述基站基于基站定位技术,确定所述电子设备的身份信息对应的所述电子设备的位置信息。这里,所述基站定位技术可根据TOA、TDOA或A-GPS技术等技术获取所述电子设备的位置信息。当然,还可以通过其他定位技术来确定所述电子设备的身份信息对应的所述电子设备的位置信息,在本发明实施例中不做具体限定。
在一具体实施例中,所述基站确定所述电子设备的身份信息对应的所述电子设备的位置信息之后,保存所述电子设备的身份信息、隐私控制信息和位置信息。
步骤305、所述基站确定在所述隐私控制信息指示基站将所述电子设备的位置信息发送给服务器时,将所述电子设备的身份信息和位置信息发送给服务器。
所述基站确定在所述隐私控制信息指示基站将所述电子设备的位置信息发送给服务器时,例如,当所述隐私控制信息为Allow时,将所述电子
设备的身份信息和位置信息发送给服务器,这样,服务器可以快速获取并保存各电子设备的身份信息和位置信息,即人(用户ID)-物(电子设备ID)-位置(位置信息)的对应关系。
在一具体实施例中,所述服务器可以为全球定位服务器,所述全球定位服务器中保存的各电子设备的身份信息和位置信息可供所有应用服务器来使用,也可供普通用户来查询某个电子设备的具体位置。当然,所述服务器也可以为其他类型的服务器,在本发明实施例中不做具体限定。
这里,所述隐私控制信息除了可以为指示基站将所述电子设备的位置信息发送给服务器,所述隐私控制信息还可以为指示基站禁止将所述电子设备的位置信息发送给服务器,例如当所述隐私控制信息为Forbidden时,禁止将所述电子设备的位置信息发送给服务器,所述服务器中未保存所述电子设备的身份信息和位置信息,而可以将所述电子设备的身份信息和位置信息保存在所述基站的数据库中,已备紧急情况使用。当然,所述隐私控制信息还可以为用户自定义的其他控制规则,例如当所述隐私控制信息为Other时,当所述隐私控制信息指示基站当用户预设的第一应用发生时,将所述电子设备的身份信息和位置信息发送给所述第一应用对应的应用服务器,当用户预设的第二应用发生时,禁止将所述电子设备的身份信息和位置信息发送给所述第二应用对应的应用服务器。这样,用户可以根据需要来设定是否允许特定应用对应的服务器获取所述电子设备的身份信息和位置信息。
步骤306、所述服务器获取目标电子设备的用户ID或电子设备ID。
未来万物互联的时代,应用于各个领域的各种电子设备都可以进行通信和互联,实现世界范围的万物互联。
当出现了人身绑架或者物品丢失等情况时,只要目标电子设备为开启时,普通用户就可以通过所述服务器输入所述目标电子设备的用户ID或电
子设备ID来查询电子设备的位置信息;所述服务器获取用户输入的目标电子设备的用户ID或电子设备ID,在预存的各电子设备的身份信息和位置信息中进行查找,以确定所述目标电子设备的位置。
而在特殊情况下,用户之前设置的隐私控制信息指示基站禁止将所述电子设备的位置信息发送给服务器,这时,所述服务器中未保存所述电子设备的身份信息和位置信息,而所述基站的数据库中保存有所述电子设备的身份信息和位置信息,因此,普通用户无法通过所述服务器输入目标电子设备的身份信息来查询电子设备的位置信息,只有当遇到紧急情况时例如出现了人身绑架,授权的特殊用户例如公安机关技术人员才可通过所述基站查询到电子设备的位置信息。
步骤307、所述服务器确定所述目标电子设备的用户ID或电子设备ID在预存的电子设备的身份信息中时,输出所述目标电子设备的用户ID或电子设备ID对应的位置信息。
其中,所述电子设备的身份信息包括用户ID和/或电子设备ID。
所述服务器确定所述目标电子设备的用户ID或电子设备ID在预存的电子设备的身份信息中时,输出所述目标电子设备的用户ID或电子设备ID对应的位置信息。这样,可以帮助用户找到所述目标电子设备的位置信息。
在一具体实施例中,所述身份信息为用户ID时,确定所述目标电子设备的用户ID在预存的电子设备的身份信息中时,输出所述用户ID对应位置信息,当然,也可以输出所述用户ID对应的电子设备ID,以及所述电子设备ID对应的位置信息;或者,所述身份信息为电子设备ID时,确定所述目标电子设备的电子设备ID在预存的电子设备的身份信息中时,输出所述电子设备ID对应位置信息,当然,也可以输出所述电子设备ID对应的用户ID和位置信息。
示例的,所述服务器中预存了用户ID为ID1的3项信息,具体如表1
所示。
用户ID | 电子设备ID | 位置信息 |
ID1 | IMEI1 | x1.y1 |
ID2 | IMEI2 | x2.y2 |
ID3 | IMEI3 | x3.y3 |
ID1 | IMEI4 | x4.y4 |
ID1 | IMEI5 | x5.y5 |
表1
如表1所示,当用户输入的用户ID为ID1时,输出ID1对应的电子设备ID和位置信息:(IMEI1,x1.y1),(IMEI4,x4.y4)和(IMEI5,x5.y5);当用户输入的电子设备ID为IMEI3时,输出IMEI3对应的用户ID和位置信息:(ID3,x3.y3)。
由于所述服务器中保存了人-物-位置的对应关系,方便用户查询目标电子设备的位置信息。
实施例3
本发明实施例提供了一种电子设备,如图4所示,所述电子设备包括:获取单元401和第一发送单元402,其中,
所述获取单元401,配置为获取小区列表;
所述第一发送单元402,配置为在从所述获取单元401获取到的所述小区列表中选择出目标小区时,将注册过程中的信令消息发送给所述目标小区对应的基站,所述注册过程中的信令消息中包括所述电子设备的身份信息,所述注册过程中的信令消息用于请求所述基站确定所述电子设备的身份信息对应的所述电子设备的位置信息。
在一具体实施例中,所述获取单元401,还配置为通过内部接口获取电子设备的身份信息。
在一具体实施例中,所述获取单元401,还配置为获取所述电子设备的隐私控制信息,所述隐私控制信息用于指示基站是否将所述电子设备的位置信息发送给服务器;相应的,所述第一发送单元402发送的所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息。
本发明实施例还提供了一种基站,如图5所示,所述基站包括:接收单元501、定位单元502,其中,
所述接收单元501,配置为接收电子设备发送的注册过程中的信令消息;所述注册过程中的信令消息中包括电子设备的身份信息;
所述定位单元502,配置为确定所述接收单元501接收到的所述电子设备的身份信息对应的所述电子设备的位置信息。
在一具体实施例中,所述基站还包括:第二发送单元503;
所述第二发送单元503,配置为将所述接收单元501接收到的所述电子设备的身份信息和所述定位单元502确定的所述电子设备的位置信息发送给服务器。
在一具体实施例中,所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息;相应的,
所述第二发送单元503,还配置为在所述接收单元501接收到的所述隐私控制信息指示基站将所述电子设备的位置信息发送给服务器时,将所述接收单元501接收到的所述电子设备的身份信息和所述定位单元502确定的所述电子设备的位置信息发送给服务器。
在一具体实施例中,所述定位单元502,还配置为基于基站定位技术,确定所述接收单元501接收到的所述电子设备的身份信息对应的所述电子设备的位置信息。
在实际应用中,本实施例中所述的获取单元401和第一发送单元402
可以由电子设备上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)、调制解调器等器件实现等器件实现。
在实际应用中,本实施例中所述的接收单元501、定位单元502和第二发送单元503可以由基站上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)、调制解调器等器件实现等器件实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备
上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
本发明实施例由于电子设备在选择出目标小区时,就将包括所述电子设备的身份信息的注册过程中的信令消息发送给所述目标小区对应的基站,所述基站可以快速确定出所述电子设备的身份信息对应的所述电子设备的位置信息,从而,不论所述电子设备是否成功进行网络注册,所述基站都可以快速获取到所述电子设备的位置信息。
Claims (16)
- 一种电子设备位置信息的获取方法,包括:获取小区列表;在从所述小区列表中选择出目标小区时,将注册过程中的信令消息发送给所述目标小区对应的基站,所述注册过程中的信令消息中包括电子设备的身份信息,所述注册过程中的信令消息用于请求所述基站确定所述电子设备的身份信息对应的所述电子设备的位置信息。
- 根据权利要求1所述的方法,其中,在从所述小区列表中选择出目标小区之前,所述方法还包括:通过内部接口获取电子设备的身份信息。
- 根据权利要求2所述的方法,其中,在通过内部接口获取电子设备的身份信息时,所述方法还包括:获取所述电子设备的隐私控制信息,所述隐私控制信息用于指示基站是否将所述电子设备的位置信息发送给服务器;相应的,所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息。
- 一种电子设备位置信息的获取方法,包括:接收电子设备发送的注册过程中的信令消息,所述注册过程中的信令消息中包括电子设备的身份信息;确定所述电子设备的身份信息对应的所述电子设备的位置信息。
- 根据权利要求4所述的方法,其中,确定所述电子设备的身份信息对应的所述电子设备的位置信息之后,所述方法还包括:将所述电子设备的身份信息和位置信息发送给服务器。
- 根据权利要求5所述的方法,其中,所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息,相应的,所述将所述电子设备的身 份信息和位置信息发送给服务器包括:在所述隐私控制信息指示基站将所述电子设备的位置信息发送给服务器时,将所述电子设备的身份信息和位置信息发送给服务器。
- 根据权利要求4所述的方法,其中,所述确定所述电子设备的身份信息对应的所述电子设备的位置信息,包括:基于基站定位技术,确定所述电子设备的身份信息对应的所述电子设备的位置信息。
- 一种电子设备,包括:获取单元,配置为获取小区列表;第一发送单元,配置为在从所述获取单元获取到的所述小区列表中选择出目标小区时,将注册过程中的信令消息发送给所述目标小区对应的基站,所述注册过程中的信令消息中包括所述电子设备的身份信息,所述注册过程中的信令消息用于请求所述基站确定所述身份信息对应的位置信息。
- 根据权利要求8所述的电子设备,其中,所述获取单元,还配置为通过内部接口获取电子设备的身份信息。
- 根据权利要求9所述的电子设备,其中,所述获取单元,还配置为获取所述电子设备的隐私控制信息,所述隐私控制信息用于指示基站是否将所述电子设备的位置信息发送给服务器;相应的,第一发送单元发送的所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息。
- 一种基站,包括:接收单元,配置为接收电子设备发送的注册过程中的信令消息;所述注册过程中的信令消息中包括电子设备的身份信息;定位单元,配置为确定所述接收单元接收到的所述电子设备的身份信 息对应的所述电子设备的位置信息。
- 根据权利要求11所述的基站,其中,所述基站还包括:第二发送单元,配置为将所述接收单元接收到的所述电子设备的身份信息和所述定位单元确定的所述电子设备的位置信息发送给服务器。
- 根据权利要求12所述的基站,其中,所述注册过程中的信令消息中还包括所述电子设备的隐私控制信息;相应的,所述第二发送单元,还配置为在所述接收单元接收到的所述隐私控制信息指示基站将所述电子设备的位置信息发送给服务器时,将所述接收单元接收到的所述电子设备的身份信息和所述定位单元确定的所述电子设备的位置信息发送给服务器。
- 根据权利要求11所述的基站,其中,所述定位单元,还配置为基于基站定位技术,确定所述接收单元接收到的所述电子设备的身份信息对应的所述电子设备的位置信息。
- 第一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行前述权利要求1至3任一项所述的电子设备位置信息的获取方法。
- 第二种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行前述权利要求4至7任一项所述的电子设备位置信息的获取方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610340088.0A CN107404756A (zh) | 2016-05-20 | 2016-05-20 | 一种电子设备位置信息的获取方法及装置 |
CN201610340088.0 | 2016-05-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017197834A1 true WO2017197834A1 (zh) | 2017-11-23 |
Family
ID=60326432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/103208 WO2017197834A1 (zh) | 2016-05-20 | 2016-10-25 | 位置信息的获取方法及电子设备、基站、存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107404756A (zh) |
WO (1) | WO2017197834A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113574928A (zh) * | 2019-08-09 | 2021-10-29 | Oppo广东移动通信有限公司 | 无线通信方法、终端设备和网络设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101198149A (zh) * | 2006-12-06 | 2008-06-11 | 华为技术有限公司 | 位置信息的确定方法、上传资源的管理方法及应用服务器 |
CN102208083A (zh) * | 2010-03-31 | 2011-10-05 | 上海博泰悦臻电子设备制造有限公司 | 广告信息发布方法及其系统 |
CN102811416A (zh) * | 2011-05-30 | 2012-12-05 | 阿尔卡特朗讯公司 | 用于控制物联网终端设备的方法和系统 |
CN103457977A (zh) * | 2012-06-04 | 2013-12-18 | 中兴通讯股份有限公司 | 信息处理方法、车辆安防方法、车载终端、终端及服务器 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4217518B2 (ja) * | 2003-04-10 | 2009-02-04 | 株式会社エヌ・ティ・ティ・ドコモ | 移動通信制御方法、制御システム及び移動端末 |
JP4957174B2 (ja) * | 2006-10-19 | 2012-06-20 | ソニー株式会社 | 位置記憶装置、無線端末、位置記憶システム、位置登録方法、位置更新方法およびプログラム |
CN103747522B (zh) * | 2013-12-31 | 2019-03-08 | 上海华为技术有限公司 | 一种位置信息采集方法和设备 |
-
2016
- 2016-05-20 CN CN201610340088.0A patent/CN107404756A/zh not_active Withdrawn
- 2016-10-25 WO PCT/CN2016/103208 patent/WO2017197834A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101198149A (zh) * | 2006-12-06 | 2008-06-11 | 华为技术有限公司 | 位置信息的确定方法、上传资源的管理方法及应用服务器 |
CN102208083A (zh) * | 2010-03-31 | 2011-10-05 | 上海博泰悦臻电子设备制造有限公司 | 广告信息发布方法及其系统 |
CN102811416A (zh) * | 2011-05-30 | 2012-12-05 | 阿尔卡特朗讯公司 | 用于控制物联网终端设备的方法和系统 |
CN103457977A (zh) * | 2012-06-04 | 2013-12-18 | 中兴通讯股份有限公司 | 信息处理方法、车辆安防方法、车载终端、终端及服务器 |
Also Published As
Publication number | Publication date |
---|---|
CN107404756A (zh) | 2017-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10510193B2 (en) | Method and system for geofencing of vehicle impound yards | |
US11818584B2 (en) | Two-phase discovery and onboarding of internet of things (IoT) devices | |
JP5985767B2 (ja) | 近接場通信を用いたピア・ツー・ピアWi−Fiレンジングのための方法および装置 | |
US9338159B2 (en) | Method and apparatus for sharing wireless network subscription services | |
US10652935B1 (en) | Secure wireless networks for vehicles | |
US11778458B2 (en) | Network access authentication method and device | |
US9065908B2 (en) | Method and system for ensuring user and/or device anonymity for location based services (LBS) | |
US10051585B2 (en) | Methods, apparatuses and computer program products for providing temporal information | |
KR102399665B1 (ko) | 전자 장치의 근접 인증 방법 및 그 장치 | |
WO2017096970A1 (zh) | 一种确定目标便携设备位置的方法和装置 | |
JP6363214B2 (ja) | デバイス・ツー・デバイスセッションのための分散セットアップのシステム、方法、及びデバイス | |
US9713121B2 (en) | Apparatus and method for controlling transmission of push messages | |
CN106664296B (zh) | 无缝对等互联网连接 | |
CN106028266B (zh) | 一种信息传输方法、装置及系统 | |
US20150244823A1 (en) | Apparatus and method for providing push service based on location | |
CN106664524B (zh) | 基于接近度来管理无线电的方法和设备 | |
US20160196134A1 (en) | Secure storage synchronization | |
WO2017197834A1 (zh) | 位置信息的获取方法及电子设备、基站、存储介质 | |
WO2021000319A1 (zh) | 保障终端安全的方法、装置以及系统 | |
WO2015085573A1 (zh) | 一种利用白频谱通信的方法及设备 | |
US20240244683A1 (en) | Reader and Access Device Operation for Access Control without Bluetooth Low Energy Pairing | |
WO2016146036A1 (zh) | 信息共享方法、移动终端和信息共享系统 | |
CN105122723B (zh) | 用于管理设备的方法及装置 | |
WO2024000331A1 (zh) | 感知服务获取方法及装置 | |
WO2024196350A1 (en) | Methods and apparatus for storing the context of a user equipment in a database during a change in radio resource control state |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16902213 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16902213 Country of ref document: EP Kind code of ref document: A1 |