CN106534447A - Method for adjusting contact person arrangement manner based on Bluetooth and electronic device - Google Patents
Method for adjusting contact person arrangement manner based on Bluetooth and electronic device Download PDFInfo
- Publication number
- CN106534447A CN106534447A CN201610887956.7A CN201610887956A CN106534447A CN 106534447 A CN106534447 A CN 106534447A CN 201610887956 A CN201610887956 A CN 201610887956A CN 106534447 A CN106534447 A CN 106534447A
- Authority
- CN
- China
- Prior art keywords
- contact person
- bluetooth adapter
- title
- bluetooth
- configuration file
- 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/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27453—Directories allowing storage of additional subscriber data, e.g. metadata
- H04M1/2746—Sorting, e.g. according to history or frequency of use
Landscapes
- Engineering & Computer Science (AREA)
- Library & Information Science (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method for adjusting a contact person arrangement manner based on Bluetooth and an electronic device. The method is applied to the electronic device, and comprises the following steps: when the electronic device establishes a connection with a Bluetooth adapter, obtaining the name of the Bluetooth adapter; querying a preset configuration file according to the name of the Bluetooth adapter; when the preset configuration file includes the name of the Bluetooth adapter, obtaining the contact person arrangement manner corresponding to the name of the Bluetooth adapter from the configuration file; and adjusting the current contact person arrangement manner of the electronic device according to the obtained contact person arrangement manner, so as to facilitate a user to operate, thereby improving the convenience of operation.
Description
Technical field
The present invention relates to moving communicating field, more particularly to a kind of method for adjusting contact person's arrangement mode based on bluetooth
And electronic equipment.
Background technology
The associated person informations of many are preserved on present mobile terminal generally, therefore to the lookup of contact person more not
Just, and as user is in the frequency difference of the contact person used required for different places, therefore according to different places and need
It is to user beneficial function that contact person's arrangement mode will be adjusted, its can lifting operation convenience.
The content of the invention
The invention mainly solves the technical problem of provide it is a kind of based on bluetooth adjust contact person's arrangement mode method and
Electronic equipment, could be adjusted to carry to contact person's arrangement mode to be connected to the title of different Bluetooth adapter according to electronic equipment
The convenience of lift operations.
For solving above-mentioned technical problem, one aspect of the present invention is:There is provided a kind of based on bluetooth adjustment connection
It is the method for people's arrangement mode, methods described is applied to electronic equipment, and methods described includes:
When the electronic equipment and Bluetooth adapter are set up and be connected, the title of the Bluetooth adapter is obtained;
According to the default configuration file of name query of the Bluetooth adapter;
When the default configuration file includes the title of the Bluetooth adapter, from the configuration file obtain with
The corresponding contact person's arrangement mode of title of the Bluetooth adapter;And
It is adjusted according to contact person's sortord that contact person's arrangement mode is current to the electronic equipment.
Wherein, the configuration file includes the title of multiple Bluetooth adapter and reflecting one by one for multiple contact person's arrangement modes
Penetrate relation.
Wherein, when the default configuration file does not include the title of the Bluetooth adapter, further determine whether
Update the configuration file;
If so, contact person's arrangement mode corresponding with the title of the Bluetooth adapter is then set, and is preserved to described and is matched somebody with somebody
Put file.
Wherein, if it is not, then monitoring whether the electronic equipment is connected with other Bluetooth adapter foundation;
If listen to the electronic equipment and set up with described other Bluetooth adapter being connected, return the acquisition bluetooth and fit
The step of title of orchestration;
If do not listen to the electronic equipment and set up with described other Bluetooth adapter being connected, the electronics is not adjusted
The current contact person's sortord of equipment.
Wherein, the contact person sortord current to the electronic equipment according to contact person's arrangement mode is carried out
The step of adjustment, includes:
Current contact person's sortord is adjusted to into contact person row corresponding with the title of the Bluetooth adapter
Row mode.
For solving above-mentioned technical problem, one aspect of the present invention is:There is provided a kind of based on bluetooth adjustment connection
It is the electronic equipment of people's arrangement mode, the electronic equipment includes:
Bluetooth module, is connected for being set up with Bluetooth adapter, and obtains the title of Bluetooth adapter;
Processing module, is connected with the bluetooth module, is matched somebody with somebody for the name query according to the Bluetooth adapter is default
Put file;When the default configuration file includes the title of the Bluetooth adapter, the processing module is from the configuration
Contact person's arrangement mode corresponding with the title of the Bluetooth adapter is obtained in file;
Address list module, and the processing module, for working as to the electronic equipment according to contact person's arrangement mode
Front contact person's sortord is adjusted.
Wherein, the configuration file includes the title of multiple Bluetooth adapter and reflecting one by one for multiple contact person's arrangement modes
Penetrate relation.
Wherein, the electronic equipment also includes setup module, arranges interface to arrange and Bluetooth adapter for providing
The corresponding contact person's arrangement mode of title, and preserve into the configuration file;Institute is not included in the default configuration file
When stating the title of Bluetooth adapter, if the processing module needs to update the configuration file, carried by the setup module
For interface is set arranging contact person's arrangement mode corresponding with the title of the Bluetooth adapter, and preserve to the configuration
File.
Wherein, if the processing module need not update the configuration file, listen to the electronic equipment and its
When his Bluetooth adapter sets up connection, the title of other Bluetooth adapter is obtained by the bluetooth module and institute is supplied to
State processing module.
Wherein, current contact person's sortord is adjusted to and the Bluetooth adapter by the address list module
The corresponding contact person's arrangement mode of title.
The invention has the beneficial effects as follows:The situation of prior art is different from, the described of the present invention is contacted based on bluetooth adjustment
The method of people's arrangement mode and electronic equipment are by default Bluetooth adapter title and the connection of the correspondence Bluetooth adapter title
In being people's arrangement mode configuration file, connect the Bluetooth adapter, and the name of the Bluetooth adapter in the electronic equipment
When title is included in the configuration file, according to the corresponding contact person's arrangement mode of Bluetooth adapter title described in configuration file
The electronic equipment current contact person's arrangement mode is adjusted, to facilitate user to operate which, carrys out lifting operation just
Victory.
Description of the drawings
Fig. 1 is the flow chart of the method for adjusting contact person's arrangement mode based on bluetooth of the present invention;
Fig. 2 is the frame structure schematic diagram of the electronic equipment for adjusting contact person based on bluetooth of the present invention;
Fig. 3 is the hardware architecture diagram of the electronic equipment for adjusting contact person based on bluetooth of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the skill to each exemplary embodiment provided by the present invention
Art scheme is clearly and completely described.In the case where not conflicting, the feature in following each embodiment and embodiment can
To be mutually combined.
Fig. 1 is referred to, is the flow chart of the method that the present invention adjusts contact person's arrangement mode based on bluetooth.The present embodiment institute
The method of announcement is applied to electronic equipment, and the method is comprised the following steps:
Step S1:There is provided and interface is set to arrange contact person's arrangement mode corresponding with the title of Bluetooth adapter, and protect
Deposit into configuration file.
Wherein, Bluetooth adapter exponential code product is suitable for the interface convertor of bluetooth equipment, and current Bluetooth adapter is basic
The upper Bluetooth adapter for USB interface.Bluetooth adapter employs the short-distance wireless interconnection technique of global general-use, using with it is micro-
Exempt to pay near ripple, remote control and some civilian radio communication apparatus identicals 2.4GHz, exempt from the radio frequency band applied, be
What is avoided this frequency range electronic installation numerous and cause interferes, thus with 1600 highly difficult frequency hoppings and encryption secrecy skill
Art.User presets contact person's arrangement of one or more Bluetooth adapter titles and its correspondence Bluetooth adapter title
Mode, such as, entitled " the first equipment ", its corresponding contact person's arrangement mode are " to show contact person Zhang San and Li Si's top set
Show ";Entitled " the second equipment ", its corresponding contact person's arrangement mode are " hide contact person king two and do not show ".Arranging
Save it in configuration file after the complete Bluetooth adapter title and its corresponding contact person's arrangement mode.The configuration text
Part includes the title of multiple Bluetooth adapter and the mapping relations one by one of multiple contact person's arrangement modes.
Step S2:When the electronic equipment and Bluetooth adapter are set up and be connected, the title of the Bluetooth adapter is obtained.
Wherein, for example, when the electronic equipment is matched and is connected with the Bluetooth adapter of entitled " the first equipment "
After success, entitled " first equipment " of the Bluetooth adapter will be obtained.
Step S3:According to the default configuration file of name query of the Bluetooth adapter, the default configuration is judged
Whether the title of the Bluetooth adapter is included in file.
Wherein, when the default configuration file includes the title of the Bluetooth adapter, into step S4.Described
When default configuration file does not include the title of the Bluetooth adapter, into step S6.
When the default configuration file includes the title of the Bluetooth adapter, as being connected with the electronic equipment
Entitled " first equipment " of Bluetooth adapter, and include the entitled of Bluetooth adapter in the default configuration file
" the first equipment " and " the second equipment ", then the default configuration file include the title of the Bluetooth adapter.Described
When default configuration file does not include the title of the Bluetooth adapter, the Bluetooth adapter being such as connected with the electronic equipment
Entitled " the first equipment ", and the default configuration file include entitled " second equipment " of Bluetooth adapter and
" the 3rd equipment ", then do not include the title of the Bluetooth adapter in the default configuration file.
Step S4:When the default configuration file includes the title of the Bluetooth adapter, from the configuration file
It is middle to obtain contact person's arrangement mode corresponding with the title of the Bluetooth adapter.
Wherein, entitled " first equipment " of the Bluetooth adapter, and its correspondence in default configuration file is described
Contact person's arrangement mode of " the first equipment " is " showing contact person Zhang San and Li Si's top set ".
Step S5:Adjusted according to contact person's sortord that contact person's arrangement mode is current to the electronic equipment
It is whole.
Wherein, the contact person sortord current to the electronic equipment according to contact person's arrangement mode is carried out
The step of adjustment, includes for current contact person's sortord being adjusted to corresponding with the title of the Bluetooth adapter
Be people's arrangement mode, i.e., current contact person's sortord is adjusted by described electronic equipment because with the electronic equipment
The adapter name for setting up connection is " the first equipment ", and its corresponding contact person's arrangement mode is " by contact person Zhang San and Li Si
Top set shows ", therefore in the contact person's sortord after adjusting, contact person Zhang San and Li Si are shown by top set, facilitate user
Operate on it.
Step S6:The default configuration file not including the Bluetooth adapter title when, determine whether be
It is no to need to update the configuration file.
Wherein, when needing to update the configuration file, then into step S7.The configuration file need not updated
It is, then into step S8.
Step S7:When needing to update the configuration file, then arrange corresponding with the title of the Bluetooth adapter
It is people's arrangement mode and preserves to the configuration file.
Wherein, when needing to update the configuration file, the Bluetooth adapter title being such as connected with the electronic equipment
It is " the first equipment ", and the adapter name preserved in default configuration file is " the second equipment " and " the 3rd equipment ", then
The corresponding contact person arrangement side of Bluetooth adapter of entitled " the first equipment " is first set when needing to update the configuration file
Formula, then entitled " first equipment " and its corresponding contact person's arrangement mode are added and protected in the configuration file
Deposit.
Step S8:When the configuration file need not be updated, then whether suitable with other bluetooths the electronic equipment is monitored
Orchestration sets up connection.
Wherein, it is connected if listening to the electronic equipment and establishing with described other Bluetooth adapter, return to step S2.
If do not listen to the electronic equipment and establish with described other Bluetooth adapter being connected, into step S9.
When the configuration file need not be updated, then monitor whether the electronic equipment is set up with other Bluetooth adapter
Connection, the Bluetooth adapter title being such as connected with the electronic equipment is " the first equipment ", and is protected in default configuration file
The adapter name deposited is " the second equipment " and " the 3rd equipment ", then monitor described when updating the configuration file
Whether electronic equipment is established with the Bluetooth adapter of entitled " the second equipment " or " the 3rd equipment " is connected.
Wherein, it is connected if listening to the electronic equipment and establishing with described other Bluetooth adapter, such as, the electronics
Equipment is established with the Bluetooth adapter of entitled " the second equipment " and is connected, then the electronic equipment will obtain the bluetooth and fit
Entitled " second equipment " of orchestration, and go successively to subsequent step.
Step S9:It is if do not listen to the electronic equipment and establish with described other Bluetooth adapter being connected, uncomfortable
The current contact person's sortord of the whole electronic equipment.
It is described that the method for contact person's arrangement mode is adjusted by described in default Bluetooth adapter title and correspondence based on bluetooth
In contact person's arrangement mode configuration file of Bluetooth adapter title, connect the Bluetooth adapter in the electronic equipment, and
When the title of the Bluetooth adapter is included in the configuration file, according to Bluetooth adapter title pair described in configuration file
The electronic equipment current contact person's arrangement mode is adjusted by the contact person's arrangement mode answered, to facilitate user to grasp which
Make, carry out the convenience of lifting operation.
Fig. 2 is referred to, and is that the frame structure of the electronic equipment for contact person's arrangement mode being adjusted based on bluetooth of the present invention shows
It is intended to.The electronic equipment includes setup module 10, bluetooth module 20, processing module 30 and address list module 40.
The setup module 10, arranges interface to arrange contact person row corresponding with the title of Bluetooth adapter for providing
Row mode, and preserve into configuration file.Wherein, Bluetooth adapter exponential code product is suitable for the interface convertor of bluetooth equipment,
Bluetooth adapter is substantially the Bluetooth adapter of USB interface at present.Bluetooth adapter employ the short distance of global general-use without
Line interconnection technique, using with microwave, remote control and some civilian radio communication apparatus identicals 2.4GHz near exempt to pay, exempt from
The radio frequency band of application, what is caused for avoiding this frequency range electronic installation numerous are interfered, thus highly difficult with 1600 times
Frequency hopping and encryption secrecy technology.User presets one or more Bluetooth adapter titles and its correspondence bluetooth adaptation
Contact person's arrangement mode of device title, such as, entitled " the first equipment ", its corresponding contact person's arrangement mode is " will contact
People Zhang San and Li Si's top set show ";Entitled " the second equipment ", its corresponding contact person's arrangement mode are " by contact person king two
Hide and do not show ".Save it in after the Bluetooth adapter title and its corresponding contact person's arrangement mode is set up and match somebody with somebody
Put in file.The configuration file includes that the title of multiple Bluetooth adapter is closed with the mapping one by one of multiple contact person's arrangement modes
System.
The bluetooth module 20, for when the electronic equipment and Bluetooth adapter are set up and be connected, obtaining the bluetooth
The title of adapter.Wherein, for example, when the electronic equipment is matched simultaneously with the Bluetooth adapter of entitled " the first equipment "
After successful connection, entitled " first equipment " of the Bluetooth adapter will be obtained.
The processing module 30, for the default configuration file of name query according to the Bluetooth adapter, judges institute
Whether the title of the Bluetooth adapter is included in stating default configuration file.Wherein, include in the default configuration file
During the title of the Bluetooth adapter, entitled " first equipment " of the Bluetooth adapter being such as connected with the electronic equipment, and
Include entitled " first equipment " and " the second equipment " of Bluetooth adapter in the default configuration file, then it is described default
Configuration file include the title of the Bluetooth adapter.The Bluetooth adapter is not included in the default configuration file
Title when, entitled " first equipment " of the Bluetooth adapter being such as connected with the electronic equipment, and default match somebody with somebody described
Putting file includes entitled " second equipment " and " the 3rd equipment " of Bluetooth adapter, then in the default configuration file not
Including the title of the Bluetooth adapter.
The processing module 30 is matched somebody with somebody from described when the default configuration file includes the title of the Bluetooth adapter
Contact person's arrangement mode corresponding with the title of the Bluetooth adapter is obtained in putting file.Wherein, for example, the bluetooth adaptation
Entitled " first equipment " of device, and contact person's arrangement mode of its in default configuration file " the first equipment " described in correspondence
For " contact person Zhang San and Li Si's top set are shown ".
The address list module 40, for according to contact person's arrangement mode contact person current to the electronic equipment
Sortord is adjusted.Wherein, the contact person row current to the electronic equipment according to contact person's arrangement mode
The step of sequential mode is adjusted includes for current contact person's sortord being adjusted to the name with the Bluetooth adapter
Claim corresponding contact person's arrangement mode, i.e., described electronic equipment to be adjusted current contact person's sortord because with institute
It is " the first equipment " to state electronic equipment and set up the adapter name for connecting, and its corresponding contact person's arrangement mode is " by contact person
Zhang San and Li Si's top set show ", therefore contact person Zhang San and Li Si are shown by top set in the contact person's sortord after adjusting
Come, facilitate user to operate on it.
Title of the processing module 30 in the default configuration file not including the Bluetooth adapter, and needing
When updating the configuration file, corresponding with the title of Bluetooth adapter contact person's arrangement mode is set and is preserved to described
Configuration file.The Bluetooth adapter title being such as connected with the electronic equipment is " the first equipment ", and default configuration file
The adapter name of middle preservation is " the second equipment " and " the 3rd equipment ", then first arranged when needing to update the configuration file
The corresponding contact person's arrangement mode of Bluetooth adapter of entitled " the first equipment ", then by entitled " first equipment " and its
Corresponding contact person's arrangement mode is preserved in adding the configuration file.
Title of the processing module 30 in the default configuration file not including the Bluetooth adapter, and need not
When updating the configuration file, then monitor whether the electronic equipment is connected with other Bluetooth adapter foundation.Such as with it is described
The Bluetooth adapter title of electronic equipment connection is " the first equipment ", and the adapter name preserved in default configuration file is
" the second equipment " and " the 3rd equipment ", then monitor when the configuration file need not be updated the electronic equipment whether with name
The Bluetooth adapter of referred to as " the second equipment " or " the 3rd equipment " establishes connection.
If the processing module 30 is listened to the electronic equipment and established with described other Bluetooth adapter being connected, lead to
Cross the title that the bluetooth module obtains the Bluetooth adapter.Such as, the electronic equipment and entitled " the second equipment "
Bluetooth adapter establishes connection, then the electronic equipment will obtain entitled " second equipment " of the Bluetooth adapter,
And continue subsequent step.
If the processing module 30 is not listened to the electronic equipment and established with described other Bluetooth adapter being connected,
Then the address list module 40 will not adjust the current contact person's sortord of the electronic equipment.
The above-mentioned module correspondence of the electronic equipment of the embodiment of the present invention performs contacting based on bluetooth adjustment for above-described embodiment
The method of people's arrangement mode, with same technique effect.
It should be appreciated that above-mentioned module is divided into a kind of division of logic function, when actually realizing, there can be other drawing
The mode of dividing, such as two modules are desirably integrated in another system, or some features can be ignored, or are not performed.In addition, mould
Block connection each other can pass through some interfaces, or electrical or other forms.Above-mentioned module can both adopt soft
The form of part functional block is realized, it would however also be possible to employ the form of the hardware for example shown in Fig. 3 is realized.
Fig. 3 is referred to, is the hardware architecture diagram that the present invention enters line-locked electronic equipment according to SIM.The electricity
Sub- equipment includes memory 110, processor 120, controller 130 and communication bus 140.Communication bus 140 is used for processor 120
Various data, memory 110 are called to instruct for storage program.For convenience of explanation, processor 120 shown in Fig. 3, memory
110th, the quantity of communication bus 140 and controller 130 is one.
Wherein, the memory 110, for arranging and storing contact person arrangement side corresponding with the title of Bluetooth adapter
Formula, and preserve into configuration file.Wherein, Bluetooth adapter exponential code product is suitable for the interface convertor of bluetooth equipment, at present
Bluetooth adapter is substantially the Bluetooth adapter of USB interface.Bluetooth adapter employs the short-distance wireless of global general-use and connects
Connection technology, using with microwave, remote control and some civilian radio communication apparatus identicals 2.4GHz near exempt to pay, exempt from application
Radio frequency band, that what is caused for avoiding this frequency range electronic installation numerous interferes, thus with 1600 highly difficult frequency hoppings
And encryption secrecy technology.User presets one or more Bluetooth adapter titles and its correspondence Bluetooth adapter name
Contact person's arrangement mode of title, such as, entitled " the first equipment ", its corresponding contact person's arrangement mode are " by contact person
Three and Li Si's top set show ";Entitled " the second equipment ", its corresponding contact person's arrangement mode is " to hide contact person king two
Do not show ".Configuration text is saved it in after the Bluetooth adapter title and its corresponding contact person's arrangement mode is set up
In part.The configuration file includes the title of multiple Bluetooth adapter and the mapping relations one by one of multiple contact person's arrangement modes.
The processor 120 is for when the electronic equipment and Bluetooth adapter are set up and be connected, the acquisition bluetooth is fitted
The title of orchestration.Wherein, for example, when the electronic equipment is matched and connected with the Bluetooth adapter of entitled " the first equipment "
After being connected into work(, entitled " first equipment " of the Bluetooth adapter will be obtained.
The processor 120 judges described pre- always according to the default configuration file of name query of the Bluetooth adapter
If configuration file in the whether title comprising the Bluetooth adapter.Wherein, include in the default configuration file described
During the title of Bluetooth adapter, entitled " first equipment " of the Bluetooth adapter being such as connected with the electronic equipment, and in institute
Stating default configuration file includes entitled " first equipment " and " the second equipment " of Bluetooth adapter, then described default to match somebody with somebody
Putting file includes the title of the Bluetooth adapter.In default configuration file name not including the Bluetooth adapter
During title, entitled " first equipment " of the Bluetooth adapter being such as connected with the electronic equipment, and in the default configuration text
Part includes entitled " second equipment " and " the 3rd equipment " of Bluetooth adapter, then do not include in the default configuration file
The title of the Bluetooth adapter.
The processor 120 is matched somebody with somebody from described when the default configuration file includes the title of the Bluetooth adapter
Contact person's arrangement mode corresponding with the title of the Bluetooth adapter is obtained in putting file.Wherein, for example, the bluetooth adaptation
Entitled " first equipment " of device, and contact person's arrangement mode of its in default configuration file " the first equipment " described in correspondence
For " contact person Zhang San and Li Si's top set are shown ".
The controller 130, for according to contact person's arrangement mode contact person row current to the electronic equipment
Sequential mode is adjusted.Wherein, the contact person sequence current to the electronic equipment according to contact person's arrangement mode
The step of mode is adjusted includes for current contact person's sortord being adjusted to the title with the Bluetooth adapter
Current contact person's sortord is adjusted by corresponding contact person's arrangement mode, i.e., described electronic equipment because with it is described
It is " the first equipment " that electronic equipment sets up the adapter name of connection, and its corresponding contact person's arrangement mode is " by contact person
Three and Li Si's top set show ", therefore contact person Zhang San and Li Si are shown by top set in the contact person's sortord after adjusting,
User is facilitated to operate on it.
Title of the processor 120 in the default configuration file not including the Bluetooth adapter, and needing
When updating the configuration file, corresponding with the title of Bluetooth adapter contact person's arrangement mode is set and is preserved to described
Configuration file.The Bluetooth adapter title being such as connected with the electronic equipment is " the first equipment ", and default configuration file
The adapter name of middle preservation is " the second equipment " and " the 3rd equipment ", then first arranged when needing to update the configuration file
The corresponding contact person's arrangement mode of Bluetooth adapter of entitled " the first equipment ", then by entitled " first equipment " and its
Corresponding contact person's arrangement mode is preserved in adding the configuration file.
Title of the processor 120 in the default configuration file not including the Bluetooth adapter, and need not
When updating the configuration file, then monitor whether the electronic equipment is connected with other Bluetooth adapter foundation.Such as with it is described
The Bluetooth adapter title of electronic equipment connection is " the first equipment ", and the adapter name preserved in default configuration file is
" the second equipment " and " the 3rd equipment ", then monitor when the configuration file need not be updated the electronic equipment whether with name
The Bluetooth adapter of referred to as " the second equipment " or " the 3rd equipment " establishes connection.
If the processor 120 is listened to the electronic equipment and established with described other Bluetooth adapter being connected, lead to
Cross the title that the bluetooth module obtains the Bluetooth adapter.Such as, the electronic equipment and entitled " the second equipment "
Bluetooth adapter establishes connection, then the electronic equipment will obtain entitled " second equipment " of the Bluetooth adapter,
And continue subsequent step.
If the processor 120 is not listened to the electronic equipment and established with described other Bluetooth adapter being connected,
Then the controller 130 will not adjust the current contact person's sortord of the electronic equipment.
The method and electronic equipment based on bluetooth adjustment contact person's arrangement mode is by default Bluetooth adapter title
And in contact person's arrangement mode configuration file of the correspondence Bluetooth adapter title, connect the bluetooth in the electronic equipment
Adapter, and the title of the Bluetooth adapter is when being included in the configuration file, it is suitable according to bluetooth described in configuration file
The electronic equipment current contact person's arrangement mode is adjusted by the corresponding contact person's arrangement mode of orchestration title, with convenient
User is operated to which, carrys out the convenience of lifting operation.
Embodiments of the present invention are the foregoing is only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, is included within the scope of the present invention.
Claims (10)
1. it is a kind of based on bluetooth adjust contact person's arrangement mode method, it is characterised in that methods described is applied to electronic equipment,
Methods described includes:
When the electronic equipment and Bluetooth adapter are set up and be connected, the title of the Bluetooth adapter is obtained;
According to the default configuration file of name query of the Bluetooth adapter;
When the default configuration file includes the title of the Bluetooth adapter, obtain from the configuration file with it is described
The corresponding contact person's arrangement mode of title of Bluetooth adapter;And
It is adjusted according to contact person's sortord that contact person's arrangement mode is current to the electronic equipment.
2. method according to claim 1, it is characterised in that the configuration file includes the title of multiple Bluetooth adapter
With the mapping relations one by one of multiple contact person's arrangement modes.
3. method according to claim 1, it is characterised in that not suitable including the bluetooth in the default configuration file
During the title of orchestration, further determine whether to update the configuration file;
If so, contact person's arrangement mode corresponding with the title of the Bluetooth adapter is then set, and is preserved to the configuration text
Part.
4. method according to claim 3, it is characterised in that if it is not, whether then monitor the electronic equipment blue with other
Tooth adapter sets up connection;
If listen to the electronic equipment and set up with described other Bluetooth adapter being connected, return and obtain the Bluetooth adapter
Title the step of;
If do not listen to the electronic equipment and set up with described other Bluetooth adapter being connected, the electronic equipment is not adjusted
Current contact person's sortord.
5. method according to claim 1, it is characterised in that it is described according to contact person's arrangement mode to the electronics
The step of current contact person's sortord of equipment is adjusted includes:
Current contact person's sortord is adjusted to into contact person arrangement side corresponding with the title of the Bluetooth adapter
Formula.
6. it is a kind of based on bluetooth adjust contact person's arrangement mode electronic equipment, it is characterised in that the electronic equipment includes:
Bluetooth module, is connected for being set up with Bluetooth adapter, and obtains the title of Bluetooth adapter;
Processing module, is connected with the bluetooth module, for the default configuration text of the name query according to the Bluetooth adapter
Part;When the default configuration file includes the title of the Bluetooth adapter, the processing module is from the configuration file
It is middle to obtain contact person's arrangement mode corresponding with the title of the Bluetooth adapter;
Address list module, and the processing module, for current to the electronic equipment according to contact person's arrangement mode
Contact person's sortord is adjusted.
7. electronic equipment according to claim 6, it is characterised in that the configuration file includes multiple Bluetooth adapter
The mapping relations one by one of title and multiple contact person's arrangement modes.
8. electronic equipment according to claim 6, it is characterised in that the electronic equipment also includes setup module, is used for
There is provided and interface is set to arrange contact person's arrangement mode corresponding with the title of Bluetooth adapter, and preserve to the configuration file
In;When the default configuration file does not include the title of the Bluetooth adapter, if the processing module needs to update institute
State configuration file, then by the setup module provide arrange interface it is corresponding with the title of the Bluetooth adapter to arrange
Contact person's arrangement mode, and preserve to the configuration file.
9. electronic equipment according to claim 8, it is characterised in that if the processing module need not update the configuration
File, then listen to the electronic equipment set up with other Bluetooth adapter be connected when, by bluetooth module acquisition institute
State the title of other Bluetooth adapter and be supplied to the processing module.
10. electronic equipment according to claim 6, it is characterised in that the address list module is by the current contact
People's sortord is adjusted to contact person's arrangement mode corresponding with the title of the Bluetooth adapter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610887956.7A CN106534447A (en) | 2016-10-11 | 2016-10-11 | Method for adjusting contact person arrangement manner based on Bluetooth and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610887956.7A CN106534447A (en) | 2016-10-11 | 2016-10-11 | Method for adjusting contact person arrangement manner based on Bluetooth and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106534447A true CN106534447A (en) | 2017-03-22 |
Family
ID=58331545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610887956.7A Pending CN106534447A (en) | 2016-10-11 | 2016-10-11 | Method for adjusting contact person arrangement manner based on Bluetooth and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106534447A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101958972A (en) * | 2010-09-17 | 2011-01-26 | 惠州Tcl移动通信有限公司 | Mobile phone Bluetooth-based location recognition method and mobile phone |
EP1840523B1 (en) * | 2006-03-31 | 2011-03-09 | Research In Motion Limited | Methods and apparatus for associating mapping functionality and information in contact lists of mobile communication devices |
CN102792663A (en) * | 2010-02-11 | 2012-11-21 | 苹果公司 | Methods and apparatus for contact information representation |
CN104506723A (en) * | 2014-12-18 | 2015-04-08 | 百度在线网络技术(北京)有限公司 | Method and device for processing address book information |
CN104780253A (en) * | 2015-03-28 | 2015-07-15 | 深圳市金立通信设备有限公司 | Address book management method |
CN105611024A (en) * | 2016-02-26 | 2016-05-25 | 广东欧珀移动通信有限公司 | Contact management method, device and mobile terminal |
CN105872174A (en) * | 2016-05-10 | 2016-08-17 | 捷开通讯(深圳)有限公司 | Address-book display method based on position and terminal |
CN105933949A (en) * | 2016-03-31 | 2016-09-07 | 广东小天才科技有限公司 | Method and device for automatically setting forbidding according to states of surrounding Bluetooth devices |
-
2016
- 2016-10-11 CN CN201610887956.7A patent/CN106534447A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1840523B1 (en) * | 2006-03-31 | 2011-03-09 | Research In Motion Limited | Methods and apparatus for associating mapping functionality and information in contact lists of mobile communication devices |
CN102792663A (en) * | 2010-02-11 | 2012-11-21 | 苹果公司 | Methods and apparatus for contact information representation |
CN101958972A (en) * | 2010-09-17 | 2011-01-26 | 惠州Tcl移动通信有限公司 | Mobile phone Bluetooth-based location recognition method and mobile phone |
CN104506723A (en) * | 2014-12-18 | 2015-04-08 | 百度在线网络技术(北京)有限公司 | Method and device for processing address book information |
CN104780253A (en) * | 2015-03-28 | 2015-07-15 | 深圳市金立通信设备有限公司 | Address book management method |
CN105611024A (en) * | 2016-02-26 | 2016-05-25 | 广东欧珀移动通信有限公司 | Contact management method, device and mobile terminal |
CN105933949A (en) * | 2016-03-31 | 2016-09-07 | 广东小天才科技有限公司 | Method and device for automatically setting forbidding according to states of surrounding Bluetooth devices |
CN105872174A (en) * | 2016-05-10 | 2016-08-17 | 捷开通讯(深圳)有限公司 | Address-book display method based on position and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102004001172B4 (en) | System and method for exchanging data and audio information between mobile phones and landline telephones | |
CN102118718B (en) | Automatic call transferring method of mobile terminal | |
GB2387510B (en) | Method for relocating SRNS in a mobile communication system | |
CN107613544A (en) | A kind of method for connecting network of internet of things equipment and a kind of wireless router | |
EP1670222A3 (en) | Wireless headset, portable communication system, management server and method for placing a call from a headset | |
CN108023778A (en) | Firmware upgrade method and its system | |
CN101902239B (en) | Communication method and mobile communication terminal | |
US20170026825A1 (en) | Cloud identification method, device and system for a double-card mobile communications device | |
CN106792280A (en) | A kind of intelligent intercom and intercom system | |
CN105940614A (en) | Apparatus and method for providing communication | |
CN106550103A (en) | The processing method and processing device of terminal caller | |
CN101505157B (en) | For the Apparatus for () and method therefor of the impedance matching in dual-standby portable terminal | |
CN104410950A (en) | Data sharing method, device and system | |
CN112541988A (en) | Method and device for storing and transmitting data through vehicle key | |
CN107409153A (en) | Short-distance wireless communication system and near field communication device | |
CN110519865A (en) | Network interface processing method and relevant device | |
CN106534447A (en) | Method for adjusting contact person arrangement manner based on Bluetooth and electronic device | |
EP2566217A1 (en) | Device, method and system for processing machine to machine service | |
CN104394277A (en) | Vehicular telephone device and system and vehicular telephone substitutive dialing method | |
CN106791243B (en) | A kind of function setting method and device based on Bluetooth protocol | |
CN112016426A (en) | Fingerprint acquisition method and device | |
CN105681884A (en) | Wi-Fi data intelligent transmission method and system | |
CN207916789U (en) | A kind of controller of vehicle and system based on Bluetooth technology | |
CN107493210A (en) | The distribution network systems and method of intelligent appliance | |
CN106789530B (en) | A kind of method for connecting network, device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170322 |
|
RJ01 | Rejection of invention patent application after publication |