CN106162617B - Determine the method and device of terminal SIM card ownership place - Google Patents

Determine the method and device of terminal SIM card ownership place Download PDF

Info

Publication number
CN106162617B
CN106162617B CN201510202634.XA CN201510202634A CN106162617B CN 106162617 B CN106162617 B CN 106162617B CN 201510202634 A CN201510202634 A CN 201510202634A CN 106162617 B CN106162617 B CN 106162617B
Authority
CN
China
Prior art keywords
ownership place
position sequence
sequence
database
place
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.)
Active
Application number
CN201510202634.XA
Other languages
Chinese (zh)
Other versions
CN106162617A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510202634.XA priority Critical patent/CN106162617B/en
Publication of CN106162617A publication Critical patent/CN106162617A/en
Application granted granted Critical
Publication of CN106162617B publication Critical patent/CN106162617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Abstract

The invention discloses a kind of method and devices of determining terminal SIM card ownership place, belong to information technology field.This method comprises: receiving the ownership place inquiry request that terminal is sent, the position sequence for the IMSI being stored in terminal SIM card is at least carried in ownership place inquiry request;From the ownership place database constructed in advance, the corresponding ownership place of position sequence is obtained, includes the corresponding relationship between position sequence range and ownership place in ownership place database;The corresponding ownership place of position sequence is sent to terminal.The present invention from the corresponding relationship between the position sequence range stored in ownership place database and ownership place, automatically obtains the corresponding ownership place of the position sequence after receiving the ownership place inquiry request of position sequence at least carrying IMSI.In this process, be manually entered without user, method of determination is more convenient, and the data stored in ownership place database are more accurate, be that the data reported based on multiple terminals are constructed, accordingly, it is determined that ownership place it is more accurate.

Description

Determine the method and device of terminal SIM card ownership place
Technical field
The present invention relates to information technology field, in particular to a kind of method and device of determining terminal SIM card ownership place.
Background technique
In the modern life, network has become essential component part for people's lives.In order to obtain whenever and wherever possible Service on net is got, user is before using the terminal and network connection with function of surfing the Net, it usually needs first order a stream Amount packet.Since the flow in flow packet is limited, when the surfing flow of terminal is more than the flow in flow packet, user can be given Cause larger economic loss.Therefore, it is necessary to which the surfing flow to terminal is monitored, and in the surfing flow for monitoring terminal When reaching the amount of flow packet, user is reminded in time.
Currently, main according to the SIM (Subscriber Identity Module, client identification module) installed in terminal Card, is monitored the surfing flow of terminal.And before this, need first to determine terminal SIM card ownership place.
The prior art generallys use the following two kinds mode when determining terminal SIM card ownership place:
First way: providing ownership place and the page be arranged, and inputs the ownership of SIM card on the ownership place setting page by user Ground, terminal determine the ownership place of terminal SIM card by detecting that user operates in the input that ownership place is arranged on the page.
The second way: it is based on LBS (Location Based Services, positioning service) technology, by using IP (Internet Protocol, network protocol) positioning, GPS (Global Positioning System, global positioning system) The modes such as positioning, base station location obtain the current location information of terminal, and will acquire location information and return as terminal SIM card Possession.
In the implementation of the present invention, inventor find the relevant technologies the prior art has at least the following problems:
Since first way needs user to manually input the current ownership place of terminal on the ownership place setting page, because This, this kind of mode is simultaneously inconvenient.
Since the current location information of terminal in the second way is not SIM card ownership place, the position that will acquire Confidence breath is inaccurate as SIM card ownership place.For example, SIM card ownership place is Beijing, when terminal roams into Tianjin by Beijing When, it uses LBS technology to get the current location information of terminal as Tianjin, Tianjin as SIM card ownership place and is not allowed at this time Really.
Summary of the invention
In order to solve the problems, such as the relevant technologies, the embodiment of the invention provides a kind of sides of determining terminal SIM card ownership place Method and device.The technical solution is as follows:
On the one hand, a kind of method of determining terminal SIM card ownership place is provided, which comprises
The ownership place inquiry request that terminal is sent is received, is at least carried in the ownership place inquiry request and is stored in SIM card In IMSI (International Mobile Subscriber Identification Number) position sequence, institute Stating position sequence includes first position sequence, second position sequence and the third place sequence;
From the ownership place database constructed in advance, the corresponding ownership place of the position sequence, the ownership place number are obtained According to including corresponding relationship between position sequence range and ownership place according to determined by the attribute information of multiple terminals in library, The attribute information includes at least position sequence and ownership place;
The corresponding ownership place of the position sequence is sent to the terminal.
On the other hand, a kind of device of determining terminal SIM card ownership place is provided, described device includes:
First receiving module, for receiving the ownership place inquiry request of terminal transmission, in the ownership place inquiry request extremely The position sequence for the international mobile subscriber identity IMSI being stored in terminal client identification module SIM card, institute's rheme are carried less Setting sequence includes first position sequence, second position sequence and the third place sequence;
First obtains module, and for obtaining from the ownership place database constructed in advance, the position sequence is corresponding to return Possession includes the position sequence range according to determined by the attribute information of multiple terminals and ownership in the ownership place database Corresponding relationship between ground, the attribute information include at least position sequence and ownership place;
Sending module, for the corresponding ownership place of the position sequence to be sent to the terminal.
Technical solution provided in an embodiment of the present invention has the benefit that
After receiving the ownership place inquiry request of position sequence at least carrying IMSI, deposited from ownership place database In corresponding relationship between the position sequence range and ownership place of storage, the corresponding ownership place of the position sequence is automatically obtained.? During being somebody's turn to do, it is manually entered without user, method of determination is more convenient, and the data stored in ownership place database are more smart Standard, is that the data reported based on multiple terminals are constructed, accordingly, it is determined that ownership place it is more accurate.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of method flow diagram of determining ownership place provided by one embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for determining ownership place that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic diagram for building ownership place database that another embodiment of the present invention provides;
Fig. 4 is a kind of apparatus structure schematic diagram for determining ownership place that another embodiment of the present invention provides;
Fig. 5 is a kind of apparatus structure schematic diagram for determining ownership place that the embodiment of the present invention four provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Currently, in the surfing flow to terminal into when monitoring, it usually needs first determine terminal SIM card ownership place.Existing skill Art is when determining terminal SIM card ownership place, mainly in such a way that user is manually entered, alternatively, using the side for helping LBS to position Formula.Since both modes are when determining terminal SIM card ownership place, therefore there are the problems such as inconvenient, accuracy is lower to be It solves these problems, the embodiment of the invention provides a kind of method of determining terminal SIM card ownership place.Referring to Fig. 1, this implementation Example provide method flow include:
101, the ownership place inquiry request that terminal is sent is received, is at least carried in ownership place inquiry request and is stored in terminal The position sequence of IMSI in SIM card, position sequence include first position sequence, second position sequence and the third place sequence.
102, from the ownership place database constructed in advance, the corresponding ownership place of position sequence, ownership place database are obtained In include corresponding relationship between position sequence range and ownership place according to determined by the attribute information of multiple terminals, the category Property information include at least position sequence and ownership place.
103, the corresponding ownership place of position sequence is sent to terminal.
Method provided in an embodiment of the present invention is receiving the ownership place inquiry request at least carrying the position sequence of IMSI Later, from the corresponding relationship between the position sequence range stored in ownership place database and ownership place, automatically obtaining should The corresponding ownership place of position sequence.In this process, it is manually entered without user, method of determination is more convenient, and ownership place number It is more accurate according to the data stored in library, be that the data reported based on multiple terminals are constructed, accordingly, it is determined that ownership place more Accurately.
In another embodiment of the present invention, first position sequence is for distinguishing different countries, second position sequence For distinguishing different operators, the third place sequence is distributed by operator, for distinguishing different regions.
In another embodiment of the present invention, from the ownership place database constructed in advance, it is corresponding to obtain position sequence Ownership place before, further includes:
Receive the attribute information that multiple test terminals are sent;
According to first position sequence, the attribute information of multiple test terminals is divided into different national data bases;
In same national data base, according to second position sequence, the attribute information of multiple test terminals is divided into not In same operator database;
In same operator database, the corresponding the third place sequence context of each ownership place is obtained;
First position sequence, second position sequence and the third place sequence context are combined, each ownership place is obtained Corresponding position sequence range;
Corresponding relationship based on each ownership place Yu position sequence range constructs ownership place database.
In another embodiment of the present invention, from the ownership place database constructed in advance, it is corresponding to obtain position sequence Ownership place, comprising:
According to the first position sequence in position sequence, the corresponding national data base of position sequence is determined;
In national data base, according to the second position sequence in position sequence, the corresponding operator of position sequence is determined Database;
In operator database, according to the third place sequence in position sequence, the corresponding ownership of position sequence is obtained Ground.
In another embodiment of the present invention, this method further include:
During constructing ownership place database, the attribute information based on the multiple terminals obtained in real time is returned to existing Possession database is adjusted.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
The embodiment of the invention provides a kind of methods of determining ownership place, referring to fig. 2, method flow provided in this embodiment Include:
201, server construction ownership place database.
In order to realize communication function, a SIM card is installed in each terminal, stores mobile subscriber's in the SIM card The information such as the IMSI of telephone directory, encryption key and terminal.Wherein, IMSI is a kind of identification code, can be used for distinguishing mobile subscriber, should IMSI is by MCC (Mobile Country Code, Mobile Country Code MCC), MNC (Mobile Network Code, mobile network number Code) and MSIN (Mobile Subscriber Identification Number, identification number of mobile subscriber) composition.
Wherein, the resource of MCC is worldwide distributed unitedly and is managed by International Telecommunication Union, for distinguishing mobile use Country belonging to family, the MCC are usually made of 3 bit digitals, for example, the MCC of characterization China is 460.
Wherein, mobile communications network belonging to mobile subscriber, the MNC are usually made of 2 to 3 bit digitals MNC for identification, For example, the MNC of China Mobile is 00,02,04,06, the MNC of China Unicom is 01,05,07, and the MNC of China Telecom is 03 etc.. For any mobile subscriber, according to the MNC, may recognize that the mobile subscriber be belong to mobile subscriber, connection user, or electricity Credit household.
Wherein, the MSIN mobile subscriber in any mobile communications network for identification, the MSIN is usually by 10 bit digital groups At structure can be EF+M0M1M2M3+ABCD.The EF is distributed by operator, the M0M1M2M3 and MDN (Mobile Directory Number, the thin number of mobile subscriber number) in H0H1H2H3 there are corresponding relationship, which is one four Random number, user can be distributed to and used at random.
The digit of IMSI is generally 15, and in addition to latter 4, the ground of mobile subscriber can be uniquely determined according to first 11 Position is managed, that is to say, can determine the ownership place of mobile subscriber SIM according to first 11.It will can determine in IMSI in the present embodiment Preceding 11 digit of SIM card ownership place is known as the position sequence of IMSI, and the position sequence is by first position sequence, second position sequence And the third place sequence composition, wherein first position sequence is corresponding with MCC, for distinguishing different countries;Second position sequence It is corresponding with MNC, for distinguishing different operators;The third place sequence is corresponding with the EF+M0M1M2M3 in MSIN, for distinguishing Different regions, the region are specially province, city, the county etc. where mobile subscriber.
It should be noted that the above-mentioned digit with IMSI is 15, the digit of the position sequence of IMSI be 11 for into Row explanation, in practical applications, the digit of IMSI can also be 16,17 etc., correspondingly, the position of the position sequence of IMSI Number can also be 12,13 etc., and the present embodiment does not make specific limit to the digit of the position sequence of the digit of IMSI and IMSI.
Since the MSIN in IMSI is usually allocated by operator, and this partial data may be related to mobile subscriber Privacy information, therefore, server is difficult to get this partial data from operator, in order to it is convenient, accurately determine Mobile subscriber's SIM card ownership place, server need the attribute information first sent according to terminal where mobile subscriber, and building one is returned Possession database, and then in the follow-up process, mobile subscriber's SIM card ownership place is directly determined according to the ownership place database.Its In, attribute information is including at least the position sequence of IMSI and ownership place etc..In addition, for the ease of subsequent narration, the present embodiment Terminal where the mobile subscriber of ownership place database being used to construct is known as testing terminal, and each test terminal has determination Ownership place, which is inputted on ownership place input page by user.
Specifically, the process of server construction ownership place database, reference can be made to following steps (1)~(6):
(1), server receives the attribute information that multiple test terminals are sent.
Since test terminal has function of surfing the Net, it is based on the function, test terminal can pass through wired or wireless network The position sequence of ownership place and IMSI that user inputs on ownership place input page is sent to server by network.Wherein, it tests The quantity of terminal can be 1000,2000,3000 etc., and the present embodiment does not make specific limit to the quantity of test terminal It is fixed.Certainly, in order to which the ownership place database for guaranteeing building is accurate, comprehensive, the quantity for testing terminal is The more the better.
(2), the attribute information of multiple test terminals is divided into different national numbers according to first position sequence by server According in library.
Since first position sequence can be used for distinguishing country belonging to mobile subscriber, it is based on first position sequence, clothes Business device can divide the attribute information for testing terminal, obtain different national data bases.
(3), in same national data base, server believes the attribute of multiple test terminals according to second position sequence Breath is divided into different operator databases.
It include to belong in same national data base since second position sequence can be used for distinguishing different operators Therefore the attribute information of multiple test terminals of different operators is based on second position sequence, server is by multiple test terminals Attribute information be divided into different operator databases.For example, the attribute of terminal will be tested when by first position sequence Information is divided into after different national data bases, includes in may belonging to for China national database, in the database State's movement, China Unicom, the test terminal of China Telecom user attribute information, be based on second position sequence, with China Mobile Second position sequence be 00,02,04,06, the second position sequence of China Unicom is 01,05,07, the second of China Telecom Set sequence be 03 for, the attribute information in China national database can be divided into China Mobile's database, China Unicom number According to library, China Telecom's database etc..
(4), in same operator database, server obtains the corresponding the third place sequence context of each ownership place.
Since the third place sequence that operator is different band of position distribution is different, and the third place sequence A usually position sequence range, the different corresponding ownership place in position area is different, therefore, in same operator database In, server is subordinate to same ownership place attribute information in the attribute information by that will test terminal transmission counts, and can obtain To the corresponding the third place sequence context of each ownership place.
(5), first position sequence, second position sequence and the third place sequence context are combined by server, are obtained The corresponding position sequence range of each ownership place.
When according to ownership place, by the first position sequence of characterization country, characterize different operators second position sequence and The third place sequence context in characterization different location region is combined, and a position sequence range, the position sequence can be obtained Range is corresponding with the ownership place.
(6), the corresponding relationship based on each ownership place Yu position sequence range, server construction ownership place database.
By storing the corresponding relationship of each ownership place and position sequence range, server can construct an ownership place data Library, the ownership place data are a hierarchical data base.According to this, ownership place database lookup any position sequence is corresponding returns When possession, national data base belonging to the position sequence can be determined, later, in national data base first according to first position sequence In, operator database belonging to the position sequence can be determined, and then in operator database according to second position sequence, According to the corresponding relationship between the third place sequence and ownership place, the corresponding ownership place of the position sequence is determined.Specific building Ownership place database, by first position sequence be 460 for, referring specifically to table 1.
Table 1
It should be noted that during above-mentioned building ownership place database, if same ownership place corresponds to multiple positions Sequence context is set, it at this time can be according to the corresponding test terminal quantity of each position sequence range, by the position more than test terminal quantity Sequence context is set as the corresponding position sequence range of the ownership place.In addition, since all tests received in the step are whole The attribute information at end will be used when the subsequent ownership place database to building is adjusted, therefore, for the ease of subsequent Using method provided in this embodiment will also execute the step of storing the attribute information for testing terminal.
In order to guarantee building ownership place database accuracy, avoid test terminal side mobile subscriber because of input error, So that the attribute information got is inaccurate, the final accuracy for influencing building ownership place database, in building ownership place number After library, method provided in this embodiment, during constructing ownership place database, based on the multiple terminals got Attribute information will also be adjusted existing ownership place database.
Specifically, server is in the process being adjusted to existing ownership place database, reference can be made to following (1)~(4):
(1), the attribute information that the multiple terminals of server real-time reception are sent.
After any terminal detects that mobile subscriber inputs ownership place on ownership place input page, terminal can will be used The ownership place of family input and the position sequence of the IMSI got from local terminal are sent to server.Due to the process in real time all into Row, therefore, the process that server receives attribute information is also a real-time process.
(2), according to position sequence range, server is to the attribute information received in specified time and the category of test terminal Property information counted, obtain statistical result, statistical result includes at least position sequence range, terminal quantity and ownership place.
Wherein, specified time can be 1 day, 2 days, 3 days etc., and the present embodiment does not make specific limit to specified time.Base In the test terminal received attribute information and attribute information is received in specified time, server is according to position sequence model It encloses, these attribute informations is counted.In this process, ownership place corresponding to record position sequence context and each is needed The corresponding terminal quantity of ownership place.When being all made of the statistics of the above method to all attribute informations, finally can be obtained multiple Statistical result, wherein position sequence range, terminal quantity and ownership place are included at least in each statistical result.
In above-mentioned statistic processes, if the corresponding ownership place of same position sequence context is difference, it can obtain at this time every The corresponding terminal quantity of a ownership place, and using the ownership place more than counterpart terminal quantity as the ownership place in statistical result.
(3), in same position sequence context, server will be in the ownership place and ownership place database in statistical result Ownership place is compared, and obtains comparison result.
It is directed to any position sequence context, server is by by the ownership place number of the ownership place in statistical result and building It is compared according to the ownership place in library, comparison result can be obtained, which can be used for determining the ownership place database of building It is whether accurate, in order to be adjusted in time to the ownership place database of building.
(4), server is adjusted ownership place database according to comparison result and corresponding terminal quantity.
Server is according to comparison result and corresponding terminal quantity, when being adjusted to ownership place database, including but It is not limited to the following two kinds situation:
The first situation: if the ownership place in statistical result is identical as the ownership place in ownership place database, continue Use ownership place database.
If the ownership place in statistical result is identical as the ownership place in ownership place database, illustrate the ownership place number of building It is more accurate according to library, the terminal that the ownership place database is ownership place to be determined can be continued to use at this time determines ownership place.
Second situation:, will be right if the ownership place in statistical result is different from the ownership place in ownership place database Answer the ownership place more than terminal quantity as new ownership place.
If the ownership place in statistical result is different from the ownership place in ownership place database, illustrate the ownership place number of building It may be inaccurate, need at this time according in the corresponding terminal quantity of ownership place and ownership place database in statistical result according to library The corresponding terminal quantity of ownership place be adjusted, when the corresponding terminal quantity of ownership place in statistical result be greater than ownership place number According to the corresponding terminal quantity of ownership place in library, then using the ownership place in statistical result as new ownership place;Work as statistical result In the corresponding terminal quantity of ownership place be less than ownership place database in the corresponding terminal quantity of ownership place, then by ownership place number It according to the corresponding ownership place in library as new ownership place, that is to say, continue to use ownership place database.
Further, after obtaining new ownership place, method provided in this embodiment is right also by according to new ownership place Ownership place database is updated.
For the above-mentioned process being adjusted to ownership place data, in order to make it easy to understand, below will be with a specific example Son is illustrated.
Referring to Fig. 3, with specified time for one day, for the digit of the position sequence of IMSI is 11.Server connects in real time The attribute information that terminal is sent is received, first 11 of IMSI and the ownership of mobile subscriber's setting are at least carry in the attribute information Ground.Server counts the attribute information of the attribute information that the terminal received daily is sent and backstage storage, obtains same Within the scope of one position sequence, the most ownership place of counterpart terminal quantity, and will be in the ownership place and the ownership place database of building The corresponding ownership place of position sequence range is compared, and obtains comparison result.When the corresponding ownership place difference of the two, compare The corresponding terminal quantity of different ownership place, and using the ownership place more than counterpart terminal quantity as new ownership place, and then basis New ownership place updates ownership place database;When the corresponding ownership place of the two is identical, then the ownership constructed is continued to use Ground.
202, the ownership place inquiry request that server receiving terminal is sent at least carries storage in the ownership place inquiry request The position sequence of IMSI in terminal SIM card.
For any terminal, if user does not input ownership place on ownership place input page, at this time in order to making Flow is monitored, which can send ownership place inquiry request to server, is at least taken in the ownership place inquiry request Band is stored in the position sequence of the IMSI in terminal SIM card.
203, from the ownership place database constructed in advance, server obtains the corresponding ownership place of position sequence.
Based on the corresponding relationship of the position sequence range and ownership place stored in the ownership place database constructed in advance, when connecing When receiving the ownership place inquiry request of terminal transmission, server can get the position sequence of the terminal from ownership place database Corresponding ownership place.Specifically, server determines the position of the terminal first according to the first position sequence in the position sequence National data base belonging to sequence, and then in the national data base, according to the second position sequence in the position sequence, determine Operator database belonging to the position sequence of the terminal, and then according to the third place sequence in the position sequence, obtaining should The corresponding ownership place of the position sequence of terminal.
204, the corresponding ownership place of position sequence is sent to terminal by server.
When the corresponding ownership place of the position sequence for getting the terminal, the ownership place that server will acquire is sent to end End, so that terminal carries out flow inquiry according to ownership place.
Method provided in an embodiment of the present invention is receiving the ownership place inquiry request at least carrying the position sequence of IMSI Later, from the corresponding relationship between the position sequence range stored in ownership place database and ownership place, automatically obtaining should The corresponding ownership place of position sequence.In this process, it is manually entered without user, method of determination is more convenient, and ownership place number It is more accurate according to the data stored in library, be that the data reported based on multiple terminals are constructed, accordingly, it is determined that ownership place more Accurately.
Referring to fig. 4, the embodiment of the invention provides a kind of device of determining terminal SIM card ownership place, which includes:
First receiving module 401, for receiving the ownership place inquiry request of terminal transmission, in ownership place inquiry request at least Carry the position sequence for the international mobile subscriber identity IMSI being stored in terminal client identification module SIM card, position sequence Including first position sequence, second position sequence and the third place sequence;
First obtains module 402, for from the ownership place database constructed in advance, obtaining the corresponding ownership of position sequence Ground includes between position sequence range and ownership place according to determined by the attribute information of multiple terminals in ownership place database Corresponding relationship, the attribute information include at least position sequence and ownership place;
Sending module 403, for the corresponding ownership place of position sequence to be sent to terminal.
In another embodiment of the present invention, first position sequence is for distinguishing different countries, second position sequence For distinguishing different operators, the third place sequence is distributed by operator, for distinguishing different regions.
In another embodiment of the present invention, the device further include:
Second receiving module, the attribute information sent for receiving multiple test terminals, attribute information include at least position Sequence and ownership place;
First division module, for according to first position sequence, the attribute information of multiple test terminals to be divided into difference National data base in;
Second division module is used in same national data base, according to second position sequence, by multiple test terminals Attribute information is divided into different operator databases;
Second obtains module, for obtaining the corresponding the third place sequence of each ownership place in same operator database Column range;
Composite module is obtained for first position sequence, second position sequence and the third place sequence context to be combined To the corresponding position sequence range of each ownership place;
Module is constructed, for the corresponding relationship based on each ownership place Yu position sequence range, constructs ownership place database.
In another embodiment of the present invention, the first acquisition module, for according to the first position in position sequence Sequence determines the corresponding national data base of position sequence;In national data base, according to the second position sequence in position sequence Column, determine the corresponding operator database of position sequence;In operator database, according to the third place sequence in position sequence Column obtain the corresponding ownership place of position sequence.
In another embodiment of the present invention, module, the device are adjusted further include:
Module is adjusted, the attribute based on the multiple terminals obtained in real time during constructing ownership place database is used for Information is adjusted existing ownership place database.
In conclusion device provided in an embodiment of the present invention, is receiving the ownership at least carrying the position sequence of IMSI After ground inquiry request, from the corresponding relationship between the position sequence range stored in ownership place database and ownership place, from The corresponding ownership place of the position sequence is obtained dynamicly.In this process, it being manually entered without user, method of determination is more convenient, And the data stored in ownership place database are more accurate, are that the data reported based on multiple terminals are constructed, accordingly, it is determined that Ownership place is more accurate.
Fig. 5 is shown according to an exemplary embodiment a kind of for determining the server of terminal SIM card ownership place.Reference Fig. 5, server 500 include processing component 522, further comprise one or more processors, and by 532 generations of memory The memory resource of table, can be by the instruction of the execution of processing component 522, such as application program for storing.It is deposited in memory 532 The application program of storage may include it is one or more each correspond to one group of instruction module.In addition, processing component 522 are configured as executing instruction, function performed by server in the method to execute above-mentioned determining terminal SIM card ownership place, This method comprises:
The ownership place inquiry request that terminal is sent is received, is at least carried in ownership place inquiry request and is stored in terminal SIM card In IMSI position sequence, position sequence includes first position sequence, second position sequence and the third place sequence;
From the ownership place database constructed in advance, the corresponding ownership place of position sequence is obtained, is wrapped in ownership place database The corresponding relationship between position sequence range and ownership place according to determined by the attribute information of multiple terminals is included, attribute letter Breath includes at least position sequence and ownership place;
The corresponding ownership place of position sequence is sent to terminal.
In another embodiment of the present invention, first position sequence is for distinguishing different countries, second position sequence For distinguishing different operators, the third place sequence is distributed by operator, for distinguishing different regions.
In another embodiment of the present invention, from the ownership place database constructed in advance, it is corresponding to obtain position sequence Ownership place before, further includes:
The attribute information that multiple test terminals are sent is received, attribute information includes at least position sequence and ownership place;
According to first position sequence, the attribute information of multiple test terminals is divided into different national data bases;
In same national data base, according to second position sequence, the attribute information of multiple test terminals is divided into not In same operator database;
In same operator database, the corresponding the third place sequence context of each ownership place is obtained;
First position sequence, second position sequence and the third place sequence context are combined, each ownership place is obtained Corresponding position sequence range;
Corresponding relationship based on each ownership place Yu position sequence range constructs ownership place database.
In another embodiment of the present invention, from the ownership place database constructed in advance, it is corresponding to obtain position sequence Ownership place, comprising:
According to the first position sequence in position sequence, the corresponding national data base of position sequence is determined;
In national data base, according to the second position sequence in position sequence, the corresponding operator of position sequence is determined Database;
In operator database, according to the third place sequence in position sequence, the corresponding ownership of position sequence is obtained Ground.
In another embodiment of the present invention, this method further include:
During constructing ownership place database, the attribute information based on the multiple terminals obtained in real time is returned to existing Possession database is adjusted.
Server 500 can also include that a power supply module 526 be configured as the power management of execute server 500, and one A wired or wireless network interface 550 is configured as server 500 being connected to network and input and output (I/O) interface 558.Server 500 can be operated based on the operating system for being stored in memory 532, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Server provided in an embodiment of the present invention is asked receiving the ownership place inquiry at least carrying the position sequence of IMSI After asking, from the corresponding relationship between the position sequence range stored in ownership place database and ownership place, automatically obtain The corresponding ownership place of the position sequence.In this process, it is manually entered without user, method of determination is more convenient, and ownership place The data stored in database are more accurate, are that the data reported based on multiple terminals are constructed, accordingly, it is determined that ownership place more It is accurate.
It should be understood that the device of determining ownership place provided by the above embodiment is when determining ownership place, only with above-mentioned The division progress of each functional module can according to need and for example, in practical application by above-mentioned function distribution by different Functional module is completed, i.e., the internal structure for determining the device of ownership place is divided into different functional modules, to complete above retouch The all or part of function of stating.In addition, the device of the method for determining ownership place provided by the above embodiment and determining ownership place Embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (8)

1. a kind of method of determining terminal SIM card ownership place, which is characterized in that the described method includes:
The ownership place inquiry request that terminal is sent is received, is at least carried in the ownership place inquiry request and is stored in terminal client knowledge The position sequence of international mobile subscriber identity IMSI in other Module SIM card, the position sequence include first position sequence, Second position sequence and the third place sequence;
From the ownership place database constructed in advance, the corresponding ownership place of the position sequence, the ownership place database are obtained It include the corresponding relationship between position sequence range and ownership place according to determined by the attribute information of multiple terminals, the category Property information include at least position sequence and ownership place;
The corresponding ownership place of the position sequence is sent to the terminal;
Wherein, described from the ownership place database constructed in advance, before obtaining the corresponding ownership place of the position sequence, also wrap It includes:
Receive the attribute information that multiple test terminals are sent;
According to first position sequence, the attribute information of multiple test terminals is divided into different national data bases;
In same national data base, according to second position sequence, the attribute information of multiple test terminals is divided into different In operator database;
In same operator database, the corresponding the third place sequence context of each ownership place is obtained;
First position sequence, second position sequence and the third place sequence context are combined, it is corresponding to obtain each ownership place Position sequence range;
Corresponding relationship based on each ownership place Yu position sequence range constructs ownership place database.
2. the method according to claim 1, wherein the first position sequence is for distinguishing different countries, The second position sequence for distinguishing different operators, distributed by operator by the third place sequence, for distinguishing not Same region.
3. the method according to claim 1, wherein described from the ownership place database constructed in advance, acquisition The corresponding ownership place of the position sequence, comprising:
According to the first position sequence in the position sequence, the corresponding national data base of the position sequence is determined;
In the national data base, according to the second position sequence in the position sequence, determine that the position sequence is corresponding Operator database;
In the operator database, according to the third place sequence in the position sequence, the position sequence pair is obtained The ownership place answered.
4. the method according to claim 1, wherein the method also includes:
During constructing the ownership place database, the attribute information based on the multiple terminals obtained in real time is returned to existing Possession database is adjusted.
5. a kind of device of determining terminal SIM card ownership place, which is characterized in that described device includes:
First receiving module is at least taken in the ownership place inquiry request for receiving the ownership place inquiry request of terminal transmission Band is stored in the position sequence of the international mobile subscriber identity IMSI in terminal client identification module SIM card, the position-order Column include first position sequence, second position sequence and the third place sequence;
First obtains module, for obtaining the corresponding ownership place of the position sequence from the ownership place database constructed in advance, Include in the ownership place database position sequence range according to determined by the attribute information of multiple terminals and ownership place it Between corresponding relationship, the attribute information include at least position sequence and ownership place;
Sending module, for the corresponding ownership place of the position sequence to be sent to the terminal;
Described device further include:
Second receiving module, the attribute information sent for receiving multiple test terminals;
First division module, for according to first position sequence, the attribute information of multiple test terminals to be divided into different states In family's database;
Second division module is used in same national data base, according to second position sequence, by the attributes of multiple test terminals Information is divided into different operator databases;
Second obtains module, for obtaining the corresponding the third place sequence model of each ownership place in same operator database It encloses;
Composite module obtains every for first position sequence, second position sequence and the third place sequence context to be combined The corresponding position sequence range of a ownership place;
Module is constructed, for the corresponding relationship based on each ownership place Yu position sequence range, constructs ownership place database.
6. device according to claim 5, which is characterized in that the first position sequence is used to distinguish different countries, The second position sequence for distinguishing different operators, distributed by operator by the third place sequence, for distinguishing not Same region.
7. device according to claim 5, which is characterized in that described first obtains module, for according to the position-order First position sequence in column determines the corresponding national data base of the position sequence;In the national data base, according to institute The second position sequence in position sequence is stated, determines the corresponding operator database of the position sequence;In the operation quotient According in library, according to the third place sequence in the position sequence, the corresponding ownership place of the position sequence is obtained.
8. device according to claim 5, which is characterized in that described device further include:
Module is adjusted, the attribute based on the multiple terminals obtained in real time during constructing the ownership place database is used for Information is adjusted existing ownership place database.
CN201510202634.XA 2015-04-27 2015-04-27 Determine the method and device of terminal SIM card ownership place Active CN106162617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510202634.XA CN106162617B (en) 2015-04-27 2015-04-27 Determine the method and device of terminal SIM card ownership place

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510202634.XA CN106162617B (en) 2015-04-27 2015-04-27 Determine the method and device of terminal SIM card ownership place

Publications (2)

Publication Number Publication Date
CN106162617A CN106162617A (en) 2016-11-23
CN106162617B true CN106162617B (en) 2019-07-05

Family

ID=57346929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510202634.XA Active CN106162617B (en) 2015-04-27 2015-04-27 Determine the method and device of terminal SIM card ownership place

Country Status (1)

Country Link
CN (1) CN106162617B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925062A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Network access method, device and system
CN103108313A (en) * 2013-01-31 2013-05-15 北京小米科技有限责任公司 Method and device of acquiring short message center number
CN104219258A (en) * 2013-05-29 2014-12-17 腾讯科技(深圳)有限公司 Method and system of real-time query of number attribution as well as terminal and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925062A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Network access method, device and system
CN103108313A (en) * 2013-01-31 2013-05-15 北京小米科技有限责任公司 Method and device of acquiring short message center number
CN104219258A (en) * 2013-05-29 2014-12-17 腾讯科技(深圳)有限公司 Method and system of real-time query of number attribution as well as terminal and server

Also Published As

Publication number Publication date
CN106162617A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN110337059B (en) Analysis algorithm, server and network system for family relationship of user
EP3235301B1 (en) Sim selection
CN104869615B (en) Network access method and mobile communication terminal
US8364205B2 (en) Mobile phone and method for selecting a SIM card
CN104837180B (en) A kind of the roaming method for searching network and device of smart phone
US9305110B2 (en) Method and arrangement for supporting analysis of social networks in a communication network
CN105898085B (en) Harass recognition methods and the device of communications account
CN106171019B (en) Determine the method, apparatus, terminal and server of terminal roaming status
CN108282845A (en) A kind of method for network access and mobile communication terminal
CN105959934A (en) Repeated network access identification method and system
CN108718457A (en) Network reselection method, device, chip and storage medium
CN108769184B (en) Early warning method for automatically judging personal safety of patrolman
CN104244223A (en) Method and device for querying contact people
CN104348941B (en) A kind of method and device for searching expectation user using cell phone address book
US8311535B2 (en) Method for controlling information trace and core network element
CN102014364A (en) Semiautomatic charging accuracy testing method based on virtual call test
US20150201055A1 (en) Telephone dialing device and method for automatic conversion
CN108243631B (en) Network access method and equipment
CN101646200A (en) Method for collecting user experience data and terminal
CN104184871A (en) Method and device for prompting crank call number
CN109195203A (en) Method for parameter configuration, device, terminal and the storage medium of WLAN
CN104506743A (en) Method and device for dynamically intercepting call
CN106162617B (en) Determine the method and device of terminal SIM card ownership place
WO2017185409A1 (en) Management method and device for mobile terminal phone cards, and computer-readable storage medium
WO2011140885A1 (en) Method and device for identifying group-based machine-type communication (mtc) device

Legal Events

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