CN107317935A - Telephone number query, display methods and device, cloud server and terminal device - Google Patents
Telephone number query, display methods and device, cloud server and terminal device Download PDFInfo
- Publication number
- CN107317935A CN107317935A CN201710549250.4A CN201710549250A CN107317935A CN 107317935 A CN107317935 A CN 107317935A CN 201710549250 A CN201710549250 A CN 201710549250A CN 107317935 A CN107317935 A CN 107317935A
- Authority
- CN
- China
- Prior art keywords
- telephone number
- information
- query
- category label
- label
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4552—Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of telephone number query method and device, display methods and device, cloud server and terminal device, the telephone number query method, applied to server, including:Telephone number query request is received, the telephone number carried in the inquiry request is obtained;Corresponding telephone number associated information is determined according to the telephone number;Return to telephone number query response.In the present invention, corresponding telephone number associated information is determined according to the telephone number of the telephone number query request carrying received, and send the telephone number associated information inquired, realize the telephone number associated information inquiry of the telephone number, allow the user to get the relevant information of the telephone number in time, whether be dangerous phone, so as to provide premise guarantee for the terminal safety in utilization of user if confirming the telephone number.
Description
Technical field
The present invention relates to communication technique field, more particularly to a kind of telephone number query method and device, display methods
And device, cloud server and terminal device.
Background technology
High speed development and the progress of the mankind with society, the communication exchange between people also becomes more to facilitate, suitable
Freely.Mobile phone has become indispensable part in people's life, in the prior art, mobile phone it is indispensable, although give
People bring facility, are also brought accordingly to criminal and propagate dangerous information, endanger public security, influence people normal
The channel of life.User is either connected to or dialed strange phone during using mobile phone, wish for unknown phone number
Whether be dangerous phone, the relevant information of the unknown phone number can not be especially grasped in time if being able to know that it in advance, may be because of
Dial the unknown phone number and influence normal life, itself is caused any property loss, or even constitute personal safety and threaten.
Therefore, in face of a unknown phone number, the relevant information of the unknown phone number how is grasped in time becomes current society
Can urgent problem to be solved.
The content of the invention
The present invention provides a kind of telephone number query method and device, display methods and device, cloud server and terminal
Equipment, whether to realize that user can get the relevant information of the telephone number in time, it is dangerous electricity to confirm the telephone number
Words, so as to provide premise guarantee for the terminal safety in utilization of user.
A kind of telephone number query method, applied to server, methods described includes:
Telephone number query request is received, the telephone number carried in the inquiry request is obtained;
Corresponding telephone number associated information is determined according to the telephone number;
Return to telephone number query response.
Preferably, the telephone number associated packet bracket code attaching information and/or label information, described in the basis
Telephone number determines corresponding telephone number associated information, including:
According to the telephone number query database, the corresponding number home information of the telephone number and/or mark are determined
Remember information.
Preferably, the number home packet includes number attribution and/or number home operator, described in the basis
Telephone number query database, determines the corresponding number home information of the telephone number, specifically includes:
The database according to the telephone number query, determine the corresponding number attribution of the telephone number and/or
Number home operator.
Preferably, the number attribution information specifically includes the specific ownership place of number, described according to the telephone number
The database is inquired about, the corresponding number attribution of the telephone number is determined, including:
The database according to the telephone number query, determines the specific ownership place of the corresponding number of the telephone number.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one, it is described according to the telephone number query database, determine the corresponding label information of the telephone number, specifically
Including:
The database according to the telephone number query, determines whether be stored with the database and the phone number
The corresponding word category label of code;
If being stored with, the word category label is chosen;
Its corresponding pattern classes mark and/or category label reason are chosen according to the word category label.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one, it is described according to the telephone number query database, determine the corresponding label information of the telephone number, specifically
Including:
The database according to the telephone number query, determines whether be stored with the database and the phone number
The corresponding pattern classes mark of code;
If being stored with, the pattern classes mark is chosen;
Its corresponding word category label and/or category label reason are chosen according to pattern classes mark.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one, it is described according to the telephone number query database, determine the corresponding label information of the telephone number, specifically
Including:
The database according to the telephone number query, determines whether be stored with the database and the phone number
The corresponding category label reason of code;
If being stored with, the category label reason is chosen;
Its corresponding word category label and/or pattern classes mark is chosen according to the category label reason.
Preferably, after the word category label is chosen, in addition to:
It is determined that the selected corresponding safe class of word category label;
And if when have chosen pattern classes mark, the figure is chosen according to the corresponding safe class of the word category label
The corresponding background colour of shape category label.
Preferably, it is described that corresponding telephone number associated information is determined according to the telephone number, in addition to::
Telephone number digit is determined according to the telephone number;
Database is inquired about according to the telephone number digit, determines whether the telephone number digit reaches predetermined threshold value;
If reaching, corresponding telephone number associated information is determined;Otherwise, it is impossible to determine the corresponding phone of the telephone number
Number-associated information.
Preferably, the return telephone number query response, is specifically included:
When it is determined that after the telephone number corresponding telephone number associated information, being taken in the telephone number query response of return
With the corresponding telephone number associated information of the telephone number;
When the corresponding telephone number associated information of the telephone number can not be determined, the telephone number query response of return
In carry and described can not determine the corresponding telephone number associated information of the telephone number.
Present invention also offers a kind of number display method, applied to mobile terminal, methods described includes:
Receive the telephone number of user's input;
Send the telephone number that user's input is carried in telephone number query request, the inquiry request;
Receive telephone number query response;
Obtain the corresponding telephone number associated information of the telephone number carried in the telephone number query response;
Show the telephone number and its corresponding telephone number associated information.
Preferably, the telephone number associated packet bracket code attaching information and/or label information, described in the display
Telephone number and its corresponding telephone number associated information, including:
Show the telephone number and its corresponding label information and/or number home information.
Preferably, the number home packet includes number attribution and/or number home operator, described in the display
Telephone number and its corresponding number home information, are specifically included:
Show the telephone number and its corresponding number attribution and/or number home operator.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one, the display telephone number and its corresponding label information are specifically included:
Show the corresponding word category label of the telephone number and/or pattern classes mark and/or category label reason;
Wherein, the background colour of the pattern classes mark with correspondence safe class;
And, mark corresponding background colour to show the telephone number with same background color according to the pattern classes.
Present invention also offers a kind of query device for phone number, applied to server, described device includes::
First processing module, for receiving telephone number query request, obtains the phone number carried in the inquiry request
Code;
Second processing module, for determining corresponding telephone number associated information according to the telephone number;
Sending module, for returning to telephone number query response.
Preferably, the telephone number associated packet bracket code attaching information and/or label information,
The Second processing module, for according to the telephone number query database, determining the telephone number correspondence
Number home information and/or label information.
Preferably, the number home packet includes number attribution and/or number home operator,
The Second processing module, specifically for the database according to the telephone number query, determines the phone
The corresponding number attribution of number and/or number home operator.
Preferably, the number attribution information specifically includes the specific ownership place of number,
The Second processing module, also particularly useful for the database according to the telephone number query, determines the electricity
Talk about the corresponding specific ownership place of number of number.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one,
The Second processing module, also particularly useful for the database according to the telephone number query, determines the number
According to the word category label corresponding with the telephone number that whether is stored with storehouse;If being stored with, the word classification mark is chosen
Note;It is chosen according to the word category label and remembers corresponding pattern classes mark and/or category label reason.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one,
The Second processing module, also particularly useful for the database according to the telephone number query, determines the number
According to the pattern classes mark corresponding with the telephone number that whether is stored with storehouse;If being stored with, the pattern classes mark is chosen
Note;Its corresponding word category label and/or category label reason are chosen according to pattern classes mark.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one,
The Second processing module, also particularly useful for the database according to the telephone number query, determines the number
According to the category label reason corresponding with the telephone number that whether is stored with storehouse;If being stored with, the category label is chosen former
Cause;Its corresponding word category label and/or pattern classes mark is chosen according to the category label reason.
Preferably, the inquiry unit also includes:
3rd processing module, for the corresponding safe class of word category label selected by determination;And if described second
When processing module have chosen pattern classes mark, the pattern classes is chosen according to corresponding safe class and marks corresponding background
Color.
Preferably, the Second processing module, is additionally operable to determine telephone number digit according to the telephone number;According to institute
Telephone number digit inquiry database is stated, determines whether the telephone number digit reaches predetermined threshold value;If reaching, it is determined that correspondence
Telephone number associated information;Otherwise, it is impossible to determine the corresponding telephone number associated information of the telephone number.
Preferably,
After the Second processing module determines the telephone number corresponding telephone number associated information, the transmission mould
The corresponding telephone number associated information of the telephone number is carried in the telephone number query response that block is returned;
When the Second processing module can not determine the corresponding telephone number associated information of the telephone number, the hair
The telephone number query for sending module to return can not determine that the corresponding telephone number of the telephone number is closed described in being carried in responding
Join information.
The invention provides a kind of phone number display device, described device includes:
Receiving unit, the telephone number for receiving user's input;
Transmitting element, the phone of user's input is carried for sending in telephone number query request, the inquiry request
Number;
The receiving unit, is additionally operable to receive telephone number query response;
Acquiring unit, for obtaining the corresponding phone number of the telephone number carried in the telephone number query response
Code related information;
Display unit, for showing the telephone number and its corresponding telephone number associated information.
Preferably, the telephone number associated packet bracket code attaching information and/or label information,
The display unit, for showing the telephone number and its corresponding label information and/or number home information.
Preferably, the number home packet includes number attribution and/or number home operator,
The display unit, specifically for showing that the telephone number and its corresponding number attribution and/or number are returned
Belong to operator.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one,
The display unit, specifically for showing the corresponding word category label of the telephone number and/or pattern classes
Mark and/or category label reason;
Wherein, the background colour of the pattern classes mark with correspondence safe class;
The display unit, marks corresponding background colour to show with the identical back of the body also particularly useful for according to the pattern classes
The telephone number of scenery.
The invention provides a kind of cloud server, including memory and processor, the memory is based on storing
Calculation machine program, the computer program realizes telephone number query method when being executed by processor the step of.
The invention provides a kind of terminal device, including memory and processor, the memory, which is used to store, to be calculated
Machine program, the step of computer program realizes number display method when being executed by processor.
Compared with prior art, the present invention at least has advantages below:
In the present invention, the telephone number carried is asked to determine corresponding phone number according to the telephone number query received
Code related information, and the telephone number associated information inquired is sent, the telephone number for realizing the telephone number is closed
Join information inquiry, allow the user to get the relevant information of the telephone number in time, whether confirm the telephone number is danger
Dangerous phone, property and personal safety for user provide premise guarantee.
Brief description of the drawings
Fig. 1 is the schematic flow sheet for the telephone number query method applied to server that the present invention is provided;
Fig. 2 is the arrangement schematic diagram for the label information that the present invention is provided;
Fig. 3 is the schematic flow sheet for the number display method applied to mobile terminal that the present invention is provided;
Fig. 4 is the structural representation for the query device for phone number applied to server that the present invention is provided;
Fig. 5 is the structural representation for the phone number display device applied to mobile terminal that the present invention is provided.
Embodiment
The present invention proposes a kind of telephone number query method and device, display methods and device, cloud server and terminal
Equipment, below in conjunction with the accompanying drawings, specific embodiments of the present invention is described in detail.
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one
It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges
Diction " comprising " refer to there is the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or can also exist
Intermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange
Taking leave "and/or" includes one or more associated wholes or any cell for listing item and all combines.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific terminology), with the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also
Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art
The consistent meaning of meaning, and unless by specific definitions as here, otherwise will not use idealization or excessively formal implication
To explain.
As shown in figure 1, the invention provides a kind of telephone number query method, applied to server, methods described includes:
Step 101, telephone number query request is received, the telephone number carried in the inquiry request is obtained.
Wherein, telephone number query request can be active inquiry or use of the user when not taking phone
During family inputs telephone number when actively calling;The telephone number can be the phone number of major common carriers
Code or fixed line, or 400 beginning phones, and belonging country particular phone number such as 110,120 ..., may be used also
To be non-civilian phone of " 9 " beginning and the telephone numbers etc. of 800 beginnings.
Can at any time be inquired about with input for the telephone number that receives, and and do not need user just to enter after fully inputting
Row inquiry;And in telephone number query, for the telephone number automatic identification of input, especially when input telephone number is fixed line
When, the attaching information for showing telephone number can also be recognized without input area code;010-8530XXXX is such as inquired about, in input
When 8530, you can identify its attaching information, input 010 is eliminated, search efficiency is improved;So the automatic identification phone number
The premise of code attaching information is that each mobile terminal using the telephone number query method is all based on looking into for real-time interconnection
Ask.
Step 102, corresponding telephone number associated information is determined according to the telephone number.
Wherein, the telephone number associated packet bracket code attaching information and/or label information, described according to the electricity
Words number determines corresponding telephone number associated information, including:
According to the telephone number query database, the corresponding number home information of the telephone number and/or mark are determined
Remember information.
Further, the number home packet includes number attribution and number home operator, described in the basis
Telephone number query database, determines the corresponding number home information of the telephone number, specifically includes:
The database according to the telephone number query, determine the corresponding number attribution of the telephone number and/or
Number home operator.
The number home information also includes the specific ownership place of number, the data according to the telephone number query
Storehouse, determines the corresponding number attribution of the telephone number, including:
The database according to the telephone number query, determines the specific ownership place of the corresponding number of the telephone number.
Wherein, in the associated home information and label information of enquiring telephone number, the phone that can be inputted according to user
Number is inquired about, and is explained below with phone number, as the telephone number of user inputs real-time query, i.e. user per defeated
Enter 1 telephone number and carry out real-time query at once;The immediate inquiring such as when user inputs 1 telephone number, when user inputs 2
Immediate inquiring during telephone number, immediate inquiring shows when immediate inquiring ... inputs 6 telephone numbers when user inputs 3 telephone numbers
Show ... until the telephone number of the whole digits of input.
For real-time query mentioned above, in query process, it is possible that according to presetting that user currently inputs
The situation that digit telephone number can not be inquired, can not be inquired when 1 telephone number is have input such as user, only when defeated
When the telephone number digit entered reaches predetermined threshold value, the telephone number associated information could be inquired in database, below with
One specific embodiment is elaborated.
Specific embodiment one
In the specific embodiment one, illustrated with phone number, the telephone number to be inputted is 1869988xxxx, defeated
Corresponding telephone number associated information can not be inquired when entering first 2 in database, can be looked into when 3 " 186 " before input
The attaching information " CHINAUNICOM " (number attribution+number home operator) of display is ask, when being input to preceding 7 " 1869988 "
When query display attaching information " Kashi UNICOM " (the specific ownership place of number+number home operator).
Certainly, during the inquiry according to presetting digit capacity telephone number described in above-mentioned specific embodiment one is only the present invention
A kind of preferred embodiment for phone number, but it is not limited merely to this for other kinds of telephone number.
Further, corresponding telephone number associated information is determined according to the telephone number, in addition to:
Telephone number digit is determined according to the telephone number;
Database is inquired about according to the telephone number digit, determines whether the telephone number digit reaches predetermined threshold value;
If reaching, corresponding telephone number associated information is determined;Otherwise, it is impossible to determine the corresponding phone of the telephone number
Number-associated information.
Due to the corresponding label information of the telephone number can be determined according to the telephone number query database.Therefore it is right
For the label information of the telephone number of each in cloud server is stored in, its labeling process includes:
For any one telephone number, after having many people to carry out information flag to it, cloud server will be all right
The label information of the telephone number is collected, and (takes number of times, the frequency of phone with reference to the usage behavior of the telephone number
Deng) analyzed, so that it is determined that going out the label information of the telephone number;Citing, a telephone number M, cloud server is received
There are 30 to the label information on telephone number M, the label information of 20 " take-away ", 6 " insurances are covered in this 30
Promote " label information, and 4 " swindle " label information, and cloud server is by analyzing telephone number M row
To find, it is very high that it calls frequency in dinner hour, suppertime, based on this, determines telephone number M label information
For " take-away ".
Further, the label information specifically includes word category label, pattern classes mark and category label original
At least one of because, it is described according to the telephone number query database, the corresponding label information of the telephone number is determined,
Specifically include:
The database according to the telephone number query, determines whether be stored with the database and the phone number
The corresponding word category label of code;
If being stored with, the word category label is chosen;
Its corresponding pattern classes mark and/or category label reason are chosen according to the word category label.
Or,
It is described that the corresponding label information of the telephone number is determined according to the telephone number query database, specific bag
Include:
The database according to the telephone number query, determines whether be stored with the database and the phone number
The corresponding pattern classes mark of code;
If being stored with, the pattern classes mark is chosen;
Its corresponding word category label and/or category label reason are chosen according to pattern classes mark.
Or,
It is described that the corresponding label information of the telephone number is determined according to the telephone number query database, specific bag
Include:
The database according to the telephone number query, determines whether be stored with the database and the phone number
The corresponding category label reason of code;
If being stored with, the category label reason is chosen;
Its corresponding word category label and/or pattern classes mark is chosen according to the category label reason.
After the word category label is chosen, in addition to:
It is determined that the selected corresponding safe class of word category label;
And if when have chosen pattern classes mark, the figure is chosen according to the corresponding safe class of the word category label
The corresponding background colour of shape category label.
The corresponding label information of the telephone number determined according to telephone number query database for mentioned above
Related content, is elaborated with a specific embodiment below.
Specific embodiment two
In the specific embodiment two, equally illustrated with phone number.The telephone number to be inputted is 1869988xxxx,
When inputting phone number 11 " 1869988xxxx " in the label information of query display, word category label is " taxi
Car ", the pattern classes of Corresponding matching is labeled as the figure of " taxi ", and its background colour is green, and category label reason is " doubtful
Like certain taxi taking platform software ".
Certainly, the selection of telephone number label information described in above-mentioned specific embodiment two is only one kind in the present invention
This is not limited merely to for the preferred embodiment of phone number, but for other kinds of telephone number.
Wherein, word category label included in label information can be specifically taxi/take-away/suspicious number/just
Normal number/insurance distribution/swindle/express delivery/invoice/intermediary/rescue etc.;Category label reason can be it is doubtful called a taxi by certain it is soft
The many people of part chauffeur/in the recent period mentioned/and call behavior is normal etc.);Pattern classes, which is marked, is and specific word category label institute
The figure of matching.Certainly, either word category label or category label reason be not limited in it is several in the example above.
For word category label, safety status classification has been carried out according to its specific word category label, and respectively
The safe class difference of word category label of the pattern classes mark meeting according to corresponding to it has different background colours.As " just
The word category label of normal number " is level of security, and the background colour of its corresponding pattern classes mark is green;" suspicious number "
Word category label be doubtful harmful grade, the background colour of its corresponding pattern classes mark is yellow;The word of " swindle "
Category label is harmful grade, and the background colour of its corresponding pattern classes mark is red.Certainly, the division of above-mentioned level of security
And the selection of background colour is not limited merely to this, any (such as one-level, two grades, three-level) for carrying out security classification, peace
Full number of levels, other background colours choose within protection scope of the present invention.
Wherein, when word category label and pattern classes mark coexist, word category label in each label information and
Pattern classes mark can arrange display in combination, as shown in Fig. 2 being arranged from top to bottom according to level of security, such as from peace
It is complete to danger, but put in order and be not limited to that.
For the database mentioned in the invention described above, it is referred to while storing telephone number in embodiments of the present invention
The database of associated home information and mark of correlation information;Certainly, the database can also be divided into two databases, i.e. high in the clouds and take
The of the storage mark of correlation information in the first database and cloud server of storage telephone number associated home information of being engaged in device
Two databases;Or, store phone number in the first database and cloud server of storage mark of correlation information in cloud server
Code-phase closes the second database of attaching information.
Step 103, telephone number query response is returned.
Specifically included in the telephone number query response of the return:
When it is determined that after the telephone number corresponding telephone number associated information, being taken in the telephone number query response of return
With the corresponding telephone number associated information of the telephone number;
When the corresponding telephone number associated information of the telephone number can not be determined, the telephone number query response of return
In carry and described can not determine the corresponding telephone number associated information of the telephone number.
The telephone number query method applied to server provided based on the invention described above, present invention also offers one
Number display method is planted, applied to mobile terminal, as shown in figure 3, methods described includes:
Step 301, the telephone number of user's input is received.
Step 302, telephone number query request is sent.
The telephone number of user's input is carried in the inquiry request.
As it was previously stated, the digit of telephone number is not limited in the inquiry request, carried out in real time with the input of user
Inquiry.
Step 303, telephone number query response is received.
After telephone number query response is received, the phone carried in the telephone number query response is obtained
The corresponding telephone number associated information of number.
Step 304, the telephone number and its corresponding telephone number associated information are shown.
The telephone number associated information includes label information and/or number home information, the display phone number
Code and its corresponding telephone number associated information, including:
Show the telephone number and its corresponding label information and/or number home information.
Further, the number home packet includes number attribution and/or number home operator, the display institute
Telephone number and its corresponding number home information are stated, is specifically included:
Show the telephone number and its corresponding number attribution and/or number home operator.
Further, the label information specifically includes word category label, pattern classes mark and category label reason
At least one of, the display telephone number and its corresponding label information are specifically included:
Show the corresponding word category label of the telephone number and/or pattern classes mark and/or category label reason;
Wherein, the background colour of the pattern classes mark with correspondence safe class;
And, mark corresponding background colour to show the telephone number with same background color according to the pattern classes.
Wherein, the background colour of the telephone number of user's input is the background color change marked with pattern classes and changed,
The background colour marked with the pattern classes is consistent.
The telephone number query method provided based on the invention described above, present invention also offers a kind of telephone number query
Device, applied to server, as shown in figure 4, described device includes:
First processing module 41, for receiving telephone number query request, obtains the phone carried in the inquiry request
Number;
Second processing module 42, for determining corresponding telephone number associated information according to the telephone number;
Sending module 43, for returning to telephone number query response, is carried described in the telephone number query response
The corresponding telephone number associated information of telephone number.
Preferably, the telephone number associated packet bracket code attaching information and/or label information,
The Second processing module 42, for according to the telephone number query database, determining the telephone number pair
The number home information and/or label information answered.
Preferably, the number home packet includes number attribution and number home operator,
The Second processing module 42, specifically for the database according to the telephone number query, determines the electricity
Talk about the corresponding number attribution of number and/or number home operator.
Preferably, the number attribution information specifically includes the specific ownership place of number,
The Second processing module 42, also particularly useful for the database according to the telephone number query, it is determined that described
The specific ownership place of the corresponding number of telephone number.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one,
The Second processing module 42, also particularly useful for the database according to the telephone number query, it is determined that described
Whether be stored with word category label corresponding with the telephone number in database;If being stored with, the word classification is chosen
Mark;It is chosen according to the word category label and remembers corresponding pattern classes mark and/or category label reason.
Or,
The Second processing module, also particularly useful for the database according to the telephone number query, determines the number
According to the pattern classes mark corresponding with the telephone number that whether is stored with storehouse;If being stored with, the pattern classes mark is chosen
Note;Its corresponding word category label and/or category label reason are chosen according to pattern classes mark.
Or,
The Second processing module, also particularly useful for the database according to the telephone number query, determines the number
According to the category label reason corresponding with the telephone number that whether is stored with storehouse;If being stored with, the category label is chosen former
Cause;Its corresponding word category label and/or pattern classes mark is chosen according to the category label reason.
Preferably, the inquiry unit also includes:
3rd processing module 44, for the corresponding safe class of word category label selected by determination;And if described
When two processing modules 42 have chosen pattern classes mark, the pattern classes mark is chosen according to corresponding safe class corresponding
Background colour.
The Second processing module 42, is additionally operable to determine telephone number digit according to the telephone number;According to the electricity
Number length inquiry database is talked about, determines whether the telephone number digit reaches predetermined threshold value;If reaching, corresponding electricity is determined
Talk about number-associated information;Otherwise, it is impossible to determine the corresponding telephone number associated information of the telephone number.
It is described to send after the Second processing module 42 determines the telephone number corresponding telephone number associated information
The corresponding telephone number associated information of the telephone number is carried in the telephone number query response that module 43 is returned;
It is described when the Second processing module 42 can not determine the corresponding telephone number associated information of the telephone number
The corresponding phone number of the telephone number can not be determined described in being carried in the telephone number query response that sending module 43 is returned
Code related information.
The number display method provided based on the invention described above, is shown present invention also offers a kind of telephone number
Device, as shown in figure 5, described device includes:
Receiving unit 51, the telephone number for receiving user's input;
Transmitting element 52, the electricity of user's input is carried for sending in telephone number query request, the inquiry request
Talk about number;
The receiving unit 51, is additionally operable to receive telephone number query response;
Acquiring unit 53, for obtaining the corresponding phone of the telephone number carried in the telephone number query response
Number-associated information;
Display unit 54, for showing the telephone number and its corresponding telephone number associated information.
Preferably, the telephone number associated information includes label information and/or number home information,
The display unit 54, for showing the telephone number and its corresponding label information and/or number home letter
Breath.
Preferably, the number home packet includes number attribution and/or number home operator,
The display unit 54, specifically for showing the telephone number and its corresponding number attribution and/or number
Home-operator.
Preferably, the label information is specifically included in word category label, pattern classes mark and category label reason
At least one,
The display unit 54, specifically for showing the corresponding word category label of the telephone number and/or graphics class
Not Biao Ji and/or category label reason;
Wherein, the background colour of the pattern classes mark with correspondence safe class;
The display unit, marks corresponding background colour to show with the identical back of the body also particularly useful for according to the pattern classes
The telephone number of scenery.
The invention provides a kind of cloud server, including memory and processor, the memory is based on storing
Calculation machine program, the computer program realizes above-mentioned telephone number query method when being executed by processor the step of.
The invention provides a kind of terminal device, including memory and processor, the memory, which is used to store, to be calculated
Machine program, the step of computer program realizes above-mentioned number display method when being executed by processor.
In the present invention, the telephone number carried is asked to determine corresponding phone number according to the telephone number query received
Code related information, and the telephone number associated information inquired is sent, the telephone number for realizing the telephone number is closed
Join information inquiry, allow the user to get the relevant information of the telephone number in time, whether confirm the telephone number is danger
Dangerous phone, so as to improve the security of user.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or
The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology is led
Field technique personnel be appreciated that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other
The processor of programmable data processing method is realized, so as to pass through the processing of computer or other programmable data processing methods
The scheme that device is specified in the frame or multiple frames to perform structure chart disclosed by the invention and/or block diagram and/or flow graph.
Wherein, the modules of apparatus of the present invention can be integrated in one, and can also be deployed separately.Above-mentioned module can be closed
And be a module, multiple submodule can also be further split into.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module or stream in accompanying drawing
Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can be divided according to embodiment description
It is distributed in the device of embodiment, respective change can also be carried out and be disposed other than in one or more devices of the present embodiment.On
The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.
The invention described above sequence number is for illustration only, and the quality of embodiment is not represented.
Disclosed above is only several specific embodiments of the present invention, and still, the present invention is not limited to this, any ability
What the technical staff in domain can think change should all fall into protection scope of the present invention.
Claims (10)
1. a kind of telephone number query method, it is characterised in that applied to server, methods described includes:
Telephone number query request is received, the telephone number carried in the inquiry request is obtained;
Corresponding telephone number associated information is determined according to the telephone number;
Return to telephone number query response.
2. telephone number query method as claimed in claim 1, it is characterised in that the telephone number associated packet bracket code
Attaching information and/or label information, it is described that corresponding telephone number associated information is determined according to the telephone number, including:
According to the telephone number query database, the corresponding number home information of the telephone number and/or mark letter are determined
Breath.
3. telephone number query method as claimed in claim 2, it is characterised in that the label information specifically includes word classification
Mark, pattern classes mark and at least one of category label reason, it is described according to the telephone number query database, really
Determine the corresponding label information of the telephone number, specifically include:
The database according to the telephone number query, determines whether be stored with the database and the telephone number pair
The word category label answered;
If being stored with, the word category label is chosen;
Its corresponding pattern classes mark and/or category label reason are chosen according to the word category label.
4. telephone number query method as claimed in claim 2, it is characterised in that the label information specifically includes word classification
Mark, pattern classes mark and at least one of category label reason, it is described according to the telephone number query database, really
Determine the corresponding label information of the telephone number, specifically include:
The database according to the telephone number query, determines whether be stored with the database and the telephone number pair
The pattern classes mark answered;
If being stored with, the pattern classes mark is chosen;
Its corresponding word category label and/or category label reason are chosen according to pattern classes mark.
5. telephone number query method as claimed in claim 2, it is characterised in that the label information specifically includes word classification
Mark, pattern classes mark and at least one of category label reason, it is described according to the telephone number query database, really
Determine the corresponding label information of the telephone number, specifically include:
The database according to the telephone number query, determines whether be stored with the database and the telephone number pair
The category label reason answered;
If being stored with, the category label reason is chosen;
Its corresponding word category label and/or pattern classes mark is chosen according to the category label reason.
6. a kind of number display method, it is characterised in that applied to mobile terminal, methods described includes:
Receive the telephone number of user's input;
Send the telephone number that user's input is carried in telephone number query request, the inquiry request;
Receive telephone number query response;
Obtain the corresponding telephone number associated information of the telephone number carried in the telephone number query response;
Show the telephone number and its corresponding telephone number associated information.
7. a kind of query device for phone number, it is characterised in that applied to server, described device includes:
First processing module, for receiving telephone number query request, obtains the telephone number carried in the inquiry request;
Second processing module, for determining corresponding telephone number associated information according to the telephone number;
Sending module, for returning to telephone number query response.
8. a kind of phone number display device, it is characterised in that described device includes:
Receiving unit, the telephone number for receiving user's input;
Transmitting element, the telephone number of user's input is carried for sending in telephone number query request, the inquiry request;
The receiving unit, is additionally operable to receive telephone number query response;
Acquiring unit, is closed for obtaining the corresponding telephone number of the telephone number carried in the telephone number query response
Join information;
Display unit, for showing the telephone number and its corresponding telephone number associated information.
9. a kind of cloud server, including memory and processor, the memory are used to store computer program, the calculating
Machine program realizes the telephone number query method any one of claim 1-5 when being executed by processor the step of.
10. a kind of terminal device, including memory and processor, the memory are used to store computer program, the calculating
Machine program realizes the number display method described in claim 6 when being executed by processor the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710549250.4A CN107317935A (en) | 2017-07-07 | 2017-07-07 | Telephone number query, display methods and device, cloud server and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710549250.4A CN107317935A (en) | 2017-07-07 | 2017-07-07 | Telephone number query, display methods and device, cloud server and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107317935A true CN107317935A (en) | 2017-11-03 |
Family
ID=60177679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710549250.4A Pending CN107317935A (en) | 2017-07-07 | 2017-07-07 | Telephone number query, display methods and device, cloud server and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107317935A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714254A (en) * | 2019-01-24 | 2019-05-03 | 深圳云号科技有限公司 | A kind of number discrimination method and device |
WO2023122917A1 (en) * | 2021-12-27 | 2023-07-06 | 北京小米移动软件有限公司 | Information processing method and apparatus, communication device, and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409878A (en) * | 2008-11-21 | 2009-04-15 | 闻泰集团有限公司 | Information block for telephone number dependency name and method for querying dependency of incoming call |
CN103020060A (en) * | 2011-09-20 | 2013-04-03 | 佳都新太科技股份有限公司 | Number segment matching algorithm based on tree structure and realization method of number segment matching algorithm |
CN103220391A (en) * | 2013-04-08 | 2013-07-24 | 北京小米科技有限责任公司 | Cloud address book-based device, server and calling method |
CN104023141A (en) * | 2014-06-19 | 2014-09-03 | 北京奇虎科技有限公司 | Communication contact information display method, client side and electronic equipment |
CN104113626A (en) * | 2014-06-26 | 2014-10-22 | 北京奇虎科技有限公司 | Communication processing method and system |
CN104244207A (en) * | 2014-09-29 | 2014-12-24 | 小米科技有限责任公司 | Method and device for processing numbers in messages |
CN104270521A (en) * | 2014-09-26 | 2015-01-07 | 北京奇虎科技有限公司 | Method for processing incoming call number and mobile terminal |
CN104320525A (en) * | 2014-09-19 | 2015-01-28 | 小米科技有限责任公司 | Method and device for identifying telephone number |
CN104506731A (en) * | 2014-12-26 | 2015-04-08 | 北京奇虎科技有限公司 | Unfamiliar call reminding method and unfamiliar call reminding device |
CN105611513A (en) * | 2016-02-29 | 2016-05-25 | 宇龙计算机通信科技(深圳)有限公司 | Short message display method and system for mobile terminal |
CN105791605A (en) * | 2014-12-25 | 2016-07-20 | 北京奇虎科技有限公司 | Method and device for number information query |
US20160294998A1 (en) * | 2015-03-31 | 2016-10-06 | Xiaomi Inc. | Methods and devices for labeling a number |
CN106385483A (en) * | 2016-09-05 | 2017-02-08 | 北京奇虎科技有限公司 | Phone number processing method and mobile terminal and cloud server thereof |
CN106534464A (en) * | 2016-11-30 | 2017-03-22 | 依偎科技(南昌)有限公司 | Call processing method and terminal |
CN106534463A (en) * | 2015-09-15 | 2017-03-22 | 中国移动通信集团公司 | Strange incoming call processing method, device, terminal and server |
-
2017
- 2017-07-07 CN CN201710549250.4A patent/CN107317935A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409878A (en) * | 2008-11-21 | 2009-04-15 | 闻泰集团有限公司 | Information block for telephone number dependency name and method for querying dependency of incoming call |
CN103020060A (en) * | 2011-09-20 | 2013-04-03 | 佳都新太科技股份有限公司 | Number segment matching algorithm based on tree structure and realization method of number segment matching algorithm |
CN103220391A (en) * | 2013-04-08 | 2013-07-24 | 北京小米科技有限责任公司 | Cloud address book-based device, server and calling method |
CN104023141A (en) * | 2014-06-19 | 2014-09-03 | 北京奇虎科技有限公司 | Communication contact information display method, client side and electronic equipment |
CN104113626A (en) * | 2014-06-26 | 2014-10-22 | 北京奇虎科技有限公司 | Communication processing method and system |
CN104320525A (en) * | 2014-09-19 | 2015-01-28 | 小米科技有限责任公司 | Method and device for identifying telephone number |
CN104270521A (en) * | 2014-09-26 | 2015-01-07 | 北京奇虎科技有限公司 | Method for processing incoming call number and mobile terminal |
CN104244207A (en) * | 2014-09-29 | 2014-12-24 | 小米科技有限责任公司 | Method and device for processing numbers in messages |
CN105791605A (en) * | 2014-12-25 | 2016-07-20 | 北京奇虎科技有限公司 | Method and device for number information query |
CN104506731A (en) * | 2014-12-26 | 2015-04-08 | 北京奇虎科技有限公司 | Unfamiliar call reminding method and unfamiliar call reminding device |
US20160294998A1 (en) * | 2015-03-31 | 2016-10-06 | Xiaomi Inc. | Methods and devices for labeling a number |
CN106534463A (en) * | 2015-09-15 | 2017-03-22 | 中国移动通信集团公司 | Strange incoming call processing method, device, terminal and server |
CN105611513A (en) * | 2016-02-29 | 2016-05-25 | 宇龙计算机通信科技(深圳)有限公司 | Short message display method and system for mobile terminal |
CN106385483A (en) * | 2016-09-05 | 2017-02-08 | 北京奇虎科技有限公司 | Phone number processing method and mobile terminal and cloud server thereof |
CN106534464A (en) * | 2016-11-30 | 2017-03-22 | 依偎科技(南昌)有限公司 | Call processing method and terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714254A (en) * | 2019-01-24 | 2019-05-03 | 深圳云号科技有限公司 | A kind of number discrimination method and device |
WO2023122917A1 (en) * | 2021-12-27 | 2023-07-06 | 北京小米移动软件有限公司 | Information processing method and apparatus, communication device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9064412B2 (en) | Method for providing information to first responders of vehicle accidents | |
US20150012310A1 (en) | Taxi Calling System and Method Based on Handheld Mobile Terminals | |
US9277040B2 (en) | Presence based connecting number search | |
CN107040671A (en) | List distribution method and device | |
US20080188198A1 (en) | System and method for providing medical and contact information during an emergency call | |
CN105575148B (en) | Passenger's recognition methods and system | |
ITRM970771A1 (en) | SYSTEM AND PROCEDURE FOR CELL-BASED EMERGENCY CALLS | |
CN110035064B (en) | Communication method, communication apparatus, computer device, and storage medium | |
CN103731853B (en) | Cloud recognition methods, equipment and the system of double-card mobile communication device | |
CN105282721B (en) | The display processing method of calling number, system and equipment in one-set-multi-number business | |
CN106850921B (en) | Telephone number priority list is determined for specific user | |
CN106851651A (en) | Pseudo-base station identifying system and data analysis system | |
CN106936689A (en) | Customer service method and apparatus based on instant messaging public number | |
CN107317935A (en) | Telephone number query, display methods and device, cloud server and terminal device | |
CN105208231B (en) | A kind of voice broadcast method and related system based on IVR | |
CN109474755B (en) | Abnormal telephone active prediction method, system and computer readable storage medium based on sequencing learning and ensemble learning | |
CN107332968A (en) | Display methods, device and terminal device based on suspended window | |
CN103327473A (en) | Data acquisition method and device | |
CN103141071B (en) | For the method and apparatus managing urgent call | |
CN104121913A (en) | Navigation box capable of dialing IP telephone, and voice navigation system and method | |
CN110611689B (en) | Information identification method and device and computer readable storage medium | |
CN105847506B (en) | Communication means, device and the mobile terminal of mobile terminal | |
CN110958355A (en) | Multi-party communication system and method based on public network talkback and alarm telephone voice system | |
CN107071778A (en) | Pseudo-base station recognition methods and data analysing method | |
CN103857032B (en) | Method for registering or querying or canceling a plurality of function numbers at GSM-R network node |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171103 |
|
RJ01 | Rejection of invention patent application after publication |