Summary of the invention
The object of the present invention is to provide a kind of local communication method of Bluetooth of mobile phone, need not by operator, in the zone of bluetooth communication, the user can real-time phonetic, the information chat, search for other users, exchange visiting cards.
Technical scheme of the present invention is as follows:
The device of a kind of Bluetooth of mobile phone local communication is applied to have the mobile phone of bluetooth module, and wherein, it comprises administration module, memory module, search module and judge module; Described administration module is connected with described search module, described memory module respectively, is used to control the startup of described search module, is provided with and manages the information in the described memory module, and described information comprises user profile and search condition; Described search module is connected with described bluetooth module, be used for sending and receiving search signal, search for the mobile phone that other have bluetooth local communication function, and according to described search condition, search for the mobile phone with bluetooth local communication function that all meet search condition, described search condition comprises sex, age at least or likes one of them; Described judge module is connected with described search module, described memory module, described short message module respectively, be used to judge exist other to have the mobile phone of bluetooth local communication function, then control the short message module and send and receive short message by described bluetooth module.
Described device, wherein, it also comprises the local area network (LAN) voice module, it is connected with described judge module, described bluetooth module respectively, when being used to exist other mobile phones with bluetooth local communication function, sends and receiving speech information by described bluetooth module.
Described device, wherein, described memory module be provided with at least good friend unit, blacklist unit, name blade unit one of them; Described good friend unit is used to store other cellphone subscribers' that the communication of bluetooth local had taken place essential information, described essential information comprise at least the user the pet name, age, sex, hobby or photo one of them; Described blacklist unit is used to store other cellphone subscribers' that the communication of refusal bluetooth local had taken place essential information; Described name blade unit is used to store each cellphone subscriber's details, described details comprise at least name, academic title, work unit, telephone number, phone number, CompanyAddress, Email, postcode or fax number one of them.
Described device, wherein, described device also comprises bluetooth game module and link block; Described bluetooth game module is connected with described administration module, described link block respectively, be used for operation and pre-set recreation, and, send and receive the described information that pre-sets recreation by described link block as described server end or the client that pre-sets recreation; Described link block also is connected with described administration module, described search module, described bluetooth module respectively, be used to search for when obtaining existing other mobile phones with bluetooth local communication function, send and receive the described information that pre-sets recreation by described bluetooth module, and be sent to described bluetooth game module; And described administration module also is used to control the function of described bluetooth game module and described link block.
Described device, wherein, described mobile phone also comprises the mobile phone games module, and described mobile phone games module and described bluetooth game module are wholely set.
The method of a kind of Bluetooth of mobile phone local communication is applied to have the mobile phone of bluetooth module, and it comprises step: A1, the user profile and the search condition of the communication of Bluetooth of mobile phone local are set, described search condition comprises sex, age at least or likes one of them; A2, startup are provided with the local communication function of Bluetooth of mobile phone; A3, employing bluetooth approach, search has started other mobile phones of described local communication function, and perhaps according to search condition, search meets the mobile phone with bluetooth local communication function of search condition; A4, other mobile phones that obtain to search send the local communication request; A5, judge whether the other side agrees the local communication, otherwise the local communication termination; Be execution in step A6 then; Wherein, described local communication comprise at least send and receive short message, voice messaging, user profile, game information one of them; A6, set up the local communication and connect, carry out the local communication.
Described method, wherein, steps A 4 specifically comprises, inquiry and the described user profile of selecting to search for other mobile phones that obtain, and send the local communication request.
Described method, wherein, steps A 6 also comprises, stores the other side into blacklist, stops the local communication termination.
Described method wherein, also comprised before steps A 6, stored the other side into buddy list.
Described method, wherein, it also comprises steps A 7, when the user receives the local communication request of other mobile phones, selects to agree to carry out local communication, execution in step A6; Perhaps refusal carries out local communication, local communication termination.
Adopt such scheme, the present invention utilizes Bluetooth technology in the local area network (LAN) that mobile phone is formed, and directly in the zone of bluetooth communication, carries out the chat of instant chat voice or information, can also search for other users, carries out the exchange of user's business card, perhaps carries out mobile phone games.The user can also find in the crowd and oneself want the people that looks for like this.
Embodiment
Below preferred embodiment of the present invention is described in detail.
As shown in Figure 1, the invention provides the device of a kind of Bluetooth of mobile phone local communication, be applied to have the mobile phone of bluetooth module, it comprises administration module, memory module, search module and judge module; Described administration module is connected with described search module, described memory module respectively, is used to control the startup of described search module, is provided with and manages the information in the described memory module, and described information comprises user profile and search condition; Described memory module is used for storing subscriber information and search condition or the like, and the described memory module of apparatus of the present invention can be wholely set with the existing memory module of mobile phone.
Described search module is connected with described bluetooth module, is used for sending and receiving search signal, searches for the mobile phone that other have bluetooth local communication function; Described judge module is connected with described search module, memory module, described short message module respectively, is used to judge exist other to have the mobile phone of bluetooth local communication function, then controls the short message module and sends and receive short message by described bluetooth module.
Described device can also comprise the local area network (LAN) voice module, and it is connected with described judge module, described bluetooth module respectively, when being used to exist other mobile phones with bluetooth local communication function, sends and receiving speech information by described bluetooth module.
In the described device, described memory module can be provided with the good friend unit, be used to store other cellphone subscribers' that the communication of bluetooth local had taken place essential information, described essential information comprise at least the user the pet name, age, sex, hobby or photo one of them, also can comprise user's the pet name, age, sex, hobby and photo simultaneously.
In the described device, described memory module can be provided with the blacklist unit, is used to store other cellphone subscribers' that the communication of refusal bluetooth local had taken place essential information.When other cellphone subscribers that search meet blacklist, then do not reresent existing cellphone subscriber.
In the described device, described memory module can be provided with a blade unit, be used to store each cellphone subscriber's details, described details comprise at least name, academic title, work unit, telephone number, phone number, CompanyAddress, Email, postcode or fax number one of them, also can comprise user's name, academic title, work unit, telephone number, phone number, CompanyAddress, Email, postcode and fax number simultaneously.
Need to prove that the described memory module in the device of the present invention can be provided with good friend unit, blacklist unit and name blade unit simultaneously.
And described device also comprises bluetooth game module and link block.
Described bluetooth game module is connected with described administration module, described link block respectively, be used for operation and pre-set recreation, and, send and receive the described information that pre-sets recreation by described link block as described server end or the client that pre-sets recreation.
Described link block also is connected with described administration module, described search module, described bluetooth module respectively, be used to search for when obtaining existing other mobile phones with bluetooth local communication function, send and receive the described information that pre-sets recreation by described bluetooth module, and be sent to described bluetooth game module.And, this moment, described administration module also was used to control the function of described bluetooth game module and described link block, for example, control the startup of described bluetooth game module, control described bluetooth game module and move the described recreation that pre-sets, control described link block and be connected to bluetooth game module of other users or the like.
In general, be provided with the mobile phone games module on the mobile phone mostly, bluetooth game module of the present invention can be wholely set with described mobile phone games module; At this moment, device of the present invention only is to be connected with the mobile phone games module by described administration module, described link block; Can in normal operation mobile phone games,,, insert other users' game client as the server end of the recreation that is moving by Bluetooth function; Perhaps, by Bluetooth function, as game client, join in the recreation that other users are moving, at this moment, other above-mentioned users mobile phone games module is just as the server end of recreation.
The method of a kind of Bluetooth of mobile phone local communication is applied to have the mobile phone of bluetooth module, and it comprises step:
A1, the user profile of Bluetooth of mobile phone local communication is set; Specifically can comprise above-mentioned essential information and/or details.
A2, startup are provided with the local communication function of Bluetooth of mobile phone; At this moment, user's mobile phone can adopt bluetooth approach to send search information, and receives the search information that other have started other mobile phones of described local communication function.
A3, user's mobile phone adopts bluetooth approach, and search has started other mobile phones of described local communication function; If search does not obtain other mobile phones, can return the information of no Search Results to the user.
A4, other mobile phones that obtain to search send the local communication request; Wherein, steps A 4 specifically comprises, inquiry and the described user profile of selecting to search for other mobile phones that obtain, and send the local communication request.
A5, judge whether the other side agrees the local communication, otherwise the local communication termination; Be execution in step A6 then; Wherein, described local communication comprises transmission and receives short message, voice messaging, user profile, game information or the like; Described local communication can only be to send and the reception short message, also can be to send and receive above-mentioned full detail.
A6, set up the local communication and connect, carry out the local communication.Perhaps, before steps A 6, also comprise, store the other side into buddy list.
Wherein, steps A 6 can also comprise step, stores the other side into blacklist, stops the local communication termination.
Described method can also comprise steps A 7, when the user receives the local communication request of other mobile phones, selects to agree to carry out local communication, execution in step A6; Perhaps refusal carries out local communication, local communication termination.
Like this, method by the communication of above-mentioned Bluetooth of mobile phone local, each user is in the local area network (LAN) that mobile phone is formed, can utilize Bluetooth technology, directly in the zone of bluetooth communication, carry out the chat of instant chat voice or information, can also search for other users, carry out the exchange of user's business card, perhaps carry out mobile phone games or the like.
Below describe apparatus and method of the present invention in detail, as shown in Figure 2, can select to set user information, concrete user profile can be as shown in Figure 3, and the user can select open basic document or open whole data.As shown in Figure 2, start the BlueTalk function of mobile phone, and log-on message is set, click the login option, the bluetooth equipment on Activating Phone, all bluetooth cellular phones that have the BlueTalk function and be in state of activation of search in the effective range of bluetooth.Match connection with the secret key of public pairing between the BlueTalk user, and all users in the current BlueTalk effective range, as shown in Figure 4, be presented in BlueTalk user's " current state " of mobile phone.
For example, concrete pairing process is as follows: the mobile phone of BlueTalk user's first is under the situation that activates bluetooth equipment, when searching another BlueTalk user's second, initiatively the mobile phone to BlueTalk user's second sends pairing request, wherein comprise the pairing key, this key is fixed the BlueTalk function, after receiving this pairing request, the mobile phone of BlueTalk user's second will initiate a message, tell BlueTalk party b subscriber, someone applies for connecting with it, and BlueTalk user's second can select to accept or refuse this pairing request.Select to accept this pairing request when BlueTalk user's second, BlueTalk user's second will correspondingly feed back to BlueTalk user's first with the public keys of BlueTalk, and connects between BlueTalk user's first and BlueTalk user's second.When this pairing request of BlueTalk user's second selection refusal, then connection failure, and return a failure and give BlueTalk user's first.
In general, at present the BlueTalk effective range about ten meters, the concrete environment that will look around and determine that along with the development of Bluetooth technology, effective range can also continue to expand, the present invention does not do any additional limits to speech.
Button is selected BlueTalk user, as shown in Figure 4, the other side's basic document can be presented on two positions, has shown the other side's the pet name, age, sex in the above, show the other side's information such as photo, hobby below, can certainly all be presented in the following complete basic document.
Generally, basic document comprises the pet name, sex, age, hobby.Optional basic document can also be user's photo.The necessary full disclosure of basic document, this is the precondition of the search work of search module.
Can also be by browsing the other side's basic document, selection the other side becomes the good friend of oneself or the other side is put in the blacklist.When selecting the other side to become the good friend of oneself, BlueTalk user's mobile phone can send a solicited message to the other side, and after the other side agrees, can set up chat and connect, for example, voice-enabled chat and short message chat.In the process of chat, can be put into the other side in the blacklist at any time, thereby refusal is accepted the information that the other side sends.With the process of the other side chat in, if feeling to be necessary strengthens contact, can send business card to the other side, the management of business card as shown in Figure 5, the business card of receiving is put in " all business cards " shown in Figure 5 and manages.
As shown in Figure 6, the mobile phone with BlueTalk function can set in advance some search conditions in the process of carrying, for example sex, age, hobby etc.For example: a search condition is that a hobby is 23 to 30 years old boy student of basketball, the then last fixed length numerical value that generates just is 0301, concrete implication is, on first 0 expression sex is the man, on second 3 is the 4th option 23-30 at the expression age, on the 3rd 0 expression is ball, 1 expression basketball on the 4th.Concrete numbering can be set in advance, is stored in the relevant memory module.
When the BlueTalk function of the mobile phone of BlueTalk user's first is in state of activation, in effective range, search qualified another and be in BlueTalk user's second of state of activation at BlueTalk, initiate a message for BlueTalk user's first, for example play one section music, the tinkle of bells or other sound, also can only send Word message, tell BlueTalk user's first in the effective range of its BlueTalk, have to meet its predefined BlueTalk user, so just can not miss the object that meets its search condition.
The concrete setting as shown in Figure 6, it is that sex is being on first on the fixed length numerical value that each group setting is all taked to distribute the method for numerical value by item, 0 expression man, 1 expression woman.Age is being that " not limit " on second be 0 on the fixed length numerical value, and " 0-15 " are 1, and the like " more than 40 " be 5.Hobby is the 3rd on fixed length numerical value, and ball is 0, and other type is arranged in order, but this is worth and should surpasses 9 for limited field.Sub-option in ball is the 4th on fixed length numerical value, and basketball is 0, other and the like, for this value of limited field can not surpass 9.Numerical value every numerical value in a certain order at last, is combined into the numerical value of one group of fixed length, as above-mentioned 0301, handles according to default value under nonoptional situation, and this default value can be made as 0000, and its implication is search for a male sex who likes football.The searcher was sent this numerical value by BlueTalk in when search, if with by the values match on searcher's the local handset, will return one of searchers by signal, searchers's BlueTalk can trigger mobile phone and send and search for into function signal.
Consider that searched person does not limit sex and the personal preference is many-sided, so also can in " sex " frame shown in Figure 6, increase the uniterming of " male or female ", and the value of setting this " male or female " option is 0, and " male sex " is 1, and " women " is 2.
Set a value for each hobby subclass in " hobby " selected, the search of hobby is final election, and is expressed as follows on the corresponding positions of fixed length value.For example, there is following search fixed length value 000123456789, as shown in the table.
?0 |
?0 |
?0 |
?1 |
?2 |
?3 |
?4 |
?5 |
?6 |
?7 |
?8 |
?9 |
(1) |
(2) |
(3) |
(4) |
(5) |
(6) |
(7) |
(8) |
(9) |
(10) |
(11) |
(12) |
Wherein, (1) bit representation search sex is not for limitting, and (2) bit representation search age, first in (3) bit representation search hobby type 0 was football in order not limit, and (4) bit representation is searched for second in the hobby Class1, and occurrence can be set; Following (5)-(12), one to have the expression on top of ten kinds of hobby types be (3) to (12), each is liked in type and has subtype, and the coding range of subtype is between 0-9.The implication of this search fixed length value is, hobby of search is liked second in numbering second class for liking first that numbers the first kind in current effective range ... hobby is numbered the tenth in the tenth class, male or female, the user of the BlueTalk that the age is not limit.
The present invention is based on and realizes on the basis of Bluetooth of mobile phone technology, can need not the connection by operator in the effective range of bluetooth, function such as realize that real-time phonetic, information are chatted, searched for, exchange visiting cards.The present invention is by providing a kind of local area network (LAN) real-time phonetic, information chat method that does not pass through common carrier, comparing with present mobile phone only is function expansion on software, and the main functional modules of interpolation has search module, local area network (LAN) voice module, short message module.Acting as of these three modules: search module is to search for the mobile phone that is in addition under the state of activation in the effective range of current BlueTalk.The local area network (LAN) voice module is in order to carry out not the voice dialogue by common carrier in the effective range of BlueTalk.The short message module is to send in order to carry out short message in the effective range of BlueTalk.Like this, the user can also find in the crowd and oneself want the people that looks for, and for example, the BlueTalk that fate is doomed meets.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and all these improvement and conversion all should belong to the protection range of claims of the present invention.