Disclosure of Invention
The technical problem to be solved by the invention is to provide a method, a device, a terminal and a server for checking the position of a patient, and the position information of the patient can be conveniently checked through a mobile terminal, so that the condition of the patient can be known.
To solve the above technical problem, an embodiment of the present invention provides a method for viewing a patient position, which is applied to a server, and includes:
receiving a request for checking the position information of the patient sent by the terminal;
determining the position information of the Bluetooth bracelet according to the identification information of the terminal and a pre-stored corresponding relation table of the terminal identification and the Bluetooth bracelet, and sending the position information to the terminal; wherein, bluetooth bracelet and patient information one-to-one.
The step of receiving a request for viewing the patient position information sent by the terminal comprises the following steps:
and receiving a request for checking the position information of the patient sent by the terminal through a network.
Wherein, according to the identification information at this terminal and the corresponding relation table of terminal identification and bluetooth bracelet that prestore, confirm the step of the positional information of bluetooth bracelet and include:
and according to the identification information of the terminal, searching the identification information of the Bluetooth bracelet corresponding to the terminal from the corresponding relation table of the terminal identification and the Bluetooth bracelet, and determining the position of the Bluetooth bracelet according to the identification information of the Bluetooth bracelet.
Wherein, the step process of confirming the position of bluetooth bracelet includes:
receiving a wireless signal sent by a wireless transmission locator arranged at a fixed position in a preset area; the wireless signal carries identification information of a Bluetooth bracelet which is communicated with the wireless transmission locator in a Bluetooth broadcasting mode;
and determining the position of the Bluetooth bracelet according to the identification information of the Bluetooth bracelet and the position information of the wireless transmission locator in the preset area.
The step of receiving a wireless signal sent by a wireless transmission locator arranged at a fixed position in a preset area comprises the following steps:
receiving wireless signals sent by a plurality of wireless transmission positioners arranged at fixed positions in a preset area; the wireless signal that each wireless transmission locator sent carries the identification information of at least one bluetooth bracelet, at least one bluetooth bracelet with the wireless transmission locator communicates with the bluetooth broadcasting mode.
Wherein, if the wireless signal that carries the identification information of the same bluetooth bracelet that a plurality of wireless transmission locators sent is received, then according to the identification information of bluetooth bracelet and the wireless transmission locator is in positional information in the predetermined area, confirm the step of the position of bluetooth bracelet includes:
according to the identification information of the Bluetooth bracelet, determining the wireless transmission locator which is closest to the Bluetooth bracelet in a plurality of wireless transmission locators which communicate with the Bluetooth bracelet in a Bluetooth broadcasting mode;
acquiring identification information of a wireless transmission locator closest to the Bluetooth bracelet;
and determining the position of the Bluetooth bracelet according to the identification information of the wireless transmission locator closest to the Bluetooth bracelet.
Wherein, confirm with this bluetooth bracelet in a plurality of wireless transmission locator of bluetooth broadcast mode communication, the step of the nearest wireless transmission locator of distance the bluetooth bracelet includes:
by the following formula: determining distances between a plurality of wireless transmission locators which communicate with the bluetooth bracelet in a bluetooth broadcast manner and the bluetooth bracelet respectively, wherein the distances are (c + b × math.point (ratio, a)) × resourcorrection;
selecting one wireless transmission locator with the minimum distance value as the wireless transmission locator closest to the Bluetooth bracelet;
wherein a, b and c are constants; distance represents the Distance between bluetooth bracelet and the wireless transmission locator, and ratio represents the ratio between the bluetooth signal intensity value that the wireless transmission locator received current bluetooth bracelet and the signal intensity value apart from this bluetooth bracelet of a preset Distance, and rsiCorrect represents an intermediate value, and Math.pow is the mathematical formula of exponentiation.
Wherein, if the ratio is less than or equal to 1, Distance is Math.power (ratio, m) rssiCorrection;
wherein,
d. e, f, g and m are constants; abs is a mathematical formula for solving absolute values;
expressed as Math.pow (Math.abs (rssi) d)% pairAnd (6) remainder calculation.
Wherein the step of determining the position of the Bluetooth bracelet according to the identification information of the wireless transmission locator closest to the Bluetooth bracelet comprises:
acquiring the position information of the wireless transmission locator closest to the Bluetooth bracelet from the map information of the preset area or a configured corresponding relation table between the identification information of the wireless transmission locator and a specific position according to the identification information of the wireless transmission locator closest to the Bluetooth bracelet; wherein the map information marks position information of the wireless transmission locator.
Embodiments of the present invention also provide a method of viewing a patient's position, comprising:
the terminal sends a request for checking the position information of the patient to a server of the mobile medical system;
the method comprises the steps that a terminal receives position information of a Bluetooth bracelet returned by a server, wherein the position information of the Bluetooth bracelet is determined by the server according to a pre-stored corresponding relation between a terminal identifier of the terminal and the Bluetooth bracelet and the identifier of the terminal; wherein, bluetooth bracelet and patient information one-to-one.
The corresponding relation between the terminal identification and the Bluetooth bracelet is generated by combining patient information, identification information of the Bluetooth bracelet worn by the patient and terminal identification information of a doctor appointed for the patient; wherein, a terminal can correspond a plurality of bluetooth bracelets.
Wherein, the terminal sends the terminal identification of this terminal and the corresponding relation of bluetooth bracelet to the step of server includes:
and the terminal sends the corresponding relation between the terminal identification of the terminal and the Bluetooth bracelet to the server through the network.
The embodiment of the invention also provides a device for checking the position of a patient, which is applied to a server and comprises:
the receiving module is used for receiving a request for checking the position information of the patient sent by the terminal;
the processing module is used for determining the position information of the Bluetooth bracelet according to a pre-stored corresponding relation table of the terminal identification and the Bluetooth bracelet and the identification information of the terminal and sending the position information to the terminal; wherein, bluetooth bracelet and patient information one-to-one.
An embodiment of the present invention further provides a server including the apparatus as described above.
Implementations of the present invention also provide an apparatus for viewing a patient's position, comprising:
the sending module is used for sending a request for checking the position information of the patient to a server of the mobile medical system;
the receiving module is used for receiving position information of the Bluetooth bracelet returned by the server, and the position information of the Bluetooth bracelet is determined by the server according to the prestored corresponding relation between the terminal identifier of the terminal and the Bluetooth bracelet and the identifier of the terminal; wherein, bluetooth bracelet and patient information one-to-one.
An embodiment of the present invention further provides a terminal, including: the apparatus as described above.
The technical scheme of the invention has the following beneficial effects:
in the above-mentioned scheme, through wearing low-power consumption bluetooth bracelet for hospital's patient especially inpatient, when patient's family members or doctor want to look over patient positional information through terminal equipment, through looking over the positional information of this bluetooth bracelet, can learn this patient's positional information to make things convenient for patient's family members or doctor to look over patient's positional information.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The invention provides a method for checking the position of a patient, aiming at the problems of information management of patient information in an area range such as a traditional hospital and incapability of checking the position information of the patient, which is applied to a server and comprises the following steps:
step 11, receiving a request for checking the position information of the patient sent by the terminal;
step 12, determining the position information of the Bluetooth bracelet according to the identification information of the terminal and a pre-stored correspondence table of the terminal identification and the Bluetooth bracelet, and sending the position information to the terminal; wherein, bluetooth bracelet and patient information one-to-one.
According to the embodiment of the invention, the low-power-consumption Bluetooth bracelet is worn for the patient in the hospital, particularly the inpatient, when the doctor corresponding to the patient wants to check the position information of the patient through the terminal equipment, the position information of the patient can be known by determining the position information of the Bluetooth bracelet, so that the doctor can conveniently check the position information of the patient.
As shown in fig. 2, which is a schematic diagram of a system architecture of the present invention, in an embodiment of the present invention, the step of the server receiving a request for viewing patient location information sent by the terminal includes: and receiving a request for checking the position information of the patient sent by the terminal through a network.
In a specific embodiment of the present invention, the step of determining the position information of the bluetooth bracelet according to the identifier information of the terminal and a pre-stored correspondence table between the terminal identifier and the bluetooth bracelet includes: and according to the identification information of the terminal, searching the identification information of the Bluetooth bracelet corresponding to the terminal from the corresponding relation table of the terminal identification and the Bluetooth bracelet, and determining the position of the Bluetooth bracelet according to the identification information of the Bluetooth bracelet.
In the embodiment of the invention, the terminal identifier can be the model of the terminal, the mobile phone number of the terminal or the MAC of the terminal, and for the server, after receiving the request of the terminal, the server can obtain the identifier information of the terminal.
As further shown in fig. 2, the process of determining the position of the bluetooth bracelet includes:
step 21, receiving a wireless signal sent by a wireless transmission locator arranged at a fixed position in a preset area; the wireless signal carries identification information of a Bluetooth bracelet which is communicated with the wireless transmission locator in a Bluetooth broadcasting mode;
and step 22, determining the position of the Bluetooth bracelet according to the identification information of the Bluetooth bracelet and the position information of the wireless transmission locator in the preset area.
In the embodiment of the invention, a low-power-consumption bluetooth bracelet is worn for a hospital patient, particularly for an inpatient, and is used for sending a bluetooth signal broadcast to the outside, and a wireless transmission locator arranged in a preset area (such as a hospital or a certain area of the hospital, such as a certain department) receives a bluetooth signal of the bracelet, wherein the bluetooth signal carries identification information of the bracelet, and the identification information can be an MAC address of the bracelet or a string of characters uniquely identifying the bracelet; when the server receives the wireless signal sent by the wireless transmission locator, the identification information of the bracelet can be acquired from the wireless signal, and the position of the Bluetooth bracelet can be determined according to the identification information of the bracelet and the position information of the wireless transmission locator in the preset area, so that the position of a patient can be determined.
Preferably, in an embodiment of the present invention, a plurality of wireless transmission locators may be disposed in a predetermined area of the hospital, and each wireless transmission locator may receive bluetooth signals of a plurality of bracelets, in the step 21, the step of receiving a wireless signal sent by a wireless transmission locator located at a fixed position in the predetermined area includes:
receiving wireless signals sent by a plurality of wireless transmission positioners arranged at fixed positions in a preset area; the wireless signal that each wireless transmission locator sent carries the identification information of at least one bluetooth bracelet, at least one bluetooth bracelet with the wireless transmission locator communicates with the bluetooth broadcasting mode.
In the above embodiment, if the server receives a wireless signal that is sent by a plurality of wireless transmission locators and carries identification information of the same bluetooth bracelet, in step 22, the step of determining the position of the bluetooth bracelet according to the identification information of the bluetooth bracelet and the position information of the wireless transmission locators in the preset area includes:
step 221, according to the identification information of the bluetooth bracelet, determining a wireless transmission locator which is closest to the bluetooth bracelet among a plurality of wireless transmission locators which communicate with the bluetooth bracelet in a bluetooth broadcasting mode;
step 222, acquiring identification information of a wireless transmission locator closest to the Bluetooth bracelet;
step 223, determining the position of the bluetooth bracelet according to the identification information of the wireless transmission locator closest to the bluetooth bracelet.
In the embodiment of the invention, the bracelet is used as a low-power Bluetooth device and is worn on the wrist of the inpatient. Every bracelet all has the only MAC address of oneself, for the convenience of input, can take following numbering measures to the bracelet: and (3) converting hexadecimal of the four bytes behind the MAC address into decimal so as to be convenient for a person to represent, wherein the MAC address of the bracelet is as follows: 0xD03972A04339, 4339 goes to decimal 17209. Then 17209 is used as the unique ID of the bracelet, which is the identity information of the bluetooth bracelet.
The wireless transmission locator is used as a low-power-consumption Bluetooth device, a wifi module is arranged in the wireless transmission locator, the wireless transmission locator also has a unique MAC address, and four bytes behind the MAC address are converted into decimal from hexadecimal to serve as a unique ID of the wireless transmission locator; the wireless transmission locator is communicated with the Bluetooth bracelet in a Bluetooth mode, and the wireless transmission locator and a server of the mobile medical system can be communicated through a built-in wireless module (such as a wifi module) of the wireless transmission locator.
When the patient handles the procedure of being in hospital, the medical staff will carry out the configuration of bracelet Wrist _ ID and name, if: bracelet wrist _ ID17209 zhang san xxx family. The server of the mobile medical system is configured with the corresponding relation between the ID number of the wireless transmission locator and a specific position, such as a Master _ ID (xxx) room; after the inpatient wears the bracelet, the bracelet sends the bluetooth signal broadcast outward every 200 milliseconds. When receiving the broadcast packet sent back by the Bluetooth signal, the wireless transmission locator carries the ID of the wireless transmission locator and sends the ID to the server in real time through the wifi module.
In the above embodiment of the present invention, the step of determining the wireless transmission locator closest to the bluetooth bracelet among the plurality of wireless transmission locators communicating with the bluetooth bracelet in a bluetooth broadcast manner includes:
by the following formula: determining distances between a plurality of wireless transmission locators which communicate with the bluetooth bracelet in a bluetooth manner and the bluetooth bracelet respectively, wherein the distances are (c + b × math.point (ratio, a)) × resourcorrection;
selecting one wireless transmission locator with the minimum distance value as the wireless transmission locator closest to the Bluetooth bracelet;
wherein a, b and c are constants; distance represents the Distance between bluetooth bracelet and the wireless transmission locator, and ratio represents the ratio between the bluetooth signal intensity value that the wireless transmission locator received current bluetooth bracelet and the signal intensity value apart from this bluetooth bracelet of a preset Distance, and rsiCorrect represents an intermediate value, and Math.pow is the mathematical formula of exponentiation.
Wherein, if the ratio is less than or equal to 1, Distance is Math.power (ratio, m) rssiCorrection;
wherein,
d. e, f, g and m are constants; abs is a mathematical formula for solving absolute values;
expressed as Math.pow (Math.abs (rssi) d)% pairAnd (6) remainder calculation.
Wherein the step of determining the position of the Bluetooth bracelet according to the identification information of the wireless transmission locator closest to the Bluetooth bracelet comprises: acquiring the position information of the wireless transmission locator closest to the Bluetooth bracelet from the map information of the preset area or a configured corresponding relation table between the identification information of the wireless transmission locator and a specific position according to the identification information of the wireless transmission locator closest to the Bluetooth bracelet; wherein the map information marks position information of the wireless transmission locator.
When the server acquires the position information of the wireless transmission locator closest to the bluetooth bracelet from a corresponding relation table of the configured identification number and a specific position of the wireless transmission locator, the server can find out the position of wrist ID (Master ID) or xxx (Zhang three) at a certain moment according to a corresponding list of a previous database; so that the position of the patient can be determined from the wirelessly transmitted locator position information.
In the embodiment of the invention, a low-power-consumption bluetooth bracelet is worn for a hospital patient, particularly a hospitalized patient, the bracelet is used for sending a bluetooth signal broadcast to the outside, and a wireless transmission locator arranged in a preset area (such as a hospital) receives a bluetooth signal of the bracelet, wherein the bluetooth signal carries identification information of the bracelet; when the server receives the wireless signal that the wireless transmission locator sent, can follow this wireless signal and acquire the identification information of this bracelet, and can further according to the identification information of bracelet and the wireless transmission locator is in positional information in the predetermined area confirms the position of bluetooth bracelet, and then confirm patient's position, when the doctor wants to look over patient positional information through terminal equipment, through looking over the positional information of this bluetooth bracelet, can learn this patient's positional information, thereby make things convenient for the doctor to look over patient's positional information.
As shown in fig. 3, embodiments of the present invention also provide a method of viewing a patient's position, comprising:
step 31, the terminal sends a request for checking the position information of the patient to a server of the mobile medical system;
step 32, the terminal receives the position information of the bluetooth bracelet returned by the server, wherein the position information of the bluetooth bracelet is determined by the server according to the prestored corresponding relation between the terminal identifier of the terminal and the bluetooth bracelet and the identifier of the terminal; wherein, bluetooth bracelet and patient information one-to-one.
In the embodiment of the invention, when a doctor wants to check the position information of the patient through the terminal equipment, the doctor can know the position information of the patient by checking the position information of the Bluetooth bracelet, so that the family members of the patient or the doctor can conveniently check the position information of the patient.
In the above embodiment of the present invention, the correspondence between the terminal identifier and the bluetooth bracelet is generated by combining the information of the patient, the identifier information of the bluetooth bracelet worn by the patient, and the terminal identifier information of the doctor designated for the patient; wherein, a terminal can correspond a plurality of bluetooth bracelets.
In a specific embodiment of the present invention, the step of sending, by the terminal, the correspondence between the terminal identifier of the terminal and the bluetooth bracelet to the server includes: and the terminal sends the corresponding relation between the terminal identification of the terminal and the Bluetooth bracelet to the server through the network.
The embodiment of the invention also provides a device for checking the position of a patient, which is applied to a server and comprises:
the receiving module is used for receiving a request for checking the position information of the patient sent by the terminal;
the processing module is used for determining the position information of the Bluetooth bracelet according to a pre-stored corresponding relation table of the terminal identification and the Bluetooth bracelet and the identification information of the terminal and sending the position information to the terminal; wherein, bluetooth bracelet and patient information one-to-one.
It should be noted that all the implementations of the method of the embodiment shown in fig. 1 are applicable to the embodiment of the apparatus, and the same technical effects can be achieved.
An embodiment of the present invention further provides a server including the apparatus as described above.
Embodiments of the present invention also provide an apparatus for viewing a patient's position, comprising:
the sending module is used for sending a request for checking the position information of the patient to a server of the mobile medical system;
the receiving module is used for receiving position information of the Bluetooth bracelet returned by the server, and the position information of the Bluetooth bracelet is determined by the server according to the prestored corresponding relation between the terminal identifier of the terminal and the Bluetooth bracelet and the identifier of the terminal; wherein, bluetooth bracelet and patient information one-to-one.
All the implementations described above in the method embodiment shown in fig. 3 are applicable to this apparatus embodiment, and the same technical effects can be achieved.
An embodiment of the present invention further provides a terminal, including: a device for viewing the position of a patient as described above.
In the above embodiment of the present invention, a low power consumption bluetooth bracelet is also worn for a hospital patient, especially a hospitalized patient, the bracelet is used for sending a bluetooth signal broadcast to the outside, and a wireless transmission locator arranged in a preset area (such as a hospital) receives a bluetooth signal of the bracelet, where the bluetooth signal carries identification information of the bracelet; when the server receives the wireless signal sent by the wireless transmission locator, the identification information of the bracelet can be acquired from the wireless signal, and the position of the Bluetooth bracelet can be determined according to the identification information of the bracelet and the position information of the wireless transmission locator in the preset area, so that the position of a patient can be determined. And can further according to the identification information of bracelet and the wireless transmission locator is in positional information in the predetermined area confirms the position of bluetooth bracelet, and then confirm patient's position, when the doctor wants to look over patient positional information through terminal equipment, through looking over the positional information of this bluetooth bracelet, can learn this patient's positional information to make things convenient for the doctor to look over patient's positional information.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.