CN105307104A - Method and system for interconnecting internal and external network devices based on traditional Bluetooth - Google Patents

Method and system for interconnecting internal and external network devices based on traditional Bluetooth Download PDF

Info

Publication number
CN105307104A
CN105307104A CN201510596830.XA CN201510596830A CN105307104A CN 105307104 A CN105307104 A CN 105307104A CN 201510596830 A CN201510596830 A CN 201510596830A CN 105307104 A CN105307104 A CN 105307104A
Authority
CN
China
Prior art keywords
ancillary equipment
central apparatus
network
equipment
business
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
CN201510596830.XA
Other languages
Chinese (zh)
Other versions
CN105307104B (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.)
Thunderbird innovation technology (Shenzhen) Co.,Ltd.
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510596830.XA priority Critical patent/CN105307104B/en
Publication of CN105307104A publication Critical patent/CN105307104A/en
Application granted granted Critical
Publication of CN105307104B publication Critical patent/CN105307104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

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

Abstract

The invention discloses a method and a system for interconnecting internal and external network devices based on traditional Bluetooth. The method comprises the steps that: a traditional Bluetooth connection is sequentially established with peripheral devices through a central device according to the Bluetooth addresses of the peripheral devices to establish a corresponding piconet network; the central device generates a corresponding peripheral device service list according to the Bluetooth addresses corresponding to the peripheral devices and information whether a plurality of service types are supported, and networking of the piconet corresponding to the central device and a plurality of peripheral devices is finished; and an external network device and the peripheral devices in the network adopt the central device in the network as media to execute services. Any local device and non-local device can be conveniently used for carrying out service communication, the interaction is convenient, and great convenience is brought to users.

Description

