CN105187536B - A kind of method and data transmitting server of data upload - Google Patents

A kind of method and data transmitting server of data upload Download PDF

Info

Publication number
CN105187536B
CN105187536B CN201510582396.XA CN201510582396A CN105187536B CN 105187536 B CN105187536 B CN 105187536B CN 201510582396 A CN201510582396 A CN 201510582396A CN 105187536 B CN105187536 B CN 105187536B
Authority
CN
China
Prior art keywords
data
hws
user
serial number
equipment serial
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
CN201510582396.XA
Other languages
Chinese (zh)
Other versions
CN105187536A (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.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201510582396.XA priority Critical patent/CN105187536B/en
Publication of CN105187536A publication Critical patent/CN105187536A/en
Application granted granted Critical
Publication of CN105187536B publication Critical patent/CN105187536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A kind of method and data transmitting server uploaded the invention discloses data, which comprises data transmitting server receives the human health measurement data packet that intelligent terminal is acquired and sent;The data transmitting server parses measured value, time of measuring and equipment Serial Number from the received human health measurement data packet of institute, generate data storage request, data storage request is submitted to network server HWS, the HWS is requested to be stored the measured value and time of measuring into database according to the equipment Serial Number;The data transmitting server receives the healthy result data that HWS is returned.The present invention realizes acquisition and the efficiency analysis of medical treatment & health data, establish a set of comparison safely, effectively, specification medical treatment & health cloud big data acquisition platform.

Description

A kind of method and data transmitting server of data upload
Technical field
The present invention relates to medical smart machine big data acquisition technique, method and data forwarding that espespecially a kind of data upload Server.
Background technique
The wearable device of medical treatment & health, as a high-tech product, possess high-precision data sampling and processing and Transmitting function.After wherein equipment is acquired data by sign data sensor, it will be obtained by the theory of medicine algorithm of profession Final result data.
Sign data sensor for example can be body temperature transducer, heat flux sensor, for monitoring heat consumption ability, It can be used for blood glucose auxiliary to calculate and metabolic capabilities reckoning;Weight gage probe, for calculating BMI index;Pulse wave Sensor calculates blood pressure, the data such as pulse frequency;Biopotential sensor can be used for electrocardio, brain electric data collecting, it is also possible to calculate Fat content etc.;Optical sensor calculates the oxygen content of blood, Hemodynamic environment.
Transmission at present the problem of being primarily present is that the network condition of transmission device is poor, flow expends, data package size and The factors such as equipment power supply cause certain adverse effect to data transmission.
Summary of the invention
A kind of method and data transmitting server uploaded in order to solve the above-mentioned technical problems, the present invention provides data, It can guarantee that data accurate stable reaches server, to form smart machine cloud big data acquisition platform.
In order to reach the object of the invention, the present invention provides a kind of methods that data upload, comprising:
Data transmitting server receives the human health measurement data packet that intelligent terminal is acquired and sent;
The data transmitting server parses measured value, time of measuring from the received human health measurement data packet of institute And equipment Serial Number, data storage request is generated, data storage request is submitted to network server HWS, requests the HWS root The measured value and time of measuring are stored into database according to the equipment Serial Number;
The data transmitting server receives the healthy result data that HWS is returned.
Further, the method also includes:
The data transmitting server is after receiving the human health measurement data packet that the intelligent terminal is sent, solution It is precipitated before measured value, time of measuring and equipment Serial Number, carries out data check, after verifying successfully, returned to the intelligent terminal It is multiple successfully to wrap.
Further, the method also includes:
The intelligent terminal does not receive the data transmitting server after sending the human health measurement data packet In the case where the successful packet of reply, after the acquisition for carrying out human health measurement data again, repetition sends the human body of previous transmission Health measurement data packet, the successful packet until receiving data transmitting server reply, also, first successfully wrapped receiving Afterwards, the not sent successful human health measurement data packet of history is checked for, if it is present being sent, Zhi Daoben Ground data are sent completely.
Further, the method also includes:
The HWS receives the bind request that the client of user bound is sent in advance, carries and wants in the bind request The equipment Serial Number of binding and the user identifier ID to be bound;
After the HWS receives bind request, the whether existing binding relationship of the equipment Serial Number to be bound described in judgement, If existing, release existing binding relationship, and in binding configuration table establish described in the equipment Serial Number to be bound with want The binding relationship of the User ID of binding;If it does not exist, then the equipment sequence to be bound described in being established directly in binding configuration table The binding relationship of row number and the User ID to be bound.
It is further, described to release existing binding relationship, comprising:
The HWS sends unbinding notice to login service device PES, carries equipment sequence in the unbinding notice The unbinding notice is sent to solution by the PES by row number, unbinding User ID, device type and releasing time Except the client of user bound.
It is further, described to release existing binding relationship, comprising:
The HWS sends unbinding notice to login service device PES;
The client of unbinding user pulls offline unbinding information after the user logs, from the PES, according to institute The equipment Serial Number stated in offline unbinding information releases corresponding apparatus bound;Also,
According to the equipment Serial Number in the offline unbinding information from the currently used use of the HWS query facility The User ID of the HWS currently used user returned is compared with local User ID, shows binding state by family.
Further, the HWS stores the measured value and time of measuring to database according to the equipment Serial Number In, comprising: corresponding User ID is searched in binding configuration table and caching according to the equipment Serial Number, carries out corresponding data Storage;
The HWS is before carrying out data storage, also using secret corresponding to the equipment Serial Number in data storage request Key key carries out data safety verifying, and after the completion of data storage, sends data update notification, the number to login service device According in update notification include User ID, more new data type and renewal time;The login service device is receiving data update After notice, by information preservation in the new data notification cache table into database, and to the corresponding client of the intelligent terminal Online or offline update is sent to wrap.
Further, the method also includes:
The corresponding client of the intelligent terminal is sent offline after the HWS carries out data storage to login service device It is slow to read off-line measurement notice after receiving the offline metrology data request for measurement data request, the login service device Table is deposited, off-line data packet is returned to the client, includes for the specified data class for pulling information in the off-line data packet Type and renewal time;
The HWS receives the client and is sent out according to the data type and renewal time that include in the off-line data packet The information exploitation request sent is obtained according to the data type and renewal time and to the client return information content.
Further, the method also includes:
Abnormal data in the statistics of database human health measurement data, by the data type of abnormal data, exception Time and sending time are saved in abnormal data push table, and the abnormal data notice to be sent in login service device acquisition etc. When, the abnormal data sent is returned to waiting for the login service device according to the abnormal data push table and is notified;
The notice for needing to measure in the given time is pushed to corresponding client by the login service device.
Further, a kind of data transmitting server, comprising: receiving unit, resolution unit and data cell, in which:
The receiving unit, the human health measurement data packet for acquiring and sending for receiving intelligent terminal, and receive The healthy result data that network server HWS is returned;
The resolution unit, for parsing measurement from the received human health measurement data packet of the receiving unit institute Value, time of measuring and equipment Serial Number;
The data cell, measured value, time of measuring and equipment Serial Number for being parsed according to the resolution unit Data storage request is generated, data storage request is submitted to HWS, requests the HWS will be described according to the equipment Serial Number Measured value and time of measuring storage are into database.
Compared with prior art, the present invention includes that data transmitting server receives that intelligent terminal acquire and the human body that sends is good for Kang Celiangshuojubao;Measured value, time of measuring and equipment Serial Number are parsed from the received human health measurement data packet of institute, Data storage request is generated, data storage request is submitted to network server HWS, request HWS will be surveyed according to equipment Serial Number Magnitude and time of measuring storage are into database;And receive the healthy result data of HWS return.The present invention realizes medical treatment & health The acquisition of data and efficiency analysis, establish a set of comparison safely, effectively, the acquisition of the medical treatment & health cloud big data of specification it is flat Platform.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart for the method that data of the invention upload;
Fig. 2 is the timing diagram for the method that data of the invention upload;
Fig. 3 is the timing diagram of progress apparatus bound in the method for data upload of the invention;
Fig. 4 is the timing diagram of offline unbinding information exploitation in the method for data upload of the invention;
Fig. 5 is the timing diagram of online propelling data in the method for data upload of the invention;
Fig. 6 is the timing diagram of offline propelling data in the method for data upload of the invention;
Fig. 7 is the timing diagram that offline metrology data pulls in the method for data upload of the invention;
Fig. 8 is the timing diagram of data exception triggering push in the method for data upload of the invention;
Fig. 9 is timing diagram unbinding in the method for data upload of the invention;
Figure 10 is the timing diagram of data modification in the method for data upload of the invention;
Figure 11 is the architecture diagram of forwarding server of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
As shown in Figure 1, the method that data of the invention upload, comprising:
Step 101: data transmitting server receives the human health measurement data packet that intelligent terminal is acquired and sent;
Intelligent terminal (GSM equipment) passes through TCP (Transmission Control Protocol, transmission control protocol) The upload of human health measurement data packet is carried out by each character (no carriage return).
When GSM equipment collects measurement data, measurement result is subjected to data transmission, data by one packet of each character When forwarding server has received 43 characters, the character string received is verified, when completing verification, it is true to reply GSM equipment Recognize packet, otherwise GSM equipment will repetitive cycling transmission.
Step 102: data transmitting server parses measured value, measurement from the received human health measurement data packet of institute Time and equipment Serial Number generate data storage request, data storage request are submitted to network server (HWS), request HWS Measured value and time of measuring are stored into database according to equipment Serial Number;
After data transmitting server receives 43 characters, designated position data in character string are parsed, are passed through After check bit success, confirmation packet is returned to GSM, measured value, time of measuring and equipment Serial Number (SN) therein is parsed, is combined At data storage request, it is submitted to the storage that HWS carries out data.
Step 103: data transmitting server receives the healthy result data that HWS is returned.
Include in above-mentioned health result data: healthy description, health status, display color value and display color percentage etc. Information.
Further, data transmitting server receive intelligent terminal transmission human health measurement data packet after, Before parsing measured value, time of measuring and equipment Serial Number, data check is carried out, after verifying successfully, is replied to intelligent terminal Success is wrapped.
GSM equipment when sending data,, will when not receiving server reply packet after 43 result characters are sent completely It can repeat to send, so examining successfully to need to reply GSM equipment in time and successfully wrap when receiving 43 character lengths.
Further, intelligent terminal is after sending human body health measurement data packet, and does not receive data transmitting server and return In the case where multiple successful packet, after the acquisition for carrying out human health measurement data again, the human body that repetition sends previous transmission is strong Kang Celiangshuojubao, the successful packet until receiving data transmitting server reply, also, after receiving first successfully packet, The not sent successful human health measurement data packet of history is checked for, if it is present being sent, until local number According to being sent completely.
GSM equipment the confirmation for not receiving server return packet when, in next measurement data come when, it will send again with Toward measurement data, until server has confirmed that whole data return packet.GSM equipment is successfully wrapped receiving first and reply Afterwards, it will it is not sent to check for last measurement data, when checking that discovery has not sent data, will send, directly It is sent completely to local data.
The method uploaded in a manner of timing to data of the invention below is illustrated.
As shown in Fig. 2, the method that data of the invention upload, comprising:
Step 201:GSM equipment acquires human health measurement data;
Step 202:GSM equipment sends human body health measurement data packet to data transmitting server;
When GSM equipment collects measurement data, by measurement result by each character one packet, human body is carried out by TCP The upload of health measurement data packet.
Step 203: data transmitting server receives human body health measurement data packet, verifies data accuracy, and set to GSM Standby reply successfully is wrapped;
Be added using corresponding ASII (DEC) and carries out verification calculating.16 systems are carried out when being passed to by data Coding, final one is used as check bit, to guarantee the validity of the data of transmission
Step 204: data transmitting server parses measured value, measurement from the received human health measurement data packet of institute Time and equipment Serial Number;
For example, the G426-3 blood glucose meter that SN is B12345614 25 was divided at 10 days 16 November in 2012, measurement result For 106mg/dL.
The data transmitted by GSM are as follows: 23 0 01 09 02 B12345614 000 000 106 12 11 of 5A 10 16 25 07BE。
Wherein, B12345614 is No. SN of equipment, and 106 be blood glucose value (display result is 106/8), and 12 be year (2012), 11 be the moon, and 10 be day, and 16 be hour, and 25 be point.From the corresponding position taking-up value of year, month, day, string-concatenation processing is carried out, Year needs to increase by 20 and is handled, after processing are as follows: and 2012, the finally obtained date are as follows: 2012-11-10 16:25:00.
Step 205: data transmitting server generates data storage request, and data storage request is submitted to HWS, requests HWS stores measured value and time of measuring into database according to equipment Serial Number;
For example, data storage request transmits human body health measurement data using JSON mode, as shown in the table.
Step 206:HWS turns measured value and time of measuring storage according to equipment Serial Number into database, and to data It sends out server and returns to healthy result data, data transmitting server receives the healthy result data that HWS is returned.
It further, is that HWS is enable to be stored measured value and time of measuring to number according to equipment Serial Number in the present invention According in library, the step of also including apparatus bound, comprising:
HWS receives the bind request that the client of user bound is sent in advance, and setting of being bound is carried in bind request Standby sequence number and the user identifier ID to be bound;
After HWS receives bind request, the whether existing binding relationship of the equipment Serial Number to be bound is judged, if deposited Existing binding relationship is then being released, and the equipment Serial Number to be bound and the User ID to be bound are established in binding configuration table Binding relationship;If it does not exist, then directly establishing the binding relationship of the equipment Serial Number to be bound and the User ID to be bound.
The step of carrying out apparatus bound to the HWS in the present invention in a manner of timing below is illustrated.
As shown in figure 3, HWS carries out the step of apparatus bound, comprising:
Step 301: the client of user bound sends bind request to HWS, and setting of being bound is carried in bind request Standby sequence number and the User ID to be bound;
Client obtains SN information by scanning, submits SN and User ID to server end.
Step 302:HWS receives bind request, carries out data preservation;
The step 303:HWS judgement whether existing binding relationship of the equipment Serial Number to be bound executes if existing Step 304;If it does not exist, then directly establishing the binding relationship of the equipment Serial Number to be bound and the User ID to be bound;
Step 304:HWS sends unbinding notice to login service device (PES), carries equipment in unbinding notice Sequence number, unbinding User ID, device type and releasing time;
Step 305:PES receives and saves the unbinding notice of HWS transmission;
Unbinding notice is sent to the client of unbinding user by step 306:PES online;
Step 307:PES sends processing result to HWS, and HWS receives the processing result that PES is returned, in binding configuration table The binding relationship of the equipment Serial Number to be bound and the User ID to be bound is established, and returns and binds to the client of user bound As a result;
Step 308: the client process binding state of unbinding user sends to PES and replys notice;
Step 309: the client of user bound saves binding information.
It further, can also be using unbinding relationship by the way of unbinding information exploitation offline, such as in the present invention Shown in Fig. 4, in the present invention after HWS sends unbinding notice to login service device PES, drawn using offline unbinding information The step of mode taken unbinding relationship includes:
Step 401: unbinding user logs in client;
Step 402: the client of unbinding user pulls offline unbinding information after the user logs, from PES;
Step 403:PES obtains data, deletes cache table information, and return to offline solution to the client of unbinding user Except binding information;
Step 404: the client of unbinding user is according to the equipment Serial Number releasing pair in offline unbinding information The apparatus bound answered;Also, according to the equipment Serial Number in offline unbinding information from the currently used use of HWS query facility Family;
Step 405:HWS inquires the User ID of currently used user, and returns currently to the client of unbinding user Use the User ID of user;
Step 406: the client of unbinding user is by the User ID of the HWS currently used user returned and local use Family ID is compared, and shows binding state.
Further, above-mentioned HWS stores measured value and time of measuring into database according to equipment Serial Number, comprising: Corresponding User ID is searched in binding configuration table and caching according to equipment Serial Number, carries out corresponding data storage.
It also include to client push data after HWS saves data success in the above-mentioned method of data of the invention Step, as shown in figure 5, including: the step of propelling data online to client in the present invention
Step 501:HWS is before carrying out data storage, using corresponding to the equipment Serial Number in data storage request Code key (key) carries out data safety verifying, and after the completion of data storage, sends data update notification to login service device;
It include User ID, more new data type and renewal time in above-mentioned data update notification.
It needs to increase in HWS and submits the corresponding key of SN code;SN code is in 12 in the character string of 43 bit lengths received Position starts, and 20 terminate, and length is 9;Data uplink time is the testing time that equipment is sent, and is 29 in receiving character string Position starts, and length is 10.
When HWS saves data, need first to find out corresponding User ID in binding configuration table and caching, then carry out corresponding number According to preservation.
Step 502: login service device is after receiving data update notification, by new data of the information preservation into database It notifies in cache table, sends online updating packet to the corresponding client of intelligent terminal, and return to operating result to HWS;
Database needs to increase new data notification cache table in db.user.
Step 503: the corresponding client of intelligent terminal carries out new data prompting, saves online updating packet, returns and ties to PES Fruit, and delete local notice caching.
As shown in fig. 6, including: to the step of client off-line propelling data in the present invention
Step 601:HWS is before carrying out data storage, using corresponding to the equipment Serial Number in data storage request Key carries out data safety verifying, and after the completion of data storage, sends data update notification to login service device;
Step 602: login service device is after receiving data update notification, by new data of the information preservation into database It notifies in cache table, APNS is added and sends request queue, and returns to operating result to HWS;
Step 603:PNS sends push request, and returns the result to PES.
It also include the step of offline metrology data pulls, as shown in fig. 7, this hair in the method that data of the invention upload The step of offline metrology data in bright pulls, comprising:
Step 701: user logs in client;
Step 702: the corresponding client of intelligent terminal sends offline metrology data request to login service device;
Step 703: login service device reads off-line measurement and notifies cache table after receiving offline metrology data request, Off-line data packet is returned to client;
Comprising for specified data type and the renewal time for pulling information in above-mentioned off-line data packet.
Step 704: client sends information to HWS according to the data type and renewal time for including in off-line data packet and draws Take request;
Step 705:HWS according to information exploitation request in include data type and renewal time obtain and returned to client Return the information content;
Step 706: client shows the information content that HWS is returned.
When the more people of user use same device context in measurement process, mechanism is given for change for user data, in user After request for data is given for change, the period that will need to give for change by user, user is allowed to carry out the screening of data, submission is given for change.
Further include the steps that data exception triggering push in the method that data of the invention upload, as shown in figure 8, of the invention Data upload method in data exception trigger push the step of include:
Step 801: the abnormal data in statistics of database human health measurement data;
Database creates affairs, executes 0 point of every night in one day measurement data and generates abnormal part, by data Type, abnormal time, sending time are saved in abnormal data measurement notification list.
Step 802: the data type of abnormal data, abnormal time and sending time are saved in abnormal data and pushed away by database It send in table;
Step 803: the login service device abnormal data notice to be sent to HWS acquisition etc.;
When PES obtains transmission notice, it is sent in the notice in X hours needed to measure.
Step 804:HWS is in the abnormal data notice to be sent such as login service device acquisition, inquiry abnormal data push Table returns to waiting for the abnormal data sent notice to login service device;
Step 805: login service device sends sending out notice to PNS, logical by need to measure in the given time Know and is pushed to corresponding client;
The notice for needing to measure in predetermined time is added step 806:PNS sends APNS queue, and returns to PES As a result.
It include also unbinding step in the method that data of the invention upload, as shown in figure 9, unbinding step Include:
Step 901: device type and User ID are combined into required parameter by client, generate unbinding request;
Step 902: client sends unbinding request to HWS, includes in unbinding request: device type and user ID;
Device type and User ID are combined into required parameter and submit to the unbinding operation of HWS progress by client.
After step 903:HWS receives unbinding request, binding information delete operation will be carried out, delete user and equipment Binding information, and to client return operating result;
Step 904: client exports local binding information.
The step of also including data modification in the method that data of the invention upload, as shown in Figure 10, the step of data modification Suddenly include:
Step 1001: client locally saves modification record, understands that local cache notifies;
Step 1002: client temporally submits modification data to HWS;
After step 1003:HWS receives modification data, caching and database are updated, and return to client and save result;
Step 1004: client removes the cache table to be uploaded such as local after HWS is updated successfully.
It also include local the step of reminding and (reminding in short-term) of intelligent terminal, intelligence in the method that data of the invention upload Local the step of reminding of terminal includes:
Step a: for client when measurement occurs abnormal for the first time, operation box is reminded in pop-up, is selected according to user to system sheet Increase notification information in ground notification manager;
Local notice can be ignored by system more than 64.
Step b: being notified for daily interval, and one notice of write-in when triggering, user is written next when opening software Secondary notification information.
As shown in figure 11, the present invention also provides a kind of data transmitting servers, comprising: receiving unit, resolution unit and Data cell, in which:
Receiving unit, the human health measurement data packet for acquiring and sending for receiving intelligent terminal, and receive network The healthy result data that server HWS is returned;
Resolution unit, for parsing measured value, measurement from the received human health measurement data packet of receiving unit institute Time and equipment Serial Number;
Data cell, measured value, time of measuring and equipment Serial Number for being parsed according to the resolution unit generate Data storage request is submitted to HWS by data storage request, requests the HWS according to the equipment Serial Number by the measurement Value and time of measuring storage are into database;
Further, which also includes verification unit, in which:
Verification unit, for receiving unit receive human health measurement data packet that the intelligent terminal is sent it Afterwards, before resolution unit parses measured value, time of measuring and equipment Serial Number, data check is carried out, after verifying successfully, to institute It states intelligent terminal and replys and successfully wrap.
The present invention also provides a kind of network servers, comprising: receiving unit, judging unit are bound lifting unit and tied up Surely unit is established, in which:
Receiving unit, the bind request that the client for receiving user bound in advance is sent, takes in the bind request With the equipment Serial Number to be bound and the user identifier ID to be bound;
Judging unit, for after receiving unit receives bind request, whether the equipment Serial Number to be bound of judgement There are binding relationships;
Lifting unit is bound, for, there are when binding relationship, releasing in the judging unit equipment Serial Number to be bound of judgement Existing binding relationship;
Binding unit, for establishing tying up for the equipment Serial Number to be bound and the User ID to be bound in binding configuration table Determine relationship.
Further, binding lifting unit releases existing binding relationship, comprising: sends unbinding notice to PES, releases Equipment Serial Number, unbinding User ID, device type are carried in binding notice and releases the time, are tied up releasing by PES Fixed notice is sent to the client of unbinding user.
Further, which further includes storage unit, the storage unit, for according to data transmitting server Equipment Serial Number in the data storage request of transmission stores measured value and time of measuring into database;Storage unit according to The equipment Serial Number is by the measured value and time of measuring storage into database, comprising: is being bound according to equipment Serial Number Corresponding User ID is searched in allocation list and caching, carries out corresponding data storage;
The network server further includes safety verification unit and update notification unit, in which:
Safety verification unit is used for before storage unit carries out data storage, using the equipment in data storage request Code key key corresponding to sequence number carries out data safety verifying;
Update notification unit leads to for sending data to login service device and updating after the completion of memory cell data storage Know, includes User ID, more new data type and renewal time in the data update notification;To indicate that login service device is receiving To after data update notification, by information preservation in the new data notification cache table into database, and to the intelligent terminal pair The client answered sends online or offline update and wraps.
Further, which further includes information returning unit, in which:
Receiving unit is also used to receive client and is sent out according to the data type and renewal time that include in off-line data packet The information exploitation request sent;
Information returning unit, for being obtained according to data type and renewal time and to client return information content.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (7)

1. a kind of method that data upload characterized by comprising
Data transmitting server receives the human health measurement data packet that intelligent terminal is acquired and sent;
The data transmitting server parses measured value, time of measuring from the received human health measurement data packet of institute and sets Standby sequence number, generates data storage request, data storage request is submitted to network server HWS, requests the HWS according to institute Equipment Serial Number is stated to store the measured value and time of measuring into database;
The data transmitting server receives the healthy result data that HWS is returned;
The method also includes:
The HWS receives the bind request that the client of user bound is sent in advance, carries and to bind in the bind request Equipment Serial Number and the user identifier ID to be bound;
After the HWS receives bind request, the whether existing binding relationship of the equipment Serial Number to be bound described in judgement, if It is existing, then release existing binding relationship, and in binding configuration table establish described in the equipment Serial Number to be bound with to bind User ID binding relationship;If it does not exist, then the equipment Serial Number to be bound described in being established directly in binding configuration table With the binding relationship of the User ID to be bound;
It is described to release existing binding relationship, comprising:
The HWS sends unbinding notice to login service device PES;
The client of unbinding user pulls offline unbinding information after the user logs, from the PES, according to it is described from Equipment Serial Number in the unbinding information of line releases corresponding apparatus bound;Also,
It, will according to the equipment Serial Number in the offline unbinding information from the currently used user of the HWS query facility The User ID for the currently used user that HWS is returned is compared with local User ID, shows binding state.
2. the method according to claim 1, wherein the method also includes:
The data transmitting server parses after receiving the human health measurement data packet that the intelligent terminal is sent Before measured value, time of measuring and equipment Serial Number, data check is carried out, after verifying successfully, is reverted back to the intelligent terminal Function packet.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
The intelligent terminal does not receive the data transmitting server and replys after sending the human health measurement data packet Successful packet in the case where, after the acquisition for carrying out human health measurement data again, repetition sends the human health of previous transmission Measurement data packet, the successful packet until receiving data transmitting server reply, also, after receiving first successfully packet, inspection It looks into the presence or absence of the not sent successful human health measurement data packet of history, if it is present being sent, until local data It is sent completely.
4. the method according to claim 1, wherein described release existing binding relationship, comprising:
The HWS sends unbinding notice to login service device PES, carries equipment sequence in the unbinding notice Number, unbinding User ID, device type and release the time, by the PES by it is described it is unbinding notice be sent to releasing The client of user bound.
5. according to the method described in claim 1, it is characterized by:
The HWS stores the measured value and time of measuring into database according to the equipment Serial Number, comprising: according to institute It states equipment Serial Number and searches corresponding User ID in binding configuration table and caching, carry out corresponding data storage;
The HWS is before carrying out data storage, also using code key key corresponding to the equipment Serial Number in data storage request Data safety verifying is carried out, and after the completion of data storage, sends data update notification to login service device, the data update It include User ID, more new data type and renewal time in notice;The login service device after receiving data update notification, By information preservation in the new data notification cache table into database, and sent online to the corresponding client of the intelligent terminal Or offline update is wrapped.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The corresponding client of the intelligent terminal sends off-line measurement after the HWS carries out data storage, to login service device Request of data, the login service device read off-line measurement and notify cache table after receiving the offline metrology data request, Off-line data packet is returned to the client, comprising for the specified data type for pulling information and more in the off-line data packet The new time;
The HWS receives the client according to transmitted by the data type and renewal time that include in the off-line data packet Information exploitation request is obtained according to the data type and renewal time and to the client return information content.
7. the method described in one of any according to claim 1~3, which is characterized in that the method also includes:
Abnormal data in the statistics of database human health measurement data, by the data type of abnormal data, abnormal time It is saved in abnormal data push table with sending time, and in the abnormal data notice to be sent such as login service device acquisition, The abnormal data sent notice is returned to waiting for the login service device according to the abnormal data push table;
The notice for needing to measure in the given time is pushed to corresponding client by the login service device.
CN201510582396.XA 2015-09-15 2015-09-15 A kind of method and data transmitting server of data upload Active CN105187536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510582396.XA CN105187536B (en) 2015-09-15 2015-09-15 A kind of method and data transmitting server of data upload

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510582396.XA CN105187536B (en) 2015-09-15 2015-09-15 A kind of method and data transmitting server of data upload

Publications (2)

Publication Number Publication Date
CN105187536A CN105187536A (en) 2015-12-23
CN105187536B true CN105187536B (en) 2019-02-22

Family

ID=54909375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510582396.XA Active CN105187536B (en) 2015-09-15 2015-09-15 A kind of method and data transmitting server of data upload

Country Status (1)

Country Link
CN (1) CN105187536B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959263B (en) * 2016-04-22 2019-07-16 江苏中科西北星信息科技有限公司 Aged caring institutions data interactive method and system based on JSON
CN108236454B (en) * 2016-12-26 2021-05-07 阿里巴巴集团控股有限公司 Health measurement data acquisition method and electronic equipment
DE102018003324A1 (en) * 2017-04-27 2018-10-31 Yokogawa Electric Corporation Data collection device, data collection system, data server, data collection method and non-transitory computer readable storage medium
CN107395678A (en) * 2017-06-22 2017-11-24 上海斐讯数据通信技术有限公司 A kind of approaches to IM and system
CN107645548A (en) * 2017-09-13 2018-01-30 广东乐心医疗电子股份有限公司 Data processing method, equipment server and public equipment
CN107645563B (en) * 2017-10-23 2021-05-11 广州云新信息技术有限公司 Internet of things communication method and system of medical test equipment
CN107799170A (en) * 2017-10-27 2018-03-13 上海京颐科技股份有限公司 The binding method and system of Medical Devices based on patient terminal
CN108628666B (en) * 2018-05-08 2023-11-14 腾讯科技(上海)有限公司 Transaction processing method and device, storage medium and electronic device
CN110006471B (en) * 2019-04-02 2022-03-11 浙江宇视科技有限公司 Method and system for dynamically displaying sensor data
CN111988350A (en) * 2019-05-22 2020-11-24 广东思派康电子科技有限公司 Method for synchronously storing data acquired by heart rate earphone to cloud server
CN114388121B (en) * 2022-03-25 2022-06-03 北京盛坤康如医疗器械有限责任公司 Cardiac marker POCT system and medical equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116643A (en) * 2013-02-25 2013-05-22 江苏物联网研究发展中心 Hadoop-based intelligent medical data management method
CN103559397A (en) * 2013-10-31 2014-02-05 合肥学院 Intelligent service system and method applied to hypertension chronic diseases
CN104144201A (en) * 2013-12-09 2014-11-12 腾讯科技(深圳)有限公司 Sport monitoring method, device and system
CN104410657A (en) * 2014-10-10 2015-03-11 西安理邦科学仪器有限公司 Data transmission method and device in distributed central monitoring system
CN104468837A (en) * 2014-12-29 2015-03-25 小米科技有限责任公司 Intelligent device binding method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9704207B2 (en) * 2011-02-25 2017-07-11 International Business Machines Corporation Administering medical digital images in a distributed medical digital image computing environment with medical image caching

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116643A (en) * 2013-02-25 2013-05-22 江苏物联网研究发展中心 Hadoop-based intelligent medical data management method
CN103559397A (en) * 2013-10-31 2014-02-05 合肥学院 Intelligent service system and method applied to hypertension chronic diseases
CN104144201A (en) * 2013-12-09 2014-11-12 腾讯科技(深圳)有限公司 Sport monitoring method, device and system
CN104410657A (en) * 2014-10-10 2015-03-11 西安理邦科学仪器有限公司 Data transmission method and device in distributed central monitoring system
CN104468837A (en) * 2014-12-29 2015-03-25 小米科技有限责任公司 Intelligent device binding method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于云平台的移动医疗健康服务系统的设计与实现;顾宏明;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130215(第2期);全文

Also Published As

Publication number Publication date
CN105187536A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105187536B (en) A kind of method and data transmitting server of data upload
KR101451381B1 (en) Systems and methods for managing blood donations
US8538710B2 (en) Methods and systems for monitoring lift usage
US20060135858A1 (en) Displaying information related to a physical parameter of an individual
JP6736706B2 (en) Data analysis processing method of elasticity detection device and elasticity detection device
CN108353296A (en) The reliable communication of algorithms for wireless medical devices and sensor in monitoring system
CN105868549B (en) Medical Devices and its communication device based on internet Internet of Things and method
Priambodo et al. Monitoring self-isolation patient of COVID-19 with Internet of Things
CN103784124B (en) Healthy data automatic storage method
CN104468833B (en) The method and apparatus that solicited message is uniformly processed
CN107888456A (en) Method and device for monitoring port data volume
CN105011914A (en) Wireless temperature acquisition and processing system
CN108270860A (en) The acquisition system and method for environmental quality online monitoring data
CN102545098A (en) Power transmission line inspection system and implementation method thereof
US20190042614A1 (en) Data time stamps
CN107403112A (en) Data verification method and its equipment
CN110032497A (en) A kind of monitoring system and method for achievement data
CN103356179A (en) Body temperature testing and analyzing system and body temperature testing and analyzing method
US20140159914A1 (en) Electronic reporting systems and methods
CN214334954U (en) Concrete test piece same-condition curing detection device and system
JP4008695B2 (en) Health management terminal
AU2014202504A1 (en) Food temperature monitoring method and system
CN203148572U (en) Cloud thermal container allowing remote temperature monitoring
CN108981959A (en) A kind of intelligent temperature measurement system
CN218782614U (en) Detection device capable of identifying identity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant