Background technology
In recent years, in order to improve the efficiency of medical services, the portable medical based on Internet technology obtains fast development.
For example, the work such as user can be registered by smart mobile phone, apparatus such as computer, be preengage, telereference, case data query
It is dynamic.The case where needing medical staff to provide medical services for patient scene chronic disease management, rehabilitation nursing etc., in existing skill
O2O service models are similar in art, however, due to the movable particularity of medical services, for the authenticity verification of medical services
It is required that very high.There are two big defects for the process of the user of existing identification offer service:1, identification process flexibility is very low, often
It is that server is judged by user data, it is low for premeditated fraudulent activities discrimination.2, authenticity verification process is complicated, flexibly
It spends low.
In addition, NFC technique is the enhancing technology being in communication with each other based on radio frequency identification (RFID) technology.In addition to being used for transmission
Outside the streaming media service of multimedia or file, NFC technique can be used for payment services, licensed service and the service for checking credentials.
The addresses IPv6 include effective 64 prefix addresses of highest and the interface identifier (IID) corresponding to 64 regions.
IID can be the device identification (ID) for identifying in the home network.The addresses IPv6 can be provided for the high by 64 of network identity
Position prefix, and form 128 in total globally unique addresses.In the case where being communicated using NFC technique, correspond to NFC
6 bit nodes of link layer address are the addresses obtained by logically and provisionally generating physical address.Therefore, whenever tasting
When trying the connection between identical equipment, different IID will be generated according to different node IDs.Therefore, no matter when the company of execution
It connects, can all be communicated using the different addresses IPv6.
Foregoing work mode for based on NFC need to carry out data transmission by multiple-contact or meeting when the service for checking credentials
Encounter problems with:When leading to no IP connections due to external disturbance or Network Abnormal, two communication terminals need from the beginning to open
Beginning re-executes data transmission.The time that the service for checking credentials can be increased in this way, cause user experience bad.More seriously, if outside
Portion interferes or Network Abnormal is by caused by hacker attack, in the data transmission rule of internet of things equipment especially encrypted
In the case of, there is the security risk obtained completely by third party in the data transmitted again.Therefore, it is needing through multiple-contact
When mode carries out the service for checking credentials, the continuity for keeping IP connections is needed.
Invention content
For the deficiency of the prior art, the present invention provides a kind of medical services authenticity verification side based on Internet of Things
Method comprising:Medical applications server is respectively to sufferer user, the first internet of things equipment associated with sufferer user, medical care
Personnel and the second internet of things equipment associated with medical staff are registered,
After the service request for receiving sufferer user, the medical applications server detects first Internet of Things respectively
The geographical location and working condition of equipment and second internet of things equipment, then to first internet of things equipment and described
Two internet of things equipment are authorized, to confirm the service request of sufferer user;
After medical staff reaches sufferer user location, the second internet of things equipment is detected by sufferer user communication device,
And via medical staff's communication equipment detect the first internet of things equipment, the medical applications server come according to testing result into
Row safety verification and service activity mandate.
According to a preferred embodiment, the medical applications server in response to the relevant registration of sufferer user's registration
The identification information and communication equipment of instruction retrieval sufferer user simultaneously register sufferer user, and the medical applications service
Device is detected and is registered and relevant first internet of things equipment of sufferer user;Storage server believes the mark of the sufferer user
Breath, sufferer user communication device information and the first internet of things equipment information carry out classification storage;Medical applications server in response to
The identification information and communication equipment information and to medical staff that relevant register instruction retrieves healthcare givers are registered with medical staff
It is registered, and the medical applications server is detected and registered and relevant second internet of things equipment of medical staff;Storage
Server divides the identification information of the medical staff, medical staff's communication equipment information and the second internet of things equipment information
Class stores.
According to a preferred embodiment, after the service request for receiving sufferer user, the medical applications server
The first internet of things equipment relevant with the sufferer user and within the scope of the sufferer user communication device is detected, and
And the first internet of things equipment of selection carries out authentication vs. authorization;The medical applications server is based on testing the first internet of things equipment
Card and Authorization result confirm the service request of the sufferer user.
According to a preferred embodiment, this method further includes:The medical applications server is used in response to the sufferer
The service request detection at family is located at the second internet of things equipment within the scope of medical staff's communication equipment, and the second Internet of Things is selected to set
It is standby to carry out authentication vs. authorization.
According to a preferred embodiment, the sufferer user communication device is sent out in response to the medical applications server
The second internet of things equipment of command detection and the first obtained detection data is sent to the medical applications server;The doctor
The first internet of things equipment of command detection that shield people communication's equipment is sent out in response to the medical applications server will simultaneously obtain
Second detection data is sent to the medical applications server;The medical applications server examines the first detection data, second
Measured data is carried out with the first internet of things equipment information stored in the storage server and the second internet of things equipment information respectively
It compares, to carry out safety verification;After safety verification passes through, medical applications server authorizes the service activity.
The sufferer user communication device and medical staff's communication equipment include for detecting internet of things equipment
Detection device, the detection device include GPS sensor, barcode reader, RFID reader, temperature sensor and infrared biography
Sensor.
According to a preferred embodiment, first internet of things equipment and second internet of things equipment include NFC
Adaptation layer and link layer, the link layer include NFC map units, are reflected by adaptation layer request link node layer ID, the NFC
The request that unit is sent in response to adaptation layer is penetrated, by link layer node ID back to adaptation layer to keep the continuity of IP connections.
According to a preferred embodiment, checks IP connections by the adaptation layer and inspection result is sent to NFC and reflect
Penetrate unit;
When asking IP connections, NFC map units return to the link layer node ID of storage in the caches described
Adaptation layer.
When link layer node ID is not present in cache, NFC map units generate new link layer node ID and will
It is stored in the cache, and newly-generated link layer node ID is returned to the adaptation layer.
The invention has the advantages that:
The present invention is in registration process respectively to sufferer user, the first internet of things equipment, medical staff and the second Internet of Things
Equipment has carried out registration and information classification storage.After the service request for receiving sufferer user, medical applications server can
Service request is carried out according to the geographical location of the first internet of things equipment and the second internet of things equipment detected and working condition
Confirm.After medical staff reaches sufferer user location, the second internet of things equipment is detected by sufferer user communication device, and
The first internet of things equipment is detected via medical staff's communication equipment, the medical applications server is pacified according to testing result
Full verification and service activity mandate, to flexibly effectively demonstrate the authenticity of portable medical service.In addition, the present invention is applicable in
In the service for checking credentials for carrying out multiple-contact formula by internet of things equipment, the continuity of IP connections can be effectively kept, raising is tested
Demonstrate,prove efficiency and the safety of service.
Specific implementation mode
In order to make the objectives, technical solutions and advantages of the present invention clearer, With reference to embodiment and join
According to attached drawing, the present invention is described in more detail.It should be understood that these descriptions are merely illustrative, and it is not intended to limit this hair
Bright range.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid this is unnecessarily obscured
The concept of invention.
It should be noted that safety and the authenticity of the signified medical services of the present invention, refer to by necks such as Internet of Things
The technological means in domain improves the authenticity of medical services, to prevent the fraudulent activities etc. of medical staff user, sufferer user.
Fig. 2 schematically illustrates the system structure diagram for executing the method for the present invention, which includes medical applications clothes
Business device, storage server, sufferer user communication device, the first internet of things equipment, medical staff's communication equipment, the second Internet of Things are set
It is standby that (navigation module is not shown in figure, and since existing navigation application can be used in navigation module, this system can pass through with navigation module
Network directly invokes the relevant interface of navigation application).It should be noted that sufferer user communication device, the first internet of things equipment,
Medical staff's communication equipment and the second internet of things equipment are usually multiple, and list is exemplarily only expressed in order to indicate convenient in figure
A situation.
Sufferer user communication device connects medical applications server via communication network respectively with medical staff's communication equipment,
Aforementioned communications network includes LAN (LAN), wide area network (WAN), internet, wireless network etc..Aforementioned communication equipment include but
It is not limited to:Smart mobile phone, Intelligent flat computer and the intelligent wearable device etc. with communication function.Sufferer user communication device
With include sensor/detection device in medical staff's communication equipment, specifically include barcode reader, RFID reader,
Temperature sensor, infrared sensor, video frequency searching device etc..
First internet of things equipment refers to and the relevant internet of things equipment of sufferer user;Second internet of things equipment refers to and medical care
The relevant internet of things equipment of personnel.Aforementioned internet of things equipment includes smart phone, intelligent wearable device, contains IOT devices
Clothes etc., in addition, further including that can detect bar code, RFID tag etc. by sensor/detection device in communication equipment.
As shown in Figure 1, the medical services authenticity verification methods based on Internet of Things of the present invention include the following steps:
S1:Medical applications server is respectively to sufferer user, the first internet of things equipment associated with sufferer user, medical care
Personnel and the second internet of things equipment associated with medical staff are registered.Specifically, which includes:
S1.1:Medical applications server is in response to the mark with the relevant register instruction retrieval sufferer user of sufferer user's registration
Know information and communication equipment and sufferer user is registered.
S1.2:Medical applications server is detected and is registered with relevant first internet of things equipment of sufferer user and to the first object
Networked devices are registered.
S1.3:Storage server is to the identification information of sufferer user, sufferer user communication device information and the first Internet of Things
Facility information carries out classification storage.
S1.4:Medical applications server with medical staff in response to registering the mark that relevant register instruction retrieves healthcare givers
Know information and communication equipment information and medical staff is registered.
S1.5:Medical applications server is detected and is registered and relevant second internet of things equipment of medical staff.
S1.6:Identification information, medical staff communication equipment information and second Internet of Things of the storage server to medical staff
Facility information carries out classification storage.
S2:After the service request for receiving sufferer user, medical applications server initializes service request.Tool
Body, which includes:
S2.1:After receiving the service request that sufferer user is sent by sufferer user communication device, medical applications clothes
Business device detects the first internet of things equipment relevant with sufferer user and within the scope of sufferer user communication device.In addition,
Optionally, the detection of medical applications server is located at the second internet of things equipment within the scope of medical staff's communication equipment.
S2.2:Medical applications server randomly or alternatively selects the first Internet of Things according to the detection case of step S2.1
Equipment carries out authentication vs. authorization.Optionally, medical applications server selects the second Internet of Things also according to the detection case of step S2.1
Net equipment carries out authentication vs. authorization.
S2.3:The authentication vs. authorization result that medical applications server is obtained according to step S2.2 asks the service of sufferer user
It asks and is confirmed, and will confirm that result is sent to sufferer user communication device.
S3:After medical staff reaches sufferer user location, the second Internet of Things is detected by sufferer user communication device and is set
It is standby, and via medical staff's communication equipment detect the first internet of things equipment, medical applications server come according to testing result into
Row safety verification and service activity mandate.Specifically, include the following steps:
S3.1:Sufferer user communication device generates the first verification password in response to the instruction that medical applications server is sent out,
Medical staff's communication equipment generates the second verification password in response to the instruction that medical applications server is sent out.
S3.2:After medical staff reaches sufferer user location, medical applications server is sent out to sufferer user communication device
The second verification password is sent, and the first verification password is sent to medical staff's communication equipment, sufferer user and medical staff judge
Whether the first verification password matches with the second verification password.
S3.3:The second internet of things equipment of command detection that sufferer user communication device is sent out in response to medical applications server
And the first obtained detection data is sent to medical applications server;Medical staff's communication equipment is in response to medical applications service
The second obtained detection data is simultaneously sent to medical applications server by the first internet of things equipment of command detection that device is sent out.
S3.4:Medical applications server stores the first detection data, the second detection data with storage server respectively
The first internet of things equipment information and the second internet of things equipment information be compared, to carry out safety verification;In safety verification
By rear, medical applications server authorizes the service activity.
The present invention is in registration process respectively to sufferer user, the first internet of things equipment, medical staff and the second Internet of Things
Equipment has carried out registration and information classification storage.After the service request for receiving sufferer user, medical applications server can
Service request is carried out according to the geographical location of the first internet of things equipment and the second internet of things equipment detected and working condition
Confirm.After medical staff reaches sufferer user location, the second internet of things equipment is detected by sufferer user communication device, and
The first internet of things equipment is detected via medical staff's communication equipment, medical applications server is tested safely according to testing result
Card and service activity mandate, to flexibly effectively demonstrate the authenticity of portable medical service.
It should be noted that abovementioned steps are described from the angle of medical services authenticity verification, omit
Existing usual step in portable medical service, such as the task allocation step after service request is confirmed and medical treatment
Archiving step after service completion.
In order to make it easy to understand, being briefly described as follows to the step of aforementioned omission:
After the service request of sufferer user is identified, service request content of the medical applications server based on sufferer user
And the data stored in storage server is combined to carry out task distribution.Specifically, medical applications server extraction sufferer user clothes
Keyword in business request, it is compared with the medical staff's identification information and data stored in storage server, is obtained
First the selection result;Medical applications server obtains the working condition and geographical location number of medical staff in the first the selection result
According to, and combine the predetermined medical staff that service is provided of the geographical location choice of sufferer user's sum.In the medical staff in service
After appearance is received and confirmed, navigation data is sent to medical staff's communication equipment by medical applications server.
After medical staff completes medical services, medical applications server receives sufferer user and is set by sufferer user communication
Evaluation information that preparation is sent and be incorporated into when in the information classification storage to storage server of time medical services in order to carrying out
Medical service information achieves and medical staff's grading.
Preferably, as shown in figure 3, the protocol stack of the internet of things equipment in the present invention includes:Physical layer, link layer, NFC are suitable
With layer, network layer and application layer.Wherein, link layer includes NFC map units, passes through adaptation layer request link node layer ID, NFC
The request that map unit is sent in response to adaptation layer, by link layer node ID back to adaptation layer to keep the continuous of IP connections
Property.
NFC map units can be by the logic link layer address binding of NFC to adaptation layer.For example, NFC map units can be with
6 addresses bit node ID of the logical links layer address of the interface identifier (IID) for generating IPv6 are sent to adaptation layer.
NFC map units can also execute caching to logical links layer address, to keep the IP of the network connecting request of network layer to connect
Continuous property.
Specifically, IP connections are checked by adaptation layer and inspection result is sent to NFC map units.In request IP connections
When, the link layer node ID of storage in the caches is returned to adaptation layer by NFC map units.When being not present in cache
When link layer node ID, NFC map units generate new link layer node ID and store it in cache, and will be new
The link layer node ID of generation returns to adaptation layer.
In this way, internet of things equipment by NFC when being carried out data transmission with the service for checking credentials, it will be able to be matched with aforementioned authentication
Method is allowed user being carried out the service for checking credentials in a manner of multiple-contact, can effectively keep internet of things equipment IP connections
Continuity, improve efficiency and the safety of the service for checking credentials.
The above description is merely a specific embodiment, but simultaneously difference is limited to this to protection scope of the present invention, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.