A kind of based on apparatus interconnection method and system inside and outside the network of conventional Bluetooth
Technical field
The present invention relates to intelligent terminal technical field, in particular a kind of based on apparatus interconnection method and system inside and outside the network of conventional Bluetooth.
Background technology
Along with popularizing of electronic equipment, increasing intelligent terminal is widely used by people.There is increasing smart machine in present family and office space, as smart mobile phone, flat board, notebook computer, Bluetooth audio device, bluetooth earphone, wireless camera, intelligent television, Intelligent lamp, intelligent refrigerator, intelligent water heater, intelligence printer etc.User wishes that any one smart machine at one's side can possess function specific to other smart machine, and such as, user wishes originally or when flat board also can to answer and call at Operational Note, and deliberately need not go for the position of mobile phone; The simple equipment of configuration receives the data of Global Navigation Satellite System (GNSS) as medium, but itself does not have the ability of deal with data, and user wishes that data are sent to configuration superior accommodation and go to carry out treatment and analysis by this media device.And how numerous equipment (notebook, flat board, configuration superior accommodation) that these demands can be summarized as this locality carry out effectively mutual with equipment non-indigenous (equipment of the phone other end, satellite) easily.Namely in network, external equipment is inconvenient alternately.For the demand, even existing technology can not all meet, user still needs spended time and money to go to solve the problem.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, provides a kind of based on apparatus interconnection method and system inside and outside the network of conventional Bluetooth, is intended to solve local device and non-native device interactive operation in prior art and bothers inconvenient problem.
The technical scheme that technical solution problem of the present invention adopts is as follows:
Based on an apparatus interconnection method inside and outside the network of conventional Bluetooth, wherein, comprising:
A, multiple ancillary equipment are in and can be found state, and central apparatus finds each ancillary equipment, obtain the Bluetooth address of each ancillary equipment;
B, central apparatus, according to the Bluetooth address of each ancillary equipment, are set up conventional Bluetooth with each ancillary equipment successively and are connected;
The information whether each self-corresponding multiple type of service is supported is sent to central apparatus by C, each ancillary equipment, the information whether central apparatus is supported according to Bluetooth address corresponding to each ancillary equipment and multiple type of service, generate corresponding peripheral device service list, complete the networking of central apparatus and the corresponding piconet of multiple ancillary equipment;
Network external equipment outside D, piconet network and the ancillary equipment in piconet network perform business by the central apparatus in piconet network as medium.
Described based on apparatus interconnection method inside and outside the network of conventional Bluetooth, wherein, described step B specifically comprises:
B1, central apparatus send connection request signaling to each ancillary equipment successively, employing non-security mode connects, each ancillary equipment sends to connect to central apparatus successively replys signaling, central apparatus connects on general-purpose accessing protocol layer with each ancillary equipment successively, to set up corresponding piconet, central apparatus becomes main frame, and each ancillary equipment becomes corresponding to machine.
Described based on apparatus interconnection method inside and outside the network of conventional Bluetooth, wherein, described step D specifically comprises:
D11, the request of network external equipment trigger business, send to central apparatus;
D12, central apparatus are to the type of service of each ancillary equipment radio network external equipment request in described piconet;
D13, the request of accepting business of one of them ancillary equipment, and notify central apparatus;
After D14, central apparatus receive the request message of accepting business of ancillary equipment, the ancillary equipment to correspondence is set up application layer and is connected; When the success of application layer connection establishment, network external equipment performs corresponding business by central apparatus with ancillary equipment.
Described based on apparatus interconnection method inside and outside the network of conventional Bluetooth, wherein, described step D specifically comprises:
D21, the request of ancillary equipment trigger business, send to central apparatus;
The type of service that D22, central apparatus are corresponding according to service request, sets up application layer to this ancillary equipment and connects;
D23, central apparatus and network external equipment to be connected, perform corresponding business to make network external equipment and this ancillary equipment by central apparatus.
Based on an apparatus interconnection system inside and outside the network of conventional Bluetooth, wherein, comprising:
Find module, for being in can being found state by multiple ancillary equipment, central apparatus finds each ancillary equipment, obtains the Bluetooth address of each ancillary equipment;
Networking module, for by the Bluetooth address of central apparatus according to each ancillary equipment, sets up conventional Bluetooth with each ancillary equipment successively and is connected;
Service lists generation module, for the information whether each self-corresponding multiple type of service is supported being sent to central apparatus by each ancillary equipment, the information whether central apparatus is supported according to Bluetooth address corresponding to each ancillary equipment and multiple type of service, generate corresponding peripheral device service list, complete the networking of central apparatus and the corresponding piconet of multiple ancillary equipment;
Business execution module, for performing business by the central apparatus in piconet network as medium by the network external equipment outside piconet network and the ancillary equipment in piconet network.
Described based on apparatus interconnection system inside and outside the network of conventional Bluetooth, wherein, described networking module comprises:
Networking unit, for sending connection request signaling to each ancillary equipment successively by central apparatus, employing non-security mode connects, each ancillary equipment sends to connect to central apparatus successively replys signaling, central apparatus connects on general-purpose accessing protocol layer with each ancillary equipment successively, to set up corresponding piconet, central apparatus becomes main frame, and each ancillary equipment becomes corresponding to machine.
Described based on apparatus interconnection system inside and outside the network of conventional Bluetooth, wherein, described business execution module comprises:
First trigger element, for by the request of network external equipment trigger business, sends to central apparatus;
Radio unit, for by the type of service of central apparatus to each ancillary equipment radio network external equipment request in described piconet;
Business matching unit, for by the request of accepting business of one of them ancillary equipment, and notifies central apparatus;
First business performance element, for received ancillary equipment by central apparatus request message of accepting business after, the ancillary equipment to correspondence is set up application layer and is connected; When the success of application layer connection establishment, network external equipment performs corresponding business by central apparatus with ancillary equipment.
Described based on apparatus interconnection system inside and outside the network of conventional Bluetooth, wherein, described business execution module comprises:
Second trigger element, for by the request of ancillary equipment trigger business, sends to central apparatus;
Connection establishment unit, for by the central apparatus type of service corresponding according to service request, sets up application layer to this ancillary equipment and connects;
Second business performance element, for central apparatus and network external equipment being connected, performs corresponding business to make network external equipment and this ancillary equipment by central apparatus.
Provided by the present invention a kind of based on apparatus interconnection method and system inside and outside the network of conventional Bluetooth, efficiently solve existing local device and non-native device interactive operation and bother inconvenient problem, namely in network, external equipment is inconvenient alternately, based on conventional Bluetooth piconet, be in can be found state by multiple ancillary equipment, central apparatus finds each ancillary equipment, obtains the Bluetooth address of each ancillary equipment; Central apparatus, according to the Bluetooth address of each ancillary equipment, is set up conventional Bluetooth with each ancillary equipment successively and is connected, to set up corresponding piconet; The information whether each self-corresponding multiple type of service is supported is sent to central apparatus by each ancillary equipment, the information whether central apparatus is supported according to Bluetooth address corresponding to each ancillary equipment and multiple type of service, generate corresponding peripheral device service list, complete the networking of central apparatus and the corresponding piconet of multiple ancillary equipment; Network external equipment outside piconet network and the ancillary equipment in piconet network perform business by the central apparatus in piconet network as medium; By the equipment of this locality as medium, organically numerous equipment of this locality and equipment non-indigenous are set up contact, make user that any one local device and non-native device can be used easily to carry out service communication, very easy to use and have multiple equipment available, interconnection is convenient, brings facilitate greatly to user.
Accompanying drawing explanation
Fig. 1 is the flow chart based on apparatus interconnection method preferred embodiment inside and outside the network of conventional Bluetooth provided by the invention.
Fig. 2 is provided by the invention based on equipment formation schematic diagram in apparatus interconnection method inside and outside the network of conventional Bluetooth.
Fig. 3 is provided by the invention based on networking schematic diagram in apparatus interconnection method inside and outside the network of conventional Bluetooth.
Fig. 4 is the schematic flow sheet based on apparatus interconnection method first embodiment inside and outside the network of conventional Bluetooth provided by the invention.
Fig. 5 is the schematic flow sheet based on apparatus interconnection method second embodiment inside and outside the network of conventional Bluetooth provided by the invention.
Fig. 6 is the structured flowchart based on apparatus interconnection system preferred embodiment inside and outside the network of conventional Bluetooth provided by the invention.
Embodiment
The invention provides a kind of based on apparatus interconnection method and system inside and outside the network of conventional Bluetooth, for making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
First be described in detail as follows to conventional Bluetooth agreement.
The advantage of conventional Bluetooth is that transmitted data amount is comparatively large, and message transmission rate is also very fast, is applicable to various different practical application.The exploitation of conventional Bluetooth agreement is mainly at logic link control and adapting protocol (LogicalLinkControlandAdaptationProtocol, L2CAP), general-purpose accessing protocol layer (GenericAccessProfile, GAP) and application layer (ApplicationProfile), will be described respectively below.
According to the conventional Bluetooth agreement that bluetooth alliance issues, and logic link control and adapting protocol (LogicalLinkControlandAdaptationProtocol, L2CAP) define command format and data format.
About command format: two bluetooth equipments need mutual a series of order in communication process, and the general signaling format of command channel is as shown in table 1.Table 1 is the general signaling format of command channel.
Table 1
Wherein, Length represents the byte length of Commands; ChannelID is fixed as 0x0001; Code in Commands represents the type of order, as connection request (Connectionrequest), connects and replys (Connectionresponse), as shown in table 2; Identifier in Commands is used for matching request and reply; Length in Commands represents the byte length of the Data in Commands; Data in Commands represents the portable information of order.
Table 2
About connection request command format, the Commands form of connection request is as shown in table 3.Wherein, PSM presentation protocol/service multiplexing, minimumly accounts for 2 byte lengths; SourceCID(source channel id) represent the channel id of bluetooth equipment sending connection request.
Table 3
Connect the Commands form of replying as shown in table 4.
Table 4
Wherein, DestinationCID(object channel id) represent the channel id sending and connect the bluetooth equipment of replying; SourceCID(source channel id) represent the channel id receiving and connect the bluetooth equipment of replying, directly copy from the SourceCID of connection request order; Result represents the result of connection request signaling, such as successful connection (Connectionsuccessful), (Connectionpending) undetermined and refusal (Connectionrefused), as shown in table 5.Table 5 is the result Result value of connection request signaling.
Table 5
Result for connection request signaling is situation undetermined, and setting forth result further with Status is reason undetermined, as shown in table 6.Table 6 is Status value.
Table 6
About data format: two bluetooth equipments are point-to-point connect after, data packet format is as shown in table 7.Wherein, Length represents the byte length of Informationpayload; ChannelID represents the ID of object channel, by system dynamic assignment; Informationpayload represents packet content, and length can be set to 0 to 65535 bytes.Table 7 is two point-to-point data packet formats of bluetooth equipment.
Table 7
When more than three or three bluetooth equipment successful connections, composition Piconet(piconet) time, the data packet format that main frame sends is as shown in table 8.Table 8 is the data packet format that in Piconet, main frame sends.Wherein, Length represents the byte total length of PSM and Informationpayload; ChannelID is fixed as 0x0002; PSM presentation protocol/service multiplexing, is divided into two parts, and Part I is used as agreement fixing distribution by bluetooth alliance, and Part II is used as service by system dynamic assignment, minimumly accounts for 2 byte lengths; Informationpayload represents packet content, and length can be set to 0 to 65533 bytes.As shown in table 7 from the data packet format of machine transmission in Piconet.
Table 8
General-purpose accessing agreement (GenericAccessProfile, GAP) defines inquiry, state and the flow process such as can be found, connects, can be connected and be connected.
About inquiring about and can being found: bluetooth equipment can be inquired about neighbouring bluetooth equipment by time division multiplexing mode and be found by neighbouring bluetooth equipment, and namely conventional Bluetooth equipment can be served as query facility (Inquiringdevice) and can be found equipment (Discoverabledevice) simultaneously simultaneously.Query facility obtains the Bluetooth address of the equipment that can be found by inquiry.
Query facility and can may be in connection status with another one bluetooth equipment by the equipment of being found, but still keep inquiry and can function be found.
About connection and can be connected: bluetooth equipment can be connected neighbouring bluetooth equipment by time division multiplexing mode and be connected by neighbouring bluetooth equipment simultaneously, namely bluetooth equipment can serve as connection device (Connectingdevice) and can connected equipment (Connectabledevice) simultaneously.Connection device is to sending connection request (ConnectionRequest) by connected equipment; Connection reply (ConnectionResponse) can be sent by connected equipment to connection device, as shown in table 9.After successful connection, the bluetooth equipment of initiating to connect becomes main frame (Master) in a network, and the bluetooth equipment be connected becomes in a network from machine (Slave).Table 9 be can connection device with can the Signalling exchange of connected equipment.
Table 9
Connection device and can may be in connection status with another one bluetooth equipment by connected equipment, but still keep connecting and can function being connected.
About connection status: after two bluetooth equipments successfully connect, character string message can be sent mutually.Two bluetooth equipments while maintenance connects, the function that there is inquiry, can be found, connect, can be connected.
About application layer protocol (ApplicationProfile): according to bluetooth leagues dictate, different application layers corresponds to different ApplicationProfile, such as phone application layer protocol, GLONASS (Global Navigation Satellite System) application layer protocol etc., namely on the basis that GAP connects, need again to connect on ApplicationProfile, concrete application function could be realized.
Invention defines following 3 kinds of physical device type, as shown in Figure 1.Wherein, central apparatus and all ancillary equipment are in same network, and network external equipment is by central apparatus as medium, and ancillary equipment carries out service communication.Central apparatus: this equipment is in the center inside network; Ancillary equipment: this equipment is in the peripheral position inside network; Network external equipment: this equipment is in outside network.Central apparatus and ancillary equipment 1, ancillary equipment 2 ... ancillary equipment N(N is positive integer and is less than or equal to 7) be in same network, this network is corresponding conventional Bluetooth piconet network, the said local device of namely the present invention.Network external equipment and central apparatus communicate to connect, and can long-rangely connect, namely non-native device of the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart based on apparatus interconnection method preferred embodiment inside and outside the network of conventional Bluetooth provided by the invention, as shown in the figure, said method comprising the steps of:
Step S100, multiple ancillary equipment are in and can be found state, and central apparatus finds each ancillary equipment, obtain the Bluetooth address of each ancillary equipment;
Step S200, central apparatus, according to the Bluetooth address of each ancillary equipment, are set up conventional Bluetooth with each ancillary equipment successively and are connected;
The information whether each self-corresponding multiple type of service is supported is sent to central apparatus by step S300, each ancillary equipment, the information whether central apparatus is supported according to Bluetooth address corresponding to each ancillary equipment and multiple type of service, generate corresponding peripheral device service list, complete the networking of central apparatus and the corresponding piconet of multiple ancillary equipment;
Network external equipment outside step S400, piconet network and the ancillary equipment in piconet network perform business by the central apparatus in piconet network as medium.
Below in conjunction with specific embodiment, above-mentioned steps is described in detail.
In the step s 100, multiple ancillary equipment is in and can be found state, and central apparatus finds each ancillary equipment, obtains the Bluetooth address of each ancillary equipment.Specifically, ancillary equipment and central apparatus specifically refer to various intelligent terminal, as intelligent television, wireless acoustics, smart mobile phone, flat board, notebook, computer, wireless router, wireless camera, Wireless projector, Intelligent lamp, intelligent refrigerator, intelligent water heater and intelligence printer etc., these intelligent terminals generally all possess conventional Bluetooth function.State that under initial condition, all ancillary equipment is in " can be found ", central apparatus " discovery " all ancillary equipment, obtains the Bluetooth address of all ancillary equipment simultaneously.
In step s 200, central apparatus, according to the Bluetooth address of each ancillary equipment, is set up conventional Bluetooth with each ancillary equipment successively and is connected, to set up corresponding piconet network.Specifically, central apparatus sends connection request signaling to each ancillary equipment successively, employing non-security mode connects, each ancillary equipment sends to connect to central apparatus successively replys signaling, central apparatus connects on general-purpose accessing protocol layer with each ancillary equipment successively, set up corresponding piconet network, central apparatus becomes main frame, and each ancillary equipment becomes corresponding to machine.
In step S300, the information whether each self-corresponding multiple type of service is supported is sent to central apparatus by each ancillary equipment, the information whether central apparatus is supported according to Bluetooth address corresponding to each ancillary equipment and multiple type of service, generate corresponding peripheral device service list, complete the networking of central apparatus and the corresponding piconet of multiple ancillary equipment.
When practical application, central apparatus first sends " connection request " signaling to first ancillary equipment, non-security mode is adopted to connect (i.e. in the connection procedure of two equipment, not needing 6 random digits to verify), then first ancillary equipment sends " connect and reply " signaling to central apparatus, central apparatus and first ancillary equipment successful connection on GAP layer, central apparatus becomes main frame, first ancillary equipment becomes from machine, and can send mutually character string message between central apparatus and ancillary equipment.Then, the basis of two point-to-point data packet formats of bluetooth equipment (namely sending message format from machine to main frame in Piconet) shown in table 7, self-defined Informationpayload wherein, as shown in table 10, according to this form, ancillary equipment sends the professional ability of information reporting support to central apparatus.Table 10 is the self-defining character string message of ancillary equipment reporting service ability.
Table 10
Wherein, Length represents the byte length of Informationpayload; ChannelID represents the ID of object channel, by system dynamic assignment; Type represents that ancillary equipment sends the type of message, and " 00000000 " represents that ancillary equipment is to central apparatus reporting service ability, specifically as shown in table 11; Service0 ~ Service255 represents the support situation of this type of service, represents that this business supported by ancillary equipment with " 11111111 ", represents that this business do not supported by ancillary equipment with " 00000000 ".Table 11 is Type value and meaning thereof.
Table 11
Then, the connection of GAP layer set up successively by central apparatus and other ancillary equipment, sets up Piconet(piconet) network, each ancillary equipment reports the professional ability of support respectively to central apparatus.Central apparatus integrates Bluetooth address and the type of service support situation of all ancillary equipment, and form peripheral device service list, as shown in table 12, networking completes.Table 12 is peripheral device service list.
Table 12
When practical application, central apparatus and all ancillary equipment (at the most 7) composition Piconet(piconet) network, after networking completes, central apparatus becomes main frame, all ancillary equipment becomes from machine, central apparatus can send message to all ancillary equipment simultaneously, and each ancillary equipment can send message to central apparatus separately, and whole networking process as shown in Figure 3.The object of networking is that all ancillary equipment reports the type of service of support to central apparatus, and central apparatus obtains peripheral device service list, thus completes the networking of central apparatus and the corresponding piconet of multiple ancillary equipment.
In step S400, the network external equipment outside piconet network and the ancillary equipment in piconet network perform business by the central apparatus in piconet network as medium.Specifically, after central apparatus and ancillary equipment networking complete, central apparatus obtains peripheral device service list, and central apparatus and ancillary equipment rely on conventional Bluetooth to interconnect.After central apparatus and all ancillary equipment complete and sets up Piconet network, network external equipment communication connection central apparatus, like this, network external equipment and ancillary equipment carry out business relations by central apparatus as medium.When practical application, according to the service request of user, network external equipment outside described piconet network and central apparatus are connected, the type of service that central apparatus is corresponding according to described service request inquires about described peripheral device service list, find corresponding ancillary equipment and connect, making network external equipment and corresponding ancillary equipment perform business by central apparatus.
When practical application, the interconnection of the equipment in network external equipment and network can be divided into 2 application scenarioss.Below be described in detail respectively as follows.
Further, described step S400 specifically comprises:
S411, the request of network external equipment trigger business, send to central apparatus;
S412, central apparatus are to the type of service of each ancillary equipment radio network external equipment request in described piconet network;
S413, the request of accepting business of one of them ancillary equipment, and notify central apparatus;
After S414, central apparatus receive the request message of accepting business of ancillary equipment, the ancillary equipment to correspondence is set up application layer and is connected; When the success of application layer connection establishment, network external equipment performs corresponding business by central apparatus with ancillary equipment.
Refer to Fig. 4, Fig. 4 is the schematic flow sheet based on apparatus interconnection method first embodiment inside and outside the network of conventional Bluetooth provided by the invention.After networking completes, network external equipment is trigger business request initiatively, and after central apparatus receives service request, broadcast in Piconet network, one of them ancillary equipment responds and the request of accepting business.Network external equipment and ancillary equipment perform business by central apparatus as medium, and as shown in Figure 4, network external equipment initiatively trigger business and ancillary equipment performs the process of business.
Specifically, when network external equipment active trigger business, after central apparatus receives service request, in Piconet shown in table 8 main frame send data packet format basis on, self-defined Informationpayload wherein, as shown in table 13, and according to this form, central apparatus in Piconet network to the type of service of all ancillary equipment radio network external equipment request.The self-defining character string message of device broadcasts network external equipment requested service type centered by table 13.
Table 13
Wherein, Length represents the byte total length of PSM and Informationpayload; ChannelID is fixed as 0x0002; PSM presentation protocol/service multiplexing, is divided into two parts, and Part I is used as agreement fixing distribution by bluetooth alliance, and Part II is used as service by system dynamic assignment, minimumly accounts for 2 byte lengths; Informationpayload(and Servicex) represent the type of service of network external equipment request, length is 1 byte.
After all ancillary equipment in Piconet network receive the message of central apparatus broadcast, one of them ancillary equipment responds and the request of accepting business, the basis of two point-to-point data packet formats of bluetooth equipment (namely sending message format from machine to main frame in Piconet) shown in table 7, self-defined Informationpayload wherein, as shown in table 14, and according to this form, this ancillary equipment sends to central apparatus and accepts network external equipment business request information.Table 14 is for ancillary equipment is to the self-defining character string message of the central apparatus transmission request of accepting business.
Table 14
Wherein, Length represents the byte length of Informationpayload; ChannelID represents the ID of object channel, by system dynamic assignment; Type represents that ancillary equipment sends the type of message, and " 00000001 " represents that ancillary equipment accepts or refusal network external equipment service trigger request; Accept represents the service request accepting or refuse network external equipment, represents that ancillary equipment accepts the service request of network external equipment with " 11111111 ", represents the service request of ancillary equipment refusal network external equipment with " 00000000 ".
After central apparatus receives the message as self-defining in table 14 of one of them ancillary equipment (ancillary equipment 1 in Fig. 4), central apparatus, according to the type of service of network external equipment trigger request, is set up corresponding ApplicationProfile layer to this ancillary equipment and is connected.Once ApplicationProfile layer connects successfully, network external equipment just can by central apparatus as medium, and ancillary equipment performs business.
Like this, central apparatus, by setting up corresponding piconet network, just can make network external equipment perform the business of user with corresponding ancillary equipment.
Further, described step S400 specifically comprises:
S421, the request of ancillary equipment trigger business, send to central apparatus;
The type of service that S422, central apparatus are corresponding according to service request, sets up application layer to this ancillary equipment and connects;
S423, central apparatus and network external equipment to be connected, perform corresponding business to make network external equipment and this ancillary equipment by central apparatus.
Refer to Fig. 5, Fig. 5 is the schematic flow sheet based on apparatus interconnection method second embodiment inside and outside the network of conventional Bluetooth provided by the invention.Ancillary equipment is trigger business initiatively, and after central apparatus receives service request, ancillary equipment and network external equipment perform business by central apparatus as medium, and idiographic flow as shown in Figure 5.
Specifically, when ancillary equipment active trigger business, the basis of two point-to-point data packet formats of bluetooth equipment (namely sending message format from machine to main frame in Piconet) shown in table 7, self-defined Informationpayload wherein, as shown in Table 15, and according to this form, this ancillary equipment sends initiatively trigger business message to central apparatus.Table 15 is that ancillary equipment sends the self-defining character string message of initiatively trigger business to central apparatus.
Table 15
Wherein, Length represents the byte length of Informationpayload; ChannelID represents the ID of object channel, by system dynamic assignment; Type represents that ancillary equipment sends the type of message, and " 00000010 " represents ancillary equipment initiatively trigger business; Servicey represents the type of service that ancillary equipment initiatively triggers.
After central apparatus receives the service request of ancillary equipment (ancillary equipment 1 in Fig. 5), according to type of service, set up corresponding ApplicationProfile layer to this ancillary equipment and connect.Then central apparatus is set up with network external equipment and is communicated, and ancillary equipment and network external equipment just can perform business by central apparatus as medium.
Provided by the invention based on apparatus interconnection method inside and outside the network of conventional Bluetooth, in networking process, Piconet network set up by central apparatus and ancillary equipment, central apparatus can send character string message to all ancillary equipment in Piconet network simultaneously, and all ancillary equipment can send character string message to central apparatus separately; Piconet is after networks are completed, and the ancillary equipment in network external equipment and network performs business by the central apparatus in network as medium.User can use any one local device (ancillary equipment) and non-native device (network external equipment) to perform business easily, easy and simple to handle.
Based on above-mentioned based on apparatus interconnection method inside and outside the network of conventional Bluetooth, the embodiment of the present invention additionally provides a kind of based on apparatus interconnection system inside and outside the network of conventional Bluetooth, and as shown in Figure 6, described system comprises:
Find module 10, for being in can being found state by multiple ancillary equipment, central apparatus finds each ancillary equipment, obtains the Bluetooth address of each ancillary equipment; Specifically as described in step S100;
Networking module 20, for by the Bluetooth address of central apparatus according to each ancillary equipment, sets up conventional Bluetooth with each ancillary equipment successively and is connected; Specifically as described in step S200;
Service lists generation module 30, for the information whether each self-corresponding multiple type of service is supported being sent to central apparatus by each ancillary equipment, the information whether central apparatus is supported according to Bluetooth address corresponding to each ancillary equipment and multiple type of service, generate corresponding peripheral device service list, complete the networking of central apparatus and the corresponding piconet of multiple ancillary equipment; Specifically as described in step S300;
Business execution module 40, for performing business by the central apparatus in piconet network as medium by the network external equipment outside piconet network and the ancillary equipment in piconet network; Specifically as described in step S400.
Further, described networking module 20 comprises:
Networking unit, for sending connection request signaling to each ancillary equipment successively by central apparatus, employing non-security mode connects, each ancillary equipment sends to connect to central apparatus successively replys signaling, central apparatus connects on general-purpose accessing protocol layer with each ancillary equipment successively, to set up corresponding piconet network, central apparatus becomes main frame, and each ancillary equipment becomes corresponding to machine.
Further, described business execution module 40 comprises:
First trigger element, for by the request of network external equipment trigger business, sends to central apparatus;
Radio unit, for by the type of service of central apparatus to each ancillary equipment radio network external equipment request in described piconet;
Business matching unit, for by the request of accepting business of one of them ancillary equipment, and notifies central apparatus;
First business performance element, for received ancillary equipment by central apparatus request message of accepting business after, the ancillary equipment to correspondence is set up application layer and is connected; When the success of application layer connection establishment, network external equipment performs corresponding business by central apparatus with ancillary equipment.
Further, described business execution module 40 comprises:
Second trigger element, for by the request of ancillary equipment trigger business, sends to central apparatus;
Connection establishment unit, for by the central apparatus type of service corresponding according to service request, sets up application layer to this ancillary equipment and connects;
Second business performance element, for central apparatus and network external equipment being connected, performs corresponding business to make network external equipment and this ancillary equipment by central apparatus.
In sum, be provided by the inventionly a kind ofly in based on apparatus interconnection method and system inside and outside the network of conventional Bluetooth can be found state by multiple ancillary equipment, central apparatus finds each ancillary equipment, obtains the Bluetooth address of each ancillary equipment; Central apparatus, according to the Bluetooth address of each ancillary equipment, is set up conventional Bluetooth with each ancillary equipment successively and is connected, and sets up corresponding piconet network; The information whether each self-corresponding multiple type of service is supported is sent to central apparatus by each ancillary equipment, the information whether central apparatus is supported according to Bluetooth address corresponding to each ancillary equipment and multiple type of service, generate corresponding peripheral device service list, complete the networking of central apparatus and the corresponding piconet of multiple ancillary equipment; Ancillary equipment in network external equipment and network performs business by the central apparatus in network as medium; By the equipment of this locality as medium, organically numerous equipment of this locality and equipment non-indigenous are set up contact, make user that any one local device and non-native device can be used easily to carry out service communication, very easy to use and have multiple equipment available, interconnection is convenient, brings facilitate greatly to user.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.

