CN104219258A - Method and system of real-time query of number attribution as well as terminal and server - Google Patents

Method and system of real-time query of number attribution as well as terminal and server Download PDF

Info

Publication number
CN104219258A
CN104219258A CN201310207236.8A CN201310207236A CN104219258A CN 104219258 A CN104219258 A CN 104219258A CN 201310207236 A CN201310207236 A CN 201310207236A CN 104219258 A CN104219258 A CN 104219258A
Authority
CN
China
Prior art keywords
ownership place
server
terminal
data packets
new data
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.)
Pending
Application number
CN201310207236.8A
Other languages
Chinese (zh)
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 CN201310207236.8A priority Critical patent/CN104219258A/en
Publication of CN104219258A publication Critical patent/CN104219258A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and a system of real-time query of a number attribution as well as a terminal and a server, belonging to the field of computer technologies. The method comprises the following steps that an attribution updating data packet transmitted by a server is received, and the attribution updating data packet is obtained after an attribution data packet pre-stored by the server is updated by the server; an attribution data packet pre-stored by the terminal is updated according to the attribution updating data packet; and the attribution information of a number is queried according to the updated attribution updating data packet. The terminal comprises a first receiving module, a first updating module and a query module. The server comprises a second updating module and a third transmitting module. The system comprises the terminal and the server. The method and the system of real-time query of the number attribution as well as the terminal and the server solve the problems that the attribution updating data packet is only updated when a new version of a supervisory program is installed, so that the supervisory program cannot update the attribution data packet timely, and accuracy of query of the number attribution is reduced, and thus the effect of improving accuracy of query of the number attribution is achieved.

Description

The Query method in real time of number attribution, terminal, server and system
Technical field
The present invention relates to field of computer technology, particularly a kind of Query method in real time of number attribution, terminal, server and system.
Background technology
Along with the development of development of Mobile Internet technology, the phenomenon that user carries out communication by terminal and stranger is more and more general.In order to confirm the validity of the identity of communication object, improve communication security, user needs to be inquired about by additional informations such as the information of home location of the number to stranger, and determines whether to carry out communication with this stranger according to Query Result.Wherein, information of home location is the information of number location.
Prior art provides a kind of hypervisor, and this hypervisor is applied in terminal, and the information of home location that can check numbers is inquired about.The Query method in real time of the number attribution that this hypervisor provides comprises: in the development phase of hypervisor, packs ownership place packet in the installation kit of this hypervisor, so that when installing this hypervisor, reads this ownership place packet.In the operation phase of hypervisor, hypervisor can obtain number to be checked, detect the information of home location that whether there is this number in ownership place packet, if testing result is the information of home location that there is this number in ownership place packet, then the area that this information of home location identifies is defined as the ownership place of this number.Wherein, the corresponding relation between number and information of home location is prestored in ownership place packet.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Along with the granting of new digit, also can the corresponding relation between new digit and information of home location be upgraded in ownership place packet.Because ownership place packet is packed in the installation kit of hypervisor, therefore, the ownership place packet after renewal can be packed in the installation kit of the hypervisor of redaction, after the hypervisor of installing redaction, carry out the renewal of ownership place packet.
Because the granting of new digit is more frequent, and the construction cycle of hypervisor is longer, make the renewal frequency of ownership place packet far away higher than the renewal frequency of hypervisor, and ownership place more new data packets only install redaction hypervisor time upgrade, hypervisor cannot be upgraded in time ownership place packet, reduce the accuracy of the real-time query of number attribution.
Summary of the invention
In order to solve ownership place more new data packets only install redaction hypervisor time upgrade, hypervisor cannot be upgraded in time ownership place packet, reduce the problem of the accuracy of the real-time query of number attribution, embodiments provide a kind of Query method in real time of number attribution, terminal, server and system.Described technical scheme is as follows:
First aspect, embodiments provides a kind of Query method in real time of number attribution, and described method comprises:
The ownership place more new data packets that reception server sends, described ownership place more new data packets obtains after being upgraded the ownership place packet that described server prestores by described server;
According to described ownership place more new data packets the described ownership place packet that terminal prestores is upgraded;
Inquire about according to the information of home location that the ownership place packet after upgrading is checked numbers.
Second aspect, embodiments provides a kind of Query method in real time of number attribution, and described method comprises:
The ownership place packet that server prestores is upgraded, obtains ownership place more new data packets;
Described ownership place be upgraded Packet Generation to terminal, so that described terminal receives described ownership place more new data packets, after according to described ownership place, more new data packets upgrades the described ownership place packet that described terminal prestores, inquire about according to the information of home location that the ownership place packet after upgrading is checked numbers.
The third aspect, embodiments provides a kind of terminal, and described terminal comprises:
First receiver module, for the ownership place more new data packets that reception server sends, described ownership place more new data packets obtains after being upgraded the ownership place packet that described server prestores by described server;
First update module, for the described ownership place that receives according to described first receiver module more new data packets the described ownership place packet that terminal prestores is upgraded;
Enquiry module, inquires about for the information of home location of checking numbers according to the ownership place packet after the renewal of described first update module renewal.
Fourth aspect, embodiments provides a kind of server, and described server comprises:
Second update module, upgrades for the ownership place packet prestored to server, obtains ownership place more new data packets;
3rd sending module, described ownership place for described second update module being upgraded upgrades Packet Generation to terminal, so that described terminal receives described ownership place more new data packets, after according to described ownership place, more new data packets upgrades the described ownership place packet that described terminal prestores, inquire about according to the information of home location that the ownership place packet after upgrading is checked numbers.
5th aspect, embodiments provides a kind of real time inquiry system of number attribution, and described system comprises: terminal and server, and described terminal and described server carry out data interaction;
Described terminal is the terminal as described in the third aspect;
Described server is the server as described in fourth aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The ownership place sent by reception server more new data packets, described ownership place more new data packets obtains after being upgraded the ownership place packet that described server prestores by described server; According to described ownership place more new data packets the described ownership place packet that terminal prestores is upgraded; Inquire about according to the information of home location that the described ownership place packet after upgrading is checked numbers, solve ownership place more new data packets only install redaction hypervisor time upgrade, hypervisor cannot be upgraded in time ownership place packet, reduce the problem of the accuracy of the real-time query of number attribution, reach the effect of the accuracy of the real-time query improving number attribution.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the Query method in real time of the number attribution that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of the Query method in real time of the number attribution that the embodiment of the present invention two provides;
Fig. 3 is the structural representation of the real time inquiry system of the number attribution that the embodiment of the present invention three provides;
Fig. 4 is the structural representation of the real time inquiry system of the number attribution that the embodiment of the present invention four provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Please refer to Fig. 1, it illustrates the method flow diagram of the Query method in real time of the number attribution that the embodiment of the present invention one provides, the Query method in real time of this number attribution can be applied in the system comprising terminal and server, and terminal can carry out data interaction with server.This terminal can be intelligent television, smart mobile phone or panel computer etc.The Query method in real time of this number attribution, comprising:
Step 101, server upgrades the ownership place packet that server prestores, and obtains ownership place more new data packets;
Wherein, in ownership place packet, prestore the corresponding relation between number and information of home location, can be used for the information of home location of enquiry number.
Prestore ownership place packet in server, then server can upgrade this ownership place packet, obtains ownership place more new data packets.
Step 102, ownership place is upgraded Packet Generation to terminal by server;
Ownership place can be upgraded Packet Generation to terminal by server so that terminal receives this ownership place more new data packets, and to this ownership place more new data packets process.
Step 103, the ownership place more new data packets that terminal reception server sends, this ownership place more new data packets obtains after being upgraded the ownership place packet that server prestores by server;
Step 104, terminal according to ownership place more new data packets the ownership place packet that terminal prestores is upgraded;
Prestore ownership place packet in terminal, this ownership place packet is identical with the ownership place packet prestored in server.Ownership place packet, receiving ownership place more after new data packets, can be replaced with ownership place more new data packets by terminal, thus realizes the renewal to ownership place packet.
Step 105, the information of home location that terminal is checked numbers according to the ownership place packet after renewal is inquired about.
Terminal can obtain number to be checked, detects the information of home location that whether there is this number in the ownership place packet after upgrading; If testing result is the information of home location that there is this number in the ownership place packet after upgrading, then the area that this information of home location identifies is defined as the ownership place of this number.
In sum, the Query method in real time of the number attribution that the embodiment of the present invention provides, the ownership place sent by reception server more new data packets, described ownership place more new data packets obtains after being upgraded the ownership place packet that described server prestores by described server; According to described ownership place more new data packets the described ownership place packet that terminal prestores is upgraded; Inquire about according to the information of home location that the described ownership place packet after upgrading is checked numbers, solve ownership place more new data packets only install redaction hypervisor time upgrade, hypervisor cannot be upgraded in time ownership place packet, reduce the problem of the accuracy of the real-time query of number attribution, reach the effect of the accuracy of the real-time query improving number attribution.
Embodiment two
Please refer to Fig. 2, it illustrates the method flow diagram of the Query method in real time of the number attribution that the embodiment of the present invention two provides, the Query method in real time of this number attribution can be applied in the system of the server comprising terminal, and terminal can carry out data interaction with server.This terminal can be intelligent television, smart mobile phone or panel computer etc.The Query method in real time of this number attribution, comprising:
Step 201, terminal collects the unknown number of ownership place the unknown;
Unknown number refers to the number of ownership place the unknown.Because terminal can not provide the ownership place of this number, make the communication between terminal and this number there is potential safety hazard, therefore, terminal can be collected this unknown number, and processes the unknown number collected.
Particularly, collect the unknown number of ownership place the unknown, can comprise:
Obtain number to be checked;
Detect the information of home location that whether there is number to be checked in ownership place packet;
If testing result is there is not information of home location in ownership place packet, then number to be checked is defined as the unknown number of ownership place the unknown.
The method that terminal obtains number to be checked has a variety of, such as, when terminal receives the incoming call of stranger, the number of this stranger is defined as number to be checked; Or, when terminal receives the note of stranger, the number of this stranger is defined as number to be checked; Or terminal can receive the number of user's input, and this number is defined as number etc. to be checked, and the present embodiment is not construed as limiting.
Owing to prestoring ownership place packet in terminal, therefore, terminal can detect the information of home location that whether there is this number to be checked in ownership place packet, if there is the information of home location of this number to be checked, then terminal shows this information of home location, so that the safety of the communication between user's ownership place determination terminal that can identify according to this information of home location and this number; If there is not the information of home location of this number to be checked, then this number to be checked can be defined as unknown number.Wherein, ownership place packet can be downloaded from server, and also can be built-in in the installation kit of program, the present embodiment be not construed as limiting.
Further, number section of number can also be set, and in ownership place packet the corresponding relation of storage section and information of home location.Length due to number section is less than the length of number, therefore, a number section can correspond to multiple number, make the corresponding relation of the plurality of number and information of home location can the corresponding relation of the number of being reduced to section and information of home location, thus reduce the size of ownership place packet, save the memory space shared by ownership place packet.
The present embodiment is described for the phone number of 11 " 12345678912 ", then number section can be front 7 of this number is " 1234567 ".The information of home location supposing this number is " Jiangsu ", then first 7 of number is " 1234567 " institute's number information of home location is in " Jiangsu ".
Step 202, unknown number is sent to server by terminal;
The unknown number collected can be sent to server by terminal, after server receives unknown number, to upgrade ownership place packet according to unknown number.
Send the efficiency of unknown number to improve terminal, terminal can also collect at least one unknown number, and this at least one unknown number is sent to server together, thus saves the problem that terminal sends the wasting of resources that unknown number causes in real time.
Particularly, unknown number is sent to server, can comprise:
Every predetermined time interval, at least one unknown number that the last interval time collected in section is sent to server.
Terminal can arrange an initial time, and starts timing, after reaching the duration of default time period, at least one unknown number that this interval time collected in section is sent to server at timing duration.Further, terminal can using delivery time as next initial time, thus realize sending unknown number every the scheduled time to server.
Such as, initial time is 7 points, duration is 1 hour, then terminal 8 time by 7 o'clock to 8 o'clock between at least one unknown number of collecting send to server, again using 8 as next initial time, then terminal 9 time by 8 o'clock to 9 o'clock between at least one unknown number of collecting send to server.
Step 203, the unknown number of ownership place the unknown that server receiving terminal sends;
Can be connected by cable network or wireless network between terminal with server, and carry out data interaction, the present embodiment not Limited service device to the receive mode of the unknown number that terminal sends.
Step 204, server upgrades ownership place packet according to unknown number, obtains ownership place more new data packets;
Prestore ownership place packet in server, then server can upgrade this ownership place packet, obtains ownership place more new data packets.
Particularly, according to unknown number, ownership place packet is upgraded, obtains ownership place more new data packets, can comprise:
To the information of home location of data source request unknown number;
The corresponding relation of unknown number and information of home location is added in ownership place packet, obtains ownership place more new data packets.
Operator is when providing new number, can upgrade the corresponding relation of number new in data source and information of home location, so that after server receives unknown number, can to the information of home location of this unknown number of data source request, and will the corresponding relation of unknown number and the information of home location obtained be asked to add in ownership place packet, obtain ownership place more new data packets, thus realize the renewal to ownership place packet.
Wherein, server can regularly upgrade ownership place packet, also can upgrade ownership place packet after receiving triggering signal, and the present embodiment not Limited service device upgrades the renewal opportunity of ownership place packet.
Preferably, server can receive the unknown number that at least one terminal sends, and upgrade ownership place packet according to the unknown number that this at least one terminal sends, make ownership place more new data packets be applicable at least one terminal, expand the scope of application of ownership place more new data packets.
Step 205, ownership place is upgraded Packet Generation to terminal by server;
Ownership place can be upgraded Packet Generation to terminal by server so that terminal receives this ownership place more new data packets, and to this ownership place more new data packets process.
Further, ownership place is upgraded Packet Generation to before terminal, can also comprise:
The update request that receiving terminal sends, this update request is for triggering the transmission to ownership place more new data packets.
In the present embodiment, ownership place timing can be upgraded Packet Generation to terminal by server, or, in order to save the taking server resource that the server monitoring time causes, server can also after the update request receiving terminal transmission, ownership place is upgraded Packet Generation to terminal, the present embodiment not Limited service device upgrades Packet Generation to the transmission opportunity of terminal to ownership place.In addition, can be connected, and carry out data interaction between terminal with server by cable network or wireless network, ownership place is upgraded Packet Generation to the send mode of terminal by the present embodiment not Limited service device.
Step 206, the ownership place more new data packets that terminal reception server sends, this ownership place more new data packets obtains after being upgraded the ownership place packet that server prestores by server;
Because server can send ownership place more new data packets after receiving the update request that terminal sends, therefore, accordingly, the ownership place that reception server sends, more before new data packets, can also comprise:
Send update request to server, this update request is used for trigger server and sends ownership place more new data packets.
Step 207, terminal according to ownership place more new data packets the ownership place packet that terminal prestores is upgraded;
Prestore ownership place packet in terminal, this ownership place packet is identical with the ownership place packet prestored in server.Ownership place packet, receiving ownership place more after new data packets, can be replaced with ownership place more new data packets by terminal, thus realizes the renewal to ownership place packet.
Step 208, the information of home location that terminal is checked numbers according to the ownership place packet after renewal is inquired about.
Terminal can obtain number to be checked, detects the information of home location that whether there is this number in the ownership place packet after upgrading.If testing result is the information of home location that there is this number in the ownership place packet after upgrading, then the area that this information of home location identifies is defined as the ownership place of this number; If testing result is the information of home location that there is not this number in the ownership place packet after upgrading, then this number to be checked is defined as unknown number, continues to perform step 201.
In sum, the Query method in real time of the number attribution that the embodiment of the present invention provides, the ownership place sent by reception server more new data packets, described ownership place more new data packets obtains after being upgraded the ownership place packet that described server prestores by described server; According to described ownership place more new data packets the described ownership place packet that terminal prestores is upgraded; Inquire about according to the information of home location that the described ownership place packet after upgrading is checked numbers, solve ownership place more new data packets only install redaction hypervisor time upgrade, hypervisor cannot be upgraded in time ownership place packet, reduce the problem of the accuracy of the real-time query of number attribution, reach the effect of the accuracy of the real-time query improving number attribution.In addition, by collecting the unknown number of ownership place the unknown, described unknown number is sent to server, so that after described server receives described unknown number, according to described unknown number, described ownership place packet is upgraded, make the information of home location comprising described unknown number in the ownership place packet after upgrading, solve server when not upgrading ownership place packet according to the unknown number of terminal, the problem of the information of home location of the unknown number of terminal is not comprised in ownership place packet after renewal, reach the effect of the efficiency of the real-time query improving number attribution.
Embodiment three
Please refer to Fig. 3, it illustrates the structural framing figure of the real time inquiry system of the number attribution that the embodiment of the present invention three provides, the real time inquiry system of this number attribution can comprise terminal and server, and terminal can carry out data interaction with server.This terminal can be intelligent television, smart mobile phone or panel computer etc.Terminal comprises: the first receiver module 310, first update module 320 and enquiry module 330; Server comprises: the second update module 410 and the 3rd sending module 420.
Second update module 410, upgrades for the ownership place packet prestored to server, obtains ownership place more new data packets;
3rd sending module 420, ownership place for the second update module 410 being upgraded upgrades Packet Generation to terminal, so that terminal receives ownership place more new data packets, after according to ownership place, more new data packets upgrades the ownership place packet that terminal prestores, inquire about according to the information of home location that the ownership place packet after upgrading is checked numbers.
First receiver module 310, for the ownership place more new data packets that reception server sends, ownership place more new data packets obtains after being upgraded the ownership place packet that server prestores by server;
First update module 320, for the ownership place that receives according to the first receiver module 310 more new data packets the ownership place packet that terminal prestores is upgraded;
Enquiry module 330, inquires about for the information of home location of checking numbers according to the ownership place packet after the renewal of the first update module 320 renewal.
In sum, the real time inquiry system of the number attribution that the embodiment of the present invention provides, the ownership place sent by reception server more new data packets, described ownership place more new data packets obtains after being upgraded the ownership place packet that server prestores by described server; According to described ownership place more new data packets the described ownership place packet that terminal prestores is upgraded; Inquire about according to the information of home location that the described ownership place packet after upgrading is checked numbers, solve ownership place more new data packets only install redaction hypervisor time upgrade, hypervisor cannot be upgraded in time ownership place packet, reduce the problem of the accuracy of the real-time query of number attribution, reach the effect of the accuracy of the real-time query improving number attribution.
Embodiment four
Please refer to Fig. 4, it illustrates the structural framing figure of the real time inquiry system of the number attribution that the embodiment of the present invention four provides, the real time inquiry system of this number attribution can comprise terminal and server, and terminal can carry out data interaction with server.This terminal can be intelligent television, smart mobile phone or panel computer etc.Terminal comprises: the first receiver module 310, first update module 320 and enquiry module 330; Server comprises: the second update module 410 and the 3rd sending module 420.
Second update module 410, upgrades for the ownership place packet prestored to server, obtains ownership place more new data packets;
3rd sending module 420, ownership place for the second update module 410 being upgraded upgrades Packet Generation to terminal, so that terminal receives ownership place more new data packets, after according to ownership place, more new data packets upgrades the ownership place packet that terminal prestores, inquire about according to the information of home location that the ownership place packet after upgrading is checked numbers.
First receiver module 310, for the ownership place more new data packets that reception server sends, ownership place more new data packets obtains after being upgraded the ownership place packet that server prestores by server;
First update module 320, for the ownership place that receives according to the first receiver module 310 more new data packets the ownership place packet that terminal prestores is upgraded;
Enquiry module 330, inquires about for the information of home location of checking numbers according to the ownership place packet after the renewal of the first update module 320 renewal.
Further, terminal can also comprise:
Collect module 340, the ownership place sent for the first receiver module 310 reception server, more before new data packets, collects the unknown number of ownership place the unknown;
First sending module 350, for sending to server by collecting the unknown number collected of module 340, after server receives unknown number, to upgrade ownership place packet according to unknown number;
Accordingly, server can also comprise:
Second receiver module 430, before the ownership place packet prestored for the second update module 410 pairs of servers upgrades, the unknown number of ownership place the unknown that receiving terminal sends;
Second update module 410, upgrades ownership place packet specifically for the unknown number received according to the second receiver module 430, obtains ownership place more new data packets.
Further, the first sending module 350, specifically for sending to server every predetermined time interval by least one unknown number that the last interval time collected in section.
Further, collect module 340, can comprise:
Acquiring unit 341, for obtaining number to be checked;
Detecting unit 342, for detecting in ownership place packet the information of home location that whether there is the number to be checked that acquiring unit 341 gets;
Determining unit 343, if be there is not information of home location in ownership place packet for the result of detecting unit 342 detection, is then defined as the unknown number of ownership place the unknown by number to be checked.
Further, terminal can also comprise:
Second sending module 360, the ownership place sent for the first receiver module 310 reception server is more before new data packets, and send update request to server, update request is used for trigger server and sends ownership place more new data packets.
Accordingly, server can also comprise:
3rd receiver module 440, upgrades Packet Generation to before terminal for the 3rd sending module 420 by ownership place, the update request that receiving terminal sends, and update request is for triggering the transmission to ownership place more new data packets.
Further, the second update module 410, can comprise:
Request unit 411, for the information of home location to data source request unknown number;
Adding device 412, the corresponding relation for the information of home location of unknown number and request unit 411 being asked adds in ownership place packet, obtains ownership place more new data packets.
In sum, the real time inquiry system of the number attribution that the embodiment of the present invention provides, the ownership place sent by reception server more new data packets, described ownership place more new data packets obtains after being upgraded the ownership place packet that server prestores by described server; According to described ownership place more new data packets the described ownership place packet that terminal prestores is upgraded; Inquire about according to the information of home location that the described ownership place packet after upgrading is checked numbers, solve ownership place more new data packets only install redaction hypervisor time upgrade, hypervisor cannot be upgraded in time ownership place packet, reduce the problem of the accuracy of the real-time query of number attribution, reach the effect of the accuracy of the real-time query improving number attribution.In addition, by collecting the unknown number of ownership place the unknown, described unknown number is sent to server, so that after described server receives described unknown number, according to described unknown number, described ownership place packet is upgraded, make the information of home location comprising described unknown number in the ownership place packet after upgrading, solve server when not upgrading ownership place packet according to the unknown number of terminal, the problem of the information of home location of the unknown number of terminal is not comprised in ownership place packet after renewal, reach the effect of the efficiency of the real-time query improving number attribution.
It should be noted that: the real time inquiry system of the terminal that above-described embodiment provides, server and number attribution is when carrying out the real-time query of number attribution, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by the real time inquiry system of terminal, server and number attribution is divided into different functional modules, to complete all or part of function described above.In addition, the real time inquiry system of the terminal that above-described embodiment provides, server and number attribution and the Query method in real time embodiment of number attribution belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (19)

1. a Query method in real time for number attribution, is characterized in that, described method comprises:
The ownership place more new data packets that reception server sends, described ownership place more new data packets obtains after being upgraded the ownership place packet that described server prestores by described server;
According to described ownership place more new data packets the described ownership place packet that terminal prestores is upgraded;
Inquire about according to the information of home location that the ownership place packet after upgrading is checked numbers.
2. the Query method in real time of number attribution according to claim 1, is characterized in that, the ownership place that described reception server sends, more before new data packets, also comprises:
Collect the unknown number of ownership place the unknown;
Described unknown number is sent to described server, after described server receives described unknown number, to upgrade described ownership place packet according to described unknown number.
3. the Query method in real time of number attribution according to claim 2, is characterized in that, described described unknown number is sent to described server, comprising:
The last interval time was collected in section every predetermined time interval at least one described in unknown number send to described server.
4. the Query method in real time of number attribution according to claim 2, is characterized in that, the unknown number of described collection ownership place the unknown, comprising:
Obtain number to be checked;
Detect the information of home location that whether there is described number to be checked in described ownership place packet;
If testing result is there is not described information of home location in described ownership place packet, then described number to be checked is defined as the unknown number of described ownership place the unknown.
5. according to the Query method in real time of the arbitrary described number attribution of Claims 1-4, it is characterized in that, the ownership place that described reception server sends, more before new data packets, also comprises:
Send update request to described server, described update request sends described ownership place more new data packets for triggering described server.
6. a Query method in real time for number attribution, is characterized in that, described method comprises:
The ownership place packet that server prestores is upgraded, obtains ownership place more new data packets;
Described ownership place be upgraded Packet Generation to terminal, so that described terminal receives described ownership place more new data packets, after according to described ownership place, more new data packets upgrades the described ownership place packet that described terminal prestores, inquire about according to the information of home location that the ownership place packet after upgrading is checked numbers.
7. the Query method in real time of number attribution according to claim 6, is characterized in that, before the described ownership place packet prestored to server upgrades, also comprises:
The unknown number of ownership place the unknown that receiving terminal sends;
Described the ownership place packet that server prestores to be upgraded, obtains ownership place more new data packets, comprising:
According to described unknown number, described ownership place packet is upgraded, obtain described ownership place more new data packets.
8. the Query method in real time of number attribution according to claim 7, is characterized in that, describedly upgrades described ownership place packet according to described unknown number, obtains described ownership place more new data packets, comprising:
To the information of home location of unknown number described in data source request;
The corresponding relation of described unknown number and described information of home location is added in described ownership place packet, obtains described ownership place more new data packets.
9. according to the Query method in real time of the arbitrary described number attribution of claim 6 to 8, it is characterized in that, described described ownership place upgraded Packet Generation to before terminal, also comprise:
Receive the update request that described terminal sends, described update request is for triggering the transmission to described ownership place more new data packets.
10. a terminal, is characterized in that, described terminal comprises:
First receiver module, for the ownership place more new data packets that reception server sends, described ownership place more new data packets obtains after being upgraded the ownership place packet that described server prestores by described server;
First update module, for the described ownership place that receives according to described first receiver module more new data packets the described ownership place packet that terminal prestores is upgraded;
Enquiry module, inquires about for the information of home location of checking numbers according to the ownership place packet after the renewal of described first update module renewal.
11. terminals according to claim 10, is characterized in that, described terminal also comprises:
Collect module, the ownership place sent for described first receiver module reception server, more before new data packets, collects the unknown number of ownership place the unknown;
First sending module, sends to described server for the described unknown number described collection module collected, after described server receives described unknown number, to upgrade described ownership place packet according to described unknown number.
12. terminals according to claim 11, is characterized in that, described first sending module, specifically for every predetermined time interval, the last interval time was collected in section at least one described in unknown number send to described server.
13. terminals according to claim 11, is characterized in that, described collection module, comprising:
Acquiring unit, for obtaining number to be checked;
Detecting unit, for detecting in described ownership place packet the information of home location that whether there is the number described to be checked that described acquiring unit gets;
Determining unit, if be there is not described information of home location in described ownership place packet for the result of described detecting unit detection, is then defined as the unknown number of described ownership place the unknown by described number to be checked.
14. according to claim 10 to 13 arbitrary described terminals, and it is characterized in that, described terminal also comprises:
Second sending module, the ownership place sent for described first receiver module reception server is more before new data packets, and send update request to described server, described update request sends described ownership place more new data packets for triggering described server.
15. 1 kinds of servers, is characterized in that, described server comprises:
Second update module, upgrades for the ownership place packet prestored to server, obtains ownership place more new data packets;
3rd sending module, described ownership place for described second update module being upgraded upgrades Packet Generation to terminal, so that described terminal receives described ownership place more new data packets, after according to described ownership place, more new data packets upgrades the described ownership place packet that described terminal prestores, inquire about according to the information of home location that the ownership place packet after upgrading is checked numbers.
16. servers according to claim 15, is characterized in that, described server also comprises:
Second receiver module, before for described second update module the ownership place packet that server prestores being upgraded, the unknown number of ownership place the unknown that receiving terminal sends;
Described second update module, upgrades described ownership place packet specifically for the described unknown number received according to described second receiver module, obtains described ownership place more new data packets.
17. servers according to claim 16, is characterized in that, described second update module, comprising:
Request unit, for the information of home location to unknown number described in data source request;
Adding device, for by described unknown number and described request unit requests to the corresponding relation of described information of home location add in described ownership place packet, obtain described ownership place more new data packets.
18. according to claim 15 to 17 arbitrary described servers, and it is characterized in that, described server also comprises:
3rd receiver module, upgrades Packet Generation to before terminal for described 3rd sending module by described ownership place, receives the update request that described terminal sends, and described update request is for triggering the transmission to described ownership place more new data packets.
The real time inquiry system of 19. 1 kinds of number attributions, is characterized in that, described system comprises: terminal and server, and described terminal and described server carry out data interaction;
Described terminal be as arbitrary in claim 10 to 14 as described in terminal;
Described server be as arbitrary in claim 15 to 18 as described in server.
CN201310207236.8A 2013-05-29 2013-05-29 Method and system of real-time query of number attribution as well as terminal and server Pending CN104219258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310207236.8A CN104219258A (en) 2013-05-29 2013-05-29 Method and system of real-time query of number attribution as well as terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310207236.8A CN104219258A (en) 2013-05-29 2013-05-29 Method and system of real-time query of number attribution as well as terminal and server

Publications (1)

Publication Number Publication Date
CN104219258A true CN104219258A (en) 2014-12-17

Family

ID=52100391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310207236.8A Pending CN104219258A (en) 2013-05-29 2013-05-29 Method and system of real-time query of number attribution as well as terminal and server

Country Status (1)

Country Link
CN (1) CN104219258A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162617A (en) * 2015-04-27 2016-11-23 腾讯科技(深圳)有限公司 Determine the method and device of terminal SIM ownership place
CN106657425A (en) * 2015-11-03 2017-05-10 王正伟 Automatic finding method of residence code
CN110418330A (en) * 2019-07-26 2019-11-05 苏州蜗牛数字科技股份有限公司 A kind of number attribution updates the method and apparatus of verification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001041463A1 (en) * 1999-12-01 2001-06-07 Telefonaktiebolaget Lm Ericsson (Publ) System and method relating to private telecommunication systems
CN1984178A (en) * 2006-05-13 2007-06-20 华为技术有限公司 Method for automatically displaying and quering home and mobile terminal
CN101365244A (en) * 2008-05-21 2009-02-11 德信无线通讯科技(北京)有限公司 Method for displaying homing address of calling number
CN101582949A (en) * 2009-07-02 2009-11-18 优视动景(北京)技术服务有限公司 Management system for displaying mobile phone number attribution
CN103024731A (en) * 2012-11-21 2013-04-03 北京小米科技有限责任公司 Method for determining number attribution, server and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001041463A1 (en) * 1999-12-01 2001-06-07 Telefonaktiebolaget Lm Ericsson (Publ) System and method relating to private telecommunication systems
CN1984178A (en) * 2006-05-13 2007-06-20 华为技术有限公司 Method for automatically displaying and quering home and mobile terminal
CN101365244A (en) * 2008-05-21 2009-02-11 德信无线通讯科技(北京)有限公司 Method for displaying homing address of calling number
CN101582949A (en) * 2009-07-02 2009-11-18 优视动景(北京)技术服务有限公司 Management system for displaying mobile phone number attribution
CN103024731A (en) * 2012-11-21 2013-04-03 北京小米科技有限责任公司 Method for determining number attribution, server and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162617A (en) * 2015-04-27 2016-11-23 腾讯科技(深圳)有限公司 Determine the method and device of terminal SIM ownership place
CN106162617B (en) * 2015-04-27 2019-07-05 腾讯科技(深圳)有限公司 Determine the method and device of terminal SIM card ownership place
CN106657425A (en) * 2015-11-03 2017-05-10 王正伟 Automatic finding method of residence code
CN110418330A (en) * 2019-07-26 2019-11-05 苏州蜗牛数字科技股份有限公司 A kind of number attribution updates the method and apparatus of verification

Similar Documents

Publication Publication Date Title
CN104142862B (en) The overload protection method of server and device
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
CN107277029B (en) Remote procedure call method and device and computer equipment
CN100527080C (en) Method for software program synchronization
CN101895668B (en) Set top box and family cloud computing method based on same
CN110149298B (en) Hijacking detection method and device
CN102761856B (en) Terminal room shares the methods, devices and systems of software
CN105471931A (en) Method, device and system for querying service data
CN110365704B (en) Equipment binding method and device and electronic equipment
CN113132185A (en) Equipment distribution network binding method and system, mobile terminal and storage medium
CN105354488A (en) Application installation method, related apparatus and application installation system
CN103888619A (en) Message processing method and system thereof
CN103970550A (en) Software updating prompting method and device for mobile terminal
CN103714289A (en) Method and device for determining mobile application antivirus results
CN104021141A (en) Method, device and system for data processing and cloud service
CN104714815A (en) Method for updating application software and device
CN106649640A (en) Instant search method and device
CN105653945A (en) Information processing method and device based on blacklist and electronic equipment
CN104683968A (en) Machine type communication application resource management method, node and system
CN105610878A (en) Directory uploading method, data releasing method, terminal and server
CN114401250A (en) Address allocation method and device
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN107479985B (en) Remote procedure call method and device and computer equipment
CN111209060A (en) Capability development platform processing method and device
CN110650503A (en) Network access method, device, system and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141217