CN103199902A - Method and system of accessing bluetooth device - Google Patents

Method and system of accessing bluetooth device Download PDF

Info

Publication number
CN103199902A
CN103199902A CN2013100276801A CN201310027680A CN103199902A CN 103199902 A CN103199902 A CN 103199902A CN 2013100276801 A CN2013100276801 A CN 2013100276801A CN 201310027680 A CN201310027680 A CN 201310027680A CN 103199902 A CN103199902 A CN 103199902A
Authority
CN
China
Prior art keywords
bluetooth equipment
man
machine interface
control subsystem
code
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
CN2013100276801A
Other languages
Chinese (zh)
Other versions
CN103199902B (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.)
Auspicious Science And Technology Ltd Is Readily Taken Opportunity To By Shenzhen
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201310027680.1A priority Critical patent/CN103199902B/en
Publication of CN103199902A publication Critical patent/CN103199902A/en
Application granted granted Critical
Publication of CN103199902B publication Critical patent/CN103199902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention belongs to the field of an internet of things and provides a method of accessing a bluetooth device. The method includes the following steps: a control subsystem receives human-computer interface codes from the bluetooth device; the control subsystem generates a human-computer interface according to the human-computer interface codes; the control subsystem receives access commands through the human-computer interface; and the control subsystem sends the access commands to the bluetooth device. The invention further provides a system of accessing the bluetooth device.

Description

The method and system of visit bluetooth equipment
Technical field
The invention belongs to the Internet of Things field, be specifically related to a kind of method and system of visiting bluetooth equipment.
Background technology
Along with popularizing of Internet of Things and low-power consumption Bluetooth technology, the various device in the life, for example lighting, Medical Devices, amusement equipment, communication equipments etc. can be in the mode of Bluetooth communication, be linked into control system, for example, smart mobile phone, panel computer dispatch control system.Be illustrated in figure 1 as existing bluetooth access technique, wherein, Fig. 1 is the flow chart of access method, Fig. 2 is the module map of control system, in order to control various bluetooth equipment, control system often adopts equipment control command collection to download a lot of different control softwares and controls these equipment, and this has caused very big inconvenience to the user.
Therefore, how to provide a kind of method that particular bluetooth equipment control software need not be installed in control system, make the Internet of Things control system no longer complexity be technical issues that need to address.
Summary of the invention
In view of this, provide a kind of method and system of visiting bluetooth equipment, the method for particular bluetooth equipment control software need not be installed in control system, only use a control software just to control all bluetooth equipments, make Internet of Things no longer complicated.
The present invention is achieved in that a kind of method of visiting bluetooth equipment, may further comprise the steps: control subsystem receives the man-machine interface code from bluetooth equipment; Control subsystem generates man-machine interface according to the man-machine interface code; Control subsystem is by the man-machine interface received access command; Control subsystem sends visit order to bluetooth equipment.
And a kind of system that visits bluetooth equipment comprises bluetooth equipment and control subsystem; Described bluetooth equipment generates the man-machine interface code according to the man-machine interface code request of transmitting of described control subsystem; Described control subsystem generates man-machine interface according to described man-machine interface code, receives user's visit order by described man-machine interface, and transmits described visit order to described bluetooth equipment.
The method and system of above-mentioned visit bluetooth equipment, resolve the man-machine interface interface code that from bluetooth equipment, transmits by code parser, thereby the man-machine interface of real-time structure bluetooth equipment in control system, pass through man-machine interface, can realize order control and transfer of data between user and the bluetooth equipment, only use a control software just to control all bluetooth equipments, make Internet of Things no longer complicated.
Description of drawings
Fig. 1 is the flow chart of access method of the prior art;
Fig. 2 is the module map of control system of the prior art;
Fig. 3 is the workflow diagram that the present invention visits the method for bluetooth equipment;
Fig. 4 is the module map that the present invention visits the system of bluetooth equipment;
Fig. 5 is the module map of the system of the embodiment of the invention 1;
Fig. 6 is the module map of the system of the embodiment of the invention 2;
Fig. 7 is the module map of the system of the embodiment of the invention 3;
Fig. 8 is the module map of the system of the embodiment of the invention 4;
Fig. 9 is the workflow diagram of the embodiment of the invention 1;
Figure 10 is the workflow diagram of the embodiment of the invention 2;
Figure 11 is the workflow diagram of the embodiment of the invention 3.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
See also Fig. 3, show that the present invention visits the workflow diagram of the method for bluetooth equipment 1.Step S100, bluetooth equipment 1 set up Radio Link with control subsystem 2 and are connected.Control subsystem 2 and communication mode between the described bluetooth equipment 1 comprise that bluetooth is connected or Radio Link connected mode such as WiFi connection.
Step S101, control subsystem 2 sends the man-machine interface code to bluetooth equipment 1 and transmits request.Be specially: the subsystem communication module 21 transmission man-machine interface codes of control subsystem 2 transmit request, to the bluetooth communication 12 of bluetooth equipment 1.
Step S102, control subsystem 2 receives the man-machine interface code from bluetooth equipment 1.Be specially: the code transport module 14 of bluetooth equipment 1 generates and sends the man-machine interface code to the subsystem communication module 21 of control subsystem 2.
Step S103, control subsystem 2 generates man-machine interface according to the man-machine interface code.Be specially: control subsystem 2 is resolved the man-machine interface code by code parser 22, and generates man-machine interface.
Step S104, control subsystem 2 is by the man-machine interface received access command.Be specially: control subsystem 2 receives user's operation by man-machine interface; Control subsystem 2 is converted into visit order with user's operation.
Step S105, control subsystem 2 sends visit order to bluetooth equipment 1.Be specially: the subsystem communication module 21 transmission visit orders of control subsystem 2 are to the bluetooth communication 12 of bluetooth equipment 1.
Step S106, bluetooth equipment 1 received access command.
Step S107, bluetooth equipment 1 is resolved visit order.Be specially: the visit order parsing module 11 of bluetooth equipment 1 is resolved visit order.
Step S108, bluetooth equipment 1 is carried out visit order.Be specially: the visit order Executive Module 13 of bluetooth equipment 1 is carried out visit order.
Step S109, bluetooth equipment 1 feedback execution result is to control subsystem 2.Be specially: the execution result of the bluetooth communication of bluetooth equipment 1 12 feedback visit orders, to control subsystem 2 bluetooth equipments 1 feedback execution result to control subsystem 2.Be specially: the execution result of the bluetooth communication 12 feedback visit orders of bluetooth equipment 1, to the subsystem communication module 21 of control subsystem 2.
See also Fig. 4, show the module map that the present invention visits the system of bluetooth equipment.The system of this visit bluetooth equipment 1 comprises bluetooth equipment 1 and control subsystem 2.Bluetooth equipment 1 generates the man-machine interface code according to the man-machine interface code request of transmitting of control subsystem 2.Control subsystem 2 generates man-machine interface according to the man-machine interface code, receives user's visit order by man-machine interface, and the transmission visit order is to bluetooth equipment 1.
Bluetooth equipment 1 comprises bluetooth communication 12 and code transport module 14, and bluetooth communication 12 is used for receiving the man-machine interface code and transmits request, and code transport module 14 is used for generating and sending the man-machine interface code to control subsystem 2.
Bluetooth equipment 1 also comprises visit order parsing module 11 and visit order Executive Module 13, and the command analysis module is used for resolving visit order, and visit order Executive Module 13 is used for carrying out visit order.
Bluetooth communication 12 also is used for the execution result of feedback visit order to control subsystem 2.
Control subsystem 2 comprises subsystem communication module 21 and code parser 22, subsystem communication module 21 is used for transmission man-machine interface code and transmits and ask to bluetooth equipment 1 and receive the man-machine interface code of bluetooth equipment 1, and code parser 22 is used for resolving the man-machine interface code to generate man-machine interface.
Subsystem communication module 21 also is used for the transmission user visit order to bluetooth equipment 1, and receives the execution result of bluetooth equipment 1 feedback from bluetooth equipment 1.
Embodiment 1
Seeing also Fig. 5 is the system module figure of this enforcement, and Fig. 9 is the workflow diagram of present embodiment.
Bluetooth equipment is a kind of lighting with Bluetooth function in the system of present embodiment visit bluetooth equipment, and control subsystem is the mobile phone of the use Andriod operating system of a band Bluetooth function.
The lighting of the described band Bluetooth function of this embodiment, its man-machine control interface are " ON/OFF " button.Be used for describing the HTML code of this " ON/OFF " button, be stored in the memory of bluetooth lamp interior.
The described use of this embodiment Andriod is as the mobile phone of operating system, a HTML code resolver has been installed in its inside, should " HTML code resolver " can send " man-machine interface interface code sends request " to the bluetooth equipment that is connected to this mobile phone to the mode with Bluetooth communication, and, the HTML code that can send according to bluetooth equipment, and HTML grammer, morphology standard, set up patterned control interface.
The described use of this embodiment Andriod is as the mobile phone of operating system, and the mode of searching by bluetooth is connected to lighting, and imports PIN code by the user, after connecting.Just can send " man-machine interface interface code sends request " to the bluetooth light fixture by the HTML code resolver, after lighting receives this request, send to mobile phone being stored in inner HTML code.The HTML code resolver is set up the man-machine interface interface that is used for this lighting of control according to HTML grammer, morphology standard after receiving HTML code, is " ON/OFF " button in this example.
The user clicks after this " ON/OFF " button, the HTML code resolver will detect this operation, and be converted to the mode of order, the bluetooth light fixture is sent " ON/OFF " order, after the bluetooth light fixture receives this order, light fixture is carried out " ON/OFF " operation, and operating result is returned to the HTML code resolver.
The workflow of present embodiment is:
Control subsystem and bluetooth equipment are set up bluetooth and are connected by MAC Address broadcasting and PIN code pairing.Control subsystem sends " the man-machine interface code sends request " to bluetooth equipment.Bluetooth equipment sends " the man-machine interface code " that is stored in its inside to control subsystem.Control subsystem receives " man-machine interface code ", and resolves this code generation man-machine interface interface.The user (for example: click keys) triggers the man-machine interface interface.Control subsystem is sent visit order to bluetooth equipment.The bluetooth equipment received access command.Bluetooth equipment is resolved visit order.Bluetooth equipment is carried out visit order.Bluetooth equipment is to control subsystem feedback command execution result.
In the present embodiment, control subsystem can also be the mobile phone of panel computer, other operating systems etc. except the Andriod mobile phone, and bluetooth equipment can also be Bluetooth electronic sphygmomanometer, bluetooth scale etc. except the lighting of band Bluetooth function.
Embodiment 2
Seeing also Fig. 6 is the system module figure of this enforcement, and Figure 10 is the workflow diagram of present embodiment.
The difference of present embodiment and embodiment 1 is, is used for describing the HTML code at man-machine interface interface, neither leave bluetooth equipment inside in, neither leave in the control system, but be present on the server based on Interner.The bluetooth light fixture connects after the foundation, the bluetooth light fixture sends to the HTML code resolver to the link of the HTML code of describing the man-machine interface interface, the HTML code resolver links according to this, from Internet up and down the HTML of manned machine connection interface code is described, and set up the man-machine interface interface according to this code and html language standard.
The workflow of present embodiment is:
Control subsystem and bluetooth equipment are set up bluetooth and are connected by MAC Address broadcasting and PIN code pairing.Control subsystem sends " the man-machine interface code sends request " to bluetooth equipment.Bluetooth equipment sends " the man-machine interface code chained address " that is stored in its inside to control subsystem.Control subsystem receives " man-machine interface code chained address ", and downloads " man-machine interface code " according to this chained address from the Internet server.Control subsystem is resolved " the man-machine interface code " downloaded from the Internet server, and produces the man-machine interface interface.The user (for example: click keys) triggers the man-machine interface interface.Control subsystem is sent visit order to bluetooth equipment.The bluetooth equipment received access command.Bluetooth equipment is resolved visit order.Bluetooth equipment is carried out visit order.Bluetooth equipment is to control subsystem feedback command execution result.
In the present embodiment, control subsystem can be the mobile phone of Andriod mobile phone, panel computer, other operating systems etc., and bluetooth equipment can be the lighting, Bluetooth electronic sphygmomanometer, bluetooth scale etc. of band Bluetooth function.
Embodiment 3
Seeing also Fig. 7 is the system module figure of this enforcement, and Figure 11 is the workflow diagram of present embodiment.
The difference of present embodiment and embodiment 1 is, is used for describing the HTML code at man-machine interface interface, is not to be stored in the memory of bluetooth equipment inside, but is stored in the two-dimension code of bluetooth equipment surface or annex.
The workflow of present embodiment is:
The user uses control subsystem that the two-dimension code in bluetooth equipment surface or its annex is taken pictures.Control subsystem identification step one described two-dimension code, and therefrom obtain unpaired message (comprising MAC Address and PIN code) and the man-machine interface code of bluetooth equipment, and set up the man-machine interface interface according to the man-machine interface code.Bluetooth equipment unpaired message and bluetooth equipment that control subsystem is obtained according to step 2 connect.The user (for example: click keys) triggers the man-machine interface interface.Control subsystem is sent visit order to bluetooth equipment.The bluetooth equipment received access command.Bluetooth equipment is resolved visit order.Bluetooth equipment is carried out visit order.Bluetooth equipment is to control subsystem feedback command execution result.
Embodiment 4
Seeing also Fig. 8, is the system module figure of this enforcement.
The difference of present embodiment and embodiment 3 is, is stored in the content in the two-dimension code of bluetooth equipment surface or annex, is not the chained address of the HTML code at the HTML code at man-machine interface interface but man-machine interface interface.
As above, the method and system of visit bluetooth equipment provided by the present invention at first can be simplified the access process of bluetooth equipment, realizes the thing connection effect of " What You See Is What You Get ".The user can " see " by bluetooth discovery and arrive, and perhaps can photograph by camera, and the bluetooth equipment of authority visit is arranged, and can conduct interviews, and need not manual to download special-purpose control software from network or storage medium.Can also simplify the popularization process of bluetooth equipment, manufacturer need not to design special application program, and is uploaded to and uses in the shop, but the code storage at man-machine interface interface at bluetooth equipment, even in a piece of paper sheet, together sell together with bluetooth equipment and to get final product.Resolve the man-machine interface interface code that from bluetooth equipment, transmits by code parser, thereby the man-machine interface of real-time structure bluetooth equipment in control system, pass through man-machine interface, can realize order control and transfer of data between user and the bluetooth equipment, only use a control software just to control all bluetooth equipments, make Internet of Things no longer complicated.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method of visiting bluetooth equipment is characterized in that, may further comprise the steps:
Described control subsystem receives the man-machine interface code from described bluetooth equipment;
Described control subsystem is resolved described man-machine interface code and is generated man-machine interface;
Described control subsystem is by described man-machine interface received access command;
Described control subsystem sends described visit order to described bluetooth equipment.
2. the method for visit bluetooth equipment according to claim 1 is characterized in that, described control subsystem comprises by described this step of man-machine interface received access command:
Described control subsystem is accepted user's operation by described man-machine interface;
Described control subsystem is converted into visit order with described user's operation.
3. the method for visit bluetooth equipment according to claim 1 is characterized in that, and is further comprising the steps of: described control subsystem receives the feedback result of described bluetooth equipment.
4. the method for visit bluetooth equipment according to claim 3 is characterized in that: described bluetooth equipment generates described feedback result by resolving and carrying out described visit order.
5. the method for visit bluetooth equipment according to claim 3 is characterized in that: described control subsystem and communication mode between the described bluetooth equipment comprise that bluetooth is connected with WiFi and are connected.
6. a system that visits bluetooth equipment is characterized in that, comprising:
Bluetooth equipment and control subsystem;
Described bluetooth equipment generates the man-machine interface code according to the man-machine interface code request of transmitting of described control subsystem;
Described control subsystem is resolved described man-machine interface code and is generated man-machine interface, receives user's visit order by described man-machine interface, and transmits described visit order to described bluetooth equipment.
7. the system of visit bluetooth equipment according to claim 5, it is characterized in that, described bluetooth equipment comprises bluetooth communication and code transport module, described bluetooth communication is used for receiving the man-machine interface code and transmits request, and described code transport module is used for generating and sending the man-machine interface code to described control subsystem.
8. the system of visit bluetooth equipment according to claim 6, it is characterized in that, described bluetooth equipment also comprises visit order parsing module and visit order Executive Module, described command analysis module is used for resolving described visit order, and described visit order Executive Module is used for carrying out described visit order.
9. the system of visit bluetooth equipment according to claim 5, it is characterized in that, described control subsystem comprises subsystem communication module and code parser, described subsystem communication module is used for transmission man-machine interface code and transmits request to described bluetooth equipment and receive the man-machine interface code of described bluetooth equipment, and described code parser is used for resolving described man-machine interface code to generate man-machine interface.
10. the system of visit bluetooth equipment according to claim 9 is characterized in that, described subsystem communication module also is used for the transmission user visit order to described bluetooth equipment, and receives the execution result of described bluetooth equipment feedback from described bluetooth equipment.
CN201310027680.1A 2013-01-23 2013-01-23 The method and system of access bluetooth equipment Active CN103199902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310027680.1A CN103199902B (en) 2013-01-23 2013-01-23 The method and system of access bluetooth equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310027680.1A CN103199902B (en) 2013-01-23 2013-01-23 The method and system of access bluetooth equipment

Publications (2)

Publication Number Publication Date
CN103199902A true CN103199902A (en) 2013-07-10
CN103199902B CN103199902B (en) 2016-01-20

Family

ID=48722281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310027680.1A Active CN103199902B (en) 2013-01-23 2013-01-23 The method and system of access bluetooth equipment

Country Status (1)

Country Link
CN (1) CN103199902B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894779A (en) * 2016-05-31 2016-08-24 无锡小天鹅股份有限公司 Clothes dryer control method, system and device
CN106363634A (en) * 2016-11-29 2017-02-01 北京光年无限科技有限公司 Method and system for realizing remote control of robot
CN112562841A (en) * 2020-12-11 2021-03-26 江苏邦士医疗科技有限公司 HMI (human machine interface) integrated equipment of multi-platform surgical medical equipment and management method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080044375A (en) * 2006-11-16 2008-05-21 엘지전자 주식회사 Near field communication interface control
CN102043611A (en) * 2009-10-23 2011-05-04 Tcl集团股份有限公司 System for dynamically generating user interface and implementation method thereof
CN102692881A (en) * 2012-05-16 2012-09-26 中国海洋大学 Household appliance control method and control system based on two-dimension code

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080044375A (en) * 2006-11-16 2008-05-21 엘지전자 주식회사 Near field communication interface control
CN102043611A (en) * 2009-10-23 2011-05-04 Tcl集团股份有限公司 System for dynamically generating user interface and implementation method thereof
CN102692881A (en) * 2012-05-16 2012-09-26 中国海洋大学 Household appliance control method and control system based on two-dimension code

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894779A (en) * 2016-05-31 2016-08-24 无锡小天鹅股份有限公司 Clothes dryer control method, system and device
CN106363634A (en) * 2016-11-29 2017-02-01 北京光年无限科技有限公司 Method and system for realizing remote control of robot
CN106363634B (en) * 2016-11-29 2019-11-08 北京光年无限科技有限公司 A kind of method and system of remote control robot
CN112562841A (en) * 2020-12-11 2021-03-26 江苏邦士医疗科技有限公司 HMI (human machine interface) integrated equipment of multi-platform surgical medical equipment and management method

Also Published As

Publication number Publication date
CN103199902B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN109997114B (en) Service layer resource management for universal interworking and extensibility
CN104159294B (en) A kind of cloud locating platform based on 4.0 technology of bluetooth
WO2016193417A1 (en) Home appliance control method and control system
CN102355390A (en) Intelligent home system
GB2532305A (en) Method for Configuring and controlling smart home products
KR102173242B1 (en) Local wireless data communication system, method and apparatus for automactic setup of imformation
TW201409887A (en) Smart home network system and its smart gateway
CN105429858A (en) Real-time message transmission method among multiple robots
CN103824099A (en) Method and system for connecting and controlling equipment automatically by intelligent terminal via identification tags
CN102984586A (en) Management method and device for intelligent television applications
CN103595601A (en) Home gateway for internet of things monitoring and internet of things monitoring system
CN108924806A (en) A kind of family's internet of things data communication means and system using BLE technology
CN103347049A (en) System and method for automatic adaption starting between positions and application programs based on mobile terminal
TWM452554U (en) Smart home network system and its smart gateway
CN102412993A (en) Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface
Ramanathan et al. NFC in industrial applications for monitoring plant information
CN105116751A (en) Intelligent control system capable of performing information interaction based on public cloud platform and control method
CN106162811B (en) Method and device for establishing network connection
EP2874465B1 (en) Method and system for remote equipment data installation
CN103199902A (en) Method and system of accessing bluetooth device
CN102970201A (en) Mobility integrated method for industrial field device
CN108594665A (en) A kind of home intelligent internet-of-things terminal management system and control method based on Bluetooth
CN104063036A (en) Control method and system for scanning guns
CN106781378A (en) The information configuring methods and related device of information matching method, remote control
CN114124952B (en) Cloud platform access system and method of data acquisition equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20151119

Address after: 518000, room 101, building 488, Shenzhen Pearl Road, Nanshan District, Guangdong

Applicant after: Auspicious Science and Technology Ltd. is readily taken the opportunity to by Shenzhen

Address before: 518000 10 Jinsha garden, Shenzhen, Guangdong, Futian District 105

Applicant before: Chen Min

C14 Grant of patent or utility model
GR01 Patent grant