CN105306687B - A kind of contact book of mobile phone lookup method, apparatus and system - Google Patents
A kind of contact book of mobile phone lookup method, apparatus and system Download PDFInfo
- Publication number
- CN105306687B CN105306687B CN201510607431.9A CN201510607431A CN105306687B CN 105306687 B CN105306687 B CN 105306687B CN 201510607431 A CN201510607431 A CN 201510607431A CN 105306687 B CN105306687 B CN 105306687B
- Authority
- CN
- China
- Prior art keywords
- contact information
- terminal
- contact
- keyword
- hops
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 235000008694 Humulus lupulus Nutrition 0.000 claims abstract description 113
- 230000003247 decreasing effect Effects 0.000 claims abstract description 10
- 238000012163 sequencing technique Methods 0.000 claims description 25
- 230000007423 decrease Effects 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 241000252185 Cobitidae Species 0.000 description 1
- 206010011469 Crying Diseases 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000037452 priming Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of contact book of mobile phone lookup methods, comprising: receives the number of hops and keyword that upper hop terminal is sent;The contact information to match with the keyword is searched in contact book of mobile phone;If finding, the corresponding number of the contact information is sent to first terminal;Otherwise, the number of hops is successively decreased the number of hops updated, when the number of hops of the update is greater than first threshold, then using the corresponding terminal of the contact information found as next-hop terminal, the keyword and the number of hops are sent to the next-hop terminal.The invention also discloses a kind of contact book of mobile phone to search device and system.Using the present invention, the convenience of contact book of mobile phone lookup can be improved.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of contact book of mobile phone lookup methods, apparatus and system.
Background technique
With the continuous development of society, mobile terminal has become the main means connected each other between men.Meanwhile
Due to quickly being flowed commercial competition and personnel, the frequency that people replace phone number is also accelerated rapidly, thus can be with
Some good friends are out of touch.But when user wants to get in touch with these good friends, then needs to inquire by more people and arrive good friend's
It can be got in touch with after contact method, it is insufficient so as to cause the convenience of operation.
Summary of the invention
Based on this, to solve in traditional technology mentioned above to the insufficient technology of contact book of mobile phone search operation convenience
Problem has provided a kind of contact book of mobile phone lookup method.
A kind of contact book of mobile phone lookup method, comprising:
Receive the number of hops and keyword that upper hop terminal is sent;
The contact information to match with the keyword is searched in contact book of mobile phone;
If finding, the corresponding number of the contact information is sent to first terminal;
Otherwise, the number of hops is successively decreased the number of hops updated, is greater than the in the number of hops of the update
When one threshold value, then using the corresponding terminal of the contact information found as next-hop terminal, by the keyword and the jump
Turn number and is sent to the next-hop terminal.
Further, the described the step of contact information to match with the keyword is searched in contact book of mobile phone, goes back
Include:
The second preset contact information in the contact book of mobile phone is obtained, the second preset contact information is connection
It is that person is exhaled;
The second preset contact information, judgement are traversed according to the sequencing of the initial of contact person address
With the presence or absence of the contact information to match with the keyword in the second preset contact information.
Further, if described find, the step of corresponding number of the contact information is sent to first terminal
Further include:
If the quantity for finding the contact information to match with the keyword is greater than 1, the contact information is obtained
Corresponding number;
According to the sequencing found, the number is successively sent to the first terminal.
Further, the method also includes merging number identical in the number.
Further, described that contact information corresponding with the keyword is searched in contact book of mobile phone;If finding,
The step of contact information is sent to first terminal further include:
The keyword carries flag bit, the flag bit first terminal for identification;
According to the flag bit, the contact information is sent to the first terminal.
In addition, to solve to ask the insufficient technology of contact book of mobile phone search operation convenience in traditional technology mentioned above
Topic has provided a kind of contact book of mobile phone lookup device.
A kind of contact book of mobile phone lookup device characterized by comprising
Receiving module, for receiving the number of hops and keyword of the transmission of upper hop terminal;
Searching module, for searching the contact information to match with the keyword in contact book of mobile phone;
Sending module, if the corresponding number of the contact information is sent to first terminal for finding;
Number of hops update module successively decreases the number of hops number of hops updated, described for otherwise
When the number of hops of update is greater than first threshold, then using the corresponding terminal of the contact information found as next-hop terminal,
The keyword and the number of hops are sent to the next-hop terminal.
Further, the searching module is also used to:
The second preset contact information in the contact book of mobile phone is obtained, the second preset contact information is connection
It is that person is exhaled;
The second preset contact information, judgement are traversed according to the sequencing of the initial of contact person address
With the presence or absence of the contact information to match with the keyword in the second preset contact information.
Further, the sending module is also used to:
If the quantity for finding the contact information to match with the keyword is greater than 1, the contact information is obtained
Corresponding number;
According to the sequencing found, the number is successively sent to the first terminal.
Further, the sending module is also used to merge number identical in the number.
Further, the sending module is also used to:
The keyword carries flag bit, the flag bit first terminal for identification;
According to the flag bit, the contact information is sent to the first terminal.
Based on this, to solve in traditional technology mentioned above to the insufficient technology of contact book of mobile phone search operation convenience
Problem has provided a kind of contact book of mobile phone lookup method.
A kind of contact book of mobile phone lookup method characterized by comprising
Receive the keyword of input;
The contact information to match with the keyword is searched in contact book of mobile phone;
Generate number of hops;
Using the corresponding terminal of the contact information found as next-hop terminal, by the keyword and described jump time
Number is sent to the next-hop terminal.
Further, the described the step of contact information to match with the keyword is searched in contact book of mobile phone, goes back
Include:
The first preset contact information in the contact book of mobile phone is obtained, the first preset contact information is connection
It is that person is exhaled;
The preset contact information is traversed according to the sequencing of the initial of contact person address, described in judgement
With the presence or absence of the contact information to match with the keyword in preset contact information;
If so, showing the corresponding number of the contact information, otherwise, then the step of generating number of hops is executed.
Further, the method also includes: if finding the quantity of the contact information to match with the keyword
Greater than 1, then the corresponding number of the contact information found is added to by processing queue according to the sequencing found
Tail of the queue, the number extracted by the head of the queue of the processing queue execute and show the step of the corresponding number of the contact information
Suddenly.
In addition, to solve to ask the insufficient technology of contact book of mobile phone search operation convenience in traditional technology mentioned above
Topic has provided a kind of contact book of mobile phone lookup device.
A kind of contact book of mobile phone lookup device characterized by comprising
Receiving module, keyword for receiving input;
Searching module, for searching the contact information to match with the keyword in contact book of mobile phone;
Number of hops generation module, for generating number of hops;
Sending module, for using the corresponding terminal of the contact information found as next-hop terminal, by the key
Word and the number of hops are sent to the next-hop terminal.
Further, the searching module is also used to:
The first preset contact information in the contact book of mobile phone is obtained, the first preset contact information is connection
It is that person is exhaled;
The preset contact information is traversed according to the sequencing of the initial of contact person address, described in judgement
With the presence or absence of the contact information to match with the keyword in preset contact information;
If so, showing the corresponding number of the contact information, otherwise, then the step of generating number of hops is executed.
Further, the searching module is also used to:
If the quantity for finding the contact information to match with the keyword is greater than 1, successive according to finding
The corresponding number of the contact information found is added to the tail of the queue of processing queue by sequence, by the team of the processing queue
Head extracts the number and executes the step of showing the contact information corresponding number.
In addition, being to solve in traditional technology mentioned above pair in addition, being to solve opponent in traditional technology mentioned above
The technical problem of machine address list search operation convenience deficiency there is a need to provide a kind of contact book of mobile phone lookup system.
A kind of contact book of mobile phone lookup system, which is characterized in that including first terminal and second terminal, in which:
The first terminal keyword for receiving input;Lookup and institute in the contact book of mobile phone of the first terminal
The contact information that keyword matches is stated, generating number of hops will find using the first terminal as upper hop terminal
The corresponding terminal of contact information as next-hop terminal, the keyword and the number of hops are sent to described next
Jump terminal;
Second terminal as the next-hop terminal is used to receive the number of hops and the pass that upper hop terminal is sent
Key word;The contact information to match with the keyword is searched in the contact book of mobile phone of the second terminal;If finding,
The corresponding number of the contact information found is sent to the first terminal;Otherwise, the number of hops is successively decreased to obtain
The number of hops of update, when the number of hops of the update is greater than first threshold, then using the second terminal as upper hop
Terminal, using the corresponding terminal of the contact information found as next-hop terminal, by the keyword and the number of hops
It is sent to the next-hop terminal.
Implement the embodiment of the present invention, will have the following beneficial effects:
After above-mentioned contact book of mobile phone lookup method, apparatus and system, first terminal (it is whole to initiate the user searched
End) receive the keyword of user's input after, the contact information to match with keyword is searched in local handset address list, if
It finds, then shows and find the corresponding number of contact information;Otherwise, then number of hops is generated, the contact person found is believed
Corresponding terminal is ceased as next-hop terminal, and keyword and number of hops are sent to next-hop terminal.And as next-hop end
The second terminal at end is searched and is closed in local handset address list after receiving the number of hops that upper hop terminal is sent and keyword
The contact information found is sent to first terminal if finding by the contact information that key word matches;Otherwise, it will jump
Turn number to successively decrease the number of hops updated.When the number of hops of update is greater than first threshold (0), the connection that will find
The corresponding terminal of people is sent to next-hop terminal as next-hop terminal, by keyword and number of hops.Successively search, and
The number found is returned into first terminal.By such lookup method, user is without inquiring that multiple go-betweens can be quick
Lookup contact person, to improve the convenience of operation.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Wherein:
Fig. 1 is a kind of system architecture diagram of contact book of mobile phone lookup system in one embodiment;
Fig. 2 is a kind of timing diagram of contact book of mobile phone lookup system in one embodiment;
Fig. 3 is a kind of flow chart of contact book of mobile phone lookup method in one embodiment;
Fig. 4 is a kind of flow chart of contact book of mobile phone lookup method in another embodiment;
Fig. 5 is a kind of structural schematic diagram of contact book of mobile phone lookup device in one embodiment;
Fig. 6 is a kind of structural schematic diagram of contact book of mobile phone lookup device in another embodiment.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
To solve the technical problem in traditional technology mentioned above to contact book of mobile phone search operation convenience deficiency,
In one embodiment, spy proposes a kind of multimedia play list management system, which can be dependent on computer program realization,
It can run in the computer system based on von Neumann system.The computer program can integrate in the application, also can be used as solely
Vertical tool-class application operation.The computer system can be smart phone, tablet computer, PC, laptop etc.
Mobile device.
In the present embodiment, the system is as shown in Figure 1, include first terminal 10 and second terminal 20, Fig. 2 illustrates this and is
The when program process of system.Specifically include following process:
The first terminal keyword for receiving input;Lookup and institute in the contact book of mobile phone of the first terminal
The contact information that keyword matches is stated, generating number of hops will find using the first terminal as upper hop terminal
The corresponding terminal of contact information as next-hop terminal, the keyword and the number of hops are sent to described next
Jump terminal.
Specifically, as shown in Figure 3, comprising the following steps:
Step S102: the keyword of input is received.
So-called keyword is exactly query word, can be a complete sentence, the partial words being also possible in sentence, intelligence
The query word removal search that the search engine of energy terminal can be inputted according to user, therefore, query word statement are accurately to obtain well to search
The prerequisite of hitch fruit.
For example, to search the domestic top ten news stories event occurred in 2004, keyword can be " domestic generation in 2004
Top ten news stories event ";It is also possible to " 2004 domestic top ten news stories ", search result is close.But if inputting keyword " 2004 states
Interior news ", that search result range is wider, and matching degree is lower.
In the present embodiment, when user inputs certain keywords in the address list search box of smart phone, intelligent hand
Machine starting input inductor, starts the instruction for carrying out input target, reads command adapted thereto, gets the letter that corresponding instruction carries
Breath.
For example, user A wants to take on the telephone or send short messages with Lee junior partner little Hua for catching loach when their village schools together, it can
To input " Li little Hua " either " the small * of Lee " either " Lee spends " either " little Hua " or " flower " etc. in the search box of cell phone address book
Keyword, smart phone priming inductor, the Content Transformation by user's input are command adapted thereto, read instruction, acquisition instruction letter
Breath.
Step S104: the contact information to match with the keyword is searched in contact book of mobile phone.
Preferably, the first preset contact information in the contact book of mobile phone, the first preset contact person are obtained
Information is contact person's address;
The preset contact information is traversed according to the sequencing of the initial of contact person address, described in judgement
With the presence or absence of the contact information to match with the keyword in preset contact information;
If so, showing the corresponding number of the contact information, otherwise, then the step of generating number of hops is executed.
So-called traversal refers to along certain search pattern, and successively node each in tree is done successively and only done and is successively visited
It asks.In the present embodiment, search pattern is the line that contact person's address is formed according to the sequencing of initial in contact book of mobile phone
Section, wherein each contact person address is node.
Such as there are 5 contact persons, Zhou Jielun, Chen Yixun, Li Yifeng, well Bai Ran, Deng in the contact book of mobile phone of user B
It is super.When user requires to look up " Zhou Jielun ", if input keyword " Jie Lun ", intelligent terminal is first stored by user
Contact person calls according to the contact person of their remarks to sort, Chen Yixun, Deng Chao, Li Yifeng, well Bai Ran, Zhou Jielun.It first looks for
Whether Deng Chao matches with outstanding human relations, is not to continue to search Li Yifeng, is not still then to search, eventually finds Zhou Jielun, with outstanding person
Human relations matching, while the contact number of the terminal displays such as mobile phone Zhou Jielun, user directly dial the number or to the number users
Corresponding contact person can be contacted by sending short message.If user requires to look up " Zhong Hanliang ", and in the same manner successively
It searches, but after having looked for Zhou Jielun, the contact person still not matched, terminal device terminates to search at this time, and generates a jump
Turn the parameter of number.
Further, if the quantity for finding the contact information to match with the keyword is greater than 1, according to lookup
To sequencing by the corresponding number of the contact information found be added to processing queue tail of the queue, by the processing
The head of the queue of queue extracts the number and executes the step of showing the contact information.
Queue is a kind of special linear list, and being characterized in that it only allows to carry out delete operation in the front end of table, and
Insertion operation is carried out as stack in the rear end of table, and queue is a kind of restricted linear list of operation.Carry out the end of insertion operation
Referred to as tail of the queue, the end for carrying out delete operation are known as head of the queue.When there is no element in queue, referred to as empty queue.
In the present embodiment, if finding the contact person to match with the keyword of user's input has multiple, terminal device
According to the sequencing for finding these contact persons, corresponding contact number is successively obtained, and by these numbers according to successive
Sequence is added to processing queue, then extracts from the head of the queue of processing queue one by one, if there is identical number, automatically selects and skip,
Finally these numbers are successively shown.
It is (Liu) Jie Lun, (week) Jie Lun, Zhou Jielun, Li Yifeng, old for example, there are 5 contact persons in the address list of user C
Yi Xun, when user needs to look for the user for crying outstanding human relations, input keyword " Jie Lun " is successively matched according to aforementioned lookup method
This 3 contact persons of (Liu) Jie Lun, (week) Jie Lun, Zhou Jielun, since user crosses Zhou Jielun remarks 2 times, according to shown number
Code is automatic to be merged, therefore matches 2 contact persons, and terminal device shows the number of the outstanding human relations of (Liu) first found, user first
After dialing, if the people looked for is correct, it can choose and remove subsequent lookup result, if incorrect, terminal device display is looked into below
The corresponding number of the user found, operates according to this, until having shown all lookup results.
Step S106: number of hops is generated.
Step S108: using the corresponding terminal of the contact information found as next-hop terminal, by the keyword and
The number of hops is sent to the next-hop terminal.
In the present embodiment, if there being 20 contact persons in the address list of user D, after having searched this 20 contact persons,
The contact person to match with the keyword of input is not found, above-mentioned number of hops and keyword are just sent respectively to by terminal device
This 20 contact persons successively search the contact person to match with keyword by this 20 contact persons again.
Second terminal as the next-hop terminal is used to receive the number of hops and the pass that upper hop terminal is sent
Key word;The contact information to match with the keyword is searched in the contact book of mobile phone of the second terminal;If finding,
The corresponding number of the contact information found is sent to the first terminal;Otherwise, the number of hops is successively decreased to obtain
The number of hops of update, when the number of hops of the update is greater than first threshold, then using the second terminal as upper hop
Terminal, using the corresponding terminal of the contact information found as next-hop terminal, by the keyword and the number of hops
It is sent to the next-hop terminal.
Specifically, as shown in Figure 4, comprising the following steps:
Step S202: the number of hops and keyword that upper hop terminal is sent are received.
In the present embodiment, upper hop terminal may be first terminal, it is also possible to be second terminal.For example, user D will be looked into
" Li Mingao " is looked for, is not found in 5 contact persons of mobile phone terminal address list, then distinguishes the keyword of lookup and number of hops
This 5 contact persons are sent to, then this 5 contact persons successively search further according to the address list of oneself, if having in this 5 contact persons
People finds the contact person to match with keyword, then upper hop terminal is first terminal at this time.If this 5 contact persons are not
The contact person to match with keyword is found, just successively decreases number of hops to obtain new number of hops, this 5 contact persons will be new
Number of hops and keyword are sent respectively to the contact person in oneself address list together, at this point, upper hop terminal is this 5 connection
It is the corresponding terminal of people.
Step S204: the contact information to match with the keyword is searched in contact book of mobile phone.
Preferably, the second preset contact information in the contact book of mobile phone, the second preset contact person are obtained
Information is contact person's address;
The second preset contact information, judgement are traversed according to the sequencing of the initial of contact person address
With the presence or absence of the contact information to match with the keyword in the second preset contact information.
Such as there are 5 contact persons, Zhou Jielun, Chen Yixun, Li Yifeng, well Bai Ran, Deng in the contact book of mobile phone of user B
It is super.When user requires to look up " Zhou Jielun ", if input keyword " Jie Lun ", intelligent terminal is first stored by user
Contact person calls according to the contact person of their remarks to sort, Chen Yixun, Deng Chao, Li Yifeng, well Bai Ran, Zhou Jielun.It first looks for
Whether Deng Chao matches with outstanding human relations, is not to continue to search Li Yifeng, is not still then to search, eventually finds Zhou Jielun, with outstanding person
Human relations matching, while the contact number of the terminal displays such as mobile phone Zhou Jielun, user directly dial the number or to the number users
Corresponding contact person can be contacted by sending short message.If user requires to look up " Zhong Hanliang ", and in the same manner successively
It searches, but after having looked for Zhou Jielun, the contact person still not matched, terminal device terminates to search at this time, and generates a jump
Turn the parameter of number.
Step S206: if finding, the corresponding number of the contact information is sent to first terminal.
Preferably, the step further include:
If the quantity for finding the contact information to match with the keyword is greater than 1, the contact information is obtained
Corresponding number;
According to the sequencing found, the number is successively sent to the first terminal.
In the present embodiment, prestored 10 contact persons in the contact book of mobile phone of user E, Li Yifeng, Liu Ye, Sun Yanzi,
Sun Yanzi, Liu Yifei, He Gui, swallow, Wang Han, Liu Yanzi, (Liu) swallow.Existing upper hop terminal sends keyword " swallow ", uses
Family E successively matches Liu Yanzi, Sun Yanzi, swallow, (Liu) swallow according to keyword " swallow ".Terminal device is according to being matched
Result obtain the contact number of this 4 contact persons respectively, according to matched sequencing, successively by Liu Yanzi, Sun Yanzi, swallow
Sub, (Liu) swallow contact number is sent to first terminal.
Further, the step further includes merging number identical in the number.
In the same embodiment, if Liu Yanzi and (Liu) swallow are same people in 4 contact persons matched, in transmission number
Before code, the two identical numbers are merged, and are subject to the sequence of the Liu Yanzi first found.That is, after merging, according to
It is secondary send Liu Yanzi, Sun Yanzi, swallow telephone number to first terminal.
Further, described that the contact information to match with the keyword is searched in contact book of mobile phone;If finding,
The step of contact information is then sent to first terminal further include:
The keyword carries flag bit, the flag bit first terminal for identification;
According to the flag bit, the corresponding number of the contact information is sent to the first terminal.
In the present embodiment, first terminal is the user terminal for initiating to search contact person according to keyword.The intelligence such as mobile phone
When energy terminal returns to the result found, first terminal is found according to flag bit, so being directly returned to first terminal i.e.
It can.It is successively returned without being returned to upper hop terminal, then by upper hop terminal.
For example, user F initiates to search contact person Zhang Ziyi, it is crucial by searching after not found in local handset address list
Word is sent to the All Contacts in local address book, successively searches, and F is by local connection a, a by local connection
It is people b, b eventually finds seal after local contact person e by local contact person d, d by local contact person c, c
It is happy.When returning to the contact number of Zhang Ziyi at this time, user e is transmitted directly to F, rather than has stepped through d-c-b-a-F return.
Step S208: otherwise, the number of hops being successively decreased the number of hops updated, in jumping time for the update
When number is greater than first threshold, then using the corresponding terminal of the contact information found as next-hop terminal, by the keyword
The next-hop terminal is sent to the number of hops.
There are many modes that number of hops is successively decreased.Such as default number of hops is 6, when the user for initiating to search it is local not
When finding the result to match, number of hops 6 is sent to contact person A1, if contact person A1 is not found yet, number of hops is set
Subtracting 1 becomes 5, number of hops is then sent to contact person A2, after continuation is not found, number of hops becomes 4.Successively go down, often
It is secondary to subtract 1.Or default number of hops is 12, every to search once, number of hops subtracts 2.
In the present embodiment, first threshold 0.After rule is successively decreased in setting, successively searched according to above-mentioned decreasing fashion, when
When number of hops is 0, stop searching.If but number of hops has found multiple matching results when being still greater than 0, stops searching.?
After first terminal successively dials multiple results of return, if it is all incorrect, then go out successively to search down from the terminal for returning to message,
Until hop count becomes 0.
For example, user G needs to search " Jie Lun ", after not found in local address book, " Jie Lun " and number of hops 4 are sent out
Give 5 contact persons B1, C1, D1, E1, the F1 prestored.As a result this 5 contact persons do not find in the terminal contact of oneself
Accordingly result, then " Jie Lun " and number of hops 3 are sent to local linkages people b2, b3, b4 by B1.C1, D1, E1, F1 are also with phase
Same operation is sent to the contact person that oneself terminal prestores.
If b2, b3, b4 all do not find as a result, if b2 (b3, b4) " Jie Lun " and number of hops 2 be sent to oneself terminal
Contact person b5, b6.When at least one in b5 and b6 finds correct result, stop searching, number of hops is still at this time
2。
If at least one in b2, b3, b4 is found as a result, stopping searching at this time, number of hops 3.It will search simultaneously
To number return to first terminal.After first terminal user successively dials the number of return, if corresponding contact person is
It is not right, continue to begin looking for from the next-hop of b2, b3, b4 at this time, number of hops becomes 2, goes down according to this, and final number of hops is
Stop searching after 0.
In addition, managing the insufficient technology of operation ease to solve multimedia play list in traditional technology mentioned above
Problem, in one embodiment, spy propose a kind of multimedia play list managing device, as shown in figure 5, the device includes:
Receiving module 102, searching module 104, number of hops generation module 106 and sending module 108, in which:
Receiving module 102, keyword for receiving input;
Searching module 104, for searching the contact information to match with the keyword in contact book of mobile phone;
Number of hops generation module 106, for generating number of hops;
Sending module 108, for using the corresponding terminal of the contact information found as next-hop terminal, by the pass
Key word and the number of hops are sent to the next-hop terminal.
Further, the searching module 104 is also used to:
The first preset contact information in the contact book of mobile phone is obtained, the first preset contact information is connection
It is that person is exhaled;
The preset contact information is traversed according to the sequencing of the initial of contact person address, described in judgement
With the presence or absence of the contact information to match with the keyword in preset contact information;
If so, showing the corresponding number of the contact information, otherwise, then the step of generating number of hops is executed.
Optionally, the searching module 104 is also used to:
If the quantity for finding the contact information to match with the keyword is greater than 1, successive according to finding
The corresponding number of the contact information found is added to the tail of the queue of processing queue by sequence, by the team of the processing queue
Head extracts the number and executes the step of showing the contact information corresponding number.
In addition, managing the insufficient technology of operation ease to solve multimedia play list in traditional technology mentioned above
Problem, in another embodiment, spy propose a kind of multimedia play list managing device, as shown in fig. 6, the device packet
It includes: receiving module 202, searching module 204, sending module 206 and number of hops update module 208, in which:
Receiving module 202, for receiving the number of hops and keyword of the transmission of upper hop terminal;
Searching module 204, for searching the contact information to match with the keyword in contact book of mobile phone;
Sending module 206, if the corresponding number of the contact information is sent to first terminal for finding;
Number of hops update module 208 successively decreases the number of hops number of hops updated for otherwise,
When the number of hops of the update is greater than first threshold, then using the corresponding terminal of the contact information found as next-hop end
End, is sent to the next-hop terminal for the keyword and the number of hops.
Further, the searching module 204 is also used to:
The second preset contact information in the contact book of mobile phone is obtained, the second preset contact information is connection
It is that person is exhaled;
The second preset contact information, judgement are traversed according to the sequencing of the initial of contact person address
With the presence or absence of the contact information to match with the keyword in the second preset contact information.
Further, the sending module 204 is also used to:
If the quantity for finding the contact information to match with the keyword is greater than 1, the contact information is obtained
Corresponding number;
According to the sequencing found, the number is successively sent to the first terminal.
Optionally, the sending module 204 is also used to merge number identical in the number.
Optionally, the sending module 204 is also used to:
The keyword carries flag bit, the flag bit first terminal for identification;
According to the flag bit, the contact information is sent to the first terminal.
In conclusion implementing the embodiment of the present invention, will have the following beneficial effects:
After above-mentioned contact book of mobile phone lookup method, apparatus and system, first terminal (it is whole to initiate the user searched
End) receive the keyword of user's input after, the contact information to match with keyword is searched in local handset address list, if
It finds, then shows and find the corresponding number of contact information;Otherwise, then number of hops is generated, the contact person found is believed
Corresponding terminal is ceased as next-hop terminal, and keyword and number of hops are sent to next-hop terminal.And as next-hop end
The second terminal at end is searched and is closed in local handset address list after receiving the number of hops that upper hop terminal is sent and keyword
The contact information found is sent to first terminal if finding by the contact information that key word matches;Otherwise, it will jump
Turn number to successively decrease the number of hops updated.When the number of hops of update is greater than first threshold (0), the connection that will find
The corresponding terminal of people is sent to next-hop terminal as next-hop terminal, by keyword and number of hops.Successively search, and
The number found is returned into first terminal.By such lookup method, user is without inquiring that multiple go-betweens can be quick
Lookup contact person, to improve the convenience of operation.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (15)
1. a kind of contact book of mobile phone lookup method characterized by comprising
Receive the number of hops and keyword that upper hop terminal is sent;
The contact information to match with the keyword is searched in contact book of mobile phone;
If finding, the corresponding number of the contact information is sent to first terminal, wherein the keyword carries mark
The contact information is sent to described the according to the flag bit by position, the flag bit first terminal for identification
One terminal;
Otherwise, the number of hops is successively decreased the number of hops updated, is greater than the first threshold in the number of hops of the update
When value, then using the corresponding terminal of the contact information found in the contact book of mobile phone as next-hop terminal, by the pass
Key word and the number of hops are sent to the next-hop terminal, in the contact book of mobile phone of the next-hop terminal search with
The contact information that the keyword matches.
2. the method according to claim 1, wherein described search and the keyword phase in contact book of mobile phone
The step of matched contact information further include:
The second preset contact information in the contact book of mobile phone is obtained, the second preset contact information is contact person
Address;
The second preset contact information is traversed according to the sequencing of the initial of contact person address, described in judgement
With the presence or absence of the contact information to match with the keyword in second preset contact information.
3. the method according to claim 1, wherein if described find, the contact information is corresponding
Number is sent to the step of first terminal further include:
If the quantity for finding the contact information to match with the keyword is greater than 1, it is corresponding to obtain the contact information
Number;
According to the sequencing found, the number is successively sent to the first terminal.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Number identical in the number is merged.
5. a kind of contact book of mobile phone searches device characterized by comprising
Receiving module, for receiving the number of hops and keyword of the transmission of upper hop terminal;
Searching module, for searching the contact information to match with the keyword in contact book of mobile phone;
Sending module, if the corresponding number of the contact information is sent to first terminal, wherein described for finding
Keyword carries flag bit, and the flag bit for identification believe the contact person according to the flag bit by the first terminal
Breath is sent to the first terminal;
Number of hops update module successively decreases the number of hops number of hops updated, in the update for otherwise
Number of hops be greater than first threshold when, then using the corresponding terminal of the contact information found in the contact book of mobile phone as
The keyword and the number of hops are sent to the next-hop terminal, in the next-hop terminal by next-hop terminal
Contact book of mobile phone in search the contact information to match with the keyword.
6. device according to claim 5, which is characterized in that the searching module is also used to:
The second preset contact information in the contact book of mobile phone is obtained, the second preset contact information is contact person
Address;
The second preset contact information is traversed according to the sequencing of the initial of contact person address, described in judgement
With the presence or absence of the contact information to match with the keyword in second preset contact information.
7. device according to claim 5, which is characterized in that the sending module is also used to:
If the quantity for finding the contact information to match with the keyword is greater than 1, it is corresponding to obtain the contact information
Number;
According to the sequencing found, the number is successively sent to the first terminal.
8. device according to claim 7, which is characterized in that the sending module is also used to will be identical in the number
Number merges.
9. a kind of contact book of mobile phone lookup method characterized by comprising
Receive the keyword of input;
The contact information to match with the keyword is searched in contact book of mobile phone;
If not finding, number of hops is generated;
Using the corresponding terminal of the contact information found as next-hop terminal, the keyword and the number of hops are sent out
The next-hop terminal is given, to use the method as described in claim 1 in the contact book of mobile phone of the next-hop terminal
Search the contact information to match with the keyword.
10. according to the method described in claim 9, it is characterized in that, described search and the keyword in contact book of mobile phone
The step of contact information to match further include:
The first preset contact information in the contact book of mobile phone is obtained, the first preset contact information is contact person
Address;
The preset contact information is traversed according to the sequencing of the initial of contact person address, is judged described default
Contact information in the presence or absence of the contact information that matches with the keyword;
If so, showing the corresponding number of the contact information, otherwise, then the step of generating number of hops is executed.
11. according to the method described in claim 10, it is characterized in that, the method also includes:
If the quantity for finding the contact information to match with the keyword is greater than 1, according to the sequencing found
The corresponding number of the contact information found is added to the tail of the queue of processing queue, is mentioned by the head of the queue of the processing queue
The number is taken to execute the step of showing the contact information corresponding number.
12. a kind of contact book of mobile phone searches device characterized by comprising
Receiving module, keyword for receiving input;
Searching module, for searching the contact information to match with the keyword in contact book of mobile phone;
Number of hops generation module, for not finding the contact information to match with the keyword in the searching module
In the case of, generate number of hops;
Sending module, for using the corresponding terminal of the contact information found as next-hop terminal, by the keyword and
The number of hops is sent to the next-hop terminal, with logical in the mobile phone as claimed in claim 5 of the next-hop terminal
The contact information searched in device and matched with the keyword is searched in letter record.
13. device according to claim 12, which is characterized in that the searching module is also used to:
The first preset contact information in the contact book of mobile phone is obtained, the first preset contact information is contact person
Address;
The preset contact information is traversed according to the sequencing of the initial of contact person address, is judged described default
Contact information in the presence or absence of the contact information that matches with the keyword;
If so, showing the corresponding number of the contact information, otherwise, then the step of generating number of hops is executed.
14. device according to claim 13, which is characterized in that the searching module is also used to:
If the quantity for finding the contact information to match with the keyword is greater than 1, according to the sequencing found
The corresponding number of the contact information found is added to the tail of the queue of processing queue, is mentioned by the head of the queue of the processing queue
The number is taken to execute the step of showing the contact information corresponding number.
15. a kind of contact book of mobile phone searches system, which is characterized in that including first terminal and second terminal, in which:
The first terminal keyword for receiving input;It is searched and the pass in the contact book of mobile phone of the first terminal
The contact information that key word matches generates number of hops, using the first terminal as upper hop terminal, the connection that will be found
It is the corresponding terminal of people's information as next-hop terminal, it is whole that the keyword and the number of hops is sent to the next-hop
End;
Second terminal as the next-hop terminal is used to receive the number of hops and the keyword that upper hop terminal is sent;
Contact information corresponding with the keyword is searched in the contact book of mobile phone of the second terminal;If finding, will search
To contact information be sent to the first terminal;Otherwise, the number of hops is successively decreased the number of hops updated,
When the number of hops of the update is greater than first threshold, then using the second terminal as upper hop terminal, the connection that will be found
It is the corresponding terminal of people as next-hop terminal, the keyword and the number of hops is sent to the next-hop terminal,
To search the contact information to match with the keyword in the contact book of mobile phone of the next-hop terminal,
Wherein, the keyword carries flag bit, the flag bit first terminal for identification, according to the flag bit,
The contact information is sent to the first terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510607431.9A CN105306687B (en) | 2015-09-22 | 2015-09-22 | A kind of contact book of mobile phone lookup method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510607431.9A CN105306687B (en) | 2015-09-22 | 2015-09-22 | A kind of contact book of mobile phone lookup method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105306687A CN105306687A (en) | 2016-02-03 |
CN105306687B true CN105306687B (en) | 2019-02-05 |
Family
ID=55203418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510607431.9A Expired - Fee Related CN105306687B (en) | 2015-09-22 | 2015-09-22 | A kind of contact book of mobile phone lookup method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105306687B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702837A (en) * | 2009-11-18 | 2010-05-05 | 中兴通讯股份有限公司 | Message book sharing method and device |
CN102378159A (en) * | 2010-08-23 | 2012-03-14 | 中国移动通信有限公司 | Method, system and device for searching contact information |
CN102984391A (en) * | 2012-12-10 | 2013-03-20 | 东莞宇龙通信科技有限公司 | Mobile terminal and reply processing method for message content in mobile terminal |
CN103916469A (en) * | 2014-03-26 | 2014-07-09 | 北京奇虎科技有限公司 | Method for acquiring contact person information, client end and server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080293448A1 (en) * | 2007-05-24 | 2008-11-27 | Sony Ericsson Mobile Communications Ab | Assisted lookup of contacting identifiers |
-
2015
- 2015-09-22 CN CN201510607431.9A patent/CN105306687B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702837A (en) * | 2009-11-18 | 2010-05-05 | 中兴通讯股份有限公司 | Message book sharing method and device |
CN102378159A (en) * | 2010-08-23 | 2012-03-14 | 中国移动通信有限公司 | Method, system and device for searching contact information |
CN102984391A (en) * | 2012-12-10 | 2013-03-20 | 东莞宇龙通信科技有限公司 | Mobile terminal and reply processing method for message content in mobile terminal |
CN103916469A (en) * | 2014-03-26 | 2014-07-09 | 北京奇虎科技有限公司 | Method for acquiring contact person information, client end and server |
Also Published As
Publication number | Publication date |
---|---|
CN105306687A (en) | 2016-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11847151B2 (en) | Disambiguating user intent in conversational interaction system for large corpus information retrieval | |
US10491550B2 (en) | Instant communication | |
CN103916306B (en) | The method and apparatus for realizing instant messaging | |
CN103309998B (en) | A kind of message query method and device, terminal device | |
CN104951093B (en) | Caller or the mobile terminal and its method of function are realized by user-defined press key | |
CN103916436B (en) | Information-pushing method, device, terminal and server | |
CN104679900B (en) | Application program searching method and device | |
CN106973075B (en) | Share comment method and system, domain name code-transferring method, client and server | |
CN107450725B (en) | Man-machine interaction application platform, method and storage medium | |
CN102984050A (en) | Method, client and system for searching voices in instant messaging | |
CN105335355A (en) | Method, apparatus and system for automatically translating text message in instant communication software | |
CN107196852A (en) | Instant communicating method and user terminal | |
WO2019206316A1 (en) | Photographic method and terminal device | |
CN103843281A (en) | Information exchange in the social network environment | |
CN111859119A (en) | Information processing method and device | |
CN106528085A (en) | Interface switching method and apparatus | |
CN106060220B (en) | A kind of contact information creation method and mobile terminal | |
WO2015180382A1 (en) | Method and device for managing instant message | |
CN106453823A (en) | Method and device for sending messages rapidly, and terminal | |
CN110163051A (en) | Text Extraction, device and storage medium | |
CN103457799A (en) | Microblog zombie user detection method based on relational graph | |
CN110472033A (en) | Answering method, device and server based on NLP model | |
CN105306687B (en) | A kind of contact book of mobile phone lookup method, apparatus and system | |
CN101119339B (en) | Method and device for establishing multi-user discuss group in instant communication system | |
CN112463003A (en) | Picture display method and device, electronic equipment and 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 | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190205 |
|
CF01 | Termination of patent right due to non-payment of annual fee |