Claims (8)

1., based on an apparatus interconnection method inside and outside the network of conventional Bluetooth, it is characterized in that, comprising:
A, multiple ancillary equipment are in and can be found state, and central apparatus finds each ancillary equipment, obtain the Bluetooth address of each ancillary equipment;
B, central apparatus, according to the Bluetooth address of each ancillary equipment, are set up conventional Bluetooth with each ancillary equipment successively and are connected;
The information whether each self-corresponding multiple type of service is supported is sent to central apparatus by C, each ancillary equipment, the information whether central apparatus is supported according to Bluetooth address corresponding to each ancillary equipment and multiple type of service, generate corresponding peripheral device service list, complete the networking of central apparatus and the corresponding piconet of multiple ancillary equipment;
Network external equipment outside D, piconet network and the ancillary equipment in piconet network perform business by the central apparatus in piconet network as medium.
2. according to claim 1ly it is characterized in that based on apparatus interconnection method inside and outside the network of conventional Bluetooth, described step B specifically comprises:
B1, central apparatus send connection request signaling to each ancillary equipment successively, employing non-security mode connects, each ancillary equipment sends to connect to central apparatus successively replys signaling, central apparatus connects on general-purpose accessing protocol layer with each ancillary equipment successively, to set up corresponding piconet, central apparatus becomes main frame, and each ancillary equipment becomes corresponding to machine.
3. according to claim 1ly it is characterized in that based on apparatus interconnection method inside and outside the network of conventional Bluetooth, described step D specifically comprises:
D11, the request of network external equipment trigger business, send to central apparatus;
D12, central apparatus are to the type of service of each ancillary equipment radio network external equipment request in described piconet;
D13, the request of accepting business of one of them ancillary equipment, and notify central apparatus;
After D14, central apparatus receive the request message of accepting business of ancillary equipment, the ancillary equipment to correspondence is set up application layer and is connected; When the success of application layer connection establishment, network external equipment performs corresponding business by central apparatus with ancillary equipment.
4. according to claim 1ly it is characterized in that based on apparatus interconnection method inside and outside the network of conventional Bluetooth, described step D specifically comprises:
D21, the request of ancillary equipment trigger business, send to central apparatus;
The type of service that D22, central apparatus are corresponding according to service request, sets up application layer to this ancillary equipment and connects;
D23, central apparatus and network external equipment to be connected, perform corresponding business to make network external equipment and this ancillary equipment by central apparatus.
5., based on an apparatus interconnection system inside and outside the network of conventional Bluetooth, it is characterized in that, comprising:
Find module, for being in can being found state by multiple ancillary equipment, central apparatus finds each ancillary equipment, obtains the Bluetooth address of each ancillary equipment;
Networking module, for by the Bluetooth address of central apparatus according to each ancillary equipment, sets up conventional Bluetooth with each ancillary equipment successively and is connected;
Service lists generation module, for the information whether each self-corresponding multiple type of service is supported being sent to central apparatus by each ancillary equipment, the information whether central apparatus is supported according to Bluetooth address corresponding to each ancillary equipment and multiple type of service, generate corresponding peripheral device service list, complete the networking of central apparatus and the corresponding piconet of multiple ancillary equipment;
Business execution module, for performing business by the central apparatus in piconet network as medium by the network external equipment outside piconet network and the ancillary equipment in piconet network.
6. according to claim 5ly it is characterized in that based on apparatus interconnection system inside and outside the network of conventional Bluetooth, described networking module comprises:
Networking unit, for sending connection request signaling to each ancillary equipment successively by central apparatus, employing non-security mode connects, each ancillary equipment sends to connect to central apparatus successively replys signaling, central apparatus connects on general-purpose accessing protocol layer with each ancillary equipment successively, to set up corresponding piconet, central apparatus becomes main frame, and each ancillary equipment becomes corresponding to machine.
7. according to claim 5ly it is characterized in that based on apparatus interconnection system inside and outside the network of conventional Bluetooth, described business execution module comprises:
First trigger element, for by the request of network external equipment trigger business, sends to central apparatus;
Radio unit, for by the type of service of central apparatus to each ancillary equipment radio network external equipment request in described piconet;
Business matching unit, for by the request of accepting business of one of them ancillary equipment, and notifies central apparatus;
First business performance element, for received ancillary equipment by central apparatus request message of accepting business after, the ancillary equipment to correspondence is set up application layer and is connected; When the success of application layer connection establishment, network external equipment performs corresponding business by central apparatus with ancillary equipment.
8. according to claim 5ly it is characterized in that based on apparatus interconnection system inside and outside the network of conventional Bluetooth, described business execution module comprises:
Second trigger element, for by the request of ancillary equipment trigger business, sends to central apparatus;
Connection establishment unit, for by the central apparatus type of service corresponding according to service request, sets up application layer to this ancillary equipment and connects;
Second business performance element, for central apparatus and network external equipment being connected, performs corresponding business to make network external equipment and this ancillary equipment by central apparatus.
CN201510596830.XA 2015-09-18 2015-09-18 Apparatus interconnection method and system inside and outside a kind of network based on conventional Bluetooth Active CN105307104B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510596830.XA CN105307104B (en) 2015-09-18 2015-09-18 Apparatus interconnection method and system inside and outside a kind of network based on conventional Bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510596830.XA CN105307104B (en) 2015-09-18 2015-09-18 Apparatus interconnection method and system inside and outside a kind of network based on conventional Bluetooth

Publications (2)

Publication Number Publication Date
CN105307104A true CN105307104A (en) 2016-02-03
CN105307104B CN105307104B (en) 2019-01-29

Family

ID=55203761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510596830.XA Active CN105307104B (en) 2015-09-18 2015-09-18 Apparatus interconnection method and system inside and outside a kind of network based on conventional Bluetooth

Country Status (1)

Country Link
CN (1) CN105307104B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109076624A (en) * 2016-05-13 2018-12-21 华为技术有限公司 Wireless connecting establishment method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873458A (en) * 2012-12-13 2014-06-18 三星电子株式会社 Device control method for registering device information of peripheral device, and device and system thereof
CN104661326A (en) * 2013-11-25 2015-05-27 诺基亚公司 Managing Concurrent Connections Between Wireless Dockee Devices In A Wireless Docking Environment
CN104780499A (en) * 2015-04-01 2015-07-15 惠州Tcl移动通信有限公司 Multi-device intelligent interconnection method and system based on Bluetooth

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873458A (en) * 2012-12-13 2014-06-18 三星电子株式会社 Device control method for registering device information of peripheral device, and device and system thereof
CN104661326A (en) * 2013-11-25 2015-05-27 诺基亚公司 Managing Concurrent Connections Between Wireless Dockee Devices In A Wireless Docking Environment
CN104780499A (en) * 2015-04-01 2015-07-15 惠州Tcl移动通信有限公司 Multi-device intelligent interconnection method and system based on Bluetooth

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109076624A (en) * 2016-05-13 2018-12-21 华为技术有限公司 Wireless connecting establishment method and equipment

Also Published As

Publication number Publication date
CN105307104B (en) 2019-01-29

Similar Documents

Publication Publication Date Title
CN104717603B (en) A kind of Bluetooth Low Energy networking simultaneously supports the method and system of convenient interconnection
CN104540090B (en) A kind of networking interconnecting method and system based on low-power consumption bluetooth
CN104780499B (en) A kind of more device intelligence interconnecting methods and system based on bluetooth
CN105050033A (en) Piconet networking interconnection method and system based on low-power-dissipation Bluetooth and traditional Bluetooth
CN104539325B (en) Networking interconnection method and system based on low-power-consumption Bluetooth piconets
WO2014059813A1 (en) Data transmission method and terminal device
TWI446767B (en) Mobile communication device, mobile network sharing method and electronic device
CN102739291B (en) Near field communication module, system and method thereof
CN104539324B (en) Bluetooth low-power-consumption networking interconnecting method and system
WO2014063514A1 (en) Method and bluetooth device for broadcasting data through bluetooth
CN106255176A (en) The method that smart machine is accessed wireless network
CN104883656A (en) Method for establishing steady state piconet based on bluetooth and system for establishing steady state piconet based on bluetooth
CN101656745A (en) Wireless communication device and system for realizing file sharing and file sharing method
CN105451368B (en) Communication method and device
CN104364777A (en) Protocol translating adapter
CN101656730B (en) Communicator, communication system, communication means
CN105187097A (en) Method and system for realizing interconnection of internal and external devices based on Bluetooth
CN105246129B (en) The network-building method and device of a kind of intelligent terminal
CN106255074A (en) A kind of group's method for building up and device
CN101651473A (en) Communication apparatuses, methods for manufacturing chips and method for providing wireless communication profile
CN105530714A (en) MIFI communication service system and MIFI and communication method thereof
CN105828253A (en) Wireless connection control method and device in audio playing system
CN105307104A (en) Method and system for interconnecting internal and external network devices based on traditional Bluetooth
CN103442450A (en) Wireless communication method and wireless communication equipment
CN102761780A (en) Method for obtaining media metadata by intelligent remote controller to

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220128

Address after: 518000 a501, building D4, TCL Science Park, No. 1001, Zhongshan Park Road, Shuguang community, Xili street, Nanshan District, Shenzhen, Guangdong

Patentee after: Thunderbird innovation technology (Shenzhen) Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.