Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method, device, terminal and the server of checking patient position, conveniently can be checked the positional information of patient, thus understand the situation of patient by mobile terminal.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of method of checking patient position, are applied to server, comprise:
The request of patient position information is checked in one of receiving terminal transmission;
According to the identification information of this terminal and the binding relationship table of the terminal iidentification prestored and bluetooth bracelet, determine the positional information of bluetooth bracelet, and send to described terminal; Wherein, described bluetooth bracelet and patient information one_to_one corresponding.
Wherein, one of receiving terminal transmission check that the step of the request of patient position information comprises:
By the request checking patient position information that terminal described in network reception sends.
Wherein, according to the identification information of this terminal and the binding relationship table of the terminal iidentification prestored and bluetooth bracelet, determine that the step of the positional information of bluetooth bracelet comprises:
According to the identification information of described terminal, from the binding relationship table of terminal iidentification and bluetooth bracelet, find the identification information of bluetooth bracelet corresponding to this terminal, and the position of identification information determination bluetooth bracelet according to described bluetooth bracelet.
Wherein, determine that the step process of the position of bluetooth bracelet comprises:
Receive the wireless signal of the wireless transmission locator transmission being located at fixed position in a predeterminable area; Described wireless signal carries the identification information of the bluetooth bracelet communicated in Bluetooth broadcast mode with described wireless transmission locator;
According to identification information and the positional information of described wireless transmission locator in described predeterminable area of described bluetooth bracelet, determine the position of described bluetooth bracelet.
Wherein, the step receiving the wireless signal of the wireless transmission locator transmission being located at fixed position in a predeterminable area comprises:
Receive in predeterminable area the wireless signal of the multiple wireless transmission locators transmissions being located at fixed position; The wireless signal that each wireless transmission locator sends carries the identification information of at least one bluetooth bracelet, and at least one bluetooth bracelet communicates in Bluetooth broadcast mode with described wireless transmission locator.
Wherein, if receive the wireless signal carrying the identification information of identical bluetooth bracelet that multiple wireless transmission locator sends, then according to identification information and the positional information of described wireless transmission locator in described predeterminable area of described bluetooth bracelet, determine that the step of the position of described bluetooth bracelet comprises:
According to the identification information of described bluetooth bracelet, determine in the multiple wireless transmission locators communicated in Bluetooth broadcast mode with this bluetooth bracelet, the wireless transmission locator nearest apart from described bluetooth bracelet;
Obtain the identification information of the wireless transmission locator nearest apart from described bluetooth bracelet;
The position of described bluetooth bracelet is determined according to the identification information of the described wireless transmission locator nearest apart from described bluetooth bracelet.
Wherein, determine that in the multiple wireless transmission locators communicated in Bluetooth broadcast mode with this bluetooth bracelet, the step of the wireless transmission locator nearest apart from described bluetooth bracelet comprises:
By following formula: Distance=(c+b × Math.pow (ratio, a)) × ressiCorrection, determines and the distance of multiple wireless transmission locators respectively and between bluetooth bracelet that this bluetooth bracelet communicates in Bluetooth broadcast mode;
Choose a minimum wireless transmission locator of wherein distance value as the wireless transmission locator nearest apart from described bluetooth bracelet;
Wherein, a, b, c are constant; Distance represents the distance between bluetooth bracelet and wireless transmission locator, ratio represent wireless transmission locator receive current Bluetooth bracelet Bluetooth signal intensity level and apart from the bluetooth bracelet of this bluetooth bracelet one predeterminable range signal strength values between ratio, rssiCorrection represents a median, and Math.pow is the mathematical formulae of exponentiation.
Wherein, if ratio≤1, then Distance=Math.pow (ratio, m) × rssiCorrection;
Wherein,
D, e, f, g and m are constant; Math.abs is the mathematical formulae asking absolute value;
represent Math.pow (Math.abs (rssi) d) % couple
complementation.
Wherein, determine that the step of the position of described bluetooth bracelet comprises according to the identification information of the described wireless transmission locator nearest apart from described bluetooth bracelet:
According to the identification information of the described wireless transmission locator nearest apart from described bluetooth bracelet, from the cartographic information of described predeterminable area or from the identification information of wireless transmission locator configured and the mapping table of particular location, obtain the positional information of the described wireless transmission locator nearest apart from described bluetooth bracelet; Wherein, described cartographic information marked the positional information of described wireless transmission locator.
Embodiments of the invention also provide a kind of method of checking patient position, comprising:
Terminal sends to the server of Mobile medical system the request that checks patient position information;
The positional information of the bluetooth bracelet that terminal reception server returns, the described server of the positional information of described bluetooth bracelet is determined according to the terminal iidentification of this terminal prestored and the binding relationship of bluetooth bracelet and the mark of this terminal; Wherein, described bluetooth bracelet and patient information one_to_one corresponding.
Wherein, to the server transmission one of Mobile medical system, terminal checks that the rapid of the request of patient position information also comprises before:
Terminal is bound by bluetooth approach and bluetooth bracelet, produces the terminal iidentification of this terminal and the binding relationship of bluetooth bracelet;
The binding relationship of the terminal iidentification of this terminal and bluetooth bracelet is sent to described server by terminal, server is made to form the binding relationship list of terminal iidentification and bluetooth bracelet at the binding relationship of the bluetooth bracelet of this terminal and its binding of receiving the transmission of multiple terminal, wherein, a terminal can bind multiple bluetooth bracelet, and a bluetooth bracelet can bind multiple terminal.
Wherein, the step that the binding relationship of the terminal iidentification of this terminal and bluetooth bracelet is sent to described server comprises by terminal:
The binding relationship of the terminal iidentification of described terminal and bluetooth bracelet is sent to described server by network by terminal.
Embodiments of the invention also provide a kind of device checking patient position, are applied to server, comprise:
Receiver module, checks the request of patient position information for one of receiving terminal transmission;
Processing module, for according to the terminal iidentification that prestores and the binding relationship table of bluetooth bracelet and the identification information of this terminal, determines the positional information of bluetooth bracelet, and sends to described terminal; Wherein, described bluetooth bracelet and patient information one_to_one corresponding.
Embodiments of the invention also provide a kind of server, comprise device as above.
Embodiments of the invention also provide a kind of device checking patient position, comprising:
Sending module, for sending to the server of Mobile medical system the request that checks patient position information;
Receiver module, for the positional information of the bluetooth bracelet that reception server returns, the described server of the positional information of described bluetooth bracelet is determined according to the terminal iidentification of this terminal prestored and the binding relationship of bluetooth bracelet and the mark of this terminal; Wherein, described bluetooth bracelet and patient information one_to_one corresponding.
Embodiments of the invention also provide a kind of terminal, comprising: the device checking patient position as above.
The beneficial effect of technique scheme of the present invention is as follows:
In such scheme, by wearing low-power consumption bluetooth bracelet for patient in hospital especially inpatient, and the terminal equipment (as mobile phone) of this bluetooth bracelet and the related people of patient (as family numbers of patients or doctor) is bound, when family numbers of patients or doctor want to check patient position information by terminal equipment time, by obtaining the positional information of this bluetooth bracelet, namely can learn the positional information of this patient, thus facilitate family numbers of patients or doctor to check the positional information of patient.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The problem that the positional information of the information system management and patient that the present invention is directed to the patient information in the such regional extent of existing hospital cannot be checked, provides a kind of method of checking patient position, is applied to server, comprises:
Step 11, the request of patient position information is checked in one of receiving terminal transmission;
Step 12, according to the identification information of this terminal and the binding relationship table of the terminal iidentification prestored and bluetooth bracelet, determines the positional information of bluetooth bracelet, and sends to described terminal; Wherein, described bluetooth bracelet and patient information one_to_one corresponding.
Embodiments of the invention are by wearing low-power consumption bluetooth bracelet for patient in hospital especially inpatient, and the terminal equipment (as mobile phone) of this bluetooth bracelet and the related people of patient (as family numbers of patients or doctor) is bound, when family numbers of patients or doctor want to check patient position information by terminal equipment time, by determining the positional information of this bluetooth bracelet, namely can learn the positional information of this patient, thus facilitate family numbers of patients or doctor to check the positional information of patient.
As shown in Figure 2, for system architecture schematic diagram of the present invention, in a specific embodiment of the present invention, one of server receiving terminal transmission checks that the step of the request of patient position information comprises: the request checking patient position information sent by terminal described in network reception.
In a specific embodiment of the present invention, according to the identification information of this terminal and the binding relationship table of the terminal iidentification prestored and bluetooth bracelet, determine that the step of the positional information of bluetooth bracelet comprises: according to the identification information of described terminal, from the binding relationship table of terminal iidentification and bluetooth bracelet, find the identification information of bluetooth bracelet corresponding to this terminal, and the position of identification information determination bluetooth bracelet according to described bluetooth bracelet.Wherein, the identification information of this terminal can be the model (model that when namely binding with bracelet, bluetooth module identifies) of terminal, also can be the cell-phone number of terminal, also can be the MAC of terminal, for server, after the request receiving terminal, the identification information of this terminal can be obtained.
Again as shown in Figure 2, determine that the process of the position of bluetooth bracelet comprises:
Step 21, receives the wireless signal of the wireless transmission locator transmission being located at fixed position in a predeterminable area; Described wireless signal carries the identification information of the bluetooth bracelet communicated in Bluetooth broadcast mode with described wireless transmission locator;
Step 22, according to identification information and the positional information of described wireless transmission locator in described predeterminable area of described bluetooth bracelet, determines the position of described bluetooth bracelet.
This embodiment of the present invention, by wearing low-power consumption bluetooth bracelet for patient in hospital especially inpatient, this bracelet is used for externally sending Bluetooth signal broadcast, and to be arranged in predeterminable area (as certain region of hospital or hospital, as certain section office) wireless transmission locator receive the Bluetooth signal of this bracelet, this Bluetooth signal carries the identification information of this bracelet, and this identification information can be the MAC Address of bracelet, also can be a string this bracelet of character unique identification; When server receives the wireless signal of wireless transmission locator transmission, the identification information of this bracelet can be obtained from this wireless signal, and can further according to identification information and the positional information of described wireless transmission locator in described predeterminable area of bracelet, determine the position of described bluetooth bracelet, and then determine the position of patient.
Preferably, in a specific embodiment of the present invention, in a predeterminable area of hospital, multiple wireless transmission locator can be set, and each wireless transmission locator can receive the Bluetooth signal of multiple bracelet, in above-mentioned steps 21, the step receiving the wireless signal of the wireless transmission locator transmission being located at fixed position in a predeterminable area comprises:
Receive in predeterminable area the wireless signal of the multiple wireless transmission locators transmissions being located at fixed position; The wireless signal that each wireless transmission locator sends carries the identification information of at least one bluetooth bracelet, and at least one bluetooth bracelet communicates in Bluetooth broadcast mode with described wireless transmission locator.
In the above-described embodiments, if server receives the wireless signal carrying the identification information of identical bluetooth bracelet that multiple wireless transmission locator sends, then in step 22, according to identification information and the positional information of described wireless transmission locator in described predeterminable area of described bluetooth bracelet, determine that the step of the position of described bluetooth bracelet comprises:
Step 221, according to the identification information of described bluetooth bracelet, determines in the multiple wireless transmission locators communicated in Bluetooth broadcast mode with this bluetooth bracelet, the wireless transmission locator nearest apart from described bluetooth bracelet;
Step 222, obtains the identification information of the wireless transmission locator nearest apart from described bluetooth bracelet;
Step 223, is defined as the position of described bluetooth bracelet according to the identification information of the described wireless transmission locator nearest apart from described bluetooth bracelet.
In embodiments of the invention, bracelet, as low-power consumption bluetooth equipment, is worn on the wrist place of inpatient.Each bracelet all has oneself unique MAC Address, conveniently input, numbering measure as follows can be taked: four bytes after MAC Address are carried out hexadecimal and transfers the decimal system to bracelet, represent to facilitate personnel, MAC Address as bracelet is: 0xD03972A04339, and namely 4339 to transfer the decimal system to be 17209.Then 17209 as the unique ID of bracelet, is Wrist_ID, i.e. the identification information of bluetooth bracelet.
And wireless transmission locator is as low-power consumption bluetooth equipment, built-in wifi module, has oneself unique MAC Address equally, and four bytes after MAC Address are carried out hexadecimal transfers the decimal system to, as the unique ID of wireless transmission locator; And this wireless transmission locator and bluetooth bracelet communicate with bluetooth approach, wireless transmission locator can be communicated by the wireless module (as wifi module) that wireless transmission locator is built-in with the server of Mobile medical system.
During patient's Admission formality, medical personnel can carry out bracelet Wrist_ID and name is configured, as: bracelet wrist_ID17209=Zhang San=xxx section.And configured on the server of Mobile medical system No. ID of wireless transmission locator with the corresponding relation of particular location, as Master_ID=xxx room; After inpatient wears bracelet, every 200 milliseconds of bracelet sends a Bluetooth signal broadcast outward.Wireless transmission locator, when receiving the broadcast packet that Bluetooth signal is beamed back, carries the ID of self, issues server in real time by wifi module.
In the above embodiment of the present invention, determine that in the multiple wireless transmission locators communicated in Bluetooth broadcast mode with this bluetooth bracelet, the step of the wireless transmission locator nearest apart from described bluetooth bracelet comprises:
By following formula: Distance=(c+b × Math.pow (ratio, a)) × ressiCorrection, determine and this bluetooth bracelet with the distance of multiple wireless transmission locators respectively and between bluetooth bracelet of Bluetooth-mode communication;
Choose a minimum wireless transmission locator of wherein distance value as the wireless transmission locator nearest apart from described bluetooth bracelet;
Wherein, a, b, c are constant; Distance represents the distance between bluetooth bracelet and wireless transmission locator, ratio represent wireless transmission locator receive current Bluetooth bracelet Bluetooth signal intensity level and apart from the bluetooth bracelet of this bluetooth bracelet one predeterminable range signal strength values between ratio, rssiCorrection represents a median, and Math.pow is the mathematical formulae of exponentiation.
Wherein, if ratio≤1, then Distance=Math.pow (ratio, m) × rssiCorrection;
Wherein,
D, e, f, g and m are constant; Math.abs is the mathematical formulae asking absolute value;
represent Math.pow (Math.abs (rssi) d) % couple
complementation.
Wherein, identification information according to the described wireless transmission locator nearest apart from described bluetooth bracelet determines that the step of the position of described bluetooth bracelet comprises: according to the identification information of the described wireless transmission locator nearest apart from described bluetooth bracelet, from the cartographic information of described predeterminable area or from the identification information of wireless transmission locator configured and the mapping table of particular location, obtain the positional information of the described wireless transmission locator nearest apart from described bluetooth bracelet; Wherein, described cartographic information marked the positional information of described wireless transmission locator.
Server is from the identification number of wireless transmission locator configured and the mapping table of particular location, when obtaining the positional information of the described wireless transmission locator nearest apart from described bluetooth bracelet, a certain moment wrist ID=Master ID=xxx position=Zhang San can be found according to database corresponding lists before; Thus the position of patient can be determined according to the positional information of wireless transmission locator.
The above embodiment of the present invention, by wearing low-power consumption bluetooth bracelet for patient in hospital especially inpatient, this bracelet is used for externally sending Bluetooth signal broadcast, and the wireless transmission locator being arranged at (as hospital) in predeterminable area receives the Bluetooth signal of this bracelet, this Bluetooth signal carries the identification information of this bracelet, when server receives the wireless signal of wireless transmission locator transmission, the identification information of this bracelet can be obtained from this wireless signal, and can further according to identification information and the positional information of described wireless transmission locator in described predeterminable area of bracelet, determine the position of described bluetooth bracelet, and then determine the position of patient, and further the terminal equipment (as mobile phone) of this bluetooth bracelet and the related people of patient (as family numbers of patients or doctor) is bound, when family numbers of patients or doctor want to check patient position information by terminal equipment time, by checking the positional information of this bluetooth bracelet, namely the positional information of this patient can be learnt, thus facilitate family numbers of patients or doctor to check the positional information of patient.
As shown in Figure 3, embodiments of the invention also provide a kind of method of checking patient position, comprising:
Step 31, terminal sends to the server of Mobile medical system the request that checks patient position information;
Step 32, the positional information of the bluetooth bracelet that terminal reception server returns, the described server of the positional information of described bluetooth bracelet is determined according to the terminal iidentification of this terminal prestored and the binding relationship of bluetooth bracelet and the mark of this terminal; Wherein, described bluetooth bracelet and patient information one_to_one corresponding.
This embodiment of the present invention is by binding the terminal equipment (as mobile phone) of this bluetooth bracelet and the related people of patient (as family numbers of patients or doctor), when family numbers of patients or doctor want to check patient position information by terminal equipment time, by checking the positional information of this bluetooth bracelet, namely can learn the positional information of this patient, thus facilitate family numbers of patients or doctor to check the positional information of patient.
In a specific embodiment of the present invention, to the server transmission one of Mobile medical system, terminal checks that the rapid of the request of patient position information also comprises before:
Step 30, terminal is bound by bluetooth approach and bluetooth bracelet, produces the terminal iidentification of this terminal and the binding relationship of bluetooth bracelet; The binding relationship of the terminal iidentification of this terminal and bluetooth bracelet is sent to described server by terminal, server is made to form the binding relationship list of terminal iidentification and bluetooth bracelet at the binding relationship of the bluetooth bracelet of this terminal and its binding of receiving the transmission of multiple terminal, wherein, a terminal can bind multiple bluetooth bracelet, and a bluetooth bracelet can bind multiple terminal.
In a specific embodiment of the present invention, the step that the binding relationship of the terminal iidentification of this terminal and bluetooth bracelet is sent to described server comprises by terminal: the binding relationship of the terminal iidentification of described terminal and bluetooth bracelet is sent to described server by network by terminal.
Embodiments of the invention also provide a kind of device checking patient position, are applied to server, comprise:
Receiver module, checks the request of patient position information for one of receiving terminal transmission;
Processing module, for according to the terminal iidentification that prestores and the binding relationship table of bluetooth bracelet and the identification information of this terminal, determines the positional information of bluetooth bracelet, and sends to described terminal; Wherein, described bluetooth bracelet and patient information one_to_one corresponding.
It should be noted that, all implementations of above-mentioned method embodiment illustrated in fig. 1 are all applicable in the embodiment of this device, also can reach identical technique effect.
Embodiments of the invention also provide a kind of server, comprise device as above.
Embodiments of the invention also provide a kind of device checking patient position, comprising:
Sending module, for sending to the server of Mobile medical system the request that checks patient position information;
Receiver module, for the positional information of the bluetooth bracelet that reception server returns, the described server of the positional information of described bluetooth bracelet is determined according to the terminal iidentification of this terminal prestored and the binding relationship of bluetooth bracelet and the mark of this terminal; Wherein, described bluetooth bracelet and patient information one_to_one corresponding.
All implementations in embodiment of the method shown in above-mentioned Fig. 3 are all applicable in the embodiment of this device, also can reach identical technique effect.
Embodiments of the invention also provide a kind of terminal, comprising: the device checking patient position as above.
The above embodiment of the present invention, same by wearing low-power consumption bluetooth bracelet for patient in hospital especially inpatient, this bracelet is used for externally sending Bluetooth signal broadcast, and the wireless transmission locator being arranged at (as hospital) in predeterminable area receives the Bluetooth signal of this bracelet, this Bluetooth signal carries the identification information of this bracelet; When server receives the wireless signal of wireless transmission locator transmission, the identification information of this bracelet can be obtained from this wireless signal, and can further according to identification information and the positional information of described wireless transmission locator in described predeterminable area of bracelet, determine the position of described bluetooth bracelet, and then determine the position of patient.And can further according to identification information and the positional information of described wireless transmission locator in described predeterminable area of bracelet, determine the position of described bluetooth bracelet, and then determine the position of patient, and further the terminal equipment (as mobile phone) of this bluetooth bracelet and the related people of patient (as family numbers of patients or doctor) is bound, when family numbers of patients or doctor want to check patient position information by terminal equipment time, by checking the positional information of this bluetooth bracelet, namely the positional information of this patient can be learnt, thus facilitate family numbers of patients or doctor to check the positional information of patient.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.