CN104581618B - A kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case - Google Patents

A kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case Download PDF

Info

Publication number
CN104581618B
CN104581618B CN201510037749.8A CN201510037749A CN104581618B CN 104581618 B CN104581618 B CN 104581618B CN 201510037749 A CN201510037749 A CN 201510037749A CN 104581618 B CN104581618 B CN 104581618B
Authority
CN
China
Prior art keywords
bluetooth module
equipment bluetooth
equipment
module
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.)
Active
Application number
CN201510037749.8A
Other languages
Chinese (zh)
Other versions
CN104581618A (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.)
Hebei Surezen Medical Technology Co Ltd
Original Assignee
Hebei Surezen 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 Hebei Surezen Medical Technology Co Ltd filed Critical Hebei Surezen Medical Technology Co Ltd
Priority to CN201510037749.8A priority Critical patent/CN104581618B/en
Publication of CN104581618A publication Critical patent/CN104581618A/en
Application granted granted Critical
Publication of CN104581618B publication Critical patent/CN104581618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0002Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network
    • A61B5/0026Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network characterised by the transmission medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Surgery (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case, belong to communications method regime, its step are as follows: 1, configuring communication hardware and initialization of classifying;2, master/slave arrangement bluetooth module powers on together, enables main equipment bluetooth module and all enters pairing mode from equipment bluetooth module;3, the search of main equipment bluetooth module from equipment bluetooth module and is attached;4, it is connected in break step 3, obtains distal end Bluetooth address;5, step 3 ~ 4 are repeated, until obtaining all Bluetooth address from equipment bluetooth module and backup;6, the slave equipment bluetooth module for needing to connect is connected to by address.The beneficial effects of the invention are as follows it is easy to use, accurate, efficient and be not necessarily to connecting line.

Description

A kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case
Technical field
The present invention relates to a kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case, belong to nothing The line communications field.
Background technique
Bluetooth is a kind of radio technology of holding equipment short haul connection (within general 10m), can include mobile electricity The wireless messages exchange carried out between words, PDA, wireless headset, laptop and related peripherals etc..Traditional Bluetooth technology is more Using distributed network structure and fast frequency hopping and short packet technology, support point-to-point communication, i.e. an equipment to an equipment, but It is needing then to be unable to complete with multiple equipment simultaneous transmission data.
Currently, Portable, multiple parameter health examination case is a kind of Medical Devices for being applicable in and using on site with field operation, It is placed in it and checks host and a variety of detection instruments, inspection apparatus, generally required between various inspection apparatus and inspection host Information sharing, transmission and preservation, line is very inconvenient between communication interface, and Bluetooth transmission one-to-one can only also be transmitted, Efficiency is extremely low and easy error.
Summary of the invention
It is used for technical problem to be solved by the invention is to provide a kind of convenience, accurately, efficiently and without connecting line The bluetooth one master and multiple slaves communication means of Portable, multiple parameter health examination case.
Technical scheme is as follows:
A kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case comprising following steps:
(1) configuration of communications device and carry out identity distribution initialization:
Respectively in the Portable, multiple parameter health examination case inspection host and each inspection apparatus in install bluetooth mould Block, using the bluetooth module in the inspection host as a main equipment bluetooth module, by the bluetooth in N number of inspection apparatus Module is used as from equipment bluetooth module, and N number of is accordingly carried out from equipment bluetooth module to a main equipment bluetooth module and respectively It presets, the N is more than or equal to 2;
(2) it is powered on together to the main equipment bluetooth module and from equipment bluetooth module, enables the main equipment bluetooth module All enter pairing mode with from equipment bluetooth module;
(3) it is searched for using main equipment bluetooth module from equipment bluetooth module, is searched blue from equipment in searched state It is attached after tooth module;
(4) to the IPO01 foot input at least high level pulse of 100ms or more of main equipment bluetooth module, break step (3) Described in main equipment bluetooth module and it is described connected between equipment bluetooth module, after disconnecting, the main equipment bluetooth mould Block receives " AT+RADD " instruction, i.e. duplication obtains distal end bluetooth from equipment bluetooth module Bluetooth address to main equipment bluetooth module Address;
(5) step (3) ~ (4) are executed repeatedly, a Bluetooth address from equipment bluetooth module are obtained every time, until obtaining All Bluetooth address from equipment bluetooth module;
(6) all Bluetooth address backup that will acquire, the slave equipment bluetooth mould for needing to connect is connected to by Bluetooth address Block realizes one master and multiple slaves connection.
Further, under the idle state before the step (1), the bluetooth module is disposed as from equipment bluetooth Module sets main equipment bluetooth module for the bluetooth module of transmitting terminal, connection accordingly connects when the one-to-one transmission of generation data The bluetooth module of receiving end, the bluetooth module of the receiving end disconnect, the two i.e. from equipment bluetooth module after having sent data It is again set at from equipment bluetooth module.
The beneficial effects of the present invention are: the present invention is the Bluetooth communication method of one master and multiple slaves, in Portable, multiple parameter health Bluetooth module is installed in the inspection host and each inspection apparatus in inspection box, realizes a host pair using Bluetooth Communication Technology Multiple integration for checking equipment can make doctor no longer by the constraint of on line, more flexibly instead of the mode of traditional wire connection Easily using examining equipment to check those who are investigated, mistake will be occurred when equipment being examined to connect with host by also avoiding doctor A possibility that.Information resources can be effectively integrated, by the data informations of a variety of inspection apparatus be connected with each other or with check host It is connected, facilitates information sharing and transmission, facilitates the scene use and field operation of inspection apparatus, be more favorable to inspection apparatus Dispersion carries, and significantly increases the use scope of inspection apparatus, is easy to use, and is not necessarily to connecting line, can effectively reduce the mistake of user Operate probability.
Detailed description of the invention
Fig. 1 is flow chart of the method for the present invention.
Fig. 2 is each part position relations schematic diagram in the present invention.
Wherein, 1 Portable, multiple parameter health examination case, 2 check host, 3 inspection apparatus.
Specific embodiment
Below with reference to Fig. 1 ~ 2 and specific embodiment, the present invention is described in further detail.
As shown in Figure 1 and 2, the communication means for the one master and multiple slaves that embodiment 1 is achieved by the steps of:
(1) communication hardware and initialization of classifying are configured:
Respectively in the Portable, multiple parameter health examination case 1 inspection host 2 and each inspection apparatus 3 in bluetooth is installed Module, the model that the bluetooth module of use uses is BMX-02/03 series bluetooth serial ports module, will be in the inspection host 1 Bluetooth module is as a main equipment bluetooth module, using the bluetooth module in N number of inspection apparatus 3 as from equipment bluetooth mould Block, and to a main equipment bluetooth module and it is N number of accordingly preset respectively from equipment bluetooth module, the N be greater than etc. In 2;
The adoptable model of the inspection host 2 has XZMDS-1500B-MB, and each inspection apparatus 3 can be display Device, blood oxygen detection device, blood pressure detector, ECG tester, apparatus for testing body temperature or blood cell detection device etc. are conventional It checks equipment, is common medical examination apparatus, therefore does not provide diagram;
(2) it is powered on together to the main equipment bluetooth module and from equipment bluetooth module, enables the main equipment bluetooth module All enter pairing mode with from equipment bluetooth module;
(3) it is searched for using main equipment bluetooth module and searches the slave equipment in searched state from equipment bluetooth module It is attached after bluetooth module;
(4) to the IPO1 foot input at least high level pulse of 100ms or more of main equipment bluetooth module, break step (3) Described in main equipment bluetooth module and it is described connected between equipment bluetooth module, after disconnecting, the main equipment bluetooth mould Block receives " AT+RADD " instruction, i.e. duplication obtains distal end bluetooth from equipment bluetooth module Bluetooth address to main equipment bluetooth module Address;
(5) step (3) ~ (4) are executed repeatedly, a Bluetooth address from equipment bluetooth module are obtained every time, until obtaining All Bluetooth address from equipment bluetooth module;
(6) all Bluetooth address backup that will acquire, the slave equipment bluetooth mould for needing to connect is connected to by Bluetooth address Block realizes one master and multiple slaves connection, described to check that host 2 takes the communication means of one master and multiple slaves to connect each somascope by bluetooth Device 3.
Further, under the idle state before the step (1), the bluetooth module is disposed as from equipment bluetooth Module sets main equipment bluetooth module for the bluetooth module of transmitting terminal, connection accordingly connects when the one-to-one transmission of generation data The bluetooth module of receiving end, the bluetooth module of the receiving end disconnect, the two i.e. from equipment bluetooth module after having sent data It is again set at from equipment bluetooth module.
Further, the step (1) to preset method as follows:
It is as follows that the step of main equipment bluetooth module AT is instructed is set: 1) hair AT+ROLE=M, 2) hair AT+IMME=0.
Setting from equipment bluetooth module AT instruct the step of it is as follows: 1) send out AT+ROLE=S, 2) hair AT+IMME=0,3) hair AT +SCAN=2。
The working principle of the present embodiment is as follows:
Firstly, carrying out presetting main equipment bluetooth module and from equipment bluetooth module, be sent to main equipment bluetooth module AT instruction is preset, and its step are as follows: 1, setting main equipment bluetooth module for module, i.e. hair AT+ROLE=M;2, By the zero setting of bluetooth module address, i.e. hair AT+IMME=0;
It is preset to AT instruction is sent from equipment bluetooth module, its step are as follows:
1, it sets module to from equipment bluetooth module,;AT+ROLE=S is sent out, default is that this finger can not be sent out from equipment It enables;
2, by the zero setting of bluetooth module address, i.e. hair AT+IMME=0;
3, AT+SCAN=2 are sent out, i.e., the main equipment that cannot be searched, but connect can be directly connected to;
It is proceeded as follows after pre-setting:
(1) be arranged according to the method described above remaining it is multiple powered on from equipment bluetooth module, and together, all from equipment bluetooth module Into pairing mode, LED quick flashing;
(2) main equipment bluetooth module control program sends instructions AT+ROLE=M to main equipment bluetooth module, i.e., module is arranged For the instruction of main equipment bluetooth module, then the AT+RESTART that sends instructions, i.e. bluetooth module resets;
(3) see on main equipment bluetooth module LED light length it is bright, it is N number of have from equipment bluetooth module one from equipment indigo plant LED light in tooth module also grow it is bright, indicate main equipment bluetooth module connected one from equipment bluetooth module;
(4) to the PIO0 foot input at least high level pulse of 100ms or more of main equipment bluetooth module, main equipment bluetooth mould LED slow flash on block, the LED light on slave equipment bluetooth module connected also slow flash, indicates already off connection;
(5) after disconnecting above-mentioned connection, send instructions AT+RADD, i.e., duplication is from equipment bluetooth module Bluetooth address to main equipment Bluetooth module obtains distal end from equipment bluetooth module Bluetooth address;
(6) at least high level pulse of 100ms or more is inputted to PIO0 foot, the LED light quick flashing on main equipment bluetooth module, Main equipment bluetooth module enters search condition, can be appreciated that another is bright from the LED light length on equipment bluetooth module again at this time, indicates Main equipment bluetooth module has connected this from equipment bluetooth module;
(7) repeatedly, the slave equipment bluetooth module on main equipment bluetooth module periphery can all be connected one time and is obtained Get the address from equipment bluetooth module;
(8) address of the slave equipment bluetooth module got is backed up, be connected to by address need to connect from setting Standby bluetooth module completes the bluetooth connection of one master and multiple slaves, the communication means for checking host 2 and taking one master and multiple slaves by bluetooth Connect each inspection apparatus 3.
Above method can realize the one master and multiple slaves connection of bluetooth, mostly main mostly from connection if you need to bluetooth, continue following steps:
This above-mentioned main equipment bluetooth module is changed in addition to select a bluetooth module as new from equipment bluetooth module Main equipment bluetooth module, other bluetooth modules are to preset described in change, needing to decide sets from equipment bluetooth module The bluetooth module of standby bluetooth module repeats the above steps, until main equipment bluetooth module specified every time obtains and saves respective need The corresponding address from equipment bluetooth module to be connected, it is mostly main mostly from connection that bluetooth can be achieved in the method.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, those skilled in the art should understand that: it still can be to previous embodiment Documented technical solution is modified or equivalent replacement of some of the technical features;And these are modified or replace It changes, the spirit and scope for technical solution of the embodiment of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (2)

1. a kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case, it is characterised in that: it includes Following steps:
(1) communication hardware and initialization of classifying are configured:
Indigo plant is installed in the inspection host (1) in the Portable, multiple parameter health examination case (1) and each inspection apparatus (2) respectively Tooth module, using the bluetooth module in inspection host (1) as a main equipment bluetooth module, by N number of inspection apparatus (2) bluetooth module in is used as from equipment bluetooth module, and to a main equipment bluetooth module and N number of accordingly from equipment bluetooth mould Block is preset respectively, and the N is more than or equal to 2;
AT instruction is sent to main equipment bluetooth module to preset, sets main equipment bluetooth module for module, i.e. hair AT+ ROLE=M;By the zero setting of bluetooth module address, i.e. hair AT+IMME=0;
It is preset to AT instruction is sent from equipment bluetooth module, sets module to send out AT+ from equipment bluetooth module ROLE=S, default are that this instruction can not be sent out from equipment;By the zero setting of bluetooth module address, i.e. hair AT+IMME=0;Send out AT+ Main equipment that SCAN=2 cannot be searched, but connect can be directly connected to;
(2) powered on together to the main equipment bluetooth module and from equipment bluetooth module, enable the main equipment bluetooth module with from Equipment bluetooth module all enters pairing mode;
(3) it is searched for using main equipment bluetooth module from equipment bluetooth module, searches and be in searched state from equipment bluetooth mould It is attached after block;
(4) at least high level pulse of 100ms or more, institute in break step (3) are inputted to the PIO0 foot of main equipment bluetooth module State main equipment bluetooth module and it is described connected between equipment bluetooth module, after disconnecting, the main equipment bluetooth module is received It is instructed to " AT+RADD ", i.e. duplication is from equipment bluetooth module Bluetooth address to main equipment bluetooth module, with obtaining distal end bluetooth Location;
(5) step (3) ~ (4) are executed repeatedly, a Bluetooth address from equipment bluetooth module are obtained every time, until being owned From the Bluetooth address of equipment bluetooth module;
(6) all Bluetooth address backup that will acquire, the slave equipment bluetooth module for needing to connect is connected to by Bluetooth address, real Existing one master and multiple slaves connection;
Main equipment bluetooth module is changed in addition to select a bluetooth module as new main equipment bluetooth from equipment bluetooth module Module, other bluetooth modules are to preset described in change, need to do the bluetooth of main equipment bluetooth module from equipment bluetooth module Module repeats the above steps, until main equipment bluetooth module specified every time obtains and save that respectively needs connect it is corresponding from setting The address of standby bluetooth module.
2. a kind of bluetooth one master and multiple slaves communication party for Portable, multiple parameter health examination case according to claim 1 Method, it is characterised in that: under the idle state before the step (1), the bluetooth module is disposed as from equipment bluetooth mould Block sets main equipment bluetooth module for the bluetooth module of transmitting terminal, connects correspondingly received when the one-to-one transmission of generation data The bluetooth module at end, the bluetooth module of the receiving end disconnect, the two is again i.e. from equipment bluetooth module after having sent data It is secondary to be set as from equipment bluetooth module.
CN201510037749.8A 2015-01-26 2015-01-26 A kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case Active CN104581618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510037749.8A CN104581618B (en) 2015-01-26 2015-01-26 A kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510037749.8A CN104581618B (en) 2015-01-26 2015-01-26 A kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case

Publications (2)

Publication Number Publication Date
CN104581618A CN104581618A (en) 2015-04-29
CN104581618B true CN104581618B (en) 2019-03-22

Family

ID=53096629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510037749.8A Active CN104581618B (en) 2015-01-26 2015-01-26 A kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case

Country Status (1)

Country Link
CN (1) CN104581618B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103715577A (en) * 2013-12-27 2014-04-09 北京奇虎科技有限公司 USB Hub and Bluetooth pairing method through USB Hub
CN104022805A (en) * 2014-06-06 2014-09-03 深圳市爱美家电子科技有限公司 Method and device of connecting Bluetooth devices at master end and slave ends

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103715577A (en) * 2013-12-27 2014-04-09 北京奇虎科技有限公司 USB Hub and Bluetooth pairing method through USB Hub
CN104022805A (en) * 2014-06-06 2014-09-03 深圳市爱美家电子科技有限公司 Method and device of connecting Bluetooth devices at master end and slave ends

Also Published As

Publication number Publication date
CN104581618A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104037885B (en) Portable power source, working condition monitoring system of portable power source and monitoring management method of portable power source
CN105188022A (en) Wireless routing device and communication method
CN104639213A (en) Method and system for Bluetooth matching on basis of USB (universal serial bus) cable
US20120003927A1 (en) Communication Apparatus, Program and Communication Method
CN104394101A (en) Dial switch-based multi-functional switch and quick configuration method thereof
CN104579435B (en) It is a kind of to check more masters of integrated box mostly from Bluetooth communication method for portable health
CN204597961U (en) A kind of bluetooth module
CN104581618B (en) A kind of bluetooth one master and multiple slaves communication means for Portable, multiple parameter health examination case
CN105100000B (en) Interface conversion device and network system
CN210780851U (en) Edge computing gateway device and information transmission system
CN204612082U (en) For point inspection device and the air-conditioner system of air-conditioner
Babusiak et al. Low energy wireless communication for medical devices
CN203522763U (en) Wireless signal shield device with network control function
TW201810982A (en) Portable WDM interfacing device and method comprising an optical interface and one or one set of state indicator lamps to be applied in a semi-active type WDM network as a provision device and survey tool which can be carried conveniently and used easily
CN206805518U (en) A kind of Solarnumen Comdebug based on wifi
TW201312852A (en) System for antenna extension and method thereof
CN212518968U (en) Medical equipment data acquisition unit
CN206863886U (en) One kind control debugging apparatus and infrared emission system
CN106231542A (en) A kind of passive method of attachment of bluetooth
CN110351429A (en) A kind of method and device using mobile phone based on wireless mode configuration serial equipment
CN204231344U (en) A kind of health detecting system
CN103533562A (en) Wireless sensor network node protocol conformance testing device and method
CN110209617A (en) A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method
CN202142301U (en) Burning fixture clamp of heat distribution sheet
CN208673515U (en) A kind of pipeline pressure whole process wireless transmission monitoring device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: The Southern District Guangming Road Economic Development Zone, Hebei city of Shijiazhuang province Xingtang County 050000 No. 1

Applicant after: HEBEI EVIDENCE-BASED MEDICINE TECHNOLOGY CO., LTD.

Address before: The Southern District Guangming Road Economic Development Zone, Hebei city of Shijiazhuang province Xingtang County 050000 No. 1

Applicant before: Hebei Xunzheng Medical Technology Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant