CN106793079A - Localization method and device based on cellular cell - Google Patents

Localization method and device based on cellular cell Download PDF

Info

Publication number
CN106793079A
CN106793079A CN201710035094.XA CN201710035094A CN106793079A CN 106793079 A CN106793079 A CN 106793079A CN 201710035094 A CN201710035094 A CN 201710035094A CN 106793079 A CN106793079 A CN 106793079A
Authority
CN
China
Prior art keywords
information
terminal
groups
small district
adjacent cells
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710035094.XA
Other languages
Chinese (zh)
Other versions
CN106793079B (en
Inventor
李子昂
张建国
舒敏
张东峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN201710035094.XA priority Critical patent/CN106793079B/en
Publication of CN106793079A publication Critical patent/CN106793079A/en
Application granted granted Critical
Publication of CN106793079B publication Critical patent/CN106793079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

The present invention relates to a kind of localization method based on cellular cell, methods described includes:The information of adjacent cells that acquisition is connected with terminal;The small district's groups in caching are obtained, the small district's groups include one or more cell in a service cell information and at least one information of adjacent cells;Judge whether terminal is successfully connected network, if so, then obtaining the service cell information that terminal is accessed;Detect that, with the presence or absence of first community group in small district's groups, the service cell information that the first community group includes is the service cell information that the terminal is accessed, if so, then obtaining the multiple information of adjacent cells in the first community group;The positional information of the terminal is calculated according to the service cell information in the information of adjacent cells being connected with terminal, the first community group and multiple information of adjacent cells.So that on the premise of positioning precision more and more higher, can realize that intelligent terminal is quickly positioned.

Description

Localization method and device based on cellular cell
Technical field
The present invention relates to network communication field, more particularly to a kind of localization method and device based on cellular cell.
Background technology
In modern society, the application of intelligent terminal location technology is more and more extensive, wherein the positioning based on cellular cell It is most common localization method, wherein, positioning precision is directly proportional to the number of cells for searching, and the number of cells for searching is got over It is many, it is necessary to time it is also more long.User can enjoy many services by obtaining the position of oneself, to positioning during this Required precision more and more higher, the positioning precision of conventional art can not meet the demand that user is based on position acquisition service.
The content of the invention
Based on this, it is necessary to regarding to the issue above, there is provided a kind of localization method based on cellular cell of energy precise positioning And device.
A kind of localization method based on cellular cell, methods described includes:
The information of adjacent cells that acquisition is connected with terminal;
The small district's groups in caching are obtained, the small district's groups include a service cell information and at least one adjacent cell letter One or more cell information in breath;
Judge whether terminal is successfully connected network, if so, then obtaining the service cell information that terminal is accessed;
Detect that the service cell information that the first community group includes is described with the presence or absence of first community group in small district's groups The service cell information that terminal is accessed, if so, then
The end is calculated according to the cell information in the information of adjacent cells being connected with terminal and the first community group The positional information at end.
Wherein in one embodiment, methods described also includes:
The service cell information that information of adjacent cells and terminal according to the connection are accessed is entered to the first community group Row updates;
First community group after renewal is updated in internal memory.
Wherein in one embodiment, when judging in the absence of the first community group,
Detect with the presence or absence of second community group in small district's groups, comprising institute in the information of adjacent cells that the second community group includes The service cell information of terminal access is stated, if so, then
The service cell information that the terminal in the information of adjacent cells that the second community group is included is accessed is updated to In the service cell information that second community group includes, and the end is deleted in the information of adjacent cells that the second community group includes Terminate into service cell information;
The end is calculated according to the cell information in the information of adjacent cells being connected with terminal and the second community group The positional information at end.
Wherein in one embodiment, when judging in the absence of the first community group,
A small district's groups are created, the service cell information that will be accessed is believed as the Serving cell in the small district's groups for being created Breath, using the information of adjacent cells being connected with terminal as the information of adjacent cells in the small district's groups for being created;
The positional information of the terminal is calculated according to the cell information in the small district's groups for being created.
Wherein in one embodiment, methods described also includes:
If terminal connects network not successfully, detect that the described 3rd is small with the presence or absence of the 3rd small district's groups in the small district's groups In the information of adjacent cells that district's groups include, one or more information of adjacent cells of terminal connection are contained in, if so, then
Cell information in the 3rd small district's groups calculates the positional information of the terminal.
Wherein in one embodiment, if not existing the 3rd small district's groups,
A small district's groups are created, using the information of adjacent cells being connected with terminal as the adjacent cell in the small district's groups for being created Information;
The positional information of the terminal is calculated according to the cell information in the small district's groups for being created.
A kind of positioner based on cellular cell, described device includes:
Data obtaining module, for obtaining the information of adjacent cells being connected with terminal;The small district's groups in caching are obtained, it is described small District's groups include one or more cell information in a service cell information and at least one information of adjacent cells;
First judge module, for judging whether terminal is successfully connected network;
Data obtaining module is additionally operable to, when the result of determination of first judge module is to be, obtain what terminal was accessed Service cell information;
Detection module, for detecting in small district's groups with the presence or absence of first community group, the service that the first community group includes Cell information is the service cell information that the terminal is accessed;
Position acquisition module, for small in the information of adjacent cells and the first community group that are connected with terminal according to Area's information calculates the positional information of the terminal.
Wherein in one embodiment, described device also includes:
Update module, for the service cell information that is accessed according to the information of adjacent cells and terminal of the connection to described First community group is updated;First community group after renewal is updated in internal memory.
Wherein in one embodiment, the detection module is additionally operable to detect in small district's groups with the presence or absence of second community group, The service cell information accessed comprising the terminal in the information of adjacent cells that the second community group includes,
If the update module is additionally operable to the presence of the second community group, the adjacent cell that the second community group is included The service cell information that the terminal in information is accessed is updated in the service cell information that second community group includes, and in institute State and the service cell information that the terminal is accessed is deleted in the information of adjacent cells that second community group includes;
The position acquisition module is additionally operable in the information of adjacent cells and the second community group being connected with terminal Cell information calculates the positional information of the terminal.
Wherein in one embodiment, described device also includes:
First creation module, for when judging in the absence of the first community group, creating a small district's groups, will be accessed Service cell information as the service cell information in the small district's groups for being created, by the information of adjacent cells being connected with terminal As the information of adjacent cells in the small district's groups for being created;
The cell information that the position acquisition module is additionally operable in the small district's groups that are created according to the first creation module is calculated The positional information of the terminal.
Wherein in one embodiment, if the detection module is additionally operable to terminal and connects network not successfully, detection is described Whether there is the 3rd small district's groups in small district's groups, in the information of adjacent cells that the 3rd small district's groups include, be contained in terminal connection One or more information of adjacent cells;
If the position acquisition module is additionally operable to the small district's groups in the presence of the 3rd small district's groups, according to the 3rd small district's groups In cell information calculate the positional information of the terminal.
Wherein in one embodiment, institute's described device also includes:
Second creation module, if in the absence of the 3rd small district's groups, a small district's groups being created, by what is be connected with terminal Information of adjacent cells is used as the information of adjacent cells in the small district's groups for being created;
The cell information that the position acquisition module is additionally operable in the small district's groups that are created according to the second creation module is calculated The positional information of the terminal.
The above-mentioned localization method and device based on cellular cell, the service cell information that will be got every time and adjacent cell are believed Cell information in nonvolatile memory in the nonvolatile memory, in positioning every time, is copied to caching by breath storage In, terminal service cell information and terminal adjacent cells information are searched in the buffer, if finding pertinent cell information, pass through Pertinent cell information obtains terminal location so that positioning precision more and more higher.
Brief description of the drawings
Fig. 1 is the flow chart of the localization method based on cellular cell in one embodiment;
Fig. 2 is the storage mode schematic diagram of the localization method based on cellular cell in one embodiment;
Fig. 3 is the flow chart of the localization method based on cellular cell in another embodiment;
Fig. 4 is the flow chart of the localization method based on cellular cell in another embodiment;
Fig. 5 is the schematic diagram of the localization method based on cellular cell in another embodiment;
Fig. 6 is the structured flowchart of the positioner based on cellular cell in one embodiment;
Fig. 7 is the structured flowchart of the positioner based on cellular cell in another embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
As shown in figure 1, in one embodiment, there is provided a kind of localization method based on cellular cell, including:
Step 102, the information of adjacent cells that acquisition is connected with terminal.
In the present embodiment, terminal refers to intelligent terminal, is to possess the ability for accessing internet and communication network, generally takes Various operating systems are carried, the equipment that various functions can be customized according to user's request.Terminal herein mainly includes but does not limit In mobile intelligent terminal, vehicle intelligent terminal, intelligent television, wearable device, most common mobile intelligent terminal is mobile phone.It is small Area's information refers to cell ID, LAC (location area code, Location Area Code), base station identity code, absolute radio frequency letter Taoist monastic name, PLMN (Pbulic Land Mobile Network, public land mobile network), wave band, frequency band, signal intensity etc. are believed Breath, according to the base station identity code in the information of adjacent cells, can obtain corresponding base station position information, according to the base station position information The positional information of adjacent cell can be obtained.Each cell information is provided with corresponding cell ID, can be only according to the cell ID The one corresponding cell information of identification.Adjacent cell refers to terminal by carrying out the whole network search, and it is small that the terminal for getting is accessed Adjacent cells outside area, the cell that terminal is accessed as Serving cell.
Step 104, obtains the small district's groups in caching, and small district's groups include that a service cell information and at least one neighbour are small One or more cell information in area's information.
In the present embodiment, small district's groups can be made up of a Serving cell and multiple adjacent cells, or by a Serving cell With adjacent cell composition, or only it is made up of one or more adjacent cells.Each small district's groups is to be connected to according to the history of terminal Service cell information and/or the small district's groups that are constituted of information of adjacent cells.Each small district's groups is provided with should for unique mark The cell group identification of small district's groups.Can store corresponding cell ID in small district's groups, and cell ID to belonging to Serving cell enters One step sets service mark so that according to the service mark, can recognize that the cell information corresponding to corresponding cell ID to be somebody's turn to do Service cell information in small district's groups.
In one embodiment, as shown in Fig. 2 internal memory includes multiple small district's groups, the cell in small district's groups is according to network The difference of standard is classified.According to the difference of network formats, communication network is divided into 2G (2-Generation wireless Tele-phone technology, second generation mobile communication technical specification), 3G (3rd- Generation, 3G (Third Generation) Moblie Technology), LTE (Long Term Evolution, Long Term Evolution).If Serving cell residing for the group of current area does not have communication network Service, then be designated as No SIM (No Subscriber Identification Module, without client's identification in the acceptance of the bid of small district's groups Module).The corresponding adjacent cell of Serving cell is stored in a small district's groups, and Serving cell has corresponding Serving cell number According to storehouse (Service Cell Database), there is corresponding adjacent cell database (Neighbor Cell in adjacent cell Database), different Serving cells and adjacent cell are strictly distinguished according to different small district's groups.
Step 106, when terminal is successfully connected to network, obtains the service cell information that terminal is accessed.
In the present embodiment, terminal can real-time detection itself whether be successfully connected to network, terminal connection network refers to leading to Cross the process of intelligent terminal connection communication Network Capture communication service.Each Serving cell has uniquely be different from other to service The service mark of cell, terminal accesses the Serving cell according to the service mark, obtains the service cell information.Need explanation It is that, when terminal is unsuccessfully connected to network, terminal can search for cell information in all of mobile communication standard, for example may be used With in GSM (Global System for Mobile communication, global system for mobile communications), WCDMA (Wideband Code Divesion Multiple Access, WCDMA), TD-SCDMA (Time Division- Synchronous Code Division, TD SDMA) and LTE in search for cell information;It is successfully connected in terminal When network, terminal can only search for cell information in the mobile communication standard of current connection network, and such as terminal is successfully connected The mobile communication standard of network is LTE, then terminal can only get LTE service cell informations and LTE information of adjacent cells.
Step 108 is small according to the information of adjacent cells and first being connected with terminal when there is first community group in small district's groups The positional information of the cell information computing terminal in district's groups.
In the present embodiment, first community group, the Serving cell that the first community group includes are whether there is in the small district's groups of detection Information is the service cell information that the terminal is accessed.If in the presence of illustrating the first community group by being accessed before terminal Same Serving cell where small district's groups.Specifically, in all of small district's groups of detectable caching, if there is a quilt There is provided the cell ID of the cell information of service mark is identical with the cell ID of the Serving cell that terminal is accessed, if depositing Then the judgement small district's groups are first community group.Include multiple in small district's groups, if exist in small district's groups including that service is small The first community group of area's information, the then corresponding neighbour of Serving cell that can obtain terminal institute access network by first community group is small Area's information, generally, these adjacent cells are cells adjacent with Serving cell or close in position.It is connected with terminal It is identical or all identical that adjacent cell is possible to part with the adjacent cell in first community group, it is also possible to all different.According to Service cell information in first community group determines the location of terminal scope, according to the information of adjacent cells being connected with terminal The location of terminal scope can be reduced with the multiple information of adjacent cells in first community group, so that more accurate obtain eventually The position at end.At computing terminal position, the quantity of adjacent cell is more, and the precision of positioning is higher, and error is just smaller, finally may be used To obtain the accurate location of terminal.For example:User uses mobile phone in Serving cell A, and user can obtain this by connecting network The mark of Serving cell A, searches whether comprising Serving cell A's according to being marked in mobile phone caching for Serving cell A The small district's groups of mark, if finding the small district's groups of the mark comprising Serving cell A, the small district's groups are first community group.
In the present embodiment, the service cell information and information of adjacent cells that will be got every time are stored in nonvolatile memory In, in positioning every time, the cell information in nonvolatile memory is copied in caching, terminal service is searched in the buffer Cell information and terminal adjacent cells information, if finding pertinent cell information, terminal position are obtained by pertinent cell information Put so that on the premise of positioning precision more and more higher, can realize that intelligent terminal is quickly positioned.
As shown in figure 3, in one embodiment, there is provided a kind of localization method based on cellular cell, including:
Step 202, the information of adjacent cells that acquisition is connected with terminal.
In the present embodiment, the information of adjacent cells of acquisition refers to cell ID, LAC, base station identity code, absolute radio frequency letter The information such as Taoist monastic name, PLMN, wave band, frequency band, signal intensity.
Step 204, obtains the small district's groups in caching, and small district's groups include that a service cell information and at least one neighbour are small One or more cell in area's information.
In the present embodiment, in tag memory, tag memory uses nonvolatile memory for small district's groups storage so that In the case where power supply is closed, the cell group information in internal memory will not be lost terminal.The step of terminal obtains cell group information In, the cell group information in internal memory is read first, during cell group information then copied into terminal buffers, finally enter in the buffer The operation of row subsequent step.
Step 206, judges whether terminal is successfully connected network, if so, then performing step 208, otherwise, performs step 218.
In the present embodiment, terminal connection network refers to the mistake by intelligent terminal connection communication Network Capture communication service Journey, according to the difference of network formats, communication network is divided into 2G, 3G, LTE.
Step 208, obtains the Serving cell that terminal is accessed.
In the present embodiment, if terminal is successfully connected network, the service cell information that terminal is accessed is obtained, and to service The network signal intensity of cell is marked, and the Serving cell that terminal is accessed has and only one of which, according to service cell information The location of terminal scope can be obtained.
Step 210, first community group is whether there is in the small district's groups of detection, if so, then performing step 212, otherwise, performs step Rapid 214.
In the present embodiment, the service cell information that first community group includes is the service cell information that the terminal is accessed. The small district's groups in caching are obtained, the service cell information that is accessed of present terminal is searched in small district's groups, if finding corresponding the One small district's groups, then obtain the information of first community group.Corresponding information of adjacent cells, adjacent cell are obtained by first community group information It is generally multiple, it is also possible to there is the situation of only one of which adjacent cell.Specifically, the multiple in first community group is obtained is adjacent small After area's information, the information of adjacent cells that contrast is connected with terminal, the information of adjacent cells that will be repeated is deleted, and reduces unnecessary meter Calculate.The composition form of first community group is as shown in Fig. 2 can obtain the clothes accumulated during terminal use according to first community group The corresponding information of adjacent cells of business cell, so as to the time of search information of adjacent cells consumption is greatly decreased, is ensureing high accuracy positioning On the premise of, realize quick positioning.For example, user using mobile phone when current location information is obtained, according to conventional art Localization method, it is necessary to continue search for information of adjacent cells after the Serving cell that mobile phone is accessed is obtained, to ensure accurate positioning, if User is in base station close quarters, then the process for obtaining information of adjacent cells can be very very long, and obtain enough adjacent cell it Before, positioning precision is not high, it is impossible to meet normal use demand.
Step 212, according to the cell information computing terminal in the information of adjacent cells and first community group being connected with terminal Positional information.
In the present embodiment, by the cell information computing terminal in the information of adjacent cells and first community group that are connected with terminal Position, specifically, base station identity code is included in cell information, because the position of base station and coordinate are fixed and known , the relation of the position of base station, analysing terminal position and each base station location is obtained by obtaining base station identity code, finally Calculate terminal position.For example, user uses mobile phone, Serving cell A to be present in during mobile phone is cached in Serving cell A In individual small district's groups, mobile phone can obtain the location of user scope by the base station belonging to A, and mobile phone is again by cell where A The information of adjacent cell B, C, D in group, by calculating mobile phone and the distance between base station where adjacent cell, can quickly draw use Particular location where family.
Step 214, creates a small district's groups, and the service cell information that will be accessed is used as the clothes in the small district's groups for being created Business cell information, using the information of adjacent cells being connected with terminal as the information of adjacent cells in the small district's groups for being created.
In the present embodiment, the small district's groups in caching are obtained by terminal, detect whether there is the service for including that terminal is accessed The small district's groups of cell information, if it is not, then small district's groups of a newly-built init state in the buffer, the service that terminal is accessed is small Area's information and the information of adjacent cells being connected with terminal are stored in newly-built small district's groups, used as the information of small district's groups.Specifically, complete Into after newly-built community group, the cell group information in internal memory is updated by the cell group information in caching so that the cell in internal memory Group data are constantly updated, it is ensured that during terminal use, and positioning can be more and more accurate.
Step 216, according to the positional information of the cell information computing terminal in the small district's groups for being created.
In the present embodiment, pass through the cell information computing terminal position in the small district's groups that are created, the small district's groups bag Include the service cell information that terminal is accessed and the information of adjacent cells being connected with terminal.
Step 218, the 3rd small district's groups are whether there is in the small district's groups of detection, if so, then performing step 220, otherwise, perform step Rapid 222.
In the present embodiment, in the information of adjacent cells that the 3rd small district's groups include, one or more neighbours of terminal connection are contained in Cell information.The connection network if terminal fails, the service cell information where terminal can not be obtained, in this case, The position of terminal can only be obtained by the information of adjacent cells being connected with terminal.Detection caching in small district's groups whether there is comprising with 3rd small district's groups of the adjacent cell of terminal connection, if in the presence of the 3rd cell group information of acquisition.
Step 220, the positional information of the cell information computing terminal in the 3rd small district's groups.
In the present embodiment, in the information of adjacent cells that the 3rd small district's groups include, one or more neighbours of terminal connection are contained in Cell information.Specifically, terminal is in detection process, the small district's groups for including the adjacent cell being connected with terminal are often found, stood Engrave and pass in terminal central processing unit, it is ensured that most fast acquisition terminal location.If the small district's groups for finding with uploaded before Small district's groups it is identical, then filter the small district's groups of repetition, do not uploaded.The 3rd is updated according to the information of adjacent cells being connected with terminal Cell group information, according to renewal after the 3rd cell group information update internal memory in cell group information so that the cell in internal memory Group data preserve last state.
Step 222, creates a small district's groups, using the information of adjacent cells being connected with terminal as in created small district's groups Information of adjacent cells.
In the present embodiment, if in the absence of the information of adjacent cells that is connected with terminal in small district's groups in caching, in caching In a newly-built init state small district's groups, the information of adjacent cells being connected with terminal is stored in newly-built small district's groups, make It is the information of adjacent cells of small district's groups, is No SIM in the newly-built small district's groups acceptance of the bid note Serving cell.Specifically, completing newly-built After small district's groups, the cell group information in internal memory is updated by the cell group information in caching so that the small district's groups data in internal memory Constantly update, it is ensured that during terminal use, positioning can be more and more accurate.
Step 224, according to the positional information of the cell information computing terminal in the small district's groups for being created.
In the present embodiment, according to the cell information in the newly-built small district's groups including the information of adjacent cells being connected with terminal The positional information of computing terminal.At computing terminal position, the quantity of adjacent cell is more, and the precision of positioning is higher, and error is just It is smaller, the accurate location of terminal may finally be obtained.
In one embodiment, the service cell information that the information of adjacent cells and terminal according to connection are accessed is small to first District's groups are updated;First community group after renewal is updated in internal memory.
In the present embodiment, the service cell information that information of adjacent cells and terminal according to connection are accessed is to first community group It is updated, the content of renewal is any change that cell information occurs, including but not limited to cell ID, LAC, base station Identification code, absolute RF channel number, PLMN, wave band, frequency band, signal intensity, retell update after first community group be updated in In depositing, it is ensured that the cell group information in internal memory is in newest state, is conducive to calling the small district's groups in internal memory next time Positioned, by the cell group information constantly improved in internal memory, positioning precision more and more higher, and locating speed can be made It is more and more faster.
As shown in figure 4, in one embodiment, there is provided a kind of localization method based on cellular cell, including:
Step 402, the information of adjacent cells that acquisition is connected with terminal.
Step 404, obtains the small district's groups in caching, and small district's groups include that a service cell information and at least one neighbour are small One or more cell in area's information.
Step 406, judges whether terminal is successfully connected network, if so, then performing step 408, otherwise, performs step 418.
Step 408, obtains the Serving cell that terminal is accessed.
Step 410, first community group is whether there is in the small district's groups of detection, if so, then performing step 412, otherwise, performs step Rapid 414.
Step 412, according to the cell information computing terminal in the information of adjacent cells and first community group being connected with terminal Positional information.
Step 414, when judging in the absence of first community group, second community group, second is whether there is in the small district's groups of detection The service cell information accessed comprising terminal in the information of adjacent cells that small district's groups include, if so, then include second community group The service cell information that terminal in information of adjacent cells is accessed is updated in the service cell information that second community group includes, and The service cell information that terminal is accessed is deleted in the information of adjacent cells that second community group includes.
In the present embodiment, when in the small district's groups of detection with the presence or absence of second community group, the scope of detection can be in the absence of clothes The small district's groups of cell of being engaged in, second community group can be the small district's groups not comprising service cell information.When detecting second community group Including information of adjacent cells in comprising terminal access service cell information when, the service cell information can be updated to second In the service cell information that small district's groups include, the new second community group including service cell information after being updated.Delete The service cell information that terminal is accessed in the information of adjacent cells that second community group includes so that the cell information in second community group Be not in the situation of repetition, reduce unnecessary calculating.After the information of adjacent cells being connected with terminal and renewal second The positional information of the cell information computing terminal in small district's groups, the position where obtaining terminal.Further, in the small district's groups of detection During with the presence or absence of second community group, the scope of detection can be all small district's groups, and second community group can be script presence service The small district's groups of cell information.The Serving cell letter accessed comprising terminal in the information of adjacent cells that second community group includes is detected During breath, the service cell information is updated in the service cell information that second community group includes, the service that covering exists originally Cell information, then deletes the service cell information that terminal in the information of adjacent cells that includes of second community group is accessed, by with end The positional information of the cell information computing terminal in second community group after holding the information of adjacent cells of connection and updating.
Further, when in the small district's groups of detection with the presence or absence of second community group, the scope of detection can be all small district's groups, Second community group can be the small district's groups of script presence service cell information.When detecting the adjacent cell letter that second community group includes When the service cell information that terminal is accessed is included in breath, can be new as this using the service cell information with a newly-built small district's groups Service cell information in the small district's groups built, the information of adjacent cells that second community group is included and the adjacent cell letter being connected with terminal Breath then deletes end in the information of adjacent cells that the newly-built small district's groups include as the information of adjacent cells in the newly-built small district's groups Terminate into service cell information, by the positional information of the cell information computing terminal in the newly-built small district's groups.
Specifically, when in detecting small district's groups with the presence or absence of second community group, first detected can be selected and met The small district's groups of condition as second community group, to ensure that most fast speed obtains terminal position;Can also select meeting Searched in the small district's groups of condition, the small district's groups comprising the information of adjacent cells being at most connected with terminal are used as second community group so that The position that terminal gets is more accurate.
Step 416, according to the cell information computing terminal in the information of adjacent cells and second community group being connected with terminal Positional information.
Step 418, the 3rd small district's groups are whether there is in the small district's groups of detection, if so, then performing step 420, otherwise, perform step Rapid 422.
Step 420, the positional information of the cell information computing terminal in the 3rd small district's groups.
Step 422, creates a small district's groups, using the information of adjacent cells being connected with terminal as in created small district's groups Information of adjacent cells.
Step 424, according to the positional information of the cell information computing terminal in the small district's groups for being created.
In one embodiment, the schematic diagram of the localization method based on cellular cell is as shown in figure 4, wherein, internal memory eases up Deposit and be located within terminal respectively.Solid line is represented and is certain to the step of performing, and dotted line represents the step of may performing.With reference to Fig. 5, The localization method for being based on cellular cell comprises the following steps:
Step (1), terminal connects adjacent cell by network interface, obtains information of adjacent cells.
When starting up of terminal, then the whole network cell searching is carried out automatically, search for and connect attachable adjacent cell, and obtain neighbour Cell information.The information of adjacent cells of acquisition refer to cell ID, LAC, base station identity code, absolute RF channel number, PLMN, The information such as wave band, frequency band, signal intensity, terminal Main Basiss cell ID and LAC obtain corresponding base station location, due to base The position stood all is changeless, it is possible to according to base station location and the positional information for facing cell information and determining adjacent cell.
Step (2), terminal obtains service cell information by network interface Connection Service cell.
Specifically, when terminal is successfully connected network, the Serving cell that terminal is accessed could be obtained.What terminal was accessed Serving cell has and only one of which, and the location of terminal scope can be obtained according to service cell information.For example, user passes through Mobile phone is successfully connected network, then mobile phone can obtain the location of user by being currently accessed the positional information of Serving cell Scope, city and region where can in time finding user, so as to provide more accurately service based on position.If failing to connect Network is connected to, then directly performs step (6).
Step (3), reads cell group information of the storage in internal memory.
Specifically, small district's groups storage is in tag memory, tag memory uses nonvolatile memory so that terminal In the case where power supply is closed, the cell group information in internal memory will not be lost.
Step (4), will be stored in the cell group information in internal memory copy to caching in.
After the cell group information in reading internal memory, during cell group information copied into terminal buffers, in the buffer finally The operation of subsequent step is carried out, prevents the data in internal memory from mistake occur.
Step (5), searches first community group in small district's groups, if not existing first community group, detects whether to exist the Two small district's groups create a small district's groups.
First community group is:Including service cell information be the service cell information that the terminal is accessed small district's groups. When terminal is connected to Serving cell, step (5) is just performed.
Second community group is:Including information of adjacent cells in comprising terminal access service cell information small district's groups.
Specifically, detecting the Serving cell in the small district's groups in caching, if there is the Serving cell being connected with terminal It is identical.If identical with the Serving cell that terminal is connected in the presence of the Serving cell in a small district's groups, then judge the small district's groups as First community group.In the buffer, the service cell information that the information of adjacent cells and terminal according to connection are accessed is to first community Group is updated.If not existing, illustrate caching all small district's groups in, in the absence of the first community group.Then detect small district's groups In whether there is second community group, in the information of adjacent cells that second community group includes comprising terminal access service cell information, If so, the service cell information that the terminal in the information of adjacent cells for then including second community group is accessed is updated to second community group Including service cell information in, and in the information of adjacent cells that second community group includes delete terminal access Serving cell letter Breath or create a small district's groups, the service cell information that will be accessed as the service cell information in the small district's groups for being created, Using the information of adjacent cells being connected with terminal as the information of adjacent cells in the small district's groups for being created.
Step (6), searches the 3rd small district's groups in small district's groups, if not existing the 3rd small district's groups, creates a small district's groups.
3rd small district's groups are:Including information of adjacent cells in, comprising one or more information of adjacent cells being connected with terminal Small district's groups.When terminal is not attached to Serving cell, step (6) is performed.
One or more in small district's groups in detection caching face cell, if there is one of them being connected with terminal Or multiple to face cell identical.If in the presence of the Serving cell in one or more small district's groups, the Serving cell phase being connected with terminal Together, then judge that one or more small district's groups are the 3rd small district's groups.In the buffer, the information of adjacent cells according to connection is small to the 3rd District's groups are updated, by renewal after the 3rd small district's groups be updated in internal memory.If not existing, all small district's groups of caching are illustrated In, in the absence of the 3rd small district's groups.A small district's groups are then created, using the information of adjacent cells being connected with terminal as created cell Information of adjacent cells in group.
Step (7), is updated by caching to tag memory.
Specifically, by the information in the information updating internal memory in the caching after the renewal in step (5) or step (6). The content of renewal be cell information occur any change, including but not limited to cell ID, LAC, base station identity code, absolutely To radio-frequency channel number, PLMN, wave band, frequency band, signal intensity, then the first community group after renewal is updated in internal memory, can be with Ensure that the cell group information in internal memory is in newest state, be conducive to calling the small district's groups in internal memory to be positioned next time, By the cell group information constantly improved in internal memory, positioning precision more and more higher can be made, and locating speed is more and more faster.
Step (8), the positional information of computing terminal.
The positional information of the terminal that will be calculated and corresponding cell group information upload to terminal, if small district's groups are believed Do not exist service cell information in breath, then only upload information of adjacent cells.
As shown in fig. 6, in one embodiment, there is provided a kind of positioner based on cellular cell, including:
Data obtaining module 602, for obtaining the information of adjacent cells being connected with terminal;The small district's groups in caching are obtained, it is small District's groups include one or more cell information in a service cell information and at least one information of adjacent cells;
First judge module 604, for judging whether terminal is successfully connected network;
Data obtaining module 602 is additionally operable to, when the result of determination of the first judge module is to be, obtain what terminal was accessed Service cell information;
Detection module 606, for detecting that, with the presence or absence of first community group in small district's groups, the service that first community group includes is small Area's information is the service cell information that terminal is accessed;
Position acquisition module 608, the cell letter in the information of adjacent cells being connected with terminal for basis and first community group Cease the positional information of computing terminal.
As shown in fig. 7, in one embodiment, the positioner based on cellular cell also includes:
Update module 610, for the information of adjacent cells according to connection and the service cell information that is accessed of terminal to first Small district's groups are updated;First community group after renewal is updated in internal memory.
First creation module 612, for when judging in the absence of first community group, creating a small district's groups, will be accessed Service cell information as the service cell information in the small district's groups for being created, the information of adjacent cells that will be connected with terminal as Information of adjacent cells in the small district's groups for being created;Position acquisition module 608 be additionally operable to according to the first creation module created it is small The positional information of the cell information computing terminal in district's groups.
In one embodiment, if detection module 606 is additionally operable to terminal connects network not successfully, detecting in small district's groups is No to there are the 3rd small district's groups, in the information of adjacent cells that the 3rd small district's groups include, one or more neighbours for being contained in terminal connection are small Area's information.If position acquisition module 608 is additionally operable to small district's groups to go out to there are the 3rd small district's groups, according to the cell in the 3rd small district's groups The positional information of computing terminal.
In one embodiment, the positioner also includes:Second creation module 614, if in the absence of the 3rd cell Group, then create a small district's groups, using the information of adjacent cells being connected with terminal as the adjacent cell letter in the small district's groups for being created Breath;Position acquisition module 608 is additionally operable to the positional information according to the cell information computing terminal in the small district's groups for being created.
In one embodiment, detection module 606 is additionally operable to detect in small district's groups that with the presence or absence of second community group second is small The service cell information accessed comprising terminal in the information of adjacent cells that district's groups include, if update module 610 is additionally operable in the presence of second Small district's groups, the then service cell information that the terminal in the information of adjacent cells for including second community group is accessed is updated to second community In the service cell information that group includes, and the Serving cell that terminal is accessed is deleted in the information of adjacent cells that second community group includes Information;Position acquisition module 608 is additionally operable to the positional information according to the cell information computing terminal in second community group.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses several embodiments of the invention, and its description is more specific and detailed, but simultaneously Can not therefore be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of localization method based on cellular cell, methods described includes:
The information of adjacent cells that acquisition is connected with terminal;
The small district's groups in caching are obtained, the small district's groups are included in a service cell information and at least one information of adjacent cells One or more cell information;
Judge whether terminal is successfully connected network, if so, then obtaining the service cell information that terminal is accessed;
Detect that, with the presence or absence of first community group in small district's groups, the service cell information that the first community group includes is the terminal The service cell information of access, if so, then
The terminal is calculated according to the cell information in the information of adjacent cells being connected with terminal and the first community group Positional information.
2. method according to claim 1, it is characterised in that methods described also includes:
The service cell information that information of adjacent cells and terminal according to the connection are accessed is carried out more to the first community group Newly;
First community group after renewal is updated in internal memory.
3. method according to claim 1, it is characterised in that when judging in the absence of the first community group,
Detect with the presence or absence of second community group in small district's groups, comprising the end in the information of adjacent cells that the second community group includes Terminate into service cell information, if so, then
The service cell information that the terminal in the information of adjacent cells that the second community group is included is accessed is updated to second In the service cell information that small district's groups include, and delete the terminal in the information of adjacent cells that the second community group includes and connect The service cell information for entering;
The terminal is calculated according to the cell information in the information of adjacent cells being connected with terminal and the second community group Positional information.
4. method according to claim 1, it is characterised in that when judging in the absence of the first community group,
Create a small district's groups, the service cell information that will be accessed as the service cell information in the small district's groups for being created, Using the information of adjacent cells being connected with terminal as the information of adjacent cells in the small district's groups for being created;
The positional information of the terminal is calculated according to the cell information in the small district's groups for being created.
5. method according to claim 1, it is characterised in that methods described also includes:
If terminal connects network not successfully, detect in the small district's groups with the presence or absence of the 3rd small district's groups, the 3rd small district's groups Including information of adjacent cells in, comprising one or more information of adjacent cells being connected with terminal, if so, then
Cell information in the 3rd small district's groups calculates the positional information of the terminal.
6. method according to claim 5, it is characterised in that if not existing the 3rd small district's groups,
A small district's groups are created, using the information of adjacent cells being connected with terminal as the adjacent cell letter in the small district's groups for being created Breath;
The positional information of the terminal is calculated according to the cell information in the small district's groups for being created.
7. a kind of positioner based on cellular cell, it is characterised in that described device includes:
Data obtaining module, for obtaining the information of adjacent cells being connected with terminal;Obtain the small district's groups in caching, the small district's groups Include one or more cell information in a service cell information and at least one information of adjacent cells;
First judge module, for judging whether terminal is successfully connected network;
Data obtaining module is additionally operable to, when the result of determination of first judge module is to be, obtain the service that terminal is accessed Cell information;
Detection module, for detecting in small district's groups with the presence or absence of first community group, the Serving cell that the first community group includes Information is the service cell information that the terminal is accessed;
Position acquisition module, for being believed according to the cell in the information of adjacent cells and the first community group being connected with terminal Breath calculates the positional information of the terminal.
8. device according to claim 6, it is characterised in that described device also includes:
Update module, for the service cell information that is accessed according to the information of adjacent cells and terminal of the connection to described first Small district's groups are updated;First community group after renewal is updated in internal memory.
9. device according to claim 6, it is characterised in that described device also includes:
First creation module, for when judging in the absence of the first community group, creating a small district's groups, the clothes that will be accessed Business cell information as the service cell information in the small district's groups for being created, using the information of adjacent cells being connected with terminal as Information of adjacent cells in the small district's groups for being created;
The position acquisition module is additionally operable to according to the cell information in the small district's groups that the first creation module is created is calculated The positional information of terminal.
10. device according to claim 6, it is characterised in that if the detection module is additionally operable to terminal connecting not successfully Network, then detect with the presence or absence of the 3rd small district's groups in the small district's groups, in the information of adjacent cells that the 3rd small district's groups include, bag It is contained in one or more information of adjacent cells of terminal connection;
If the position acquisition module is additionally operable to the small district's groups in the presence of the 3rd small district's groups, according in the 3rd small district's groups Cell information calculates the positional information of the terminal;
Described device also includes:
Second creation module, if in the absence of the 3rd small district's groups, creating a small district's groups, it is adjacent small by what is be connected with terminal Area's information is used as the information of adjacent cells in the small district's groups for being created;
The position acquisition module is additionally operable to according to the cell information in the small district's groups that the second creation module is created is calculated The positional information of terminal.
CN201710035094.XA 2017-01-18 2017-01-18 Positioning method and device based on cellular cell Active CN106793079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710035094.XA CN106793079B (en) 2017-01-18 2017-01-18 Positioning method and device based on cellular cell

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710035094.XA CN106793079B (en) 2017-01-18 2017-01-18 Positioning method and device based on cellular cell

Publications (2)

Publication Number Publication Date
CN106793079A true CN106793079A (en) 2017-05-31
CN106793079B CN106793079B (en) 2020-01-21

Family

ID=58947176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710035094.XA Active CN106793079B (en) 2017-01-18 2017-01-18 Positioning method and device based on cellular cell

Country Status (1)

Country Link
CN (1) CN106793079B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100029301A1 (en) * 2008-07-31 2010-02-04 Samsung Electronics Co., Ltd. Method and system for detecting a location of a mobile communication terminal
CN101820677A (en) * 2010-04-14 2010-09-01 中兴通讯股份有限公司 Method for positioning mobile terminal and mobile positioning center
CN102088770A (en) * 2009-12-04 2011-06-08 中兴通讯股份有限公司 Method for transmitting small-flow wireless data and base station system
CN104703214A (en) * 2013-12-06 2015-06-10 中国移动通信集团公司 Positioning monitoring method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100029301A1 (en) * 2008-07-31 2010-02-04 Samsung Electronics Co., Ltd. Method and system for detecting a location of a mobile communication terminal
CN102088770A (en) * 2009-12-04 2011-06-08 中兴通讯股份有限公司 Method for transmitting small-flow wireless data and base station system
CN101820677A (en) * 2010-04-14 2010-09-01 中兴通讯股份有限公司 Method for positioning mobile terminal and mobile positioning center
CN104703214A (en) * 2013-12-06 2015-06-10 中国移动通信集团公司 Positioning monitoring method and device

Also Published As

Publication number Publication date
CN106793079B (en) 2020-01-21

Similar Documents

Publication Publication Date Title
KR101620299B1 (en) Picture positioning method and system based on mobile terminal navigation function
US8874137B2 (en) Method and device for discriminating positioning error using wireless LAN signal
RU2419255C2 (en) Method to detect physical location of mobile phone at this time
US7640027B2 (en) Mobile communication terminal capable of determining position and method of determining position in the mobile communication terminal
CN103347297B (en) Indoor positioning method, indoor positioning server and indoor positioning system
EP2464182A2 (en) Energy-efficient positioning system for smartphone using cell-ID sequence matching
CN102036368B (en) Method and system for determining position of mobile wireless communication device
US9668145B2 (en) Methods and apparatus to scan a wireless communication spectrum
CN103200520A (en) Mobile terminal fast and precise positioning method using Wi-Fi
CN102918899B (en) For positioning the database update method and apparatus of pCell
CN103167109A (en) Method and device for automatically switching contextual models
CN103368984A (en) Method and system for information sharing
CN101175276A (en) Method and apparatus for system acquisition in a mobile communication terminal
CN106817712A (en) A kind of localization method and device and a kind of server
CN106358228A (en) Dynamic detection and filtering method for invalid AP in WIFI indoor positioning system
CN111093156B (en) Pseudo base station position locating method, device and storage medium
CN106569229A (en) Method and device for determining ephemeris information of visible satellite in LTE standard
CN105050038A (en) Method, apparatus, and system for monitoring position information of mobile terminal
KR20120005642A (en) Method and apparatus for providing position information by using error range
CN107666651A (en) Signal distributions map datum gathering method, device and mobile terminal
CN106446102A (en) Method and device for terminal positioning based on map fences
CN106060847A (en) Signal blind area determining method and signal blind area determining system
CN106937246A (en) A kind of mobile phone positioning method, mobile phone, mobile phone locating platform and system
CN106231588B (en) A kind of mobile network cell identification information correction method
CN106793079A (en) Localization method and device based on cellular cell

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant