Embodiment
Be clearly and completely described below in conjunction with the accompanying drawing of the embodiment of the invention technical scheme to the embodiment of the invention, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Example 1:
Present embodiment discloses the management method that a kind of bluetooth connects, and as Fig. 1, comprises the steps:
101, select according to the user, set safe mode.
Described setting safe mode is meant, sets in advance at least two safe modes in the bluetooth equipment, and the user selects a safe mode at least in described two safe modes.
102, handle the access request of outside bluetooth equipment according to selected safe mode to local bluetooth device.
Described at least two kinds of safe modes comprise two or more combination arbitrarily in prohibited mode, advanced security pattern, intermediate safe mode, the rudimentary safe mode.Described combination can be prohibited mode, the combination of advanced security pattern, the advanced security pattern, the combination of middle rank safe mode, the middle rank safe mode, the combination of rudimentary safe mode, prohibited mode, the combination of rudimentary safe mode, prohibited mode, the combination of middle rank safe mode, the advanced security pattern, the combination of rudimentary safe mode, prohibited mode, the advanced security pattern, the combination of middle rank safe mode, the advanced security pattern, the middle rank safe mode, the combination of rudimentary safe mode, prohibited mode, the advanced security pattern, the combination of rudimentary safe mode, prohibited mode, the middle rank safe mode, the combination of rudimentary safe mode, prohibited mode, the advanced security pattern, the middle rank safe mode, the combination of rudimentary safe mode.
Prohibited mode is meant: the access request of refusing all outside bluetooth equipments; The advanced security pattern is meant: the access request of each outside bluetooth equipment all needs the user to confirm; The middle rank safe mode is meant: after the user confirmed once, same outside bluetooth equipment was directly visited local bluetooth device and is not needed the user to reaffirm in Preset Time; Rudimentary safe mode is meant: all outside bluetooth equipments can directly be visited.The user is by selecting to determine the access rights of outside bluetooth equipment to described four kinds of safe modes.
The management method that present embodiment provides a kind of bluetooth to connect, compared with prior art, can allow the user to determine the access rights of outside bluetooth equipment according to actual conditions, the safe mode that the bluetooth that the user can be used meet own demand connects has promoted user experience.
Following embodiment 2 to embodiment 5 describes the concrete steps of above-mentioned four kinds of safe modes respectively, no matter above-mentioned which kind of mode is adopted in the combination of safe mode, after selecting to have determined a safe mode, can be according to flow performing corresponding among the following embodiment 2 to embodiment 5.
Example 2:
Present embodiment discloses the management method that a kind of bluetooth connects, and comprises the steps:
201, select according to the user, set safe mode.
Described setting safe mode is meant, sets in advance at least two safe modes, and the user selects a safe mode at least in described two safe modes.At least two kinds of safe modes can adopt disclosed scheme among the embodiment 1 described in the present embodiment, in above-mentioned at least two kinds of safe modes, comprise under the situation of prohibited mode, and be that example describes to have set prohibited mode as current safe mode.
After having selected prohibited mode, when receiving outside bluetooth equipment to the access request of local bluetooth device, the embodiment of the invention also needs to carry out following 202 processes.
202, forbid that described outside bluetooth equipment visits local bluetooth device by bluetooth approach.
The management method that bluetooth that present embodiment provides connects forbids that outside bluetooth equipment visits local bluetooth device by bluetooth approach.
Example 3:
Present embodiment discloses the management method that a kind of bluetooth connects, and comprises the steps:
301, select according to the user, set safe mode.
Described setting safe mode is meant, sets in advance at least two safe modes, and the user selects a safe mode at least in described two safe modes.At least two kinds of safe modes can adopt disclosed scheme among the embodiment 1 described in the present embodiment, in above-mentioned at least two kinds of safe modes, comprise under the situation of advanced security pattern, and be that example describes to have set the advanced security pattern as current safe mode.
After having selected the advanced security pattern, in order much of thatly to handle the access request of outside bluetooth equipment to local bluetooth device according to selected safe mode, the embodiment of the invention also needs to carry out following 302 to 304 processes.
302, judge whether local bluetooth device receives the instruction that the user allows the access request of outside bluetooth equipment, receive under user's the situation of permission instruction execution in step 303 in local bluetooth device; Receive under user's the situation of inhibit command execution in step 304 in local bluetooth device.
303, allow described outside bluetooth equipment to visit local bluetooth device by bluetooth approach.
304, forbid that described outside bluetooth equipment visits local bluetooth device by bluetooth approach.
The management method that the bluetooth that present embodiment provides connects needs the user that the access request of outside bluetooth equipment is confirmed, the outside bluetooth equipment that has only the user to allow can be visited local bluetooth device by bluetooth approach.
Example 4:
Present embodiment discloses the management method that a kind of bluetooth connects, and comprises the steps:
401, select according to the user, set safe mode.
Described setting safe mode is meant, sets in advance at least two safe modes, and the user selects a safe mode at least in described two safe modes.At least two kinds of safe modes can adopt disclosed scheme among the embodiment 1 described in the present embodiment, in above-mentioned at least two kinds of safe modes, comprise under the situation of intermediate safe mode, and be that example describes to have set intermediate safe mode as current safe mode.
After having selected intermediate safe mode, in order much of thatly to handle the access request of outside bluetooth equipment to local bluetooth device according to selected safe mode, the embodiment of the invention also needs to carry out following 402 to 406 processes.
402, outside bluetooth equipment is after local bluetooth device is sent access request, judge the former permission instruction that whether must be the user of access request of outside bluetooth equipment this time, if this time the access request of outside bluetooth equipment is former as to be user's permission instruction, execution in step 403; If the former permission instruction that must not be the user of the access request of outside bluetooth equipment this time, execution in step 404.
403, the moment of judging the access request of outside bluetooth equipment this time and last time obtain user's the difference in the moment of permission instruction whether within the Preset Time difference, if this time the moment of the access request of outside bluetooth equipment and last time obtain the user the difference in the moment of permission instruction within described Preset Time difference, execution in step 405; If this time to exceed described Preset Time poor for the moment of the access request of outside bluetooth equipment and the last time difference in the moment that obtains user's permission instruction, execution in step 404.
404, judge whether local bluetooth device receives the instruction that the user allows the access request of described outside bluetooth equipment this time, receive under user's the situation of permission instruction execution in step 405 in local bluetooth device; Receive under user's the situation of inhibit command execution in step 406 in local bluetooth device.
405, allow described outside bluetooth equipment this time to visit local bluetooth device by bluetooth approach.
406, forbid that described outside bluetooth equipment this time visits local bluetooth device by bluetooth approach.
In the present embodiment, after the user confirmed once to the access request of certain outside bluetooth equipment, described certain outside bluetooth equipment can directly be visited local bluetooth device and not need the user to reaffirm by bluetooth approach once more in Preset Time difference scope.Intermediate safe mode in the present embodiment be applicable to a certain equipment need by bluetooth approach in the certain hour section repeatedly to local bluetooth device transmission data or repeatedly browse the situation of local bluetooth device.
Example 5:
Present embodiment discloses the management method that a kind of bluetooth connects, and comprises the steps:
501, select according to the user, set safe mode.
Described setting safe mode is meant, sets in advance at least two safe modes, and the user selects a safe mode at least in described two safe modes.At least two kinds of safe modes can adopt disclosed scheme among the embodiment 1 described in the present embodiment, in above-mentioned at least two kinds of safe modes, comprise under the situation of rudimentary safe mode, and be that example describes to have set rudimentary safe mode as current safe mode.
After having selected rudimentary safe mode, in order much of thatly to handle the access request of outside bluetooth equipment to local bluetooth device according to selected safe mode, the embodiment of the invention also needs to carry out following 502 processes.
502, always allow described outside bluetooth equipment to visit local bluetooth device by bluetooth approach.
In the present embodiment, all outside bluetooth equipments can directly be visited local bluetooth device by bluetooth approach, are applicable to the more and situation that do not need the user that the access request of outside bluetooth equipment is confirmed one by one again of the accessed number of times of local bluetooth device.Specifically, can comprise: support Secure Simple Pairing (safe and simple pairing both sides, SSP) under binding and the unfounded situation of described binding, local bluetooth device is finished binding and the automatic application connection request of accepting outside bluetooth equipment with outside bluetooth equipment automatically; Do not support that both sides local bluetooth device is directly accepted the application connection request of outside bluetooth equipment and is indifferent to and sets up binding whether under the situation of binding of SSP.
Example 6:
Present embodiment discloses a kind of bluetooth equipment, and as shown in Figure 6, described management equipment comprises: safe mode is provided with module 601, safe mode processing module 602.Safe mode is provided with module 601 and is used for selecting according to the user, sets safe mode.Safe mode is provided with and also comprises safe mode in the module 601 submodule 6011 is set.Safe mode is provided with submodule 6011 and is used for selecting a kind of safe mode at least two kinds of safe modes that set in advance.Safe mode processing module 602 is handled the access request of outside bluetooth equipment to local bluetooth device according to selected a kind of safe mode.
Described at least two kinds of safe modes comprise two or more combination arbitrarily in prohibited mode, advanced security pattern, intermediate safe mode, the rudimentary safe mode.Described combination can be prohibited mode, the combination of advanced security pattern, the advanced security pattern, the combination of middle rank safe mode, the middle rank safe mode, the combination of rudimentary safe mode, prohibited mode, the combination of rudimentary safe mode, prohibited mode, the combination of middle rank safe mode, the advanced security pattern, the combination of rudimentary safe mode, prohibited mode, the advanced security pattern, the combination of middle rank safe mode, the advanced security pattern, the middle rank safe mode, the combination of rudimentary safe mode, prohibited mode, the advanced security pattern, the combination of rudimentary safe mode, prohibited mode, the middle rank safe mode, the combination of rudimentary safe mode, prohibited mode, the advanced security pattern, the middle rank safe mode, the combination of rudimentary safe mode.
On the basis of Fig. 6, present embodiment describes with the example that is combined as of prohibited mode, advanced security pattern, intermediate safe mode, rudimentary safe mode, as shown in Figure 7.Provide the bluetooth equipment of the combination of prohibited mode, advanced security pattern, intermediate safe mode, rudimentary safe mode to comprise among Fig. 7: safe mode is provided with module 701, safe mode processing module 702.Safe mode is provided with and comprises also in the module 701 that safe mode is provided with submodule 7011.Safe mode is provided with module 701 and is used for selecting according to the user, sets safe mode.Safe mode is provided with submodule 7011 and is used for setting a kind of safe mode in four kinds of safe modes that set in advance, and safe mode processing module 702 is used for handling the access request of outside bluetooth equipment to local bluetooth device according to selected a kind of safe mode.
Be provided with in the module 701 in the safe mode of local bluetooth device safe mode is set.At least two kinds of safe modes in the present embodiment shown in Figure 7 are respectively: prohibited mode, advanced security pattern, intermediate safe mode, rudimentary safe mode.Describe respectively at each safe mode below.
In safe mode safe mode in the module 701 being set is provided with submodule 7011 safe modes and is set under the situation of prohibited mode, outside bluetooth equipment sends access request to local bluetooth device, and the safe mode processing module 702 of local bluetooth device is enabled the access request that 71 pairs of described outside bluetooth equipments of first access control unit send to local bluetooth device and handled.Described first access control unit 71 forbids that described outside bluetooth equipment visits local bluetooth device by bluetooth approach.
In safe mode safe mode in the module 701 being set is provided with submodule 7011 safe modes and is set under the situation of advanced security pattern, outside bluetooth equipment sends access request to local bluetooth device, and the safe mode processing module 702 of local bluetooth device is enabled the access request that first judging unit 72 and 73 pairs of described outside bluetooth equipments of second access control unit send to local bluetooth device and handled.
The user that first judging unit 72 judges whether to receive local bluetooth device allows the instruction of the access request of described outside bluetooth equipment, if first judging unit 72 has received user's permission instruction, then second access control unit 73 allows described outside bluetooth equipment to visit local bluetooth device by bluetooth approach; If first judging unit 72 has received user's inhibit command, then second access control unit 73 forbids that described outside bluetooth equipment visits local bluetooth device by bluetooth approach.
In safe mode safe mode in the module 701 being set is provided with submodule 7011 and safe mode is set under the situation of intermediate safe mode, outside bluetooth equipment sends access request to local bluetooth device, and the safe mode processing module 702 of local bluetooth device is enabled the access request that second judging unit 74, the 3rd access control unit 75,76 pairs of described outside bluetooth equipments of the 3rd judging unit send to local bluetooth device and handled.
Second judging unit 74 judges at first whether the access request of this outside bluetooth equipment must be user's permission instruction in the past in this visit, if the access request of described outside bluetooth equipment this time must be user's permission instruction in the past in this visit, then the 3rd judging unit 76 judges whether local bluetooth device receives the instruction that the user allows the access request of described outside bluetooth equipment again, if the 3rd judging unit 76 has received user's permission instruction, then the 3rd access control unit 75 allows described outside bluetooth equipment to visit local bluetooth device by bluetooth approach; If the 3rd judging unit 76 has received user's inhibit command, then the 3rd access control unit 75 forbids that described outside bluetooth equipment visits local bluetooth device by bluetooth approach.
If second judging unit 74 judges the described access request of outside bluetooth equipment this time and must be user's permission instruction this visit before, then second judging unit 74 moment of judging the described access request of outside bluetooth equipment this time again and last time obtain the difference in the moment that user's permission instructs whether within the Preset Time difference.If the moment of the access request of described outside bluetooth equipment this time and last time obtain user's the difference in the moment of permission instruction within described Preset Time difference, then the 3rd access control unit 75 allows described outside bluetooth equipment to visit local bluetooth device by bluetooth approach.To exceed described Preset Time poor if the moment that second judging unit 74 is judged the described access request of outside bluetooth equipment this time and last time obtain the difference in the moment of user's permission instruction, then the 3rd judging unit 76 judges whether local bluetooth device receives the instruction that the user allows the access request of described outside bluetooth equipment again, if the 3rd judging unit 76 has received user's permission instruction, then the 3rd access control unit 75 allows described outside bluetooth equipment to visit local bluetooth device by bluetooth approach; If the 3rd judging unit 76 has received user's inhibit command, then the 3rd access control unit 75 forbids that described outside bluetooth equipment visits local bluetooth device by bluetooth approach.
In safe mode safe mode in the module 701 being set is provided with submodule 7011 and safe mode is set under the situation of rudimentary safe mode, outside bluetooth equipment sends access request to local bluetooth device, and the safe mode processing module 702 of local bluetooth device is enabled the 4th access control unit 77.Described the 4th access control unit 77 always allows described outside bluetooth equipment to visit local bluetooth device by bluetooth approach.
Present embodiment provides a kind of bluetooth equipment, the safe mode that provides at least two kinds of bluetooths to connect, can allow the user to select a kind of safe mode to determine the access rights of outside bluetooth equipment according to actual conditions, the safe mode that the bluetooth that the user can be used meet own demand connects has promoted user experience.
The embodiment of the invention mainly is used in the equipment that all kinds of use bluetooths connect, as: have mobile phone, computer, car kits of Bluetooth function or the like.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.