CN107182044B - Mobile terminal, Bluetooth connection processing method thereof and storage medium - Google Patents

Mobile terminal, Bluetooth connection processing method thereof and storage medium Download PDF

Info

Publication number
CN107182044B
CN107182044B CN201710606220.2A CN201710606220A CN107182044B CN 107182044 B CN107182044 B CN 107182044B CN 201710606220 A CN201710606220 A CN 201710606220A CN 107182044 B CN107182044 B CN 107182044B
Authority
CN
China
Prior art keywords
bluetooth
mobile terminal
identification code
operation execution
bluetooth connection
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.)
Active
Application number
CN201710606220.2A
Other languages
Chinese (zh)
Other versions
CN107182044A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201710606220.2A priority Critical patent/CN107182044B/en
Publication of CN107182044A publication Critical patent/CN107182044A/en
Application granted granted Critical
Publication of CN107182044B publication Critical patent/CN107182044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a mobile terminal, a Bluetooth connection processing method thereof and a storage medium, wherein the method comprises the following steps: setting an executable operation execution strategy corresponding to the Bluetooth connection with other mobile terminals through a Bluetooth identification code in the mobile terminal in advance; when the mobile terminal selects other Bluetooth equipment of the corresponding Bluetooth identification code to perform Bluetooth connection, searching an executable operation execution strategy corresponding to the Bluetooth identification code mobile terminal; and when the Bluetooth connection is successful, performing corresponding operation according to the executable operation execution strategy control. The invention adds new functions to the mobile terminal: after the Bluetooth connection, different control modes can be selected according to different strategies, so that the corresponding use strategies can be dynamically selected according to other Bluetooth equipment connected by a user, and the aim of reasonably transmitting files is fulfilled.

Description

Mobile terminal, Bluetooth connection processing method thereof and storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a mobile terminal, a bluetooth connection processing method thereof, and a storage medium.
Background
Bluetooth is a wireless technology, and can realize close-range data communication between mobile devices and between a mobile terminal and a fixed device; the connection between the bluetooth device and the bluetooth device is identified by a device name set in advance. With the increase of the demand of people for near field wireless communication, currently, a bluetooth function is generally configured on a mobile terminal so as to meet the requirement that a user performs data communication through bluetooth when the distance is relatively close. For example, the user sets the bluetooth name of the mobile terminal as ORANGE, then broadcasts the name, and selects to connect with the opposite mobile terminal when the opposite mobile terminal detects the device named ORANGE, and then the two mobile terminals can share files through bluetooth, so the use is convenient.
However, the problem arises that the connection between the mobile terminal device of the user and the other bluetooth-enabled devices is looked up by name, and in particular, when the names are the same in the network, the user may make a misconnection and then send the important file to the misconnected device. For example, three mobile terminals a, B, and C in the prior art all have a bluetooth function, and mobile terminal a sets a bluetooth name AORANGE, mobile terminal B sets a bluetooth name borrange, and mobile terminal C sets a bluetooth name borrange, when mobile terminal a needs to transmit an important secret file to mobile terminal B through bluetooth, because the bluetooth names of mobile terminals B and C are both borrange, if mobile terminal a is connected to mobile terminal C by mistake, the important secret file will be transmitted to mobile terminal C by mistake, which results in bad results.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The present invention provides a mobile terminal, a bluetooth connection processing method thereof, and a storage medium thereof, aiming at the above-mentioned defects in the prior art. The invention adds new functions to the mobile terminal: after the Bluetooth connection, different control modes can be selected according to different strategies, so that the corresponding use strategies can be dynamically selected according to other Bluetooth equipment connected by a user, and the aim of reasonably transmitting files is fulfilled.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a mobile terminal Bluetooth connection processing method comprises the following steps:
A. setting an executable operation execution strategy corresponding to the Bluetooth connection with other mobile terminals through a Bluetooth identification code in the mobile terminal in advance;
B. when the mobile terminal selects other Bluetooth equipment of the corresponding Bluetooth identification code to perform Bluetooth connection, searching an executable operation execution strategy corresponding to the Bluetooth identification code mobile terminal;
C. and when the Bluetooth connection is successful, performing corresponding operation according to the executable operation execution strategy control.
The bluetooth connection processing method for the mobile terminal, wherein the step a further includes: the executable operation execution policy includes: black and white list mode.
The bluetooth connection processing method for the mobile terminal, wherein the step B includes:
when the mobile terminal opens the Bluetooth function to connect with other Bluetooth equipment, identifying the Bluetooth identification codes of the other Bluetooth equipment;
and searching an executable operation execution strategy corresponding to the Bluetooth identification code mobile terminal by identifying the Bluetooth identification codes of the other Bluetooth devices, and selecting the executable operation execution strategy corresponding to the Bluetooth identification code mobile terminal.
The mobile terminal Bluetooth connection processing method comprises the following steps of: the international mobile terminal equipment identity code, i.e. the IMEI code, of the connected bluetooth equipment.
The Bluetooth connection processing method of the mobile terminal, wherein,
the executable operation execution policy is set by the user himself,
or the mobile terminal manufacturer presets a template for the user to select, wherein the template comprises the following components: let a file of what suffix is selected not be allowed to be transmitted, or select a suffix in which transmission is not allowed.
The Bluetooth connection processing method of the mobile terminal, wherein the step A comprises the following steps:
when other Bluetooth equipment with the Bluetooth identification code being the first Bluetooth identification code is connected, the transmission of files in a certain folder is forbidden;
setting that when the mobile terminal is connected with other Bluetooth equipment of which the Bluetooth identification code is the second Bluetooth identification code, no limitation is made;
and setting that when the mobile terminal is connected with other Bluetooth equipment with the Bluetooth identification code as the third Bluetooth identification code, the file with the suffix doc is forbidden to be transmitted.
A mobile terminal comprising a processor, and a memory coupled to the processor,
the memory stores a computer program which realizes the steps of any mobile terminal Bluetooth connection processing method when being executed by the processor;
the processor is used for calling the program instructions in the memory so as to execute the steps of the Bluetooth connection processing method of any mobile terminal.
A storage medium, wherein the storage medium stores a computer program which, when executed by a processor, implements the steps of any of the mobile terminal bluetooth connection processing methods.
The invention provides a mobile terminal, a Bluetooth connection processing method and a storage medium thereof, wherein the Bluetooth connection processing method of the mobile terminal is characterized in that the method sets a connection strategy of each Bluetooth identification code; when other Bluetooth equipment of the corresponding Bluetooth identification code is selected to carry out network connection, a corresponding connection strategy is started; when other Bluetooth devices connected through a certain Bluetooth identification code execute corresponding connection strategies according to the operation of the user. The invention adds new functions to the mobile terminal: after the Bluetooth connection, different control modes can be selected according to different strategies, so that the corresponding use strategies can be dynamically selected according to other Bluetooth equipment connected by a user, and the aim of reasonably transmitting files is fulfilled.
Drawings
Fig. 1 is a flowchart of a bluetooth connection processing method of a mobile terminal according to a preferred embodiment of the present invention.
Fig. 2 is a functional block diagram of a preferred embodiment of the mobile terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a bluetooth connection processing method of a mobile terminal according to a preferred embodiment of the present invention. As shown in fig. 1, the method for processing bluetooth connection of a mobile terminal includes the following steps:
step S100, setting an executable operation execution strategy corresponding to the Bluetooth connection with other mobile terminals through a Bluetooth identification code in the mobile terminal in advance;
in the embodiment of the present invention, when the mobile terminal is implemented specifically, an executable operation execution policy corresponding to bluetooth connection with other mobile terminals through a bluetooth identification code needs to be set in advance. The connection policy for each bluetooth identity may be set by the user, for example, through a special policy setting menu.
Wherein, bluetooth identification code includes: an imei (international mobile equipment identity, which is an abbreviation of international mobile terminal equipment identity) code of the connected bluetooth equipment corresponds to each mobile terminal one by one, and the imei code is unique globally. The executable operation execution policy includes: black and white list mode.
The executable operation execution strategy for performing bluetooth connection with other mobile terminals through the bluetooth identification code may specifically be:
for example, when other Bluetooth devices with the Bluetooth identification codes being the first Bluetooth identification codes are connected, the transmission of files in a certain folder is forbidden;
setting that when the mobile terminal is connected with other Bluetooth equipment of which the Bluetooth identification code is the second Bluetooth identification code, no limitation is made;
and setting that when the mobile terminal is connected with other Bluetooth equipment with the Bluetooth identification code as the third Bluetooth identification code, the file with the suffix doc is forbidden to be transmitted.
The executable operation execution strategy is set by a user, or a template is preset by a mobile terminal manufacturer for the user to select, wherein the template comprises the following steps: let a file of what suffix is selected not be allowed to be transmitted, or select a suffix in which transmission is not allowed.
Preferably, for example, when another bluetooth device with a bluetooth identification number of 862652031886852 is connected, transmission of files in a certain folder is prohibited. For example, when the mobile terminal is connected to another bluetooth device with a bluetooth identification number of 862652031886866, no limitation is imposed. Doc-suffixed files, various policies are set by the user himself, or templates are set by the mobile terminal manufacturer for the user to select, for example, what suffixes the user selects are not allowed to be transmitted, and the user may select suffixes in which transmission is not allowed.
Step S200, when the mobile terminal selects other Bluetooth equipment of the corresponding Bluetooth identification code to carry out Bluetooth connection, searching an executable operation execution strategy corresponding to the mobile terminal of the Bluetooth identification code;
in this step, when the mobile terminal starts the bluetooth connection policy of the present invention, the bluetooth connection specifically includes:
when the mobile terminal opens the Bluetooth function to connect with other Bluetooth equipment, identifying the Bluetooth identification codes of the other Bluetooth equipment; wherein, the bluetooth identification code is: the international mobile terminal equipment identity code, i.e. the IMEI code, of the connected bluetooth equipment.
Namely, when connecting with other Bluetooth equipment, the user can obtain the imei code of the other Bluetooth equipment as the Bluetooth identification code. And then, by identifying the Bluetooth identification codes of the other Bluetooth devices, searching the executable operation execution strategy corresponding to the Bluetooth identification code mobile terminal, and selecting the executable operation execution strategy corresponding to the Bluetooth identification code mobile terminal.
For example, as described above, when the mobile terminal connects to another bluetooth device with a bluetooth identity of 821652031886812, the operation execution policy corresponding to the bluetooth identity found by the mobile terminal is: and forbidding to transmit the file with doc as suffix.
For another example, when the mobile terminal connects to another bluetooth device with a bluetooth identity of 862652031886866, the operation execution policy corresponding to the bluetooth identity found is as follows: will not be subject to any limitation, etc.
And step S300, when the Bluetooth connection is successful, executing corresponding operation according to the executable operation execution strategy control.
For example, as described above, when the mobile terminal connects to another bluetooth device with a bluetooth identification number of 821652031886812 and the bluetooth connection is successful, the other mobile terminals connected to the mobile terminal are controlled to prohibit transmission of the file with the suffix of doc according to the operation policy of the other mobile terminals.
For another example, the connection behavior of the user is monitored according to the set connection policy during the connection process, and when the connection behavior of the user is forbidden in the policy corresponding to the bluetooth identification code, the operation is ignored and the user is prompted.
Therefore, the method of the embodiment of the invention sets the connection strategy of each Bluetooth identification code; when the user selects other Bluetooth equipment corresponding to the Bluetooth identification code to carry out network connection, starting a corresponding connection strategy; when the user connects with other Bluetooth devices through a certain Bluetooth identification code, a corresponding connection strategy is executed according to the operation of the user. Therefore, the corresponding use strategy is dynamically selected according to other Bluetooth equipment connected by the user, and the aim of reasonably transmitting the file is fulfilled.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
Example two
The embodiment of the present invention further provides a mobile terminal, as shown in fig. 2, the mobile terminal of the embodiment includes a processor 10, and a memory 20 connected to the processor 10,
the memory 20 stores a computer program, and the computer program realizes the steps of the mobile terminal bluetooth connection processing method according to any one of the above embodiments when executed by the processor 10;
the processor 10 is configured to call the program instructions in the memory to execute the steps of the bluetooth connection processing method of the mobile terminal according to any one of the above embodiments. For example, the control performs the following method:
s1, setting a corresponding executable operation execution strategy for connecting other mobile terminals through Bluetooth by Bluetooth identification codes in the mobile terminals in advance;
s2, when the mobile terminal selects other Bluetooth devices corresponding to the Bluetooth identification code to perform Bluetooth connection, searching an executable operation execution strategy corresponding to the mobile terminal with the Bluetooth identification code;
and S3, when the Bluetooth connection is successful, performing corresponding operation according to the executable operation execution strategy control.
EXAMPLE III
The storage medium stores a computer program, and the computer program implements the steps of any one of the above-mentioned mobile terminal bluetooth connection processing methods when being executed by the processor 10.
In summary, the mobile terminal, the bluetooth connection processing method thereof, and the storage medium provided by the present invention are a bluetooth connection processing method of a mobile terminal, in which a connection policy of each bluetooth identification code is set; when other Bluetooth equipment of the corresponding Bluetooth identification code is selected to carry out network connection, a corresponding connection strategy is started; when other Bluetooth devices connected through a certain Bluetooth identification code execute corresponding connection strategies according to the operation of the user. The invention adds new functions to the mobile terminal: after the Bluetooth connection, different control modes can be selected according to different strategies, so that the corresponding use strategies can be dynamically selected according to other Bluetooth equipment connected by a user, and the aim of reasonably transmitting files is fulfilled.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (6)

1. A mobile terminal Bluetooth connection processing method is characterized by comprising the following steps:
A. setting an executable operation execution strategy corresponding to the Bluetooth connection with other mobile terminals through a Bluetooth identification code in the mobile terminal in advance; the Bluetooth identification code is: the international mobile terminal equipment identity code of the connected Bluetooth equipment, namely IMEI code;
B. when the mobile terminal selects other Bluetooth equipment of the corresponding Bluetooth identification code to perform Bluetooth connection, searching an executable operation execution strategy corresponding to the Bluetooth identification code mobile terminal; the executable operation execution policy is set by the user himself,
or a template is preset by a mobile terminal manufacturer for selection by a user;
C. when the Bluetooth connection is successful, corresponding operation is performed according to the executable operation execution strategy control;
the step A comprises the following steps:
when other Bluetooth equipment with the Bluetooth identification code being the first Bluetooth identification code is connected, the transmission of files in a certain folder is forbidden; setting that when the mobile terminal is connected with other Bluetooth equipment of which the Bluetooth identification code is the second Bluetooth identification code, no limitation is made;
and setting that when the mobile terminal is connected with other Bluetooth equipment with the Bluetooth identification code as the third Bluetooth identification code, the file with the suffix doc is forbidden to be transmitted.
2. The method for processing the Bluetooth connection of the mobile terminal according to claim 1, wherein the step A further comprises: the executable operation execution policy includes: black and white list mode.
3. The method for processing the Bluetooth connection of the mobile terminal according to claim 1, wherein the step B comprises:
when the mobile terminal opens the Bluetooth function to connect with other Bluetooth equipment, identifying the Bluetooth identification codes of the other Bluetooth equipment;
and searching an executable operation execution strategy corresponding to the Bluetooth identification code mobile terminal by identifying the Bluetooth identification codes of the other Bluetooth devices, and selecting the executable operation execution strategy corresponding to the Bluetooth identification code mobile terminal.
4. The mobile terminal Bluetooth connection processing method of claim 1,
the so-called template includes: let a file of what suffix is selected not be allowed to be transmitted, or select a suffix in which transmission is not allowed.
5. A mobile terminal comprising a processor, and a memory coupled to the processor,
the memory stores a computer program which, when executed by the processor, implements the steps of the mobile terminal bluetooth connection processing method of any one of claims 1 to 4;
the processor is used for calling the program instructions in the memory to execute the steps of the mobile terminal Bluetooth connection processing method of any one of the claims 1-4.
6. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the steps of the mobile terminal bluetooth connection processing method according to any one of claims 1 to 4.
CN201710606220.2A 2017-07-24 2017-07-24 Mobile terminal, Bluetooth connection processing method thereof and storage medium Active CN107182044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710606220.2A CN107182044B (en) 2017-07-24 2017-07-24 Mobile terminal, Bluetooth connection processing method thereof and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710606220.2A CN107182044B (en) 2017-07-24 2017-07-24 Mobile terminal, Bluetooth connection processing method thereof and storage medium

Publications (2)

Publication Number Publication Date
CN107182044A CN107182044A (en) 2017-09-19
CN107182044B true CN107182044B (en) 2021-05-28

Family

ID=59838143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710606220.2A Active CN107182044B (en) 2017-07-24 2017-07-24 Mobile terminal, Bluetooth connection processing method thereof and storage medium

Country Status (1)

Country Link
CN (1) CN107182044B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212240A (en) * 2006-12-25 2008-07-02 北京三星通信技术研究有限公司 Automatic contact information binding method for Bluetooth device
CN102332940A (en) * 2011-07-29 2012-01-25 上海合合信息科技发展有限公司 Data transmission method and system making use of Bluetooth wireless technology
CN102761351A (en) * 2011-04-27 2012-10-31 比亚迪股份有限公司 Information transfer method and system based on Bluetooth technology
CN104426582A (en) * 2013-08-28 2015-03-18 中兴通讯股份有限公司 Bluetooth communication processing method, Bluetooth communication terminal and communication apparatus
CN104486716A (en) * 2014-12-05 2015-04-01 广东欧珀移动通信有限公司 Method and device for showing bluetooth name
CN105007561A (en) * 2015-06-10 2015-10-28 广东欧珀移动通信有限公司 Bluetooth data transmission method, device and system, and mobile terminal
CN105260147A (en) * 2015-10-10 2016-01-20 远光软件股份有限公司 Printer driver control apparatus and control method therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8990300B2 (en) * 2012-08-21 2015-03-24 Mitel Networks Corporation Constructing a contact sharing history

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212240A (en) * 2006-12-25 2008-07-02 北京三星通信技术研究有限公司 Automatic contact information binding method for Bluetooth device
CN102761351A (en) * 2011-04-27 2012-10-31 比亚迪股份有限公司 Information transfer method and system based on Bluetooth technology
CN102332940A (en) * 2011-07-29 2012-01-25 上海合合信息科技发展有限公司 Data transmission method and system making use of Bluetooth wireless technology
CN104426582A (en) * 2013-08-28 2015-03-18 中兴通讯股份有限公司 Bluetooth communication processing method, Bluetooth communication terminal and communication apparatus
CN104486716A (en) * 2014-12-05 2015-04-01 广东欧珀移动通信有限公司 Method and device for showing bluetooth name
CN105007561A (en) * 2015-06-10 2015-10-28 广东欧珀移动通信有限公司 Bluetooth data transmission method, device and system, and mobile terminal
CN105260147A (en) * 2015-10-10 2016-01-20 远光软件股份有限公司 Printer driver control apparatus and control method therefor

Also Published As

Publication number Publication date
CN107182044A (en) 2017-09-19

Similar Documents

Publication Publication Date Title
KR100784331B1 (en) Apparatus and method for menu management under roaming in portable terminal
US9888124B2 (en) Electronic device and bidirectional communication control method thereof
KR102487943B1 (en) Implicit file creation in apdu scripts
CN104797003A (en) Intelligent terminal user switching method and device
JP2017517168A (en) Wireless system selection due to RF resource availability in dual access phones
KR20200116519A (en) Software update management method, server, terminal, device, and storage medium
CN104917762A (en) Permission assignment method, first electronic equipment and system
CN113438314B (en) Equipment control method and device, storage medium and electronic device
CN106791207B (en) Dialing control method of mobile terminal and mobile terminal
US11689385B2 (en) Home appliance, terminal device, and wireless connection method thereof
CN108156312A (en) A kind of method, terminal and storage device that SIM card function menu is controlled to show
CN113395690B (en) Bluetooth equipment automatic connection method, device, equipment and storage medium
CN105407455A (en) Method and device for interacting information between mobile equipment
CN107182044B (en) Mobile terminal, Bluetooth connection processing method thereof and storage medium
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
US10285041B2 (en) Wireless communication apparatus, identification information setup method, and program
WO2021220611A1 (en) Model change system, mobile communication terminal, and control system
CN108062483B (en) Method, device and terminal for accessing system resources by application
CN110769399B (en) Internet of things equipment connection networking method, internet of things equipment system and information access and transmission method
CN113543102A (en) Bluetooth connection method
US20210014665A1 (en) Method and apparatus for disabling a carrier esim profile
CN112235842A (en) Communication method and device of Internet of things equipment
CN107249220A (en) A kind of connection method of network communication and device
CN112055369A (en) Method for establishing communication network, mobile terminal and device with storage function
KR20150139373A (en) System and method for wireless connection between wireless communication device, apparatus and control method applied to the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant