CN109890017A - Method, apparatus, equipment and the readable storage medium storing program for executing being connect with central apparatus - Google Patents

Method, apparatus, equipment and the readable storage medium storing program for executing being connect with central apparatus Download PDF

Info

Publication number
CN109890017A
CN109890017A CN201910081845.0A CN201910081845A CN109890017A CN 109890017 A CN109890017 A CN 109890017A CN 201910081845 A CN201910081845 A CN 201910081845A CN 109890017 A CN109890017 A CN 109890017A
Authority
CN
China
Prior art keywords
peripheral equipment
central apparatus
equipment
target device
facility information
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.)
Granted
Application number
CN201910081845.0A
Other languages
Chinese (zh)
Other versions
CN109890017B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201910081845.0A priority Critical patent/CN109890017B/en
Publication of CN109890017A publication Critical patent/CN109890017A/en
Application granted granted Critical
Publication of CN109890017B publication Critical patent/CN109890017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure provides a kind of method, apparatus connecting with central apparatus, equipment and readable storage medium storing program for executing, and method includes: the facility information of the central apparatus of peripheral equipment record binding;Peripheral equipment receives the switching command for being used to switch connection equipment that user sends, and the corresponding mark of the facility information recorded of preset quantity is shown according to switching command;Peripheral equipment receives the selection instruction that user sends, and is attached according to selection instruction target device corresponding with selection instruction.Method, apparatus, equipment and the readable storage medium storing program for executing that the disclosure provides, after peripheral equipment and central apparatus binding, it can recorde the facility information of central apparatus, to when user wishes the central apparatus that switching is connect with peripheral equipment, the facility information recorded can be shown to user, and be attached with the target device of user's selection, thus the technical issues of solving the central apparatus complex steps of switching peripheral equipment connection in the prior art.

Description

Method, apparatus, equipment and the readable storage medium storing program for executing being connect with central apparatus
Technical field
This disclosure relates to bluetooth connection technology more particularly to a kind of method, apparatus being connect with central apparatus, equipment and can Storage medium is read, field is belonged to.
Background technique
Currently, there is the peripheral equipment that can much connect by Bluetooth technology with central apparatus, these peripheral equipments can be with It is realized based on GATT (Generic Attribute Profile) and is connect with central apparatus low-power consumption bluetooth.Wherein, peripheral equipment Such as can be wearable device, such as electronics bracelet, central apparatus for example can be smart phone.
In the prior art, the user for possessing peripheral equipment may possess multiple central apparatus simultaneously.In connection peripheral equipment When with central apparatus, central apparatus can be bound by using the mode that central apparatus scans peripheral equipment two dimensional code and be set with periphery It is standby, to connect the central apparatus and peripheral equipment.
But it when user wishes the central apparatus that replacement is connect with peripheral equipment, then needs to unbind peripheral equipment and work as The binding relationship of the central apparatus of preceding connection to disconnect the connection of the two, and is set using other central apparatus scanning periphery Both standby two dimensional code, thus connect.Therefore, in scheme in the prior art, whenever peripheral equipment reconnects a center When equipment, the equipment before unbundlings is required, more inconvenience is brought to user.
Summary of the invention
The disclosure provides a kind of method, apparatus connecting with central apparatus, equipment and readable storage medium storing program for executing, existing to solve In technology, peripheral equipment switches the cumbersome problem of process of central apparatus connected to it.
The first aspect of the disclosure is to provide a kind of method connecting with central apparatus, comprising:
The facility information of the central apparatus of peripheral equipment record binding;
The peripheral equipment receives the switching command for being used to switch connection equipment that user sends, and is referred to according to the switching Enable the corresponding mark of the facility information of display preset quantity recorded;
The peripheral equipment receives the selection instruction that user sends, and according to the selection instruction and the selection instruction pair The target device answered is attached.
Another aspect of the disclosure is to provide a kind of device connecting with central apparatus, comprising:
Logging modle, the facility information of the central apparatus for recording binding;
Receiving module, for receiving the switching command for being used to switch connection equipment of user's transmission;
Display module, for showing that the facility information of preset quantity recorded is corresponding according to the switching command Mark;
The receiving module is also used to receive the selection instruction of user's transmission;
Link block, for being attached according to selection instruction target device corresponding with the selection instruction.
The another aspect of the disclosure is to provide a kind of equipment connecting with central apparatus, comprising:
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured to be executed by the processor to realize The method being connect with central apparatus as described in above-mentioned first aspect.
The another aspect of the disclosure is to provide a kind of computer readable storage medium, is stored thereon with computer program, The computer program is executed by processor to realize the method connecting with central apparatus as described in above-mentioned first aspect.
The method, apparatus connecting with central apparatus, equipment and the readable storage medium storing program for executing that the disclosure provides have the technical effect that
The method, apparatus being connect with central apparatus, equipment and the readable storage medium storing program for executing that the disclosure provides, comprising: periphery is set The facility information of the central apparatus of note binding;Peripheral equipment receives the switching for switching connection equipment that user sends and refers to It enables, and shows the corresponding mark of the facility information recorded of preset quantity according to switching command;Peripheral equipment receives user's hair The selection instruction sent, and be attached according to selection instruction target device corresponding with selection instruction.The method of disclosure offer, Device, equipment and readable storage medium storing program for executing can recorde the equipment letter of central apparatus after peripheral equipment and central apparatus binding Breath, to can show the equipment letter recorded to user when user wishes the central apparatus that switching is connect with peripheral equipment Breath, and be attached with the target device of user's selection, so that the center for solving switching peripheral equipment connection in the prior art is set The technical issues of standby complex steps.
Detailed description of the invention
Fig. 1 is the flow chart of the method connecting with central apparatus shown in an exemplary embodiment of the invention;
Fig. 2 is the flow chart of the method connecting with central apparatus shown in another exemplary embodiment of the present invention;
Fig. 2A is that the peripheral equipment shown in an exemplary embodiment of the invention waits for binding state schematic diagram;
Fig. 2 B is the authentication information schematic diagram shown in an exemplary embodiment of the invention;
Fig. 2 C is the peripheral equipment shown in an exemplary embodiment of the invention and the schematic diagram after central apparatus binding success;
Fig. 2 D is showing for the corresponding mark of facility information that the peripheral equipment shown in an exemplary embodiment of the invention is shown It is intended to;
Fig. 3 is the structure chart of the device connecting with central apparatus shown in an exemplary embodiment of the invention;
Fig. 4 is the structure chart of the device connecting with central apparatus shown in another exemplary embodiment of the present invention;
Fig. 5 is the structure chart of the equipment connecting with central apparatus shown in an exemplary embodiment of the invention.
Specific embodiment
Currently, peripheral equipment on the market can only be connect every time with a central apparatus, such as motion bracelet every time can only It is attached with a mobile phone.If user has multiple central apparatus, then user is at the center that switching is connect with peripheral equipment When equipment, need first to unbind the central apparatus of peripheral equipment current bindings, then swept to peripheral equipment with other central apparatus Code binding, can reconnect the two equipment, and therefore, user is at the center of switching and peripheral equipment binding in the prior art When equipment, process is cumbersome, is not easy to operate.
After scheme provided in this embodiment, peripheral equipment and the first binding success of central apparatus, peripheral equipment stores and it The information of the central apparatus of binding can directly select when user needs to switch the central apparatus connecting with peripheral equipment The facility information of storage solves switching peripheral equipment and connects so that the central apparatus for selecting peripheral equipment with user is directly connected to The technical issues of central apparatus complex steps connect.
Fig. 1 is the flow chart of the method connecting with central apparatus shown in an exemplary embodiment of the invention.
As shown in Figure 1, the method provided in this embodiment connecting with central apparatus includes:
Step 101, the facility information of the central apparatus of peripheral equipment record binding.
Peripheral equipment and central apparatus can by bluetooth low energy consumption (Bluetooth Low Energy, BLE) technology into Row connection, peripheral equipment can receive the notification message of central apparatus, and peripheral equipment can also send acquisition to central apparatus Data.For example, motion bracelet can pass through bluetooth connection with smart phone, and send the exercise data of user to smart phone, There are some Intelligent bracelets that can also receive the notification message of smart phone sending, such as battery capacity, current time, phone, short Letter etc..
Wherein, method provided in this embodiment can be executed by peripheral equipment, can be by method provided in this embodiment It is arranged in peripheral equipment in the form of software, so that method provided in this embodiment can be executed.In peripheral equipment, The functional module for being able to carry out method provided in this embodiment can be set, for example, processor can be set, for executing this reality The method for applying example offer, may be provided for the communication module connecting with central apparatus, communication module, which can specifically refer to, to be had The module of bluetooth connection function.
Specifically, user can open peripheral equipment and central apparatus, and open the bluetooth connection function of central apparatus.Outside Peripheral equipment can send broadcast, so that central apparatus can scan the peripheral equipment, and then be attached therewith.For example, with Family can operate smart phone, and smart phone is enable to scan motion bracelet.
Further, on peripheral equipment with two-dimensional code display or bar code central apparatus can be used, periphery is set Standby two dimensional code or bar code is scanned, so that central apparatus be made to perceive the peripheral equipment.
When practical application, after central apparatus scans or perceives the presence of peripheral equipment, user can with operation center's equipment, It is attached central apparatus with the peripheral equipment scanned.For example, user can select the fortune scanned in smart phone It starts ring.For peripheral equipment or central apparatus, bluetooth title can have, when by Bluetooth technology discovering device, The bluetooth title that can be equipment of display.For example, showing " xx bracelet " in smart phone.User can choose " xx hand Ring ", to send the instruction connecting with " xx bracelet " equipment to smart phone.
Wherein, central apparatus can be attached according to the peripheral equipment that user selects.Before proceeding, it can first bind Peripheral equipment and central apparatus, in many cases, two equipment may require that it is regular disconnect, connect such process, BLE has a security function, allows to give other side one long-term a set of security key when two device pairings.This mechanism Referred to as bind.Two equipment are allowed not need to be matched again when being again coupled to and from new encryption and can identify, as long as he Store this security key.
After the two binding, peripheral equipment can recorde the facility information for the central apparatus bound therewith.If for the first time with Central apparatus is bound, then peripheral equipment can store the address bluetooth mac (media access control address) of central apparatus, blue The information such as tooth title can also store the timestamp of binding time.
Wherein, peripheral equipment can store the information of central apparatus by the way of data base administration, Yi Mianshe Standby information is lost.It, can be using the address bluetooth mac as master since the address bluetooth mac is unique address in storing process Key, storage content corresponding with major key may include bluetooth title and binding time stamp.
Specifically, peripheral equipment can be according to the indigo plant of central apparatus if peripheral equipment with central apparatus is to be again coupled to The address tooth mac updates its binding time stamp, i.e., the available only corresponding timestamp of records center equipment.For example, peripheral equipment exists On December 1st, 2018 binds and connect for the first time with central apparatus, then when peripheral equipment is on January 21st, 2019 again and in this When heart apparatus bound, peripheral equipment only needs the corresponding binding time stamp of this central apparatus of more new record.If center The bluetooth title of equipment changes, then peripheral equipment can also update its bluetooth title, i.e., can be with records center equipment Bluetooth title, such as user are configured on smart phone, it will be able to change the bluetooth title of mobile phone.
Further, if record has the facility informations of multiple central apparatus in peripheral equipment, peripheral equipment can also be according to Binding time is ranked up the facility information of record, if the facility information of record is excessive, can also remove part binding time Facility information earlier.For example, peripheral equipment can recorde 10 facility informations altogether, if when peripheral equipment has had recorded 10 After facility information, and there is new equipment to bind therewith, then peripheral equipment can carry out the earliest facility information of binding time clear It removes.
Step 102, what peripheral equipment reception user sent is used to switch the switching command of connection equipment, and is referred to according to switching Enable the corresponding mark of the facility information recorded of display preset quantity.
When practical application, after peripheral equipment and central apparatus binding, the two can be communicated to connect normally.Due to kind Kind reason, the two connection may be interrupted, but binding relationship will not release.At this point, if user wishes peripheral equipment and other Central apparatus is attached, then switching command can be sent by peripheral equipment outward, for switching the central apparatus of peripheral equipment binding.
Wherein, it if peripheral equipment has been bundled with central apparatus, can be shown in the display screen of peripheral equipment currently The information of bound device, and show in screen the key for switching bound device.For example, can show " solution in screen Except binding ", keys, the user such as " switching connected device " click these keys, peripheral equipment can release current binding and close System, and show the corresponding mark of the facility information recorded, which can be the device identification for including in facility information, It can be the mark corresponding with facility information stored in peripheral equipment, for example, terminal 1, terminal 2 etc..
Specifically, preset quantity can be preset, it, can be recorded from after peripheral equipment receives switching command Facility information in select preset quantity information, and show the corresponding mark of these facility informations, which can also be specific Refer to the bluetooth title for including in these facility informations.For example, can set 3 for preset quantity, which be can be out The value of factory's setting, user can also be configured peripheral equipment, this value be adjusted, for example, peripheral equipment can be operated directly Modification, can also modify to it by the central apparatus being attached thereto.
Further, peripheral equipment can be ranked up facility information, for example, sort according to bluetooth title, according to tying up Stamp of fixing time sorts, and the facility information of preset quantity is determined according to ranking results, and show these facility informations.In addition, outer Peripheral equipment may be provided for the whole key of display, and user can click the key, show whole equipment recorded Information.
When practical application, above-mentioned key can be virtual key and be also possible to physical button.
Step 103, peripheral equipment receives the selection instruction that user sends, and corresponding with selection instruction according to selection instruction Target device is attached.
Wherein, after peripheral equipment shows mark, user can operate peripheral equipment, specify a target to set wherein It is standby.For example, user can operate the touch screen of peripheral equipment, a target device is selected;User can also operate peripheral equipment Physical button, in multiple marks select a target device, thus to user equipment send selection instruction.
Specifically, after peripheral equipment receives the selection instruction that user sends, it can be according to the selection instruction, with the selection Corresponding target device is instructed to be attached.
Further, peripheral equipment can instruct according to the user's choice, determine the corresponding facility information of target device, and It is bound according to facility information and target device.In general, if user selects the target device, it may be considered that user is uncommon Peripheral equipment is hoped to be attached with the target device, it is deemed that user can open the Bluetooth function of target device in advance.
When practical application, the address the available target device of peripheral equipment corresponding bluetooth mac, and be sent to it connection and ask It asks, to bind peripheral equipment and the target device, after binding success, peripheral equipment can be attached with target device.? In connection procedure, the terminal type of equipment can also be judged according to facility information, if equipment is ios terminal, can be used Agreement is connect ANCS (Apple Notification Center Service, apple notify center) with target device, if equipment When Android terminal, then can use GATT (Generic Attribute Profile, common property agreement) agreement and mesh Marking device connection.
Wherein, peripheral equipment can also store the authentication information bound with central apparatus, to enable peripheral equipment It is enough directly to be bound automatically with target device without authentication, to be attached.
Method provided in this embodiment is used for the connection of peripheral equipment and central apparatus, and this method is by being provided with the present embodiment The equipment of the method for offer executes, which realizes usually in a manner of hardware and/or software.
The method provided in this embodiment being connect with central apparatus, comprising: the central apparatus of peripheral equipment record binding Facility information;What peripheral equipment reception user sent is used to switch the switching command of connection equipment, and is shown according to switching command The corresponding mark of the facility information recorded of preset quantity;Peripheral equipment receives the selection instruction that user sends, and according to choosing Instruction target device corresponding with selection instruction is selected to be attached.Method provided in this embodiment is set in peripheral equipment and center After standby binding, the facility information of central apparatus can recorde, to set at the center that user wishes that switching is connect with peripheral equipment When standby, the facility information recorded can be shown to user, and be attached with the target device of user's selection.
Fig. 2 is the flow chart of the method connecting with central apparatus shown in another exemplary embodiment of the present invention.
As shown in Fig. 2, the method provided in this embodiment being connect with central apparatus, comprising:
Step 201, peripheral equipment receives the bind request of central apparatus, and is tied up according to binding instruction with central apparatus It is fixed.
Wherein, peripheral equipment needs elder generation to be bound with central apparatus before the facility information of records center equipment, from And interacted with central apparatus, the facility information of central apparatus can be obtained.
Specifically, user can open peripheral equipment, and the bluetooth connection function of central apparatus is opened, and make the two Between distance in the scannable regional scope of bluetooth.Peripheral equipment can send broadcast, so that central apparatus be allow to scan To the peripheral equipment.Central apparatus can scan the bluetooth equipment of surrounding, and after central apparatus scanning to peripheral equipment, user can be with Operation center's equipment, so that the outside peripheral equipment of central apparatus be made to send bind request.
Fig. 2A is that the peripheral equipment shown in an exemplary embodiment of the invention waits for binding state schematic diagram.
Further, as shown in Figure 2 A, it when peripheral equipment is not bound with central apparatus, can show in display interface as schemed Two dimensional code shown in 2A, user can be used central apparatus and scan the two dimensional code, so that the outside peripheral equipment of central apparatus be made to send Bind request.
It include the identification information of peripheral equipment itself, central apparatus when practical application, in the two dimensional code that peripheral equipment is shown By scanning this two dimensional code, the address for the peripheral equipment that will be connected can determine, to directly transmit to the peripheral equipment Bind request.
Wherein, after peripheral equipment receives bind request, the message for binding the central apparatus, user be can also display whether It can choose yes/no, so that the outside peripheral equipment of user be made to send binding instruction.
In addition, peripheral equipment can not also inquire the opinion of user, directly tied up according to binding instruction with central apparatus It is fixed.
Specifically, peripheral equipment is asked in the binding instruction for receiving user's transmission or the binding for receiving central apparatus transmission After asking, it can be bound with central apparatus.It can be recorded in the Bluetooth protocol of peripheral equipment, to make peripheral equipment It is bound with the bluetooth firmware of central apparatus.
Step 202, peripheral equipment saves authentication information when being bound with central apparatus.
Further, in peripheral equipment and central apparatus binding procedure, authentication information can be also generated, peripheral equipment can be protected It is stored in this authentication information generated when central apparatus is bound.When to be attached again with the central apparatus, it is not necessarily to Authentication, can be directly connected to.
Fig. 2 B is the authentication information schematic diagram shown in an exemplary embodiment of the invention.
It as shown in Figure 2 B, is the authentication information of peripheral equipment storage.
Fig. 2 C is the peripheral equipment shown in an exemplary embodiment of the invention and the schematic diagram after central apparatus binding success.
As shown in Figure 2 C, peripheral equipment can show with after central apparatus binding success and currently bind central apparatus Information, specifically can be with display centre device type, such as " mobile phone ", can be with the bluetooth title of display centre equipment, such as " AGM X3”。
Step 203, the facility information of the central apparatus of peripheral equipment record binding.
Step 203 is similar with the concrete principle of step 101 and implementation, and details are not described herein again.
Wherein, facility information comprises at least one of the following: device identification, device name, binding time.During device identification is The unique identifier of heart equipment, therefore, device identification can make peripheral equipment identify different central apparatus.Device name can be with Initialization title when being central apparatus factory, is also possible to the title of the central apparatus of user setting.Binding time refers to most Primary afterwards, the time of peripheral equipment and central apparatus binding then records this for example, peripheral equipment is bound for the first time with central apparatus Primary binding time records the time of last time binding if peripheral equipment is repeatedly bound with central apparatus.
Specifically, due to central apparatus and peripheral equipment be by bluetooth connection, device identification can be specifically Bluetooth identification and/or device name can be the bluetooth title in equipment.
Step 204, what peripheral equipment reception user sent is used to switch the switching command of connection equipment, and is referred to according to switching Enable the corresponding mark of the facility information recorded of display preset quantity.
Fig. 2 D is showing for the corresponding mark of facility information that the peripheral equipment shown in an exemplary embodiment of the invention is shown It is intended to.
As shown in Figure 2 D, the mark for the central apparatus that three once recorded can be shown on peripheral equipment.
Step 204 is similar with the concrete principle of step 102 and implementation, and details are not described herein again.
Step 205, peripheral equipment receives the selection instruction that user sends.
Further, after peripheral equipment shows the corresponding mark of multiple equipment information, user can select one wherein A mark, so that peripheral equipment sends the reception user hair in selection instruction, specific principle and implementation and step 103 outward The selection instruction sent is similar, repeats no more.
Step 206, peripheral equipment obtains the facility information of target device according to selection instruction.
When practical application, due to being also stored with the authentication information for the central apparatus bound in peripheral equipment, periphery Equipment can use the authentication information stored before this, make peripheral equipment and user without being bound again with the central apparatus The central apparatus (namely target device) of selection is in the state of binding.
Wherein, peripheral equipment can instruct according to the user's choice in the facility information of record, obtain selection instruction pair The facility information for the target device answered.It may include the information such as mark, title and the binding time stamp of equipment in facility information.
Specifically, the address bluetooth mac of central apparatus can be used as major key, other information in recording equipment information As the corresponding information of major key, therefore, when obtaining facility information, it can also determine that target is set according to user's Dun selection instruction The standby address bluetooth mac, then obtain the address bluetooth mac and its corresponding facility information.
Further, peripheral equipment can be set based on facility information to target after the facility information for obtaining target device It is standby to initiate the connection, for example, peripheral equipment can call connectGatt () method, to initiate the connection to target device.This Afterwards, the status information that peripheral equipment can wait target device to feed back, can specifically wait BluetoothGattCallback's Callback information.
Step 207, peripheral equipment determines the operating system of target device according to the facility information of target device.
In one embodiment, peripheral equipment can determine its operating system according to the facility information of target device;? In another embodiment, peripheral equipment can also determine its operating system according to the status information that target device is fed back.
When practical application, the corresponding device identification of different operating system is possible to different, and therefore, peripheral equipment can be based on Device identification determines the operating system of target device.In addition, can also be including the uuid information of equipment in facility information, this When, peripheral equipment can determine the operating system of target device based on the uuid information in facility information.
Step 208, peripheral equipment determines that target connects process according to operating system, and connects process and target according to target Equipment is attached.
The central apparatus operating system of mainstream includes android system and IOS system at present, and the two operating systems Bluetooth connection agreement is different, and therefore, bluetooth connection process is also different.Android is a kind of freedom and open-source based on Linux The operating system of code, is mainly used for mobile device, such as smart phone and tablet computer, by Google company and opens mobile phone Alliance leader and exploitation.IOS is the Mobile operating system developed by Apple Inc..
In method provided in this embodiment, specific connection process can be determined based on the operating system of target device, from And it is attached peripheral equipment and the central apparatus of android system and ios system.
If the operating system of target device is IOS system, target connection process may include:
Peripheral equipment sends broadcast, so that target device actively connects peripheral equipment;
Peripheral equipment Opposite direction connection target device, and the notification message for waiting target device to be received to send.
Wherein, if user has selected target device, it may be considered that user wishes that peripheral equipment is connected with target device, that User can in advance open the Bluetooth function of target device, and be located at the two in the regional scope that can be connected.
Specifically, peripheral equipment can send broadcast after user has selected target device, target device can pass through bluetooth Function is scanned and actively connects peripheral equipment.It can be set by user's operation target device so that its be made actively to connect periphery It is standby, for example, user can select peripheral equipment in the bluetooth scan list of target device, so that target device be made actively to connect Peripheral equipment.
Further, after peripheral equipment discovery target device is attached it, it can be reversed and connect the target device, from And realize the connection of two equipment.
When practical application, if the success of peripheral equipment Opposite direction connection target device, peripheral equipment can wait target to be received The notification message that equipment is sent, when the operating system of target device is IOS system, the notification message that target device is sent is ANCS format.
Wherein, relevant field can also be arranged in peripheral equipment, wait connection message.For example, enable can be set, specifically It can be by two Descriptor write-ins of Notification Source and Control Point BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE;Notification can also be obtained Source, and notification is obtained from onCharacteristicChanged.
Specifically, target connection process includes: if the operating system of target device is android system
Peripheral equipment sends broadcast, so that target device actively connects peripheral equipment;
The notification message that peripheral equipment waits target device to send.
Further, in method provided in this embodiment, peripheral equipment can be the android system of use, therefore, When it connect with the target terminal of android system, traditional bluetooth connection function can be directly used, and when it is grasped with IOS When making the target terminal connection of system, peripheral equipment Opposite direction connection is needed, the notice that can receive target terminal transmission disappears Breath.
Fig. 3 is the structure chart of the device connecting with central apparatus shown in an exemplary embodiment of the invention.
As shown in figure 3, the device provided in this embodiment being connect with central apparatus, comprising:
Logging modle 31, the facility information of the central apparatus for recording binding;
Receiving module 32, for receiving the switching command for being used to switch connection equipment of user's transmission;
Display module 33, for showing that the facility information of preset quantity recorded is corresponding according to the switching command Mark;
The receiving module 32 is also used to receive the selection instruction of user's transmission;
Link block 34, for being attached according to selection instruction target device corresponding with the selection instruction.
The device provided in this embodiment being connect with central apparatus, comprising: logging modle, the center for recording binding are set Standby facility information;Receiving module, for receiving the switching command for being used to switch connection equipment of user's transmission;Display module, For showing the corresponding mark of the facility information recorded of preset quantity according to switching command;Receiving module is also used to receive use The selection instruction that family is sent;Link block, for being attached according to selection instruction target device corresponding with selection instruction.
The concrete principle and implementation of the device provided in this embodiment being connect with central apparatus with reality shown in FIG. 1 It is similar to apply example, details are not described herein again.
Fig. 4 is the structure chart of the device connecting with central apparatus shown in another exemplary embodiment of the present invention.
As shown in figure 4, on the basis of the above embodiments, the device provided in this embodiment being connect with central apparatus, institute Facility information is stated to comprise at least one of the following:
Device identification, device name, binding time.
Optionally, the device identification is Bluetooth identification and/or the device name is bluetooth title.
Described device further includes binding module 35, is used for:
The bind request of the central apparatus is received, and is bound according to the bind request and the central apparatus.
Described device further includes memory module 36, for after being bound with the central apparatus, save with it is described Authentication information when central apparatus is bound.
The link block 34 is specifically used for:
The facility information of the target device is obtained according to the selection instruction;
The operating system of the target device is determined according to the facility information of the target device;
It determines that target connects process according to the operating system, and process and the target device is connected according to the target It is attached.
Wherein, if the operating system of the target device is IOS system, the link block 34 is specifically used for:
Broadcast is sent, so that the target device actively connects the peripheral equipment;
Target device described in Opposite direction connection, and the notification message for waiting the target device to be received to send.
The concrete principle and implementation of the device provided in this embodiment being connect with central apparatus with reality shown in Fig. 2 It is similar to apply example, details are not described herein again.
Fig. 5 is the structure chart of the equipment connecting with central apparatus shown in an exemplary embodiment of the invention.
As shown in figure 5, the equipment provided in this embodiment connecting with central apparatus includes:
Memory 51;
Processor 52;
Display 53;And
Computer program;
Wherein, the computer program is stored in the memory 51, and be configured to by the processor 52 execute with Realize any method connecting with central apparatus as described above.
Wherein, the display 53 is displayed for the corresponding mark of the facility information of preset quantity recorded Know.
The present embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program,
The computer program is executed by processor to realize any method connecting with central apparatus as described above.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of method being connect with central apparatus characterized by comprising
The facility information of the central apparatus of peripheral equipment record binding;
The peripheral equipment receives the switching command for being used to switch connection equipment that user sends, and aobvious according to the switching command Show the corresponding mark of the facility information of preset quantity recorded;
The peripheral equipment receives the selection instruction that user sends, and corresponding with the selection instruction according to the selection instruction Target device is attached.
2. the method according to claim 1, wherein the facility information comprises at least one of the following:
Device identification, device name, binding time.
3. according to the method described in claim 2, it is characterized in that, the device identification is Bluetooth identification and/or the equipment Title is bluetooth title.
4. method according to claim 1-3, which is characterized in that peripheral equipment record binding it is described in Before the facility information of heart equipment, further includes:
The peripheral equipment receives the bind request of the central apparatus, and according to the bind request and the central apparatus into Row binding.
5. according to the method described in claim 4, it is characterized in that, after being bound with the central apparatus, the method Further include:
The peripheral equipment saves authentication information when being bound with the central apparatus.
6. according to the method described in claim 5, it is characterized in that, described according to the selection instruction and the selection instruction pair The target device answered is attached, comprising:
The peripheral equipment obtains the facility information of the target device according to the selection instruction;
The peripheral equipment determines the operating system of the target device according to the facility information of the target device;
The peripheral equipment according to the operating system determine target connect process, and according to the target connect process with it is described Target device is attached.
7. according to the method described in claim 6, it is characterized in that, if the operating system of the target device is IOS system, The target connects process
The peripheral equipment sends broadcast, so that the target device actively connects the peripheral equipment;
Target device described in the peripheral equipment Opposite direction connection, and the notification message for waiting the target device to be received to send.
8. a kind of device being connect with central apparatus characterized by comprising
Logging modle, the facility information of the central apparatus for recording binding;
Receiving module, for receiving the switching command for being used to switch connection equipment of user's transmission;
Display module, for showing the corresponding mark of the facility information of preset quantity recorded according to the switching command Know;
The receiving module is also used to receive the selection instruction of user's transmission;
Link block, for being attached according to selection instruction target device corresponding with the selection instruction.
9. a kind of equipment being connect with central apparatus characterized by comprising
Memory;
Processor;
Display;And
Computer program;
Wherein, the computer program stores in the memory, and is configured to be executed by the processor to realize such as power Benefit requires any method of 1-7;
The display is used to show the corresponding mark of the facility information recorded of preset quantity.
10. a kind of computer readable storage medium, which is characterized in that it is stored thereon with computer program,
The computer program is executed by processor to realize the method as described in claim 1-7 one kind.
CN201910081845.0A 2019-01-28 2019-01-28 Method, device and equipment for connecting with central equipment and readable storage medium Active CN109890017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910081845.0A CN109890017B (en) 2019-01-28 2019-01-28 Method, device and equipment for connecting with central equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910081845.0A CN109890017B (en) 2019-01-28 2019-01-28 Method, device and equipment for connecting with central equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109890017A true CN109890017A (en) 2019-06-14
CN109890017B CN109890017B (en) 2022-03-01

Family

ID=66927116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910081845.0A Active CN109890017B (en) 2019-01-28 2019-01-28 Method, device and equipment for connecting with central equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109890017B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423240A (en) * 2020-11-11 2021-02-26 珠海优特智厨科技有限公司 Method and device for binding cookware and stove and computer equipment
CN112437500A (en) * 2020-11-03 2021-03-02 北京海林智能科技有限公司 Intelligent switch panel connection method, system, terminal and readable storage medium
CN114422639A (en) * 2022-03-16 2022-04-29 荣耀终端有限公司 Information display method and wearable device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348524A (en) * 2013-07-26 2015-02-11 施耐德电气(澳大利亚)有限公司 Binding method, center equipment and peripheral equipment
CN104539324A (en) * 2014-12-25 2015-04-22 惠州Tcl移动通信有限公司 Bluetooth low-power-consumption networking interconnecting method and system
CN105722249A (en) * 2016-01-29 2016-06-29 宇龙计算机通信科技(深圳)有限公司 Connection switching method and device and terminal
EP3229549A1 (en) * 2016-04-08 2017-10-11 Panasonic Intellectual Property Corporation of America Procedures for grouping wearable devices with lte master ues
CN108028786A (en) * 2015-07-17 2018-05-11 维泰尔公司 Control the centralized control system of the interaction and cooperation between the radio adaptation equipment run in the mesh network for supporting multiple radio communication protocols
CN108696851A (en) * 2018-05-18 2018-10-23 西安蜂语信息科技有限公司 Control the method and device of smart machine linking objective equipment
CN108961489A (en) * 2018-05-30 2018-12-07 努比亚技术有限公司 A kind of equipment wearing control method, terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348524A (en) * 2013-07-26 2015-02-11 施耐德电气(澳大利亚)有限公司 Binding method, center equipment and peripheral equipment
CN104539324A (en) * 2014-12-25 2015-04-22 惠州Tcl移动通信有限公司 Bluetooth low-power-consumption networking interconnecting method and system
CN108028786A (en) * 2015-07-17 2018-05-11 维泰尔公司 Control the centralized control system of the interaction and cooperation between the radio adaptation equipment run in the mesh network for supporting multiple radio communication protocols
CN105722249A (en) * 2016-01-29 2016-06-29 宇龙计算机通信科技(深圳)有限公司 Connection switching method and device and terminal
EP3229549A1 (en) * 2016-04-08 2017-10-11 Panasonic Intellectual Property Corporation of America Procedures for grouping wearable devices with lte master ues
CN108696851A (en) * 2018-05-18 2018-10-23 西安蜂语信息科技有限公司 Control the method and device of smart machine linking objective equipment
CN108961489A (en) * 2018-05-30 2018-12-07 努比亚技术有限公司 A kind of equipment wearing control method, terminal and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GEORGIOS STRATOGIANNIS: "User and home appliances pervasive interaction in a sensor driven smart home environment: The SandS approach", 《2015 10TH INTERNATIONAL WORKSHOP ON SEMANTIC AND SOCIAL MEDIA ADAPTATION AND PERSONALIZATION (SMAP)》 *
何佳: "一种基于低功耗蓝牙技术的室内环境监测系统的设计", 《中国优秀硕士学位论文全文数据库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437500A (en) * 2020-11-03 2021-03-02 北京海林智能科技有限公司 Intelligent switch panel connection method, system, terminal and readable storage medium
CN112423240A (en) * 2020-11-11 2021-02-26 珠海优特智厨科技有限公司 Method and device for binding cookware and stove and computer equipment
CN112423240B (en) * 2020-11-11 2022-06-28 珠海优特智厨科技有限公司 Method and device for binding cookware and cooker and computer equipment
CN114422639A (en) * 2022-03-16 2022-04-29 荣耀终端有限公司 Information display method and wearable device
CN114422639B (en) * 2022-03-16 2022-09-06 荣耀终端有限公司 Information display method and wearable device

Also Published As

Publication number Publication date
CN109890017B (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US11115797B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication system
CN100512180C (en) Communication apparatus, communication system, and method for setting communication parameters of the communication apparatus
JP4363185B2 (en) REMOTE OPERATION SYSTEM AND REMOTE OPERATION METHOD, DEVICE FOR REMOTE OPERATION AND CONTROL METHOD THEREOF, DEVICE USED BY REMOTE OPERATION AND CONTROL METHOD THEREOF, AND STORAGE MEDIUM
CN102395102B (en) Processing method of lost mobile terminal, related apparatus and communication system
EP2642773A2 (en) Method and apparatus to manage wireless direct access communication group
CN102523287A (en) Wireless network interface with infrastructure and direct modes
EP3169086A1 (en) Connection method for multimedia playing device, master device, control terminal, and system
CN109890017A (en) Method, apparatus, equipment and the readable storage medium storing program for executing being connect with central apparatus
CN111372325A (en) Method and device for establishing Wi-Fi point-to-point connection
CN111480350A (en) Method and equipment for data access of embedded SIM card
JP2006323448A (en) Data sharing system and method
CN102752364B (en) Data transmission method and device
JP2014017007A (en) Memory system
CN104322037A (en) Buffer transfer service
CN102612052A (en) Wireless communication device, program, and wireless communication system
EP2671164B1 (en) Memory system capable of controlling wireless communication function
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
JP2021528706A (en) File transmission methods, devices, and computer-readable storage media
CN100561961C (en) The method of attachment of equipment room in a kind of peer-to-peer network
CN110601986A (en) Router supporting peripheral control over mobile terminal equipment, control method and device
CN105163306B (en) Communication device and its control method
US7937514B2 (en) CWUSB host management system
CN105704692B (en) Call forwarding method and device
JP2013187713A (en) Communication apparatus, control method thereof, and program
CN103959889A (en) Recording medium and control method thereof

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.