Specific implementation mode
Fig. 1 is the applied environment figure of the method operation of blood glucose meter data processing in one embodiment.As shown in Figure 1, this is answered
Include blood glucose meter 110, server 120, terminal 130, terminal 140, wherein blood glucose meter 110, server 120, terminal with environment
130, terminal 140 is communicated by network, and wherein blood glucose meter 110, terminal 130, terminal 140 can pass through the whole world of mobile network
Unique identifier access to mobile network.
Terminal 130 and terminal 140, can be smart mobile phone, tablet computer, laptop, desktop computer etc., but not
It is confined to this.Terminal 140 is the corresponding association user terminal of association user of the first user logged in terminal 130, terminal 140
Can be one or more terminals, terminal 140 as shown in the figure includes terminal 141 to terminal 14N, and N indicates the total of association user terminal
Quantity.Terminal 130, terminal 140 can access blood glucose meter 110 by scanning the bar code that blood glucose meter 110 provides, and establish between user
Incidence relation.The corresponding measurement result of first user is sent out by 110 synchronized upload of blood glucose meter to server 120, and by server 120
It send to terminal 130 and terminal 140 so that the corresponding association user of the first user also quickly and easily can remotely obtain the first user
Corresponding measurement result realizes that long-range multiterminal data synchronize.
Fig. 2 is the internal structure schematic diagram of blood glucose meter 110 in one embodiment.Blood glucose meter 110 includes processor, storage
Device measures module, network modules, display screen and input unit, and memory, measurement module, network modules, display screen and input
Device is connect with processor.Wherein, the memory of blood glucose meter 110 includes built-in storage and non-volatile memory medium.It is non-easy
The property lost storage medium can be stored with the device of operating system and the first blood glucose meter data processing, the first blood glucose meter data processing
Device is for realizing a kind of method of the blood glucose meter data processing suitable for blood glucose meter.The processor of blood glucose meter 110 is for providing
Calculating and control ability, support the operation of entire blood glucose meter 110.Built-in storage in blood glucose meter 110 is situated between for non-volatile memories
The operation of the device of the first blood glucose meter data processing in matter provides environment.Computer-readable finger can be stored in the memory
It enables, when which is executed by processor, processor may make to execute a kind of method of blood glucose meter data processing.Blood
The network modules of sugared instrument 110 can be cable network module or wireless network module, and wireless network module can be wireless local
Net module or cellular mobile communication networks module, the network modules are used to carry out network communication with server 120, such as upload and survey
Measure result.The display screen of blood glucose meter 110 can be liquid crystal display or electric ink display screen, the input dress of blood glucose meter 110
It can be the touch layer covered on display screen to set, and can also be button, trace ball or the touch-control being arranged on 110 shell of blood glucose meter
Plate can also be external keyboard, Trackpad or mouse etc..Module is measured for measuring blood glucose value.Those skilled in the art can
To understand, structure shown in Figure 2 is not constituted only with the block diagram of the relevant part-structure of application scheme to this Shen
Please the restriction of blood glucose meter that is applied thereon of scheme, specific blood glucose meter may include more more or fewer than shown in Fig. 2
Component either combines certain components or is arranged with different components.
In one embodiment, in Fig. 1 server 120 internal structure as shown in Fig. 2, the server 120 include pass through
Processor, storage medium, memory and the network interface of system bus connection.Wherein, the storage medium of the server 120 is stored with
Operating system, database, the second blood glucose meter data processing device, database for storing data, at the second blood glucose meter data
The device of reason is for realizing a kind of method of the blood glucose meter data processing suitable for server 120.The processor of the server 120
For providing calculating and control ability, the operation of entire server 120 is supported.It is saved as in storage medium in the server 120
The second blood glucose meter data processing device operation provide environment.The network interface of the server 120 is used for and external blood
Sugared instrument 110, terminal 130, terminal 140 are communicated by network connection, such as the survey fruit result that sends of blood glucose meter 110 and to terminal
130, terminal 140 sends measurement result etc..
As shown in figure 4, in one embodiment, a kind of method of blood glucose meter data processing is provided, it is above-mentioned to be applied to
Blood glucose meter in application environment is come for example, including the following steps:
Step S210 is received to measure and be asked, and it includes current measurement user information to measure request.
Specifically, user can be measured from candidate by the physical button of virtual key or blood glucose meter setting on display screen
Middle selection is current to measure user, if there is currently no candidates to measure user, can be created in blood glucose meter and measure user, received defeated
The newly-built measurement user information entered, such as user's name, age, blood glucose meter are that new user distributes unique subscriber identification.It can pass through
The physical button of virtual key or blood glucose meter setting on blood glucose meter display screen, which receives, measures the newly-built instruction of user, implements at one
In example, blood glucose meter receives the newly-built measurement user instruction that terminal remote is sent, and terminal can be by installing answer corresponding with blood glucose meter
Control and management with software realization to blood glucose meter.Application software can be common software, can be by accessing different blood glucose meters
Control interface realization is uniformly controlled different model, the blood glucose meter of different identification, has more not suitable for large hospital
With the application scenarios of model blood glucose meter.Measure request for ask to currently measure the corresponding current measurement user of user information into
The measurement of row blood glucose meter, obtains measurement result.
Step S220 currently measures the corresponding measurement result of user, transmission data synchronization request according to acquisition request is measured
To server, data synchronization request includes measurement result and current measurement user information.
Specifically, measurement result is corresponding with the current corresponding current measurement user information of user that measures, different measurements are realized
The measurement data of user can be distinguished, and realize single device multi-user, need to be with current system when preserving measurement result to blood glucose meter database
The logon account of system is associated with, and is such as stored measurement result and the current user information correlation that measures, is realized each measurement user account
Metrical information it is independent.Data synchronization request is used to the measurement result for measuring user being synchronized to server, data synchronization request
User information is measured with current including measurement result, the current user information that measures can currently measure user identifier, and data are same
Step request may also include the corresponding blood glucose meter mark of current blood glucose instrument, pass through the corresponding survey of the different blood glucose meters of blood glucose meter mark differentiation
It measures result and measures user.When there are multiple measurement results and/or multiple measurement users, measurement result can be arranged and not upload
Label, to distinguish the data of upload server and the data of non-upload server.As each measurement result generates
When correspond to subsidiary temporal information, if current test be later than the temporal information that last time information is uploaded to high in the clouds with temporal information,
System can be labeled as non-upload information.
Measurement result is sent to by step S230 so that measurement result is measured user information correlation by server with current
It is current to measure the corresponding measurement user terminal of user information, user-association relationship is obtained, it is current according to user-association Relation acquisition
The corresponding association user information of user information is measured, it is whole that measurement result is sent to the corresponding association user of association user information
End.
Specifically, it is to log in the current end for measuring user account number currently to measure the corresponding user terminal that measures of user information
End, can be by detecting the login status for currently measuring the corresponding current measurement user of user information in terminal, if eventually first
End logs in, then first terminal is the corresponding measurement user terminal of current measurement user information, and measurement result is sent to current survey
Measure the corresponding measurement user terminal of user information.Measurement result is stored with the current user information correlation that measures to server, is convenient for
It can subsequently be searched by user information and download corresponding measurement result.User-association relationship is used to show the pass between each user
Connection relationship, user-association relationship can be stored in blood glucose meter, terminal and server simultaneously, and the user-association in one of which equipment closes
When system loses or destroys, the user-association relationship of the backup in miscellaneous equipment can be obtained, ensures the validity of data.Use can be passed through
The mode of family set establishes the netted incidence relation of multi-user, and such as user in the same set has association and closes between any two
System can also identify the incidence relation established between each user, such as between the user of same blood glucose meter mark binding by blood glucose meter
Have incidence relation, can also establish the one-to-many incidence relation between user and user, such as primary user and from a pair between user
More incidence relations.The corresponding association user information of user information is currently measured according to user-association Relation acquisition, is determined current
It measures user's corresponding association user and association user is determined by different methods according to different types of incidence relation.If
It is netted incidence relation, it is determined that the current user's set measured where user, all users during user gathers are current
Measure the association user of user.The incidence relation between each user is established if it is by blood glucose meter mark, then obtains current survey
The corresponding target blood glucose instrument mark of user is measured, the pass for obtaining currently measuring user with the user of target blood glucose instrument mark binding is obtained
It is combined family.If it is the one-to-many incidence relation between user and user, then current survey is obtained according to one-to-many incidence relation
The corresponding more association users of user are measured, in one embodiment, judge whether current measurement user is primary user, if it is primary
Family, then obtain that the primary user is corresponding to obtain association user from user.It is corresponded to which measurement result is sent to association user
Association user terminal, association user terminal refers to logging in the terminal of current association user account number, can flexibly by incidence relation,
Current measurement user's measurement result is synchronized and is sent to different association users, realizes that measurement result supports multi-user's fast remote
It obtains.When current measurement user's measurement result is sent to association user, it can be arranged according to the transmission of association user and determine correspondence
Sending time or according to the transmission condition of association user, such as sent in WIFI network or timing transmission such as to send in real time
Deng the conditional transmission of progress.
It in the present embodiment, is asked by receiving to measure, it includes current measurement user information to measure request, is asked according to measuring
The corresponding measurement result of current measurement user is obtained, transmission data synchronization request to server, data synchronization request includes measuring
As a result user information and is currently measured, so that measurement result is measured user information correlation by server with current, by measurement result
It is sent to the corresponding measurement user terminal of current measurement user information, user-association relationship is obtained, is obtained according to user-association relationship
The corresponding association user information of current measurement user information is taken, measurement result, which is sent to the corresponding association of association user information, to be used
Family terminal distinguishes the corresponding measurement result of different user by measuring user information, realizes single device multi-user, and tie measuring
Fruit with it is current measure user information synchronize be sent to server so that measurement result can be sent to by server current measures user
Different terminals corresponding with the association user determined according to incidence relation can flexibly determine association user according to incidence relation, and
Realize that measurement result supports multi-user's fast remote to obtain.
In one embodiment, as shown in figure 5, before step S210, further include:
Step S310 detects be currently up whether meet preset condition, and preset condition is including manufacture startup for the first time and each
Time synchronization starts for the first time in the period, if meeting preset condition, sending time synchronization request to server.
Specifically, can customize preset condition, such as provide that each consecutive days are the time synchronization period, preset condition can also wrap
Include it is improper restart, it is improper that restart refer to leading to automatic shutdown caused by failure and restarting during use.Only when each
Between sending time synchronization request when starting for the first time in synchronizing cycle, in a time synchronization period, it is same at most to carry out a time
Step, can control time synchronization frequency, avoid frequently with the server sync time.
Step S320 receives time synchronization message of the server in response to time synchronization request feedback, according to time synchronization
Local zone time is arranged in message.
Specifically, server after receiving time synchronization request, responds time synchronization request, generated time
Synchronization message, and by time synchronization message feedback to blood glucose meter, blood glucose meter can extract server time from time synchronization message,
Set local zone time to server time.In a specific embodiment, in conjunction with Fig. 6, if it is default to be currently up satisfaction
Condition also judges currently whether carrying out time synchronization process, same without sending time again if currently carried out
Step request after blood glucose meter starts application program, passes through the application program and clothes if currently not carrying out time synchronization process
Business device carries out time synchronization.It, can be again if not receiving the time synchronization message of server response after prefixed time interval
To server sending time synchronization request.If the number for repeating sending time synchronization request is more than predetermined threshold value, stop sending out
Time synchronization is sent to ask.In one embodiment, the configuration of local zone time can be also carried out by manually mode.
In the present embodiment, if meeting preset condition, time synchronization can be carried out with server, ensure the blood glucose meter time
Accuracy, guarantee subsequently analyze measurement data to obtain the validity of measurement result.
In one embodiment, before step S210, further include:Incoming instruction is received, bar code is shown according to incoming instruction,
The bar code includes blood glucose meter mark, so that terminal to be accessed scanning bar code obtains blood glucose meter mark, generates terminal access request,
Terminal access request includes blood glucose meter mark and user information to be accessed.
Specifically, when terminal needs to access blood glucose meter, incoming instruction can be sent to blood glucose meter or pass through pressing in blood glucose meter
Button sends incoming instruction so that blood glucose meter shows bar code.Bar code is to restore character according to what preset rules encoded
The figure of character, bar code may include bar code and two-dimensional bar code.Bar code is the multiple secret notes and blank for not waiting width, is pressed
It is arranged according to certain coding rule, to express the graphical identifier of a group information.Common bar code is differed by reflectivity
The pattern of parallel lines that prodigious secret note (abbreviation item) and informal voucher (referred to as empty) are lined up.Two-dimensional bar code abbreviation Quick Response Code, refers to using certain
The specific geometric figure of kind is according to certain rules in the chequered with black and white graphic recording data symbol information of planar directional spreding
Bar code.The bar code that blood glucose meter generates is corresponding with the facility information of blood glucose meter, carries blood glucose meter mark, terminal to be accessed scanning
Bar code, and blood glucose meter mark is restored from bar code according to corresponding decoding algorithm.Terminal access request is for accessing user
Blood glucose meter, the user for only accessing blood glucose meter just have the permission for collecting blood glucose meter test result.Terminal access request includes blood
Sugared instrument mark and user information to be accessed, to establish the access relation between blood glucose meter mark and user.
In the present embodiment, terminal access request only could be generated by scanning the bar code that blood glucose meter is shown, user needs
The qualification for just having access blood glucose meter face-to-face with blood glucose meter improves the difficulty that user accesses blood glucose meter, bar code is avoided to be passed
Broadcasting causes unrelated user to send terminal access request.
In one embodiment, method includes:Blood glucose meter bar code is sent to first terminal, so that first terminal shows blood glucose
Instrument bar code simultaneously identifies that parsing blood glucose meter bar code obtains blood glucose meter mark, to generate terminal access request.Made by way of transmission
Blood glucose meter bar code can remotely be obtained by obtaining terminal, improve the convenience of blood glucose meter access.
In one embodiment, as shown in fig. 7, transmission data synchronization request to server, data synchronizes in step S220
Request includes the steps that measurement result and the current user information that measures includes:
Step S221 obtains blood glucose meter mark, and measurement result, current measurement user information and blood glucose meter mark are encrypted
To encryption data packet.
Specifically, blood glucose meter mark is used for one blood glucose meter of unique mark, it can be by IMEI (International Mobile
Equipment Identity, International Mobile Station Equipment Identification) it is identified as blood glucose meter.IMEI is International Mobile Equipment Identity code,
International mobile equipment identification code, " the electronics string number " being made of 15 bit digitals, it is corresponded with every mobile device, and
The code is that the whole world is unique, and the application of blood glucose meter access to mobile network simultaneously obtains global unique identifier, and every blood glucose meter has
IMEI is identified as blood glucose meter and be can guarantee global uniqueness by corresponding unique code.After blood glucose measurement, after blood glucose meter starts
Platform thread traverses database does not upload all mark corresponding measurement result packing and uploads onto the server, and data packet carries blood glucose
Instrument information, including blood glucose meter mark.In a specific embodiment, server is high in the clouds,, can be from cloud when encryption in conjunction with Fig. 8
End obtains random sequence key, is obtained measurement result, current measurement user information and blood glucose meter mark encryption according to random sequence
Encryption data packet, by obtaining random sequence to data encryption from high in the clouds so that ciphering process has more randomness, and increase cracks difficulty
Degree, further strengthens cryptographic security.
Encryption data packet is sent to server by step S222, so that server is decrypted to obtain blood glucose meter mark, current survey
User information and measurement result are measured, blood glucose meter mark, measurement result are measured into user information correlation with current.
Specifically, server receives encryption data packet, in conjunction with Fig. 9, server can be high in the clouds, and high in the clouds is according to identical random
Sequence decrypts to obtain raw data packets, blood glucose meter mark, current measurement user information and measurement result is obtained, to according to current
It measures user information and measurement result is sent to corresponding user terminal.It can be identified according to blood glucose meter and distribute corresponding storage sky
Between, different blood glucose meters are identified into corresponding data and are stored to corresponding space, it is quick in order to can subsequently be identified according to blood glucose meter
Search the measurement data of target blood glucose instrument.And identified and distinguished by blood glucose meter, even if there are identical measurement use in different blood glucose meters
Family nor affects on the determination of measurement result, can identify and measure user information by blood glucose meter and search correctly survey from various dimensions
Measure result.
In one embodiment, before step S210, further include:The newly-built request of user is received, according to the newly-built request of user
Distributing user identifies.
Specifically, display creates user interface, the newly-built user information of input is received, such as user's name, head portrait, Qin Shuguan
System etc., blood glucose meter request to generate user identifier according to user is newly-built, and user's specifying information is corresponding with user identifier.It can be according to reality
Measurement demand adds user account, and the modification of user information editable can also delete user account.As shown in Figure 10, it is a tool
In the embodiment of body, multi-user is newly-built and chooses interface schematic diagram, including by user's new interface create user's schematic diagram and
Select the current interface schematic diagram for measuring user's measurement result corresponding with the current measurement user of display.
In step S220 according to the step of acquisition request currently measures user's corresponding measurement result is measured after, such as Figure 11
It is shown, further include:
Step S410 obtains the corresponding active user's mark of current measurement user information, by measurement result and active user
Identify associated storage.
Specifically, according to the correspondence between user identifier and user information, it is corresponding to obtain current measurement user information
Active user identifies, and such as obtains corresponding user identifier according to user's head portrait, is closed to identify measurement result and active user
Connection storage, blood glucose meter system have writing function, the persistence of data are supported to operate.It need to be with when keeping measurement result to database
Active user identifies, and if the logon account of current system is associated with, ensures that the measurement data of each user is independent.It is used in current measure
After family measures, it can show that the corresponding measurement result of current measurement user is as shown in figure 12 a specific embodiment
In, the schematic diagram of corresponding measurement result is shown after measuring different measurement users.
Step S420, receives the display request of user's measurement result, and the display request of user's measurement result includes target user's mark
Know, is identified according to target user and obtain corresponding objective measurement, and display target measurement result.
Specifically, such as user's head portrait can be selected to determine the target user for needing to check measurement result, root by user information
Corresponding target user's mark is obtained according to user's head portrait.It is identified according to target user and obtains corresponding objective measurement, and shown
Show objective measurement.In a specific embodiment, as shown in figure 13, it is storage measurement result and display measurement result
Flow diagram, blood glucose meter have been coordinated by user management module, blood sugar test module, local data base and record display module
Associated storage is identified at measurement result and active user and identifies the corresponding target measurement of acquisition from database root according to target user
As a result it and shows.
In the present embodiment, the corresponding measurement data of each user is distinguished by user identifier and is stored, realizes that single device is more
User uses, packet management.
In one embodiment, the corresponding measurement result of user is currently measured according to measurement acquisition request in step S220
Step includes:The time of measuring for measuring and asking corresponding actual measured value is obtained, when determining corresponding target according to time of measuring
Between section, obtain the corresponding measuring state of target time section, according to measuring state and actual measured value reference standard blood glucose assessment letter
Breath obtains corresponding measurement result.
Specifically, blood glucose meter measurement obtain user it is corresponding it is blood sugar measured after, read blood glucose meter system time as survey
The time is measured, time of measuring is converted to obtain time of measuring data, preset measuring time section set is obtained, judges the measurement
Period where time data, different periods have corresponded to different measuring states.Measuring state refers to measuring user to work as
Preceding state in which, such as before lunch, before dinner etc..It is obtained according to measuring state and actual measured value reference standard blood glucose assessment information
To corresponding measurement result.It can be form that standard blood glucose, which assesses information, provide under different range of blood sugar, different measuring states
Corresponding measurement assessment result.Measurement result may include blood glucose state of value and advisory information.In a specific embodiment, it connects
It receives and middle read access time section setting information is locally configured from blood glucose meter before measuring request, the information content is as follows:
Wherein, time-range-set indicates that preset measuring time section set, range name indicate time-range-
The name field of each measuring section in set, name field institute assigned value are the title of corresponding measuring section, indicate to measure
State, such as fasting empty stomaches, after-breakfast are early postprandial.Starttime indicates period starting point field, period
Starting point field institute assigned value indicates to add the number of minutes meter after corresponding period starting point, period starting point are multiplied by 100 with hourage
Calculation obtains integer numerical value, such as:0800 indicates the time 8:00,1830 indicates the time 18:30.
Blood glucose meter obtains corresponding time of measuring such as 18 after measuring blood-sugar content value:37, first time of measuring is converted into
Integer numerical value 1837, then with each period starting point one by one compared with, find the period starting point more than integer numerical value 1837
2000, then the matched measuring section of time of measuring institute, be represented by 2000 measuring section [2000,2400) it is previous
Measuring section [1800,2000), corresponding entitled " before-dinner ".Blood glucose meter can provide survey as shown in figure 14
The page is arranged in amount state, and user, which can be arranged in the measuring section in the page, quickly changes the corresponding measuring state of time of measuring,
Show that the measuring state " before dinner " of matched measuring section is (corresponding English for " before- in the page
Dinner "), and show that two adjacent measuring states are " after lunch " and " after dinner ", user can click required measurement shape
State simultaneously confirms that completion measures.Corresponding measurement knot is obtained according to measuring state and actual measured value reference standard blood glucose assessment information
Fruit, in a specific embodiment, standard blood glucose evaluation criteria information are as shown in table 1:
Table 1
Judged according to flow as shown in figure 15 after obtaining actual measured value, until obtaining measurement result.
In one embodiment, as shown in figure 16, method further includes:
Step S510 obtains corresponding last measure of the first user and asks between corresponding time of measuring and current time
Time interval.
Step S520 sends alert requests to server, alert requests if time interval is more than preset time threshold
Including prompting message and the first user information, so that server obtains user-association relationship, according to user-association Relation acquisition the
Prompting message is sent to corresponding first user terminal of the first user and association by the corresponding association user information of one user information
The corresponding association user terminal of user information.
Specifically, if time interval is more than preset time threshold, illustrate that the first user does not measure for a long time, it can
User is reminded to measure again by transmission prompting message to the first user and the corresponding association user of the first user.Remind letter
The particular content of breath can be self-defined as needed, such as includes last time time of measuring, measures suggestion etc..
In one embodiment, as shown in figure 17, a kind of method of blood glucose meter data processing is provided, it is above-mentioned to be applied to
Server in application environment comes for example, including the following steps:
Step S610, receives the data synchronization request that blood glucose meter is sent, and data synchronization request includes measurement result and current
Measure user information.
Specifically, when the measurement that blood glucose meter measures user in completion obtains measurement result, it can be same to server transmission data
Step request, data synchronization request are used to the measurement result for measuring user being synchronized to server, and data synchronization request includes measuring
As a result user information and is currently measured, the current user information that measures can be current measurement user identifier, and data synchronization request is also
May include current blood glucose instrument corresponding blood glucose meter mark, by blood glucose meter mark distinguish the corresponding measurement result of different blood glucose meters and
Measure user.When there are multiple measurement results and/or multiple measurement users, measurement result can be arranged and not upload label, from
And the data of upload server and the data of non-upload server are distinguished.It is corresponded to when being generated such as each measurement result attached
Band temporal information, if current test be later than the temporal information that last time information is uploaded to high in the clouds, system emblem with temporal information
It is denoted as non-upload information.
Step S620, user information correlation is measured by measurement result with current, and measurement result, which is sent to current measure, to be used
The corresponding measurement user terminal of family information.
Specifically, server deposits the measurement result carried in data synchronization request and the current user information correlation that measures
Storage can be that the different corresponding storages of blood glucose meter mark distribution is empty in data synchronization request if further including blood glucose meter mark
Between, it is stored to corresponding space to which different blood glucose meters are identified corresponding data, in order to can subsequently be identified according to blood glucose meter
Quickly search the measurement data of target blood glucose instrument.And identified and distinguished by blood glucose meter, even if there are identical surveys in different blood glucose meters
User is measured, the determination of measurement result is nor affected on, can identify and measure user information by blood glucose meter and be searched correctly from various dimensions
Measurement result.The current corresponding user terminal that measures of user information that measures is to log in the current terminal for measuring user account number, can
By detecting the login status for currently measuring the corresponding current measurement user of user information in terminal, if stepped in first terminal
Record, then first terminal is the corresponding measurement user terminal of current measurement user information, and measurement result, which is sent to current measure, to be used
The corresponding measurement user terminal of family information.
Step S630 obtains user-association relationship, it is corresponding currently to measure user information according to user-association Relation acquisition
Measurement result is sent to the corresponding association user terminal of association user information by association user information.
Specifically, user-association relationship is used to show that the incidence relation between each user, user-association relationship can to exist simultaneously
Blood glucose meter, terminal and server store, and when the user-association relationship in one of which equipment is lost or destroyed, can obtain other set
The user-association relationship of backup in standby, ensures the validity of data.It is netted multi-user can be established in such a way that user gathers
Incidence relation, such as user in the same set have incidence relation between any two, can also be identified and be established respectively by blood glucose meter
Incidence relation between a user, such as same blood glucose meter mark binding user between have incidence relation, can also establish user with
One-to-many incidence relation between user, such as primary user and from the one-to-many incidence relation between user.It is closed according to user-association
System's acquisition is current to measure the corresponding association user information of user information, determines the corresponding association user of current measurement user, according to
Different types of incidence relation determines association user by different methods.If it is netted incidence relation, it is determined that current to survey
User's set where user is measured, all users in user's set are the current association users for measuring user.If it is logical
It crosses blood glucose meter and identifies the incidence relation established between each user, then obtain the current corresponding target blood glucose instrument of user that measures and identify,
Obtain the association user for obtaining currently measuring user with the user of target blood glucose instrument mark binding.If it is between user and user
One-to-many incidence relation then obtains the corresponding more association users of current measurement user, one according to one-to-many incidence relation
In a embodiment, judge it is current measure whether user is primary user, if it is primary user, then obtain the primary user it is corresponding from
User obtains association user.To which measurement result is sent to the corresponding association user terminal of association user, association user terminal
Refer to the terminal for logging in current association user account number, will can currently measure the synchronization of user's measurement result flexibly by incidence relation
It is sent to different association users, realizes that measurement result supports multi-user's fast remote to obtain.User will currently be measured and measure knot
When fruit is sent to association user, it can be arranged according to the transmission of association user and determine corresponding sending time, such as sent to be real-time, or
According to the transmission condition of association user, such as sends or periodically send in WIFI network and carry out conditional transmission.
In the present embodiment, the data synchronization request sent by receiving blood glucose meter, data synchronization request includes measurement result
Measurement result is sent to currently by measurement result and the current measurement user information correlation with the current user information that measures
The corresponding measurement user terminal of user information is measured, user-association relationship is obtained, is currently measured according to user-association Relation acquisition
Measurement result is sent to the corresponding association user terminal of association user information by the corresponding association user information of user information, clothes
Device reception blood glucose meter of being engaged in synchronizes the measurement result sent and current measurement user information, and measurement result can be sent to current measurement
User's different terminals corresponding with the association user determined according to incidence relation can flexibly determine that association is used according to incidence relation
Family, and realize that measurement result supports multi-user's fast remote to obtain.
In one embodiment, as shown in figure 18, method further includes:
Step S710, receives terminal access request, and terminal access request includes blood glucose meter mark and the first user information.
Specifically, terminal access request is used to user accessing blood glucose meter, the user for only accessing blood glucose meter just has receipts
Take the permission of blood glucose meter test result.Terminal can be by scanning the bar code or the bar code for receiving other terminals transmissions that blood glucose meter is shown
Identification parsing blood glucose meter bar code obtains blood glucose meter mark afterwards, to generate terminal access request.Terminal access request includes blood glucose meter
Mark and user information to be accessed, to establish the access relation between blood glucose meter mark and user.
Step S720, if there is currently no management users for blood glucose meter mark, by the first user information corresponding first
User accesses blood glucose meter and identifies corresponding blood glucose meter, using the first user as the corresponding management user of blood glucose meter.
Specifically, judging that blood glucose meter identifies whether that, there are corresponding management user, management user has management blood glucose meter
Permission can verify the access request of other users, only manage user's checking and pass through, other users could access blood glucose
Instrument.Management user can be the user of scanning blood glucose meter bar code request access blood glucose meter for the first time, can also be to pass through server
The user for having administration authority of verification, management user can change, and can be that one or more has different administration authority ranks
Manage user.If there is currently no management user, corresponding first user of the first user information is accessed into blood glucose meter mark
Corresponding blood glucose meter, using the first user as the corresponding management user of blood glucose meter.It, can be to blood by managing user in the present embodiment
The various permissions of sugared instrument are managed, and ensure the safety that blood glucose meter uses.As shown in figure 19, it is a specific embodiment
In, user accesses blood glucose meter flow diagram, and server judges whether blood glucose meter access request sends for the first time, wherein blood glucose
Instrument access request carries blood glucose meter IMEA and the first user information, if it is, using the first user as the corresponding pipe of blood glucose meter
User is managed, otherwise using the first user as the corresponding ordinary user of blood glucose meter
In one embodiment, further include after step S720:Terminal access request is received, terminal access request includes blood
Sugared instrument mark and second user information, obtain blood glucose meter and identify corresponding management user, send insertion authority and ask to management to use
The corresponding master terminal in family receives the authorization message that master terminal returns, if authorization message is by authorizing, second user being believed
Corresponding second user access blood glucose meter is ceased, the user-association relationship of management user and the second user is established.
Specifically, the corresponding master terminal of management user is the terminal for managing user account number and currently logging in, other users' connects
Enter the agreement being required for by managing user.If authorization message is by authorizing, by second user information corresponding second
User accesses blood glucose meter, establishes the user-association relationship of management user and second user.It can be second user based on management user
For from not reciprocity incidence relation, also can will the corresponding association user collection of management user and second user addition blood glucose meter mark
It closes so that the third user being subsequently added establishes reciprocity incidence relation with management user and second user simultaneously.Equity association is closed
The measurement result of one of user can be sent to any one user for having reciprocity incidence relation between each user of system's expression, no
Reciprocity incidence relation indicates that the measurement result for there was only primary user can be sent to from user, and is closed from not having association between user
System, will not be sent to primary user from the measurement result of user, will not be sent to other users.In one embodiment, it services
The flow diagram that second user is accessed blood glucose meter by device according to the authorization message of management user is as shown in figure 20, and server receives
The corresponding second user of second user information is accessed blood glucose meter by terminal access request, to the corresponding second terminal of second user,
The corresponding household's terminal of general first user sends access blood glucose meter notice, if the authorization message that master terminal returns is not lead to
Mandate is crossed, then the second user for accessing blood glucose meter is deleted, releases the permission of second user, deleted to second terminal sending permission
Notice, second terminal no longer receive the measurement result of the first user.If the authorization message that master terminal returns is by authorizing,
Second terminal receives the measurement result of the first user
In the present embodiment, blood glucose meter only could be accessed by managing the mandate of user, establishes and is associated with management user
System, improves the safety that blood glucose meter uses.
In one embodiment, establishing the step of managing user and the user-association relationship of the second user includes:It builds
Standpipe manages the corresponding association user set of user, and association user set includes management user, and association user is added in second user
Gather, there are incidence relations between each user in association user set.
It is a kind of pass reciprocity between user specifically, all there is incidence relation between each user in association user set
Connection relationship.By association user set, netted incidence relation can be formed, improves the association range between user.
In one embodiment, the bar code that terminal access request is shown by terminal to be accessed scanning blood glucose meter obtains blood glucose meter
The terminal access request generated after mark, terminal access request include blood glucose meter mark and user information to be accessed;First is used
Information corresponding first user in family accesses the step of blood glucose meter and includes:By corresponding first user identifier of the first user and the blood
Sugared instrument mark binding.
The step of corresponding second user of second user information is accessed blood glucose meter include:By second user corresponding second
User identifier is bound with blood glucose meter mark.
Specifically, only terminal access request could be generated by scanning the bar code that blood glucose meter is shown, user needs and blood
Sugared instrument just has the qualification of access blood glucose meter face-to-face, improves the difficulty that user accesses blood glucose meter, avoids bar code from being transmitted and lead
Unrelated user is caused to send terminal access request.Corresponding first user identifier of first user and blood glucose meter mark are bound,
The corresponding second user mark of second user is bound with blood glucose meter mark, to establish each use automatically by blood glucose meter mark
Incidence relation between family improves incidence relation between user as long as all having incidence relation with the user of blood glucose meter mark binding
The convenience of foundation.
In one embodiment, user-association relationship includes the user identifier set with blood glucose meter mark binding, step
S630 includes:The corresponding active user's mark of current measurement user information is obtained, obtaining active user's mark, there are binding relationships
Target blood glucose instrument mark, obtain target blood glucose instrument and identify corresponding target user's logo collection, measurement result is sent to mesh
The target user marked in user identifier set identifies corresponding association user terminal.
Specifically, establishing the incidence relation between each user by blood glucose meter mark, identifies and bind with the same blood glucose meter
User correspond to the same user identifier set.Binding is obtained according to the current corresponding active user's mark of user information that measures
Target blood glucose instrument identifies, and each association user is determined in corresponding user identifier set so as to be identified from target blood glucose instrument, from
And measurement result is sent to the target user in target user's logo collection and identifies corresponding association user terminal.Pass through blood glucose
Instrument identifies corresponding user identifier set and obtains association user, simple and convenient, by the incidence relation between user, is converted into blood glucose meter
Relationship between mark and user.
As shown in figure 21, be in specific embodiment, by the measurement result of patient be sent to patient's mobile terminal and
With the flow diagram of the associated association user terminal of patient.As shown in figure 22, it is in a specific embodiment, if patient
For a long time do not measure, will measure prompting message be sent to patient's mobile terminal and with the associated association user terminal of patient
Flow diagram, and can intervene patient by association user feedback information makes patient carry out blood glucose measurement.
In one embodiment, as shown in figure 23, a kind of device of blood glucose meter data processing is provided, including:
Receiving module 810 is asked for receiving to measure, and it includes current measurement user information to measure request.
Data synchronization request module 820 is sent out for currently measuring the corresponding measurement result of user according to measurement acquisition request
Send data synchronization request to server, data synchronization request includes measurement result and current measurement user information, so that server
By the measurement result and the current measurement user information correlation, measurement result is sent to the current user information that measures and is corresponded to
Measurement user terminal, obtain user-association relationship, the corresponding pass of user information is currently measured according to user-association Relation acquisition
Join user information, measurement result is sent to the corresponding association user terminal of association user information.
In one embodiment, as shown in figure 24, device further includes:
Time synchronization module 830, for detecting be currently up whether meet preset condition, preset condition includes dispatching from the factory for the first time
Start and starts for the first time in each time synchronization period, if meeting preset condition, sending time synchronization request to server,
Time synchronization message of the server in response to time synchronization request feedback is received, when being arranged local according to time synchronization message
Between.
In one embodiment, as shown in figure 25, device further includes:
AM access module 840 is asked, for receiving incoming instruction, bar code is shown according to incoming instruction, bar code includes blood glucose meter
Mark generates terminal access request, terminal access request packet so that terminal to be accessed scanning bar code obtains the blood glucose meter mark
Include blood glucose meter mark and user information to be accessed.
In one embodiment, as shown in figure 26, data synchronization request module 820 includes:
Encryption unit 821, for obtaining blood glucose meter mark, by measurement result, current measurement user information and blood glucose meter mark
Know encryption and obtains encryption data packet.
Transmission unit 822, for encryption data packet to be sent to server, so that server is decrypted to obtain blood glucose meter mark
Know, currently measure user information and measurement result, blood glucose meter mark, measurement result and current measurement user information are closed
Connection.
In one embodiment, as shown in figure 27, device further includes:
User creates module 850, for receiving the newly-built request of user, according to the newly-built request distributing user mark of user.
Multi-user's display module 860 is tied for obtaining the corresponding active user's mark of current measurement user information by measuring
Fruit identifies associated storage with active user, receives the display request of user's measurement result, the display request of user's measurement result includes mesh
User identifier is marked, is identified according to target user and obtains corresponding objective measurement, and show the objective measurement.
In one embodiment, as shown in figure 28, data synchronization request module 820 includes:
Analytic unit 823 is measured, for obtaining the time of measuring for measuring the corresponding actual measured value of request, according to institute
It states time of measuring and determines corresponding target time section, the corresponding measuring state of target time section is obtained, according to the measuring state
Corresponding measurement result is obtained with actual measured value reference standard blood glucose assessment information.
In one embodiment, as shown in figure 29, device further includes:
Reminding module 870, for obtain the first user it is corresponding it is last measure ask corresponding time of measuring with it is current
Time interval between time sends alert requests to server, prompting is asked if time interval is more than preset time threshold
It asks including prompting message and the first user information, so that server obtains user-association relationship, according to user-association Relation acquisition
The corresponding association user information of the third user information, corresponding first user terminal of the first user is sent to by prompting message
Association user terminal corresponding with the association user information.
In one embodiment, as shown in figure 30, a kind of device of blood glucose meter data processing is provided, including:
Receiving module 910, the data synchronization request for receiving blood glucose meter transmission, data synchronization request includes measurement result
User information is measured with current.
First sending module 920, for by measurement result and the current measurement user information correlation, the measurement to be tied
Fruit is sent to the corresponding measurement user terminal of the current measurement user information.
Second sending module 930 currently measures user for obtaining user-association relationship according to user-association Relation acquisition
Measurement result is sent to the corresponding association user terminal of the association user information by the corresponding association user information of information.
In one embodiment, as shown in figure 31, device further includes:
Manage User Access Module 940, for receiving terminal access request, terminal access request include blood glucose meter mark and
First user information, if there is currently no management users for blood glucose meter mark, by corresponding first user of the first user information
It accesses the blood glucose meter and identifies corresponding blood glucose meter, using the first user as the corresponding management user of the blood glucose meter.
In one embodiment, as shown in figure 32, device further includes:
AM access module 950 is authorized, for receiving terminal access request, terminal access request includes blood glucose meter mark and second
User information obtains blood glucose meter and identifies corresponding management user, sends insertion authority and asks master terminal corresponding to management user,
The authorization message that master terminal returns is received, if authorization message is by authorizing, second user information corresponding second is used
Blood glucose meter is accessed at family, establishes the user-association relationship of management user and second user.
In one embodiment, it authorizes AM access module 950 to be additionally operable to establish the corresponding association user set of management user, closes
Combination family set includes management user, and second user addition association user set is deposited between each user in association user set
In incidence relation.
In one embodiment, the bar code that terminal access request is shown by terminal to be accessed scanning blood glucose meter obtains the blood
The terminal access request generated after sugared instrument mark, terminal access request include blood glucose meter mark and user information to be accessed.
Management User Access Module 940 is additionally operable to tie up corresponding first user identifier of the first user and blood glucose meter mark
It is fixed.
AM access module 950 is authorized to be additionally operable to bind the corresponding second user mark of second user with blood glucose meter mark.
In one embodiment, user-association relationship includes the user identifier set with blood glucose meter mark binding, the second hair
Module 930 is sent to be additionally operable to obtain the corresponding active user's mark of current measurement user information, acquisition active user identifies to exist and tie up
The target blood glucose instrument mark for determining relationship, obtains target blood glucose instrument and identifies corresponding target user's logo collection, measurement result is sent out
It send to the target user in target user's logo collection and identifies corresponding association user terminal.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, in the embodiment of the present invention, which can be stored in the storage medium of computer system, and by the computer system
At least one processor executes, and includes the flow such as the embodiment of above-mentioned each method with realization.Wherein, the storage medium can be
Magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.