Movatterモバイル変換


[0]ホーム

URL:


CN112765585B - Bluetooth binding and two-dimension code verification combined device mutual identification and verification method - Google Patents

Bluetooth binding and two-dimension code verification combined device mutual identification and verification method
Download PDF

Info

Publication number
CN112765585B
CN112765585BCN202110017002.1ACN202110017002ACN112765585BCN 112765585 BCN112765585 BCN 112765585BCN 202110017002 ACN202110017002 ACN 202110017002ACN 112765585 BCN112765585 BCN 112765585B
Authority
CN
China
Prior art keywords
equipment
binding
pump body
verification
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
CN202110017002.1A
Other languages
Chinese (zh)
Other versions
CN112765585A (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.)
Kailian Medical Technology Shanghai Co ltd
Original Assignee
Kailian Medical Technology Shanghai 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 Kailian Medical Technology Shanghai Co ltdfiledCriticalKailian Medical Technology Shanghai Co ltd
Priority to CN202110017002.1ApriorityCriticalpatent/CN112765585B/en
Publication of CN112765585ApublicationCriticalpatent/CN112765585A/en
Application grantedgrantedCritical
Publication of CN112765585BpublicationCriticalpatent/CN112765585B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a device mutual identification and verification method combining Bluetooth binding and two-dimension code verification, which specifically comprises the following steps: s1, a device searching stage; s2, equipment identification stage; s3, equipment confirmation stage; s4, a device binding stage; s5, a data verification stage. By safely identifying and checking the identity and the data of the control machine and the pump body in the use process, the invention avoids misoperation of a user or malicious control of the pump body and malicious hijacking or tampering of the data, improves the safety of the infusion process and reduces the infusion risk.

Description

Bluetooth binding and two-dimension code verification combined device mutual identification and verification method
Technical Field
The invention relates to a device mutual identification and verification method combining Bluetooth binding and two-dimension code verification.
Background
At present, with the development of the internet of things and the Bluetooth protocol, the device binding and device verification method based on the Bluetooth protocol is increasingly popular and widely used in the internet of things devices including the field of medical appliances. Although the bluetooth protocol belongs to a short-distance space wireless communication protocol, for medical devices, particularly for medical devices with strict requirements on human life safety such as insulin infusion pumps, the safety risk brought by controlling insulin infusion operation through the bluetooth protocol is still not negligible. In particular, the safety risk of the bluetooth protocol in insulin infusion pumps is mainly manifested in the following points:
1. the Bluetooth broadcasting distance is still far, so that the equipment is easily detected and monitored; bluetooth broadcasting based on radio technology belongs to non-directional broadcasting, and the propagation distance of the Bluetooth broadcasting to the periphery in an open unobstructed space can reach tens of meters; because the Bluetooth broadcast packet contains privacy information such as equipment control information, user data information and the like, if the signal is detected, monitored and interfered, the privacy information of the user is leaked slightly, and the equipment cannot work normally, so that the life safety of the user is threatened;
2. the Bluetooth communication protocol belongs to an open protocol when the device is not bound, and if the device adopts a no-input-output (No Input No Output) mode to bind, whether the device sending the binding request is a user permission device cannot be identified; if the device is illegally bound and controlled, excessive insulin infusion by the user may result, thereby risking life safety of the user;
3. when the Bluetooth equipment is bound, equipment MAC addresses are mostly adopted as equipment identifiers, but the equipment MAC addresses have poor identification performance on terminal users, and the MAC addresses are mostly automatically built and produced in the equipment, so that users cannot identify whether the equipment is owned by the users through the equipment MAC addresses; blindness exists in binding, and misoperation is easy to cause;
4. the bluetooth binding process is not controllable. According to the bluetooth protocol specification, the bluetooth communication protocol stack belongs to a multi-layer protocol, and comprises a physical layer (HY), a Link Layer (LL), a host control interface layer (HCI), a logical link control and adaptation protocol layer (L2 CAP), a security management layer (SM), a generic access profile layer (GAP), an attribute protocol layer (ATT) and a generic attribute profile layer (GATT). The conventional Bluetooth application only carries out conventional operation on the GATT and ATT layers, and the device binding operation is that key exchange and password transmission are automatically carried out by the Bluetooth chip under the SM layers (HY, LL, HCI, L CAP and SM) according to Bluetooth binding protocol specifications, and the binding process is invisible and uncontrollable to users; this results in the user device, once illegally bound, possibly causing the device to be out of function.
Disclosure of Invention
The invention aims to solve the technical problems that through the safety identification and verification of the identity and the data of the control machine and the pump body in the use process, misoperation of a user or malicious control of the pump body and malicious hijacking or tampering of the data are avoided, the safety of the infusion process is improved, and the infusion risk is reduced.
The invention discloses a device mutual identification and verification method combining Bluetooth binding and two-dimension code verification, which is realized by the following technical scheme, and specifically comprises the following steps:
s1, in the device searching stage, after the insulin infusion pump is powered on, broadcasting outside is started, and broadcasting content comprises a device manufacturer identifier and a device serial number, wherein the device manufacturer identifier and the device serial number are high in readability and identifiability, besides a device MAC address; the controller equipment monitors the received Bluetooth broadcasting packet, analyzes data in the Bluetooth broadcasting packet according to the Bluetooth broadcasting specification, and searches and identifies the equipment manufacturer identifier; if the equipment manufacturer identifier is successfully analyzed and identified, the equipment manufacturer identifier is used as candidate equipment to be added into a list to be identified, otherwise, the equipment manufacturer identifier is ignored and search is continued;
s2, in the equipment identification stage, after the equipment manufacturer identifier is identified, the controller further searches and identifies the equipment serial number; the control machine preliminarily determines whether the pump body equipment is bound user legal equipment or not by identifying the equipment type identification of the pump body matched with the control machine; if the equipment type is illegal, neglecting, otherwise, adding the equipment type into a list to be confirmed;
s3, in the equipment confirmation stage, the list to be confirmed contains all insulin pump equipment technical lists with legal equipment manufacturer identifiers and equipment identifiers; the control machine needs to further confirm the equipment which needs to be uniquely bound with the control machine through the two-dimensional code; the user reads the content of the two-dimension code by using a camera of the control machine, the control machine automatically compares the equipment serial number contained in the two-dimension code with the equipment identifier in the list to be confirmed, and the equipment which is successfully matched is used as the only bindable equipment for binding; s4, in the equipment binding stage, after the unique bindable equipment is determined, the controller executes binding operation, and the pump body receives a binding request sent by the controller; reading the MAC address of the controller and adding the MAC address into a device white list;
s5, in a data verification stage, when the controller communicates with the pump body, communication connection is established with the pump body firstly, and a command packet is sent; when the pump body receives the command packet, the data in the packet is recalculated, the calculation result is compared with the command packet, if the comparison fails, the data is tampered or missing, the pump body refuses to execute and returns an error, otherwise, the command is executed.
In step S1, the identifier of the manufacturer of the device is the manufacturer identifier of the insulin infusion pump device, and the serial number of the device is the unique legal identifier of the device; the manufacturer identification and the equipment identification each contain specific meanings, and are analyzed and identified.
As a preferred technical solution, in step S2, the device serial number is created by the insulin pump manufacturer, has a specific definition rule and contains a specific prefix and suffix, and can be parsed and identified; the device serial number is stored inside the pump body.
As an preferable technical scheme, in step S3, the two-dimensional code recognition technology is a technology for determining a final unique binding device; the two-dimensional code comprises an equipment serial number and is attached to the surface of the pump body when the insulin pump leaves a factory.
In step S4, the bluetooth broadcasting mode is changed from Public to Private.
In step S5, the tail of the data in the command packet includes a data CRC32 check code, and when the pump body receives the command packet, the CRC32 calculation is performed on the data in the packet again, and the calculation result is compared with the check code included in the packet.
The beneficial effects of the invention are as follows: by safely identifying and checking the identity and the data of the control machine and the pump body in the use process, the invention avoids misoperation of a user or malicious control of the pump body and malicious hijacking or tampering of the data, improves the safety of the infusion process and reduces the infusion risk.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of the present invention.
Detailed Description
All of the features disclosed in this specification, or all of the steps in a method or process disclosed, may be combined in any combination, except for mutually exclusive features and/or steps.
Any feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. That is, each feature is one example only of a generic series of equivalent or similar features, unless expressly stated otherwise.
In the description of the present invention, it should be understood that the terms "one end," "the other end," "the outer side," "the upper," "the inner side," "the horizontal," "coaxial," "the center," "the end," "the length," "the outer end," and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, merely to facilitate description of the present invention and simplify the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention.
Furthermore, in the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Terms such as "upper," "lower," and the like used herein to refer to a spatially relative position are used for ease of description to describe one element or feature's relationship to another element or feature as illustrated in the figures. The term spatially relative position may be intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as "below" or "beneath" other elements or features would then be oriented "above" the other elements or features. Thus, the exemplary term "below" can encompass both an orientation of above and below. The device may be otherwise oriented and the spatially relative descriptors used herein interpreted accordingly.
In the present invention, unless explicitly specified and limited otherwise, the terms "disposed," "coupled," "connected," "plugged," and the like are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
As shown in fig. 1, the device mutual identification and verification method combining bluetooth binding and two-dimension code verification of the invention specifically comprises the following steps:
s1, in the device searching stage, after the insulin infusion pump is powered on, broadcasting outside is started, and broadcasting content comprises a device manufacturer identifier and a device serial number, wherein the device manufacturer identifier and the device serial number are high in readability and identifiability, besides a device MAC address; the controller equipment monitors the received Bluetooth broadcasting packet, analyzes data in the Bluetooth broadcasting packet according to the Bluetooth broadcasting specification, and searches and identifies the equipment manufacturer identifier; if the equipment manufacturer identifier is successfully analyzed and identified, the equipment manufacturer identifier is used as candidate equipment to be added into a list to be identified, otherwise, the equipment manufacturer identifier is ignored and search is continued; in the stage, bluetooth equipment of other manufacturers is eliminated through identification of equipment manufacturer identifiers;
s2, in the equipment identification stage, after the equipment manufacturer identifier is identified, the controller further searches and identifies the equipment serial number; the control machine preliminarily determines whether the pump body equipment is bound user legal equipment or not by identifying the equipment type identification of the pump body matched with the control machine; if the equipment type is illegal, neglecting, otherwise, adding the equipment type into a list to be confirmed; this phase excludes other types of infusion pump devices by identifying the device type identifier;
s3, in the equipment confirmation stage, the list to be confirmed contains all insulin pump equipment technical lists with legal equipment manufacturer identifiers and equipment identifiers; the control machine needs to further confirm the equipment which needs to be uniquely bound with the control machine through the two-dimensional code; the user reads the content of the two-dimension code by using a camera of the control machine, the control machine automatically compares the equipment serial number contained in the two-dimension code with the equipment identifier in the list to be confirmed, and the equipment which is successfully matched is used as the only bindable equipment for binding; the stage can effectively prevent other types of nearby devices from being bound by mistake or maliciously;
s4, in the equipment binding stage, after the unique bindable equipment is determined, the controller executes binding operation, and the pump body receives a binding request sent by the controller; reading the MAC address of the controller and adding the MAC address into a device white list; after successful binding, only the devices in the white list can establish communication connection with the pump body and perform data transmission;
s5, in a data verification stage, when the controller communicates with the pump body, communication connection is established with the pump body firstly, and a command packet is sent; when the pump body receives the command packet, recalculating the data in the packet and comparing the calculation result with the command packet, if the comparison fails, the data is tampered or missing, the pump body refuses to execute and returns an error, otherwise, the command is executed; the stage can effectively prevent the command packet from being illegally hijacked or tampered in the broadcasting process.
In this embodiment, in step S1, the device manufacturer identifier is a manufacturer identifier of the insulin infusion pump device, and the device serial number is a device unique legal identifier; the manufacturer identification and the equipment identification contain specific meanings, and can be analyzed and identified.
In this embodiment, in step S2, the device serial number is created by the insulin pump manufacturer, has a specific definition rule, and contains a specific prefix and suffix (such as a device type identifier, a production date identifier, a device serial number identifier, a lot number identifier, etc.), and can be parsed and identified; the device serial number is stored inside the pump body.
In this embodiment, in step S3, the two-dimensional code recognition technology is a technology for determining a final unique binding device; the two-dimensional code comprises an equipment serial number and is attached to the surface of the pump body when the insulin pump leaves a factory.
In this embodiment, in step S4, the bluetooth broadcasting mode is changed from Public to Private.
In this embodiment, in step S5, the tail of the data in the command packet includes a data CRC32 check code, and when the pump body receives the command packet, the CRC32 calculation is performed on the data in the packet again, and the calculation result is compared with the check code included in the packet.
The foregoing is merely illustrative of specific embodiments of the present invention, and the scope of the invention is not limited thereto, but any changes or substitutions that do not undergo the inventive effort should be construed as falling within the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope defined by the claims.

Claims (6)

CN202110017002.1A2021-01-062021-01-06Bluetooth binding and two-dimension code verification combined device mutual identification and verification methodActiveCN112765585B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110017002.1ACN112765585B (en)2021-01-062021-01-06Bluetooth binding and two-dimension code verification combined device mutual identification and verification method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110017002.1ACN112765585B (en)2021-01-062021-01-06Bluetooth binding and two-dimension code verification combined device mutual identification and verification method

Publications (2)

Publication NumberPublication Date
CN112765585A CN112765585A (en)2021-05-07
CN112765585Btrue CN112765585B (en)2024-03-08

Family

ID=75700606

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110017002.1AActiveCN112765585B (en)2021-01-062021-01-06Bluetooth binding and two-dimension code verification combined device mutual identification and verification method

Country Status (1)

CountryLink
CN (1)CN112765585B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115150482B (en)*2022-06-302024-10-01先临三维科技股份有限公司 Device binding method, device and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104661219A (en)*2015-01-152015-05-27天地融科技股份有限公司Communication method of wireless equipment, wireless equipment and server
CN107911337A (en)*2017-10-112018-04-13海信集团有限公司A kind of apparatus bound method, server and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2001188A1 (en)*2007-06-082008-12-10F.Hoffmann-La Roche AgMethod for authenticating a medical device and a remote device
EP4218568A1 (en)*2017-08-182023-08-02Abbott Diabetes Care Inc.Analyte monitoring system storing a measured electrical characteristic of the in vivo analyte sensor of the system as individualized calibration information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104661219A (en)*2015-01-152015-05-27天地融科技股份有限公司Communication method of wireless equipment, wireless equipment and server
CN107911337A (en)*2017-10-112018-04-13海信集团有限公司A kind of apparatus bound method, server and equipment

Also Published As

Publication numberPublication date
CN112765585A (en)2021-05-07

Similar Documents

PublicationPublication DateTitle
US10493955B1 (en)Internet of vehicles system performing connection authentication through a public network and connection method
EP2018744B1 (en)Authentication of devices in a wireless network
US7848522B2 (en)Method for authenticating a user in a terminal, an authentication system, a terminal, and an authorization device
JP5247124B2 (en) Authentication device, in-vehicle device, and authentication system
JP6633228B2 (en) Data security system with encryption
US8385824B2 (en)Procedure for headset and device authentication
EP2988534A2 (en)Method of configuring wireless connection via near field communication function and image forming apparatus for performing the method
US20070226778A1 (en)Bluetooth theft protection
US8931065B2 (en)OTA bootstrap method and system
US20110265151A1 (en)Method of adding a client device or service to a wireless network
US20080250485A1 (en)Guest Dongle and Method of Connecting Guest Apparatuses to Wireless Home Networks
CN1489329A (en)Terminal locking system comprising key device and termianl-associated device
CN104539806A (en)Mobile terminals and emergency unlocking method thereof
CN112765585B (en)Bluetooth binding and two-dimension code verification combined device mutual identification and verification method
US20240134948A1 (en)Biometrically authenticated wireless identification device
CN115273278A (en)Approaching automatic unlocking method based on BLE HID PROFILE
CN114730509B (en) Smart locks and keys
CN110992528A (en)Intelligent door lock binding method and equipment based on identification code and storage medium
KR101407443B1 (en)User authentication system and method using near field communication
WO2024041635A1 (en)Vehicle security authentication method
CN107454557B (en)Router connection method and system
JP2006279321A (en) Security software and security communication system for mobile terminals
CN111369716B (en)Unlocking method, door lock and computer readable storage medium
CN105530360A (en) Dual system switching method and terminal
CN100383695C (en)Safety turn-on method in visual range

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp