CN103199902B - The method and system of access bluetooth equipment - Google Patents

The method and system of access bluetooth equipment Download PDF

Info

Publication number
CN103199902B
CN103199902B CN201310027680.1A CN201310027680A CN103199902B CN 103199902 B CN103199902 B CN 103199902B CN 201310027680 A CN201310027680 A CN 201310027680A CN 103199902 B CN103199902 B CN 103199902B
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.)
Active
Application number
CN201310027680.1A
Other languages
Chinese (zh)
Other versions
CN103199902A (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 the opportunity to by Shenzhen
Original Assignee
Auspicious Science And Technology Ltd Is Readily Taken Opportunity To By Shenzhen
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 Auspicious Science And Technology Ltd Is Readily Taken Opportunity To By Shenzhen filed Critical Auspicious Science And Technology Ltd Is Readily Taken Opportunity To By Shenzhen
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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention is applicable to belong to Internet of Things field, provides a kind of method of accessing bluetooth equipment, comprises the following steps: control subsystem receives man-machine GUI code from bluetooth equipment; Control subsystem is according to man-machine interface code building man-machine interface; Control subsystem is by man-machine interface received access command; Control subsystem sends visit order to bluetooth equipment.Present invention also offers a kind of system of accessing bluetooth equipment.

Description

The method and system of access bluetooth equipment
Technical field
The invention belongs to Internet of Things field, be specifically related to a kind of method and system of accessing bluetooth equipment.
Background technology
Universal along with Internet of Things and low-power consumption Bluetooth technology, the various equipment in life, such as lighting, Medical Devices, amusement equipment, communication equipments etc. can in the mode of Bluetooth communication, be linked into control system, such as, smart mobile phone, panel computer dispatch control system.Be illustrated in figure 1 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 various different bluetooth equipment can be controlled, control system often adopts equipment control command collection to download much different control software design to control these equipment, and this causes very large inconvenience to user.
Therefore, how to provide a kind of method need not installing particular bluetooth equipment control software in the controls, make 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 accessing bluetooth equipment, the method for particular bluetooth equipment control software need not be installed in the controls, only use a control software design 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 accessing bluetooth equipment, comprises the following steps: control subsystem receives man-machine GUI code from bluetooth equipment; Control subsystem is according to man-machine interface code building man-machine interface; Control subsystem is by man-machine interface received access command; Control subsystem sends visit order to bluetooth equipment.
And a kind of system of accessing bluetooth equipment, comprises bluetooth equipment and control subsystem; Described bluetooth equipment generates man-machine interface code according to the man-machine interface code transfer request of described control subsystem; Described control subsystem, according to described man-machine interface code building man-machine interface, 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 access bluetooth equipment, the man-machine interface code transmitted from bluetooth equipment is resolved by code parser, thus the man-machine interface of structure bluetooth equipment real-time in the controls, pass through man-machine interface, order control and transfer of data can be realized between user and bluetooth equipment, only use a control software design just to control all bluetooth equipments, make Internet of Things no longer complicated.
Accompanying drawing explanation
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 accesses the method for bluetooth equipment;
Fig. 4 is the module map that the present invention accesses the system of bluetooth equipment;
Fig. 5 is the module map of the system of the embodiment of the present invention 1;
Fig. 6 is the module map of the system of the embodiment of the present invention 2;
Fig. 7 is the module map of the system of the embodiment of the present invention 3;
Fig. 8 is the module map of the system of the embodiment of the present invention 4;
Fig. 9 is the workflow diagram of the embodiment of the present invention 1;
Figure 10 is the workflow diagram of the embodiment of the present invention 2;
Figure 11 is the workflow diagram of the embodiment of the present invention 3.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, 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 explain the present invention, be not intended to limit the present invention.
Refer to Fig. 3, display the present invention accesses the workflow diagram of the method for bluetooth equipment 1.Step S100, bluetooth equipment 1 is set up wireless link with control subsystem 2 and is connected.Communication mode between control subsystem 2 with described bluetooth equipment 1 comprises bluetooth and to be connected or WiFi such as to connect at the wireless link connected mode.
Step S101, control subsystem 2 sends man-machine GUI code transfer request to bluetooth equipment 1.Be specially: the subsystem communication module 21 of control subsystem 2 transmits man-machine GUI code transfer request, to the bluetooth communication 12 of bluetooth equipment 1.
Step S102, control subsystem 2 receives man-machine GUI code from bluetooth equipment 1.Be specially: the code transfer module 14 of bluetooth equipment 1 generates and sends the subsystem communication module 21 of man-machine interface code to control subsystem 2.
Step S103, control subsystem 2 is according to man-machine interface code building man-machine interface.Be specially: control subsystem 2 resolves man-machine interface code by code parser 22, and generates man-machine interface.
Step S104, control subsystem 2 is by man-machine interface received access command.Be specially: control subsystem 2 receives user operation by man-machine interface; User operation is converted into visit order by control subsystem 2.
Step S105, control subsystem 2 sends visit order to bluetooth equipment 1.Be specially: the subsystem communication module 21 of control subsystem 2 transmits the bluetooth communication 12 of visit order to bluetooth equipment 1.
Step S106, bluetooth equipment 1 received access command.
Step S107, bluetooth equipment 1 resolves visit order.Be specially: the visit order parsing module 11 of bluetooth equipment 1 resolves visit order.
Step S108, bluetooth equipment 1 performs visit order.Be specially: the visit order Executive Module 13 of bluetooth equipment 1 performs visit order.
Step S109, bluetooth equipment 1 execution result back is to control subsystem 2.Be specially: the bluetooth communication 12 of bluetooth equipment 1 feeds back the execution result of visit order, to control subsystem 2 bluetooth equipment 1 execution result back to control subsystem 2.Be specially: the bluetooth communication 12 of bluetooth equipment 1 feeds back the execution result of visit order, to the subsystem communication module 21 of control subsystem 2.
Refer to Fig. 4, display the present invention accesses the module map of the system of bluetooth equipment.The system of this access bluetooth equipment 1 comprises bluetooth equipment 1 and control subsystem 2.Bluetooth equipment 1 generates man-machine interface code according to the man-machine interface code transfer request of control subsystem 2.Control subsystem 2, according to man-machine interface code building man-machine interface, receives user's visit order by man-machine interface, and transmits visit order to bluetooth equipment 1.
Bluetooth equipment 1 comprises bluetooth communication 12 and code transfer module 14, and bluetooth communication 12 is for receiving man-machine GUI code transfer request, and code transfer module 14 is for generating and sending 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 command analysis module is for resolving visit order, and visit order Executive Module 13 is for performing visit order.
Bluetooth communication 12 is also for feeding back the execution result of visit order to control subsystem 2.
Control subsystem 2 comprises subsystem communication module 21 and code parser 22, subsystem communication module 21 receives the man-machine interface code of bluetooth equipment 1 for transmitting man-machine GUI code transfer request to bluetooth equipment 1, and code parser 22 is for resolving man-machine interface code to generate man-machine interface.
Subsystem communication module 21 also for transmission user visit order to bluetooth equipment 1, and from bluetooth equipment 1 receive bluetooth equipment 1 feed back execution result.
Embodiment 1
Refer to the system module figure that Fig. 5 is this enforcement, Fig. 9 is the workflow diagram of the present embodiment.
In the system of the present embodiment access bluetooth equipment, bluetooth equipment is a kind of lighting with Bluetooth function, and control subsystem is the mobile phone of the use Andriod operating system of a band Bluetooth function.
The lighting of the band Bluetooth function described in this embodiment, its Human-machine Control interface is " ON/OFF " button.For describing the HTML code of this " ON/OFF " button, be stored in the memory of Bluetooth lamp inside.
Use Andriod described in this embodiment is as the mobile phone of operating system, a HTML code resolver has been installed in its inside, " HTML code resolver " should can send " man-machine interface code sends request " in the mode of Bluetooth communication to the bluetooth equipment being connected to this mobile phone, and, the HTML code that can send according to bluetooth equipment, and HTML grammer, morphology specification, set up patterned control inerface.
Use Andriod described by this embodiment is as the mobile phone of operating system, and the mode of being searched by bluetooth is connected to lighting, and inputs PIN code by user, after connecting.Just can sending " man-machine interface code sends request " by HTML code resolver to Bluetooth lamp, after lighting receives this request, sending to mobile phone being stored in inner HTML code.After receiving HTML code, HTML code resolver is according to HTML grammer, morphology specification, and setting up the man-machine interface for controlling this lighting, is " ON/OFF " button in this example.
After user clicks this " ON/OFF " button, HTML code resolver will detect this operation, and be converted to the mode of order, " ON/OFF " order is sent to Bluetooth lamp, after Bluetooth lamp receives this order, " ON/OFF " operation is carried out to light fixture, and operating result is returned to HTML code resolver.
The workflow of the present embodiment is:
Control subsystem and bluetooth equipment are broadcasted by MAC Address and PIN code is matched, and set up bluetooth and connect.Control subsystem sends " man-machine interface code sends request " to bluetooth equipment.Bluetooth equipment sends to control subsystem " the man-machine interface code " that store therein.Control subsystem receives " man-machine interface code ", and resolves this code building man-machine interface.User triggers man-machine interface (such as: click keys).Control subsystem sends visit order to bluetooth equipment.Bluetooth equipment received access command.Bluetooth equipment resolves visit order.Bluetooth equipment performs visit order.Bluetooth equipment is to control subsystem feedback command execution result.
In the present embodiment, control subsystem can also be the mobile phone etc. of panel computer, other operating systems except Andriod mobile phone, and bluetooth equipment can also be Bluetooth electronic sphygmomanometer, bluetooth scale etc. except the lighting of band Bluetooth function.
Embodiment 2
Refer to the system module figure that Fig. 6 is this enforcement, Figure 10 is the workflow diagram of the present embodiment.
The difference of the present embodiment and embodiment 1 is, for describing the HTML code of man-machine interface, neither leave bluetooth equipment inside in, neither deposit in the controls, but being present on the server based on Interner.After Bluetooth lamp connection establishment, Bluetooth lamp sends to HTML code resolver the link of the HTML code describing man-machine interface, HTML code resolver links according to this, carry the HTML coded description of man-machine interface from Internet up and down, and set up man-machine interface according to this code and html language specification.
The workflow of the present embodiment is:
Control subsystem and bluetooth equipment are broadcasted by MAC Address and PIN code is matched, and set up bluetooth and connect.Control subsystem sends " man-machine interface code sends request " to bluetooth equipment.Bluetooth equipment sends to control subsystem " the man-machine interface code chained address " that store therein.Control subsystem receives " man-machine interface code chained address ", and downloads " man-machine interface code " according to this chained address from Internet server.Control subsystem is resolved " the man-machine interface code " downloaded from Internet server, and produces man-machine interface.User triggers man-machine interface (such as: click keys).Control subsystem sends visit order to bluetooth equipment.Bluetooth equipment received access command.Bluetooth equipment resolves visit order.Bluetooth equipment performs visit order.Bluetooth equipment is to control subsystem feedback command execution result.
In the present embodiment, control subsystem can be the mobile phone etc. of Andriod mobile phone, panel computer, other operating systems, and bluetooth equipment can be the lighting, Bluetooth electronic sphygmomanometer, bluetooth scale etc. of band Bluetooth function.
Embodiment 3
Refer to the system module figure that Fig. 7 is this enforcement, Figure 11 is the workflow diagram of the present embodiment.
The difference of the present embodiment and embodiment 1 is, for describing the HTML code of man-machine interface, is not be stored in the memory of bluetooth equipment inside, but is stored in the Quick Response Code of bluetooth equipment surface or annex.
The workflow of the present embodiment is:
User uses control subsystem to take pictures to the Quick Response Code in bluetooth equipment surface or its annex.Quick Response Code described in control subsystem identification step one, and the unpaired message (comprising MAC Address and PIN code) and the man-machine interface code that therefrom obtain bluetooth equipment, and set up man-machine interface according to man-machine interface code.The bluetooth equipment unpaired message that control subsystem obtains according to step 2 and bluetooth equipment connect.User triggers man-machine interface (such as: click keys).Control subsystem sends visit order to bluetooth equipment.Bluetooth equipment received access command.Bluetooth equipment resolves visit order.Bluetooth equipment performs visit order.Bluetooth equipment is to control subsystem feedback command execution result.
Embodiment 4
Referring to Fig. 8, is the system module figure of this enforcement.
The difference of the present embodiment and embodiment 3 is, being stored in the content in the Quick Response Code of bluetooth equipment surface or annex, is not the chained address of the HTML code of man-machine interface but the HTML code of man-machine interface.
As above, the method and system of access bluetooth equipment provided by the present invention, first can simplify the access process of bluetooth equipment, realizes the thing connection effect of " What You See Is What You Get ".User " can be seen " arrived by bluetooth discovery, or can be photographed by camera, and have permission the bluetooth equipment of access, can conduct interviews, and download special control software design without the need to manual from network or storage medium.Can also simplify the extension process of bluetooth equipment, manufacturer without the need to designing special application program, and is uploaded in application shop, but the code storage of man-machine interface at bluetooth equipment, even in a piece of paper sheet, together sells together with bluetooth equipment.The man-machine interface code transmitted from bluetooth equipment is resolved by code parser, thus the man-machine interface of structure bluetooth equipment real-time in the controls, pass through man-machine interface, order control and transfer of data can be realized between user and bluetooth equipment, only use a control software design just to control all bluetooth equipments, make Internet of Things no longer complicated.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. access a method for bluetooth equipment, it is characterized in that, comprise the following steps:
Control subsystem and bluetooth equipment are set up bluetooth and to be connected or WIFI connects, and send man-machine GUI code transfer request to bluetooth equipment;
Described control subsystem receives man-machine GUI code from described bluetooth equipment;
Described control subsystem resolves described man-machine interface code building 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 access bluetooth equipment according to claim 1, is characterized in that, described control subsystem is comprised by described this step of man-machine interface received access command:
Described control subsystem accepts user operation by described man-machine interface;
Described user operation is converted into visit order by described control subsystem.
3. the method for access bluetooth equipment according to claim 1, is characterized in that, further comprising the steps of: described control subsystem receives the feedback result of described bluetooth equipment.
4. the method for access bluetooth equipment according to claim 3, is characterized in that: described bluetooth equipment generates described feedback result by resolving and performing described visit order.
5. access a system for bluetooth equipment, it is characterized in that, comprising:
Bluetooth equipment and set up the control subsystem that bluetooth is connected or WIFI connects with bluetooth equipment;
Described bluetooth equipment generates man-machine interface code according to the man-machine interface code transfer request of described control subsystem;
Described control subsystem resolves described man-machine interface code building man-machine interface, receives user's visit order by described man-machine interface, and transmits described visit order to described bluetooth equipment.
6. the system of access bluetooth equipment according to claim 5, it is characterized in that, described bluetooth equipment comprises bluetooth communication and code transfer module, described bluetooth communication is for receiving man-machine GUI code transfer request, and described code transfer module is used for generating and sending man-machine interface code to described control subsystem.
7. the system of access bluetooth equipment according to claim 5, it is characterized in that, described bluetooth equipment also comprises visit order parsing module and visit order Executive Module, described command analysis module is for resolving described visit order, and described visit order Executive Module is for performing described visit order.
8. the system of access 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 receives the man-machine interface code of described bluetooth equipment for transmitting man-machine GUI code transfer request to described bluetooth equipment, and described code parser is for resolving described man-machine interface code to generate man-machine interface.
9. the system of access bluetooth equipment according to claim 8, is characterized in that, described subsystem communication module also for transmission user visit order extremely 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 CN103199902A (en) 2013-07-10
CN103199902B true 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)

Families Citing this family (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
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

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

Also Published As

Publication number Publication date
CN103199902A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
CN108551665B (en) System and method for realizing personalized electrical function of vehicle
CN103260257B (en) Automatically set up Wi-Fi Display and connect the method and system realizing Screen sharing
WO2016193417A1 (en) Home appliance control method and control system
CN106130892A (en) Intelligent networking gateway
CN106303024A (en) Wisdom hotel guest room apparatus control system and method
CN103595601A (en) Home gateway for internet of things monitoring and internet of things monitoring system
GB2532305A (en) Method for Configuring and controlling smart home products
CN108924806A (en) A kind of family's internet of things data communication means and system using BLE technology
CN104023003A (en) Sensor control system and method based on Wifi network and Zigbee network
CN103199902B (en) The method and system of access bluetooth equipment
CN108234562A (en) A kind of apparatus control method, control device and controlled plant
EP2874465B1 (en) Method and system for remote equipment data installation
US20080136606A1 (en) Separable device for controlling node and sensor network node
KR101834066B1 (en) System and method for managing collaboration between the devices based on machine socialization using access point
CN106152386B (en) A kind of processing method and processing device of AIR COND SIG Air Conditioner Singnal
CN104168145B (en) A kind of system and method that radio upgrade is carried out to wireless communication unit
KR101847271B1 (en) Smart IT Convergence Framework System Applying a Lego-typed Sensor Module
CN108594665A (en) A kind of home intelligent internet-of-things terminal management system and control method based on Bluetooth
CN102591742A (en) Portable device, data storage method and data storage system
CN104281078A (en) Infrared device centralized control system
CN102984204B (en) A kind of method and mobile intelligent terminal obtaining application program
US20140369258A1 (en) System and method of trigger service
CN101883149A (en) Method, system, network keyboard and monitoring platform for parameter synchronization
CN103929457A (en) Internet of things application data interaction system and method based on mobile internet
CN103873284A (en) Equipment management system and method

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