CN106726541A - A kind of electric moxibustion head controlling method and electric moxibustion head system - Google Patents

A kind of electric moxibustion head controlling method and electric moxibustion head system Download PDF

Info

Publication number
CN106726541A
CN106726541A CN201710113489.7A CN201710113489A CN106726541A CN 106726541 A CN106726541 A CN 106726541A CN 201710113489 A CN201710113489 A CN 201710113489A CN 106726541 A CN106726541 A CN 106726541A
Authority
CN
China
Prior art keywords
moxibustion head
node
network
terminal device
bluetooth
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.)
Pending
Application number
CN201710113489.7A
Other languages
Chinese (zh)
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.)
Shenzhen Drmoxi Medical Technology Co Ltd
Original Assignee
Shenzhen Drmoxi Medical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Drmoxi Medical Technology Co Ltd filed Critical Shenzhen Drmoxi Medical Technology Co Ltd
Priority to CN201710113489.7A priority Critical patent/CN106726541A/en
Publication of CN106726541A publication Critical patent/CN106726541A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
    • A61H39/00Devices for locating or stimulating specific reflex points of the body for physical therapy, e.g. acupuncture
    • A61H39/06Devices for heating or cooling such points within cell-life limits

Landscapes

  • Health & Medical Sciences (AREA)
  • Rehabilitation Therapy (AREA)
  • Epidemiology (AREA)
  • Pain & Pain Management (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

A kind of electric moxibustion head controlling method and electric moxibustion head system, system include:At least one moxibustion head and be provided with for control moxibustion head application program terminal device, the at least one moxibustion head forms a mesh network for dynamic extending by wireless networking mode, one node of each moxibustion head map network, the network includes a host node being in communication with each other by broadcast mechanism and multiple from node, terminal device sets up bluetooth connection with host node, and communicated with all nodes in network by the host node, and then realize the monitoring and control to each moxibustion head.Substantially reduced the invention enables terminal device power consumption;Operate response without delay phenomenon after successful connection, packet loss is greatly reduced and compatibility is improved;Further, due to one network address of preset byte of moxibustion head binding, the number of devices of mesh network supports greatly increases, device power or entrance can find in the range of when, the network that can be automatically added to currently connect by the verification of network name and password.

Description

A kind of electric moxibustion head controlling method and electric moxibustion head system
Technical field
The present invention relates to field of medical technology, more particularly to a kind of electric moxibustion head controlling method and electric moxibustion head system.
Background technology
Low-power consumption bluetooth (Bluetooth Low Energy, abbreviation BLE) technology is by bluetooth sig (Bluetooth SIG) is designed, and is applied to the numerous areas such as health care, physical fitness, smart home, safety guarantee.Relatively pass System bluetooth is compared, and low-power consumption bluetooth is intended to reduce power consumption and cost and keep close communication range.BLE technologies be by NOKIA 2006 propose super low-power consumption blue tooth wireless technology Wibree develop, bluetooth sig in 2010 just Formula is incorporated into the core specification of bluetooth 4.0 (Bluetooth Core Specification Version 4.0).BLE technologies have There is following key characteristic:Allow the professional standard wireless protocols of cross-platform interoperability;Ultralow peak value, average and standby mode work( Consumption;Data Packet Encryption and certification are carried out using AES-128CCM AESs.Prior art is the networking based on point-to-point connection Scheme (BLE-Star), using stelliform connection topology configuration, terminal device (smart mobile phone or panel computer) passes through as central node Point-to-point mode is connected to other nodes in network.There is following a few point defects in the program:Terminal device power consumption is high;Concurrently Connection number is limited (generally 1~7);Operating lag is more long during connection switching;The equipment of surrounding can not be automatically added to after connection, Poor compatibility;Packet loss is high.
Electric moxibustion head from having line traffic control to during the product up-gradation of controlled in wireless, because controller will be to multiple moxibustions head Electrical heating temperature and time are respectively controlled, therefore the moxibustion head control based on two-way communication between controller and multiple moxibustion heads is just It is a very important problem, what existing Bluetooth Communication Technology was present loses code, disconnection, response speed can all have influence on user slowly Experience.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided a kind of electric moxibustion head control Method processed and electric moxibustion head system, it is possible to achieve a controller is to the concurrent communication of multiple wireless moxibustion heads so as to realize electric heating The real-time display of control and moxibustion the head temperature of temperature and time, and the response time is fast, equipment identification is fast, falls code check low.
The technical solution adopted for the present invention to solve the technical problems is:A kind of electric moxibustion head controlling method is constructed, including:
Be provided with for controlling terminal device and certain moxibustion head of the application program of moxibustion head to set up bluetooth connection, moxibustion head with Other moxibustions head forms a mesh network for dynamic extending, a section of each moxibustion head map network by wireless networking mode Point, the moxibustion head being connected with terminal device as network host node, other moxibustions head is used as from node, host node and logical from node Broadcast mechanism is crossed to be in communication with each other;
Terminal device is communicated by the host node with all nodes in mesh networks, and then is realized to each moxibustion head It is monitored and controlled.
In electric moxibustion head controlling method of the present invention, each moxibustion head includes a network address for preset byte, The mesh networks that described moxibustion head forms a dynamic extending with other moxibustions head by wireless networking mode include:Host node The broadcast data packet of other bluetooth equipments is scanned, network name and password are connected network identical bluetooth equipment and added with current Enter to the network, and notify that terminal device has new equipment to reach the standard grade after network is added, the network of the terminal device records equipment Address.
In electric moxibustion head controlling method of the present invention,
Described terminal device sets up bluetooth connection with certain moxibustion head to be included:Terminal device starts bluetooth scanning, obtains blue Tooth list of devices, chooses certain moxibustion head as host node, and set up GATT with it and be connected from the bluetooth equipment list;
Described terminal device by the host node communicated with all nodes in mesh networks including:The terminal sets It is standby the monitoring result that all nodes are reported is received from host node based on GATT connections, and will be chosen based on GATT connections The control instruction of moxibustion head is issued to host node;The host node interacted based on broadcast mechanism and from node with collect come since The monitoring result of node and/or forwarding belong to the control instruction from node.
In electric moxibustion head controlling method of the present invention,
Described collection includes come the monitoring result since node:Periodically the monitoring result of itself is write from node Sent in broadcast data packet, host node receive come since after the broadcast data packet of node based on the GATT connection be transmitted to Terminal device;
Described forwarding belongs to and includes from the control instruction of node:When the host node is being received from terminal device During control instruction, judge whether the destination address of the control instruction is the network address of itself, if it is, responding the control System instruction, and based on the GATT linkup transmits response command to terminal device;If it is not, then control instruction is write broadcasting Sent in packet, after each receives broadcast data packet from node, the net of the control instruction in broadcast data packet Network address determines whether the control instruction of itself, if it is, responding the control instruction, and response command is write into broadcast Seen off in packet, host node is received come since being transmitted to terminal and set based on GATT connections after the broadcast data packet of node It is standby.
In electric moxibustion head controlling method of the present invention, methods described also includes:
Application program receives when choosing instruction of user input, or application program successively receives certain of user input When choosing instruction with vibration instruction of individual moxibustion head, the network address according to corresponding to choosing instruction is connected based on the GATT and sent out Send vibration instruction to host node;
Host node determines whether the network address of itself according to the destination address of the vibration instruction, if control moxibustion The vibrating motor vibration of head;If it is not, then will be sent in vibration instruction write-in broadcast data packet, each passes through from node Scanning receives broadcast data packet, and the network address of the vibration instruction in broadcast data packet determines whether the control of itself Instruction, if it is, the vibrating motor vibration of control moxibustion head.
In electric moxibustion head controlling method of the present invention, the described monitoring and control to each moxibustion head includes:It is logical Cross application program and the running parameter of moxibustion head and/or the start and stop of work are set, and receive moxibustion head and transmit to the application program Actual operation parameters.
In electric moxibustion head controlling method of the present invention, the running parameter includes heat time and/or heating temperature Degree, the actual operation parameters include actual heat time and/or heating-up temperature and/or battery electric quantity.
The invention also discloses a kind of electric moxibustion head system based on described electric moxibustion head controlling method, including:
At least one moxibustion head, at least one moxibustion head forms a mesh for dynamic extending by wireless networking mode Network a, node of each moxibustion head map network, the network includes a host node being in communication with each other by broadcast mechanism With multiple from node;
The terminal device of the application program for controlling moxibustion head is installed, bluetooth connection is set up with host node, and by institute State host node to be communicated with all nodes in network, and then realize the monitoring and control to each moxibustion head.
In electric moxibustion head system of the present invention, each described moxibustion head includes:For heat moxibustion heating unit, For detecting the temperature detecting unit of heating-up temperature, the battery electric quantity detection unit for detecting battery electric quantity, for by shaking The dynamic vibration unit for reminding moxibustion head position, bluetooth and control unit, the power supply unit for being powered to unit;The power supply Unit is connected with other units, the heating unit, temperature detecting unit, battery electric quantity detection unit, vibration unit point The bluetooth and control unit are not connected to;The bluetooth and control unit built-in timer, for shaking according to terminal device Dynamic instruction control vibration unit performs vibration, and start and stop according to the control instruction of terminal device control heating unit and/or Heat time and/or heating-up temperature, and actual heat time and/or heating-up temperature and/or battery electric quantity is periodic Send to terminal device.
In electric moxibustion head system of the present invention,
Said supply unit includes:Battery circuit, charging inlet, mu balanced circuit;
The bluetooth and control unit include:Bluetooth chip and Bluetooth antenna circuit;
The heating unit includes:First metal-oxide-semiconductor of ceramic heating plate and N-channel, ceramic heating plate is being serially connected in battery just Pole and the drain electrode of the first metal-oxide-semiconductor, the source ground of the first metal-oxide-semiconductor, the grid of the first metal-oxide-semiconductor connect Bluetooth chip via a resistance An output pin, the grid of the first metal-oxide-semiconductor is also via a resistance eutral grounding;
The temperature detecting unit includes a temperature sensor, and the data output end of the temperature sensor is connected to bluetooth One input pin of chip;
The battery electric quantity detection unit includes:Two voltage sample resistance at battery two ends are serially connected in, two voltages are adopted Connecting node between sample resistance is connected with an input pin of Bluetooth chip;
The vibration unit includes:Vibrating motor, the first diode, the second metal-oxide-semiconductor of N-channel, the positive pole of vibrating motor The output end of mu balanced circuit, negative pole are connected to via a resistance connect the drain electrode of the second metal-oxide-semiconductor and the anode of the first diode, the The negative electrode of one diode connects the positive pole of vibrating motor, and the source ground of the second metal-oxide-semiconductor, the grid of the second metal-oxide-semiconductor is electric via one Resistance is connected to an output pin of Bluetooth chip, and the grid of the second metal-oxide-semiconductor is also via a resistance eutral grounding.
Implement electric moxibustion head controlling method of the invention and electric moxibustion head system, have the advantages that:The present invention In each moxibustion head one mesh network of dynamic extending is formed by wireless networking mode, terminal device passes through host node and network In all nodes (moxibustion head) communication so that terminal device (smart mobile phone) power consumption is substantially reduced;Response is operated after successful connection Without delay phenomenon, packet loss is greatly reduced, and compatibility is improved;Further, due to each moxibustion head one predetermined word of binding The network address of section, so the number of devices supported greatly increases, device power or entrance can find in the range of when, by network The verification of title and password can be automatically added to the network of current connection, fast automatic can be connected after first moxibustion head connection and added The moxibustion head of surrounding, control is reliable.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings:
Fig. 1 is the flow chart of electric moxibustion head controlling method of the present invention;
Fig. 2 is the structural representation of electric moxibustion head system of the invention;
Fig. 3 is the theory diagram of moxibustion head in specific embodiment;
Fig. 4 is the circuit diagram of bluetooth in Fig. 3 and control unit;
Fig. 5 is heating unit, temperature detecting unit, battery electric quantity detection unit, the circuit diagram of vibration unit in Fig. 3;
Fig. 6 is the circuit diagram of the power supply unit in Fig. 3.
Specific embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In accompanying drawing Give exemplary embodiments of the invention.But, the present invention can be realized in many different forms, however it is not limited to this paper institutes The embodiment of description.On the contrary, the purpose that these embodiments are provided be make to the disclosure more it is thorough comprehensively.
It should be noted that word " equal ", " identical " " while " or other similar terms, be not limited to mathematical term In it is absolute equal or identical, can be close on engineering significance or acceptable when right described in this patent is implemented Error range in." connected " or " connection ", not only including two entities are joined directly together, also including by with having Other entities of beneficial improvement are indirectly connected to.
Unless otherwise defined, all of technologies and scientific terms used here by the article with belong to technical field of the invention The implication that technical staff is generally understood that is identical.The term for being used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
In embodiments of the present invention, each moxibustion head forms a mesh net for dynamic extending by wireless networking mode Network, a node of each moxibustion head map network, the moxibustion that be connected with terminal device as network host node, other moxibustion heads It is in communication with each other by broadcast mechanism as from node, host node and from node, terminal device is by the host node and mesh nets All nodes communication in network, and then realize the monitoring and control to each moxibustion head.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper State technical scheme to be described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the application The detailed description of technical scheme, rather than the restriction to technical scheme, in the case where not conflicting, the present invention is implemented Technical characteristic in example and embodiment can be mutually combined.
Embodiment one
Present embodiment discloses a kind of electric moxibustion head controlling method, with reference to Fig. 1, method includes:
S1, it is provided with for controlling terminal device and certain moxibustion of the application program of moxibustion head to set up bluetooth connection;The moxibustion Head forms a mesh network for dynamic extending, the one of each moxibustion head map network with other moxibustions head by wireless networking mode Individual node, the moxibustion head being connected with terminal device as network host node, other moxibustions head is used as from node, host node and from section Point is in communication with each other by broadcast mechanism;
S2, terminal device are communicated by the host node with all nodes in mesh networks, and then are realized to each moxibustion The monitoring and control of head.
Specifically, terminal device can be all kinds of smart machines common in the art, for example, smart mobile phone, flat board Computer, intelligent watch etc..As long as downloaded in such smart machine installing for controlling the application program of the moxibustion head to can use Method to realize the present embodiment.
Wherein, the control to each moxibustion head is specifically included:The running parameter of moxibustion head, the work are set by application program Parameter includes the start and stop of heat time and/or heating-up temperature and/or work.Monitoring to each moxibustion head is specifically included:Receive moxibustion Head is transmitted to the actual operation parameters of the application program, and the actual operation parameters include the heat time of reality and/or add Hot temperature and/or battery electric quantity.
In the present embodiment, each moxibustion head includes a network address for preset byte, and the network address is the basis of its communication, In one network, the network address of each moxibustion head is unique, and terminal device is by the network address and each moxibustion Head directly or indirectly communication.For example in a specific embodiment, the network address is two addresses of the byte without character type, This represents 256 nodes of a network support.Producer can preset a network address for each moxibustion head.Preferably, in order to avoid During networking, there is default network address identical node, can be every by terminal device during networking One network address for increasing successively of individual node distribution.
Therefore, in step S1 of the invention, described moxibustion head forms one with other moxibustions head by wireless networking mode The mesh networks of dynamic extending are specifically included:The broadcast data packet of other bluetooth equipments is arrived in host node scanning, by network name The network is added to the current network identical bluetooth equipment that is connected with password, and notifies that terminal device has newly after network is added Equipment (moxibustion head) reach the standard grade, the network address of the terminal device records equipment (moxibustion head).Wherein, the network address can be that moxibustion head goes out Default network address during factory, or the order according to addition network that the moxibustion head that terminal device is each new addition network is distributed The network address that distribution gradually increases.
In step S1, terminal device sets up bluetooth connection with certain moxibustion head to be included:Terminal device starts bluetooth scanning, obtains Bluetooth equipment list, chooses certain electric moxibustion head as host node from the bluetooth equipment list, and sets up GATT companies with it Connect.
After setting up GATT connections, all of data distributing and upload have relied on this GATT between terminal device and network Connection.Therefore, in step S2, described terminal device is by all node communication bags in the host node and mesh networks Include:The terminal device is based on the GATT and connects the monitoring result reported from the host node all nodes of reception, and is based on The control instruction of the moxibustion head that GATT connections will be chosen is issued to host node;The host node is based on broadcast mechanism and is carried out from node Interaction belongs to the control instruction from node since the monitoring result of node and/or forwarding to collect.
Specifically, host node interacts to collect come since the monitoring result bag of node based on broadcast mechanism and from node Include:To periodically be sent in the monitoring result write-in broadcast data packet of itself from node, host node is received and come since section Terminal device is transmitted to based on GATT connections after the broadcast data packet of point.
Specifically, host node is based on broadcast mechanism and interacts to forward the control instruction bag belonged to from node from node Include:When the host node is when the control instruction from terminal device is received, judging the destination address of the control instruction is No is the network address of itself, if it is, responding the control instruction, and sends response command to terminal device;If no It is to be sent during control instruction then is write into broadcast data packet, after each receives broadcast data packet from node, according to broadcast The network address of the control instruction in packet determines whether the control instruction of itself, if it is, the response control refers to Order, and will response command write broadcast data packet in see off, host node is received come since being based on after the broadcast data packet of node The GATT connections are transmitted to terminal device.
For example, such as user using the 5 moxibustions head for numbering respectively No. 1-5 come moxibustion.First turn on 5 bluetooth work(of moxibustion head Can, each moxibustion head starts to broadcast and scans, and after terminal device opens application program, starts bluetooth discovery, can search for 5 moxibustion heads Bluetooth equipment list, user can choose one of moxibustion head as host node, and sets up GATT with it and be connected.Preferably, Automatic connection network function can be set in a program, and the moxibustion head that for example terminal device can search its first is used as leading Node directly sets up GATT connections, and without waiting for user's selection.Afterwards, host node will scan the broadcast number of other moxibustions head According to bag, network name and password be connecteds network identical other 4 moxibustions and are dynamically added the network with current, it is different then Filter out, and notify that terminal device has new moxibustion head to reach the standard grade after network is added, the net of the moxibustion head that terminal device records are newly added Network address is the indirect communication between it after being capable of achieving.
Preferably, in the present embodiment, it is contemplated that need the regular hour when user is using multiple moxibustions head moxibustion, the time one User long easily forgets the numbering of each moxibustion head and the corresponding relation of position.Therefore, the moxibustion head is also configured with and the control The vibration unit of unit connection processed, such as vibrating motor.Methods described also includes:Application program receives choosing for user input During instruction, the network address according to corresponding to choosing instruction, based on GATT linkup transmits vibration instruction to host node;Main section Point determines whether the network address of itself according to the destination address of the vibration instruction, if the vibrating motor of control moxibustion head Vibration;If it is not, then will be sent in vibration instruction write-in broadcast data packet, each is received extensively from node by scanning Unicast packets, the network address of the vibration instruction in broadcast data packet determines whether the control instruction of itself, if it is, Then the vibrating motor of control moxibustion head vibrates one section of scheduled time.Thus, user when a certain moxibustion head is chosen, moxibustion head can automatic vibration With remind user to be selected be which position moxibustion head.Of course, it is possible to set " choose automatic vibration work(in the application The option of energy ", if user chooses this option, program will start the function, as long as user chooses certain moxibustion head, then can be automatic Vibration instruction control moxibustion head vibration is issued, if cancelling the option of " choosing automatic vibration function ", will not automatic vibration.
Or, user can first be input into and choose instruction to choose certain moxibustion head, then again click vibrations button sending vibration Instruction (being no longer to choose automatic vibration), the network address of the application program according to corresponding to choosing instruction, based on the GATT Linkup transmit vibration is instructed to host node;Host node determines whether the network of itself according to the destination address of the vibration instruction Address, if the vibrating motor vibration of control moxibustion head;If it is not, then will be sent out in vibration instruction write-in broadcast data packet Go, each receives broadcast data packet from node by scanning, the network address of the vibration instruction in broadcast data packet is sentenced Whether disconnected is the control instruction of itself, if it is, the vibrating motor of control moxibustion head vibrates one section of scheduled time.For example, work as using When the position of No. 1 moxibustion is wanted to know in family, user can choose No. 1 circular icon in moxibustion head selection interface, then click on vibration Button.
Embodiment two
Present embodiment discloses a kind of electric moxibustion head system of the use above method, with reference to Fig. 2, including:
At least one moxibustion head, at least one moxibustion head forms a mesh for dynamic extending by wireless networking mode Network a, node of each moxibustion head map network, the network includes a host node being in communication with each other by broadcast mechanism With multiple from node;
The terminal device of the application program for controlling moxibustion head is installed, bluetooth connection is set up with host node, and by institute State host node to be communicated with all nodes in network, and then realize the monitoring and control to each moxibustion head.
Wherein, each terminal device includes a network address, and the dynamic expansion of the network includes:Terminal device determines The moxibustion head that certain is scanned sets up bluetooth connection to log in the network, host node scanning to other bluetooths as host node with it The broadcast data packet of equipment, by network name and password with currently being connected network identical bluetooth equipment is added to the network, and Notify that terminal device has new equipment to reach the standard grade after network is added, the network address of the terminal device records equipment.
It is described by the host node communicated with all nodes in network including:Terminal device starts bluetooth scanning, Obtain bluetooth equipment list;Certain moxibustion head is chosen from the bluetooth equipment list as host node, and GATT is set up with it and connected Connect;The terminal device is based on the GATT and connects the monitoring result reported from the host node all nodes of reception, and is based on The control instruction of the moxibustion head that GATT connections will be chosen is issued to host node;The host node is based on broadcast mechanism and is carried out from node Interaction belongs to the control instruction from node since the monitoring result of node and/or forwarding to collect.
Described collection includes come the monitoring result since node:The monitoring result of itself is write into broadcast data from node Sent in bag, host node is received come since being transmitted to terminal and set based on GATT connections after the broadcast data packet of node It is standby;
Described forwarding belongs to and includes from the control instruction of node:When the host node is being received from terminal device During control instruction, judge whether the destination address of the control instruction is the network address of itself, if it is, responding the control System instruction, and send response command to terminal device;If it is not, then being sent out during control instruction is write into broadcast data packet Go, after each receives broadcast data packet from node, the network address of the control instruction in broadcast data packet judges whether It is the control instruction of itself, if it is, responding the control instruction, and will be sent out in response command write-in broadcast data packet Go, host node receive come since after the broadcast data packet of node based on the GATT connection be transmitted to terminal device.
Wherein, the monitoring and control to each moxibustion head includes:The running parameter of moxibustion head, Yi Jijie are set by application program Moxibustion head is received to transmit to the actual operation parameters of the application program.The running parameter includes time and/or temperature, the reality Operational factor includes time and/or temperature and/or battery electric quantity.
3-6 illustrates the structure and operation principle of moxibustion head below in conjunction with the accompanying drawings.
With reference to Fig. 3, each described moxibustion head includes:For heating the heating unit 200 of moxibustion, for detecting heating-up temperature Temperature detecting unit 400, the battery electric quantity detection unit 500 for detecting battery electric quantity, for by vibrating alert moxibustion head position Vibration unit 300, bluetooth and control unit 100, the power supply unit 600 for being powered to unit put;The power supply is single Unit 600 is connected with other units 100-500, and the heating unit 200, the detection of temperature detecting unit 400, battery electric quantity are single Unit 500, vibration unit 300 is respectively connecting to the bluetooth and control unit 100;The bluetooth and the built-in meter of control unit 100 When device, for according to the control instruction of terminal device control heating unit 200 start and stop and/or the heat time and/or heating temperature The vibration of unit 300 is spent, and actual heat time and/or heating-up temperature and/or battery electric quantity are sent to terminal device.
With reference to Fig. 6, said supply unit 600 includes:Battery circuit 610, charging inlet 620, mu balanced circuit 630, battery Circuit 610 includes the battery of at least two concatenations.Charging inlet 620 includes the charging inlet CH1 of connection external power source.Voltage stabilizing electricity Road 630 includes voltage stabilizing chip U3, and the voltage conversion of battery is stable operating voltage AVDD by it.
With reference to Fig. 4, the bluetooth and control unit 100 include:Bluetooth chip and its peripheral circuit 110 and Bluetooth antenna electricity Road 120.The TLSR8266 that Bluetooth chip U2 is used in the present embodiment.The control instruction storage that it can be issued according to terminal device adds Hot time and heat time, possess timing circuit inside it, can record the actual heat time of heat-generating units.
With reference to Fig. 5, the heating unit 200 includes:The first metal-oxide-semiconductor Q2 of ceramic heating plate MCH1 and N-channel, ceramics hair Backing MCH1 is serially connected in the drain electrode of anode and the first metal-oxide-semiconductor Q2, the source ground of the first metal-oxide-semiconductor Q2, the first metal-oxide-semiconductor Q2's Grid connects an output pin 2 of Bluetooth chip U2 via a resistance R7, and the grid of the first metal-oxide-semiconductor Q2 is also via a resistance R8 Ground connection;
The temperature detecting unit 400 includes that a temperature sensor U1, the AVDD provided by voltage stabilizing chip U3 are powered, example The DS18B20 that such as temperature sensor U1 is used in the present embodiment, the data output end of temperature sensor U1 is connected to Bluetooth chip One input pin 18 of U2.
The battery electric quantity detection unit 500 includes:It is serially connected in two voltage sample resistance R1 and R2 at battery two ends, two Connecting node between individual voltage sample resistance R1 and R2 is connected with an input pin 15 of Bluetooth chip U2;
The vibration unit 300 includes:Vibrating motor M1, the first diode D1, the second metal-oxide-semiconductor Q1 of N-channel, vibrate horse Positive pole up to M1 is connected to the drain electrode that the output terminals A VDD of voltage stabilizing chip U3, negative pole connect the second metal-oxide-semiconductor Q1 via a resistance R12 With the anode of the first diode D1, the positive pole of the negative electrode connection vibrating motor M1 of the first diode D1, the source electrode of the second metal-oxide-semiconductor Q1 Ground connection, the grid of the second metal-oxide-semiconductor Q1 is connected to an output pin 2 of Bluetooth chip U2, the second metal-oxide-semiconductor Q1 via a resistance R5 Grid also via a resistance R6 be grounded.
On monitoring:By taking temperature monitoring as an example, for host node, its temperature sensor U1 can arrive real-time detection Heating-up temperature feeds back to Bluetooth chip U2, and Bluetooth chip U2 is then forwarded to terminal device.For from node, its temperature sensor U1 can by real-time detection to heating-up temperature feed back to its Bluetooth chip U2, Bluetooth chip U2 and can be passed through broadcast data The mode of bag sends, and is finally received by the Bluetooth chip U2 of host node, and be transmitted to terminal device.Battery electric quantity and heating Similarly, here is omitted for the monitoring of time.
On control:The Bluetooth chip U2 of host node sets heating-up temperature and/or the control of heat time and refers to receiving Whether after order, it is the control instruction of itself to look first at, and if it is preserves in control instruction set heating-up temperature and/or adds The hot time, if not being then broadcasted, preserved from after node reception accordingly.If terminal device issues certain node Start the control instruction of heating, then node controls Q2 to start by turning on after control instruction is received by sending high level Heating, starts timing, and the heating-up temperature of C.T sensor U1 feedbacks in real time, if Real-time Feedback while Q2 is turned on Heating-up temperature reach before according to control instruction store heating-up temperature or timing time reach before according to control instruction The heat time of storage or Bluetooth chip U2 receive the control instruction of the stopping heating that terminal device is issued, then send low electricity Flat control Q2 cut-offs can stop heating.
It should be clear that, the model of metal-oxide-semiconductor is not limited in the present embodiment, and metal-oxide-semiconductor can also be by other electricity in addition Sub switch is substituted, such as triode.Model of other each chips etc. is also merely possible to an example, is not limited, can be with By other have similar functions chips substitute, these are all simple deformations of the invention, all protection scope of the present invention it It is interior.
In sum, electric moxibustion head controlling method of the invention and electric moxibustion head system are implemented, with following beneficial effect Really:Each moxibustion head forms a mesh network for dynamic extending by wireless networking mode in the present invention, and terminal device is by master Node is communicated with all nodes in network so that terminal device power consumption is substantially reduced;Response is operated after successful connection without delay Phenomenon, packet loss is greatly reduced, and compatibility is improved;Further, due to each moxibustion head one net of preset byte of binding Network address, so the number of devices supported greatly increases, device power or entrance can find in the range of when, by network name and The verification of password can be automatically added to the network of current connection.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Implementation method, above-mentioned specific embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under enlightenment of the invention, in the case of present inventive concept and scope of the claimed protection is not departed from, can also make a lot Form, these are belonged within protection of the invention.

Claims (10)

1. a kind of electric moxibustion head controlling method, it is characterised in that including:
Be provided with for controlling terminal device and certain moxibustion head of the application program of moxibustion head to set up bluetooth connection, moxibustion head and other Moxibustion head forms a mesh network for dynamic extending by wireless networking mode, a node of each moxibustion head map network, The moxibustion head being connected with terminal device as network host node, other moxibustions head from node, host node and from node used as passing through Broadcast mechanism is in communication with each other;
Terminal device is communicated by the host node with all nodes in mesh networks, and then realizes the monitoring to each moxibustion head And control.
2. electric moxibustion head controlling method according to claim 1, it is characterised in that each moxibustion head includes a preset byte The network address, described moxibustion head forms a mesh network for dynamic extending with other moxibustions by wireless networking mode Including:The broadcast data packet of other bluetooth equipments is arrived in host node scanning, and network name and password is identical with current connection network Bluetooth equipment be added to the network, and notify that terminal device has new equipment to reach the standard grade after network is added, terminal device records The network address of the equipment.
3. electric moxibustion head controlling method according to claim 2, it is characterised in that
Described terminal device sets up bluetooth connection with certain moxibustion head to be included:Terminal device starts bluetooth scanning, obtains bluetooth and sets Standby list, chooses certain moxibustion head as host node from the bluetooth equipment list, and sets up GATT with it and be connected;
Described terminal device by the host node communicated with all nodes in mesh networks including:The terminal device base The monitoring result that all nodes are reported is received from host node in GATT connections, and the moxibustion head that will be chosen based on GATT connections Control instruction be issued to host node;The host node interacts to collect come since node based on broadcast mechanism and from node Monitoring result and/or forwarding belong to control instruction from node.
4. electric moxibustion head controlling method according to claim 3, it is characterised in that
Described collection includes come the monitoring result since node:The monitoring result of itself is periodically write into broadcast from node Sent in packet, host node receive come since after the broadcast data packet of node based on the GATT connection be transmitted to terminal Equipment;
Described forwarding belongs to and includes from the control instruction of node:When the host node is receiving the control from terminal device During instruction, whether the destination address for judging the control instruction is the network address of itself, if it is, the response control refers to Order, and based on the GATT linkup transmits response command to terminal device;If it is not, then control instruction is write into broadcast data Sent in bag, after each receives broadcast data packet from node, the network ground of the control instruction in broadcast data packet Location determines whether the control instruction of itself, if it is, responding the control instruction, and response command is write into broadcast data Seen off in bag, host node receive come since after the broadcast data packet of node based on the GATT connection be transmitted to terminal device.
5. electric moxibustion head controlling method according to claim 3, it is characterised in that methods described also includes:
Application program receives when choosing instruction of user input, or application program successively receives certain moxibustion of user input When choosing instruction with vibration instruction of head, the network address according to corresponding to choosing instruction is shaken based on the GATT linkup transmits It is dynamic to instruct to host node;
Host node determines whether the network address of itself according to the destination address of the vibration instruction, if control moxibustion head Vibrating motor vibrates;If it is not, then will be sent in vibration instruction write-in broadcast data packet, each is from node by scanning Broadcast data packet is received, the network address of the vibration instruction in broadcast data packet determines whether that the control of itself refers to Order, if it is, the vibrating motor vibration of control moxibustion head.
6. electric moxibustion head controlling method according to claim 1, it is characterised in that described monitoring to each moxibustion head and Control includes:The running parameter of moxibustion head and/or the start and stop of work are set by application program, and receive moxibustion head and transmit to described The actual operation parameters of application program.
7. electric moxibustion head controlling method according to claim 6, it is characterised in that the running parameter includes the heat time And/or heating-up temperature, heat time and/or heating-up temperature and/or battery electric quantity of the actual operation parameters including reality.
8. a kind of electric moxibustion head system of the electric moxibustion head controlling method based on described in claim any one of 1-7, its feature exists In, including:
At least one moxibustion head, at least one moxibustion head forms a mesh net for dynamic extending by wireless networking mode Network, a node of each moxibustion head map network, the network include a host node being in communication with each other by broadcast mechanism and It is multiple from node;
The terminal device of the application program for controlling moxibustion head is installed, bluetooth connection is set up with host node, and by the master Node communicates with all nodes in network, and then realizes the monitoring and control to each moxibustion head.
9. electric moxibustion head system according to claim 8, it is characterised in that each described moxibustion head includes:Applied for heating The heating unit of moxibustion, the temperature detecting unit for detecting heating-up temperature, the battery electric quantity detection for detecting battery electric quantity are single Unit, the vibration unit for by vibrating alert moxibustion head position, bluetooth and control unit, the power supply for being powered to unit Unit;Said supply unit is connected with other units, and the heating unit, temperature detecting unit, battery electric quantity detection are single Unit, vibration unit are respectively connecting to the bluetooth and control unit;The bluetooth and control unit built-in timer, for basis The vibration instruction control vibration unit of terminal device performs vibration, and controls heating unit according to the control instruction of terminal device Start and stop and/or heat time and/or heating-up temperature, and by actual heat time and/or heating-up temperature and/or battery electricity Amount is periodically sent to terminal device.
10. electric moxibustion head system according to claim 8, it is characterised in that
Said supply unit includes:Battery circuit, charging inlet, mu balanced circuit;
The bluetooth and control unit include:Bluetooth chip and Bluetooth antenna circuit;
The heating unit includes:First metal-oxide-semiconductor of ceramic heating plate and N-channel, ceramic heating plate be serially connected in anode and The drain electrode of the first metal-oxide-semiconductor, the source ground of the first metal-oxide-semiconductor, the grid of the first metal-oxide-semiconductor is via the one of resistance connection Bluetooth chip Individual output pin, the grid of the first metal-oxide-semiconductor is also via a resistance eutral grounding;
The temperature detecting unit includes a temperature sensor, and the data output end of the temperature sensor is connected to Bluetooth chip An input pin;
The battery electric quantity detection unit includes:It is serially connected in two voltage sample resistance at battery two ends, two voltage sample electricity Connecting node between resistance is connected with an input pin of Bluetooth chip;
The vibration unit includes:Vibrating motor, the first diode, the second metal-oxide-semiconductor of N-channel, the positive pole of vibrating motor via One resistance is connected to the output end of mu balanced circuit, negative pole and connects the drain electrode of the second metal-oxide-semiconductor and the anode of the first diode, the one or two The negative electrode of pole pipe connects the positive pole of vibrating motor, and the source ground of the second metal-oxide-semiconductor, the grid of the second metal-oxide-semiconductor connects via a resistance An output pin of Bluetooth chip is connected to, the grid of the second metal-oxide-semiconductor is also via a resistance eutral grounding.
CN201710113489.7A 2017-02-28 2017-02-28 A kind of electric moxibustion head controlling method and electric moxibustion head system Pending CN106726541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710113489.7A CN106726541A (en) 2017-02-28 2017-02-28 A kind of electric moxibustion head controlling method and electric moxibustion head system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710113489.7A CN106726541A (en) 2017-02-28 2017-02-28 A kind of electric moxibustion head controlling method and electric moxibustion head system

Publications (1)

Publication Number Publication Date
CN106726541A true CN106726541A (en) 2017-05-31

Family

ID=58959984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710113489.7A Pending CN106726541A (en) 2017-02-28 2017-02-28 A kind of electric moxibustion head controlling method and electric moxibustion head system

Country Status (1)

Country Link
CN (1) CN106726541A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357327A (en) * 2017-08-29 2017-11-17 金杲易光电科技(深圳)有限公司 The pH value control system and method for one plant growth
CN107357330A (en) * 2017-08-29 2017-11-17 金杲易光电科技(深圳)有限公司 The temperature control system and method for one plant growth
CN107632526A (en) * 2017-08-16 2018-01-26 珠海格力电器股份有限公司 Control device, method, storage medium and equipment
CN107919122A (en) * 2017-11-27 2018-04-17 深圳市灸大夫医疗科技有限公司 A kind of sound control method and system of moxibustion head
CN107929044A (en) * 2017-11-27 2018-04-20 深圳市灸大夫医疗科技有限公司 A kind of moxibustion instrument that can be obedient and moxibustion method
CN109348459A (en) * 2018-10-31 2019-02-15 广东小天才科技有限公司 Ad hoc network communication method and device of wearable equipment
CN109348463A (en) * 2018-11-23 2019-02-15 深圳迈睿智能科技有限公司 Bluetooth Mesh network and its network-building method and electrical equipment
CN110366153A (en) * 2019-07-17 2019-10-22 苏州佩林网络科技有限公司 A kind of method of bluetooth ad hoc network
CN110740442A (en) * 2019-10-24 2020-01-31 上海银基信息安全技术股份有限公司 data processing method and device based on Bluetooth SIG MESH and terminal to be unlocked
CN111970375A (en) * 2020-08-28 2020-11-20 上海联影医疗科技股份有限公司 Monitoring device and control method thereof
CN113316131A (en) * 2021-05-27 2021-08-27 Oppo广东移动通信有限公司 Connection establishing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936168A (en) * 2015-05-04 2015-09-23 北京柏惠维康科技有限公司 Efficient wireless mesh networking method
CN105228153A (en) * 2014-07-01 2016-01-06 北京奇虎科技有限公司 Method for network access, system and wireless routing device
CN105376833A (en) * 2015-11-04 2016-03-02 广东欧珀移动通信有限公司 MESH network access method and MPP sound box
CN105703806A (en) * 2016-03-22 2016-06-22 广东欧珀移动通信有限公司 Bluetooth module control method and apparatus of playing equipment, and audio-video playing system
CN106361561A (en) * 2016-11-01 2017-02-01 深圳市灸大夫医疗科技有限公司 Wirelessly controlled moxibustion head
CN106456820A (en) * 2014-04-18 2017-02-22 T·A·康罗伊 Method and system of a network of diffusers including a liquid level sensor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106456820A (en) * 2014-04-18 2017-02-22 T·A·康罗伊 Method and system of a network of diffusers including a liquid level sensor
CN105228153A (en) * 2014-07-01 2016-01-06 北京奇虎科技有限公司 Method for network access, system and wireless routing device
CN104936168A (en) * 2015-05-04 2015-09-23 北京柏惠维康科技有限公司 Efficient wireless mesh networking method
CN105376833A (en) * 2015-11-04 2016-03-02 广东欧珀移动通信有限公司 MESH network access method and MPP sound box
CN105703806A (en) * 2016-03-22 2016-06-22 广东欧珀移动通信有限公司 Bluetooth module control method and apparatus of playing equipment, and audio-video playing system
CN106361561A (en) * 2016-11-01 2017-02-01 深圳市灸大夫医疗科技有限公司 Wirelessly controlled moxibustion head

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632526B (en) * 2017-08-16 2020-11-06 珠海格力电器股份有限公司 Control device, method, storage medium and equipment
CN107632526A (en) * 2017-08-16 2018-01-26 珠海格力电器股份有限公司 Control device, method, storage medium and equipment
CN107357330A (en) * 2017-08-29 2017-11-17 金杲易光电科技(深圳)有限公司 The temperature control system and method for one plant growth
CN107357327A (en) * 2017-08-29 2017-11-17 金杲易光电科技(深圳)有限公司 The pH value control system and method for one plant growth
CN107919122A (en) * 2017-11-27 2018-04-17 深圳市灸大夫医疗科技有限公司 A kind of sound control method and system of moxibustion head
CN107929044A (en) * 2017-11-27 2018-04-20 深圳市灸大夫医疗科技有限公司 A kind of moxibustion instrument that can be obedient and moxibustion method
CN107929044B (en) * 2017-11-27 2021-07-09 深圳市灸大夫医疗科技有限公司 Moxibustion instrument capable of listening to speech and control method thereof
CN109348459A (en) * 2018-10-31 2019-02-15 广东小天才科技有限公司 Ad hoc network communication method and device of wearable equipment
CN109348463A (en) * 2018-11-23 2019-02-15 深圳迈睿智能科技有限公司 Bluetooth Mesh network and its network-building method and electrical equipment
CN109348463B (en) * 2018-11-23 2024-02-27 深圳迈睿智能科技有限公司 Bluetooth Mesh network, networking method thereof and electric equipment
CN110366153A (en) * 2019-07-17 2019-10-22 苏州佩林网络科技有限公司 A kind of method of bluetooth ad hoc network
CN110366153B (en) * 2019-07-17 2022-08-05 苏州佩林软件技术有限公司 Bluetooth ad hoc network method
CN110740442A (en) * 2019-10-24 2020-01-31 上海银基信息安全技术股份有限公司 data processing method and device based on Bluetooth SIG MESH and terminal to be unlocked
CN111970375A (en) * 2020-08-28 2020-11-20 上海联影医疗科技股份有限公司 Monitoring device and control method thereof
CN113316131A (en) * 2021-05-27 2021-08-27 Oppo广东移动通信有限公司 Connection establishing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106726541A (en) A kind of electric moxibustion head controlling method and electric moxibustion head system
CN102461288B (en) The enhanced debugging of Radio Network System
US11647548B2 (en) Network access method, device, and system
CN106878923B (en) Quick networking method for ultra-low power consumption intelligent equipment and intelligent home system
CN112671638B (en) Gateway structure for multi-protocol conversion
CN103326907B (en) Intelligent home network system and household appliance registration method thereof
CN106230671A (en) Smart home control method and device and terminal
CN108415385A (en) Intelligent home control system based on Bluetooth communication
CN105159121B (en) Household appliance, startup and shutdown control method and system thereof and intelligent device
CN105897527A (en) Method and device for setting running parameter of smart home device in smart scene
CN105093942A (en) Intelligent household system and group control method based on the intelligent household system
CN106454827A (en) Intelligent equipment networking method and intelligent equipment networking system
CN105634887A (en) Network control method for kitchen appliance
CN206431442U (en) Extension facility and intelligent central control system are controlled in intelligence
CN107820262B (en) Parameter configuration method, device and system
CN109257795A (en) Method and equipment for network distribution
CN112469055A (en) Equipment network distribution method, related equipment and storage medium
CN103763187A (en) IP gateway of EnOcean and KNX and communication network and method
WO2022022420A1 (en) Network distribution method and system
CN203274130U (en) Air conditioner controller
CN204721613U (en) A kind of Wi-Fi Internet of things system and Wi-Fi internet of things equipment
CN202630316U (en) Air conditioner and air conditioner control system
CN208001293U (en) Intelligent domestic system based on ZigBee and Raspberry Pi
CN106793003B (en) A kind of interactive configuration method of network entry of smart machine
CN106998501B (en) Television control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication