CN107395678A - A kind of approaches to IM and system - Google Patents

A kind of approaches to IM and system Download PDF

Info

Publication number
CN107395678A
CN107395678A CN201710481988.1A CN201710481988A CN107395678A CN 107395678 A CN107395678 A CN 107395678A CN 201710481988 A CN201710481988 A CN 201710481988A CN 107395678 A CN107395678 A CN 107395678A
Authority
CN
China
Prior art keywords
information
server
history
current
weighs
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.)
Pending
Application number
CN201710481988.1A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201710481988.1A priority Critical patent/CN107395678A/en
Priority to PCT/CN2017/102715 priority patent/WO2018233108A1/en
Publication of CN107395678A publication Critical patent/CN107395678A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/44Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for weighing persons
    • G01G19/50Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups for weighing persons having additional measuring devices, e.g. for height
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of approaches to IM and system, including:Step S100 obtains the current weighing information of user;Wherein, the current information that weighs includes:Data identification information;Step S200 is according to the data identification information, and user profile corresponding to lookup, obtains lookup result in the presetting database of server;Step S300 manages the current weighing information according to the lookup result.Qualified (current or history) is only weighed information and uploaded onto the server storage by the present invention, it is not qualified to be stored in default local storage space, improve the validity of the weighing information to upload onto the server, greatly reduce the chance that server receives a large amount of invalid datas, the burden of server is reduced, improves the performance of server.And data can be locally stored at it in Weight-detecting device, even if Weight-detecting device suspension, it can also preserve the current weighing information of acquisition, improve the usage experience of user.

Description

A kind of approaches to IM and system
Technical field
The present invention relates to Weight-detecting device field, more particularly to a kind of approaches to IM and system.
Background technology
With the development of technology, Weight-detecting device is increasingly popularized, and an individual weight detection means can bind it is multiple User, and multiple users can optionally use Weight-detecting device.
The method of operation of existing Weight-detecting device is:As long as subscriber station is to being weighed on Weight-detecting device, body Re-detection device will be sent to weighing data server, and server can store the data of reception, and be broadcast to and this body weight On the user account of detection means, allow user voluntarily claim (such as:Which user substantially judges according to the weighing time of oneself Data are oneself, are claimed), again by the storage corresponding with user account of corresponding data after claiming.
The problem of existing this mode is present is, if multiple users repeatedly weigh in the short time, just has multiple weighing Data, server receive and preserve each weighing data, and one takes the memory space of server significantly, and two is big to receive The weighing data of amount can greatly increase the burden of server, and three come when there is substantial amounts of weighing data to allow user voluntarily to claim, meeting Allow user can not accurately identify the weighing data of oneself, the weighing that four existing Weight-detecting devices obtain under suspension state Data can not upload onto the server.
The content of the invention
It is an object of the invention to provide a kind of approaches to IM and system, reduces mass data and uploads onto the server to clothes It is engaged in bearing caused by device, discharges the memory space of server, user is accurately identified the weighing data of oneself, improve making for user With experience.
Technical scheme provided by the invention is as follows:
A kind of approaches to IM, including:Step S100 obtains the current weighing information of user;Wherein, the current title Amount information includes:Data identification information;Step S200 looks into according to the data identification information in the presetting database of server Corresponding user profile is looked for, obtains lookup result;Step S300 manages the current weighing information according to the lookup result.
In the above-mentioned technical solutions, it is confirmed whether the current information that weighs being uploaded to by generating data identification information Server, the burden of server and the risk of collapse are reduced, improve the service behaviour of server.
Further, the step S300 includes:Step S310 described will then work as when having found corresponding user profile Preceding weighing information uploads onto the server storage;Step S320 is not when finding corresponding user profile, then by the current title Amount information is stored in default local storage space.
In the above-mentioned technical solutions, certain condition is only met, the current information that weighs can just upload onto the server storage, Make server not have to receive substantial amounts of data, discharge its memory space, and improve the performance of server.
Further, the step S320 includes:Step S321 judges the default local storage space with the presence or absence of residue Memory space;Step S322 is stored in the residual memory space when residual memory space be present, by the current information that weighs; Step S323 is deposited when residual memory space not be present with current weigh in the information replacement default local storage space Store up the history of time at most and weigh information.
In the above-mentioned technical solutions, weigh information to the history for being stored in default local storage space to be managed, protecting While demonstrate,proving user experience, it is also considered that cost, it is cost-effective.
Further, in addition to:Step S400 weighs the number of information with the history in the default local storage space respectively User profile corresponding to being searched according to identification information in the presetting database of server;Step S500, which works as, finds corresponding user During information, then history weighing information is uploaded onto the server storage;The history of upload is weighed information by step S700 Deleted from the default local storage space.
In the above-mentioned technical solutions, after each Weight-detecting device is connected with server communication, can all inquire about whether There is the history claimed to weigh information, ensure that history weighs information and can obtain real-time update, and can discharge in time default local Memory space.
Further, in addition to:Step S600 claims described information corresponding to request when receiving information and claiming request History weighs information and uploaded onto the server storage;The history of upload is weighed information and deposited from the default local by step S700 Storage is deleted in space.
In the above-mentioned technical solutions, information claims the setting of request and considers the situation that user forgets data identification information, The a variety of modes claimed oneself and weigh information of user are given, improve the usage experience of user.
Further, in addition to:For step S800 when receiving information and retracting request, receiving described information, to retract request corresponding History weigh information, and by the history weighing information preserve into default local storage space.
In the above-mentioned technical solutions, information retracts the setting of request and gives fault tolerant workspace, when user has found that oneself is claimed After mistake weighs information, there can be the chance retracted, ensure that real user can claim the weighing information of oneself, improve user Usage experience.
The present invention also provides a kind of information management system, it is characterised in that including:Weight-detecting device and server;Institute Stating server includes:Server storage module;The Weight-detecting device includes:Data obtaining module, for obtaining user's It is current to weigh information;Wherein, the current information that weighs includes:Data identification information;Information searching module, is obtained with described information Modulus block electrically connects, and described information searching modul is used for according to the data identification information, is deposited in the server of the server User profile corresponding to being searched in module is stored up, obtains lookup result;Information management module, it is electrically connected with described information searching modul Connect, described information management module is used for according to the lookup result, manages the current weighing information.
In the above-mentioned technical solutions, it is confirmed whether the current information that weighs being uploaded to by generating data identification information Server, the burden of server and the risk of collapse are reduced, improve the service behaviour of server.
Further, described information management module includes:Information sending submodule, corresponding user's letter is found for working as During breath, then the current information that weighs is uploaded onto the server;Information sub-module stored, for ought not find corresponding user During information, described information sub-module stored then preserves the current information that weighs;The server storage module, is further used Stored in by the current information that weighs of upload.
Further, described information sub-module stored, it is further used for judging whether residual memory space;And when When residual memory space be present, the current information that weighs is stored in the residual memory space by described information sub-module stored; And when residual memory space not be present, described information sub-module stored replaces described information with the current information that weighs The history of storage time at most weighs information in sub-module stored.
Further, described information searching modul, it is further used for the history in described information sub-module stored being claimed respectively Amount information data identification information searched in the server storage module of server corresponding to user profile;Described information is sent Submodule, it is further used for when having found corresponding user profile, then history weighing information uploads onto the server; Described information sub-module stored, it is further used for the history of upload weighing information deletion;The server storage module, It is further used for the history of upload weighing information storage (corresponding with the user profile found).
Compared with prior art, approaches to IM of the invention and system beneficial effect are:
Qualified (current or history) only is weighed into information to upload onto the server storage, it is not qualified to preset Stored in local storage space, improve the validity of the weighing information to upload onto the server, greatly reduce server reception The chance of a large amount of invalid datas, the burden of server is reduced, improve the performance of server.And Weight-detecting device can be Data are locally stored in it, even if Weight-detecting device suspension, it can also preserve the current weighing information of acquisition, improve user Usage experience.
Brief description of the drawings
Below by a manner of clearly understandable, preferred embodiment is described with reference to the drawings, to a kind of approaches to IM and Above-mentioned characteristic, technical characteristic, advantage and its implementation of system are further described.
Fig. 1 is the flow chart of approaches to IM one embodiment of the present invention;
Fig. 2 is the flow chart of another embodiment of approaches to IM of the present invention;
Fig. 3 is the structural representation of information management system one embodiment of the present invention;
Fig. 4 is the structural representation of another embodiment of information management system of the present invention.
Drawing reference numeral explanation:
100. Weight-detecting device, 110. data obtaining modules, 120. information searching modules, 130. information management modules, 131. information sending submodule, 132. information sub-module storeds, 200. servers, 210. server storage modules.
Embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below The embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically show in each figure, they are not represented Its practical structures as product.In addition, so that simplified form readily appreciates, there is identical structure or function in some figures Part, one of those is only symbolically depicted, or only marked one of those.Herein, "one" is not only represented " only this ", the situation of " more than one " can also be represented.
In one embodiment of the invention, as shown in figure 1, a kind of approaches to IM, including:Step S100, which is obtained, to be used The current weighing information at family;Wherein, currently weighing information includes:Data identification information;Step S200 according to data identification information, User profile corresponding to being searched in the presetting database of server, obtains lookup result;Step S300 is according to lookup result, pipe Preceding it should weigh information.
Specifically, embodiments of the invention are realized based on Weight-detecting device, and user profile (such as:User's account Family, the intelligent terminal of user) bound with Weight-detecting device.Weight-detecting device can be intelligent body fat scale, scale Deng.Subscriber station can obtain the body data information of oneself on Weight-detecting device, such as:Body weight, body fat rate etc..
The current information that weighs includes:The body data information and data identification information of active user.Here Data Identification Information is corresponding with this body data information.Data identification information by Weight-detecting device according to oneself unique mark (such as:Body The MAC Address of re-detection device, sequence number etc. can uniquely represent the mark of Weight-detecting device) and the current time, lead to Cross what algorithm computing obtained, therefore, data identification information is unique.
Weight-detecting device after obtaining currently weighing information, can by data identification information server preset data User profile corresponding to this data identification information has been searched whether in storehouse.Here the presetting database of server refers to receive user The data identification information sent by intelligent terminal, after server receives, can store the database of this data identification information.
Concrete implementation process may be referred to following examples:
1st, when in subscriber station to Weight-detecting device, Weight-detecting device experiences user and its pressure (can be set This pressure is more than default virtual value, and it is only that pin such as encounters at the fortuitous event to prevent user) when, then according to Weight-detecting device MAC Address and current time (date Hour Minute Second) carry out computing, and it (can be four figures to obtain corresponding data identification information Word, user is facilitated to be inputted on intelligent terminal), and by this data identification information, (flicker) is shown on Weight-detecting device, is used Family needs to remember this data identification information, is easy to follow-up claim.User can be after this data identification information be obtained, just in intelligence This data identification information can be inputted in terminal, allow it to be sent to server, it can be associated and deposit by server with user profile Storage (or caching);The weighing information of oneself, user's input can also be claimed weighing good and then input data identification information The time of data identification information is not restricted.
2nd, after data identification information shows a period of time, Weight-detecting device makees clearing processing, starts formal measurement and uses The body data information at family, this body data information is associated with above-mentioned data identification information (this certain process is user Also standing can just perform in Weight-detecting device).
3rd, when weighing, and when user has descended Weight-detecting device, Weight-detecting device is believed using above-mentioned Data Identification Cease and searched in the presetting database (database that can store the data identification information of user's input) of server, see whether look into Corresponding user profile is found, if yes, then will currently weigh information (body data information and data identification information) upload Server, server can store body data information with corresponding user information correlation according to data identification information, convenient During the account of user's subsequent login oneself, it will be appreciated that the body data information of its history.
It should be noted that generation data identification information obtains the sequencing of the body data information of user with weighing not It is construed as limiting.Such as:Can also first weigh, obtain the body data information of user, then detect that user has descended body weight detection During device, MAC Address and current time (date Hour Minute Second) further according to Weight-detecting device carry out computing, obtain corresponding Data identification information (can be 4-digit number, facilitate user to be inputted on intelligent terminal), and by this data identification information in body (flicker) is shown on re-detection device.
According to lookup result, manage the current information that weighs and refer to select to upload onto the server, can also not select Server is reached, reduces the burden of server.
In the present embodiment, it is confirmed whether the current information that weighs being uploaded to service by generating data identification information Device, the burden of server and the risk of collapse are reduced, improve the service behaviour of server.
Preferably, step S300 includes:Step S310 then will currently weigh letter when having found corresponding user profile Cease the storage (corresponding with the user profile found) that uploads onto the server;Step S320 ought not find corresponding user profile When, then the current information that weighs is stored in default local storage space.
Specifically, when Weight-detecting device found in the presetting database of server this data identification information and with Its corresponding user profile, illustrate that user sends data identification information to server, claim the body data letter of oneself Breath, therefore, Weight-detecting device can upload onto the server the current information that weighs, and server will can currently weigh information with using Family information is corresponding to be stored.
When Weight-detecting device does not find this data identification information and corresponding in the presetting database of server User profile.This typically have a variety of situations, such as:Weight-detecting device is not connected (i.e. body weight detection with server communication Device is in suspension state), at this time Weight-detecting device can not be searched in the presetting database of server at all, and user claims Current weighing information can not also upload onto the server, it is therefore desirable to the default of Weight-detecting device be present and sky be locally stored In;User is also possible to be not intended to claim current weighing information, therefore non-input data identification information;It could also be possible that user It is too busy, also have not enough time to input data identification information etc..Various reasons, make currently to weigh information and do not meet what is uploaded onto the server Condition, therefore they are stored in default local storage space.
Only meet certain condition, the current information that weighs can just upload onto the server storage, server is not had to reception Substantial amounts of data, its memory space is discharged, and improve the performance of server.
Preferably, step S320 includes:Step S321 judges that default local storage space whether there is residual memory space; Step S322 will currently weigh information deposit residual memory space when residual memory space be present;Step S323 ought not be present During residual memory space, the history weighing letter of storage time at most in default local storage space is replaced with the current information that weighs Breath.
Specifically, it is useless in view of being much stored in Weight-detecting device to preset the weighing information in local storage space (client is unwanted, will not also claim), it is not necessary that store always, therefore, the appearance of default local storage space be set Amount is limited.
When default local storage space is not filled with, then the current information that weighs is stored in the surplus of default local storage space In remaining memory space, when default local storage space is filled with, then the history of storage time at most is weighed into information can be caused to cover and fallen.When When so the history in the default local storage space of management weighs information, every history can also be set to weigh the default guarantor of information The time is deposited, (is not claimed also), is then deleted when reaching the default holding time, to discharge default local storage space.
Information is weighed to the history for being stored in default local storage space to be managed, and is ensureing the same of user experience When, it is also considered that cost, it is cost-effective.
In another embodiment of the present invention, in addition to same as described above, in addition to:Step S400 (when networking) The data identification information that information is weighed with the history in default local storage space respectively is looked into the presetting database of server Look for corresponding user profile;History weighing information is then uploaded to service by step S500 when finding corresponding user profile Device storage (corresponding with the user profile found);The history of upload is weighed information from default local storage space by step S700 Middle deletion.
(in use, Weight-detecting device is not specifically, after Weight-detecting device is connected with server communication Network always), the current weighing information except obtaining user, and the current information that weighs is managed, can also be to storage Each history in default local storage space weighs information and is managed, and sees if there is corresponding user and has claimed going through for oneself The amount of being called in history information.
Therefore, after Weight-detecting device networks, all each history in default local storage space can be used to weigh information Data identification information searches each self-corresponding user profile in the presetting database of server, if yes, then will be right The history answered weighs information and uploaded onto the server, and is deleted in default local storage space.
Such as:There are 50 history to weigh information in default local storage space, Weight-detecting device can be gone through with 50 respectively The data identification information of the amount of being called in history information goes user profile corresponding to inquiry in server, it is assumed that has 5 history to weigh information Data identification information has found corresponding user profile, then this 5 history are weighed into information uploads onto the server storage, and general This 5 history scaling informations are deleted from default local storage space, to discharge the capacity of default local storage space.
It should be noted that the current order for weighing information and managing between history weighing information of management is not restricted.
Whether after each Weight-detecting device is connected with server communication, can all inquire about has the history claimed to weigh letter Breath, ensure that history weighs information and can obtain real-time update, and default local storage space can be discharged in time.
In another embodiment of the present invention, in addition to same as described above, in addition to:Step S600, which works as, receives letter Breath is when claiming request, information is claimed into history corresponding to request weighs information and uploads onto the server and (use of request is claimed with information Family information is corresponding) storage;The history of upload is weighed information and deleted from default local storage space by step S700.
Specifically, information, which claims request, refers to that user initiates information inquiring request, Weight-detecting device by intelligent terminal When receiving information inquiring request, (intelligent terminal is transmitted directly to Weight-detecting device or is sent to body weight inspection by server Survey device), all history in default local storage space are weighed information and sent to intelligent terminal by Weight-detecting device;Intelligence These history are weighed presentation of information by energy terminal, and user claims request according to the corresponding information of the needs of oneself transmission and examined to body weight Survey device, information is claimed history corresponding to request and weighs information by Weight-detecting device to upload onto the server storage, and by The history of upload weighs information and deleted from default local storage space.
The process that information claims request needs Weight-detecting device to be connected with server communication, intelligent terminal can directly with Weight-detecting device communicates to connect, and can also be communicated to connect by server and Weight-detecting device.It should be noted that information Claim request and belong to the part that management history weighs information, request is claimed and by using respectively going through by using the dynamic information that sends of householder (i.e. user have sent data identification information to corresponding user profile in the data identification information lookup server of the amount of being called in history information Claim the weighing data of oneself) sequencing be not construed as limiting.
Information claims the setting of request primarily to user forgets data identification information and set, when user have forgotten Data identification information, when wanting to claim the weighing data of oneself again, it can allow user's inquiry is all to be stored on Weight-detecting device History weigh information, allow user voluntarily to be obscured according to factors such as the weighings times of oneself and confirm the weighing data claimed of needs.
The setting that information claims request considers the situation that user forgets data identification information, gives that user is a variety of to be claimed Oneself weighs the mode of information, improves the usage experience of user.
Preferably, in addition to:When receiving information and retracting request, receive information is retracted to be gone through step S800 corresponding to request The amount of being called in history information, and history weighing information is preserved into default local storage space.
Specifically, after user claims request by data identification information or information and claimed the weighing data of oneself, use Family can also retract the weighing data claimed, i.e., user sends information by intelligent terminal and retracts request to server, service Device retracts request according to information and corresponding history weighing information is sent into Weight-detecting device, allows it to be stored in and presets local deposit Storage space (its storage time is to be stored in the time of default local storage space again), and this history can be weighed and believed by server Breath is deleted from server.
The setting that information retracts request gives fault tolerant workspace, when user find oneself to claim it is wrong weigh information after, can be with There is the chance retracted, ensure that real user can claim the weighing information of oneself, improve the usage experience of user.
In another embodiment of the present invention, as shown in Fig. 2 a kind of approaches to IM, including:
Step S100 obtains the current weighing information of user;Wherein, currently weighing information includes:Data identification information;Step Rapid S200 is according to data identification information, and user profile corresponding to lookup, obtains lookup result in the presetting database of server; Step S300 manages current weighing information according to lookup result;Step S300 includes:Step S310, which works as, has found corresponding use During the information of family, then it current will weigh information and upload onto the server storage;Step S320 corresponding to do not find during user profile, The current information that weighs then is stored in default local storage space;Step S320 includes:Step S321 judges default be locally stored Space whether there is residual memory space;It is remaining will currently to weigh information deposit when residual memory space be present by step S322 Memory space;Step S323 is replaced in default local storage space when residual memory space not be present with the current information that weighs The history of storage time at most weighs information.
Step S400 weighs the data identification information of information in server with the history in default local storage space respectively Presetting database in search corresponding to user profile;
Step S500 then uploads onto the server history weighing information storage corresponding to find during user profile, and Perform step S700;
Step S600, which claims history corresponding to request when receiving information and claiming request, by information and weighs information, to be uploaded to Server storage, and perform step S700;
The history of upload is weighed information and deleted from default local storage space by step S700;
Step S800 when receiving information and retracting request, retract history corresponding to request and weigh information by receive information, and History weighing information is preserved into default local storage space.
Specifically, the approaches to IM of this implementation, only weighs information by qualified (current or history) and is uploaded to Server storage, it is not qualified to be stored in default local storage space, improve the weighing information to upload onto the server Validity, greatly reduce the chance that server receives a large amount of invalid datas, reduce the burden of server, improve service The performance of device.And data can be locally stored at it in Weight-detecting device, even if Weight-detecting device suspension, it can also be preserved The current weighing information obtained, improve the usage experience of user.
In another embodiment of the present invention, as shown in figure 3, a kind of information management system, including:Weight-detecting device 100 and server 200, Weight-detecting device 100 and server 200 communicate to connect;Server includes:Server storage module 210。
Weight-detecting device includes:Data obtaining module 110, for obtaining the current weighing information of user;Wherein, currently Weighing information includes:Data identification information;Information searching module 120, is electrically connected with data obtaining module, and information searching module is used According to data identification information, user profile corresponding to lookup, obtains lookup result in the server storage module of server; Information management module 130, electrically connected with information searching module, information management module is used for according to lookup result, manages current claim Measure information.
Specifically, embodiments of the invention are realized based on Weight-detecting device, and user profile (such as:User's account Family, the intelligent terminal of user) bound with Weight-detecting device.Weight-detecting device can be intelligent body fat scale, scale Deng.Subscriber station can obtain the body data information of oneself on Weight-detecting device, such as:Body weight, body fat rate etc..
The current information that weighs includes:The body data information and data identification information of active user.Here Data Identification Information is corresponding with this body data information.Data identification information by Weight-detecting device according to oneself unique mark (such as:Body The MAC Address of re-detection device, sequence number etc. can uniquely represent the mark of Weight-detecting device) and the current time, lead to Cross what algorithm computing obtained, therefore, data identification information is unique.
Weight-detecting device after obtaining currently weighing information, can by data identification information server preset data User profile corresponding to this data identification information has been searched whether in storehouse.Here the presetting database of server refers to receive user The data identification information sent by intelligent terminal, after server receives, can store the database of this data identification information.
Concrete implementation process may be referred to following examples:
1st, when in subscriber station to Weight-detecting device, Weight-detecting device experiences user and its pressure (can be set This pressure is more than default virtual value, and it is only that pin such as encounters at the fortuitous event to prevent user) when, then according to Weight-detecting device MAC Address and current time (date Hour Minute Second) carry out computing, and it (can be four figures to obtain corresponding data identification information Word, user is facilitated to be inputted on intelligent terminal), and by this data identification information, (flicker) is shown on Weight-detecting device, is used Family needs to remember this data identification information, is easy to follow-up claim.User can be after this data identification information be obtained, just in intelligence This data identification information can be inputted in terminal, allow it to be sent to server, it can be associated and deposit by server with user profile Storage (or caching);The weighing information of oneself, user's input can also be claimed weighing good and then input data identification information The time of data identification information is not restricted.
2nd, after data identification information shows a period of time, Weight-detecting device makees clearing processing, starts formal measurement and uses The body data information at family, this body data information is associated with above-mentioned data identification information (this certain process is user Also standing can just perform in Weight-detecting device).
3rd, when weighing, and when user has descended Weight-detecting device, Weight-detecting device is believed using above-mentioned Data Identification Cease and searched in the presetting database (database that can store the data identification information of user's input) of server, see whether look into Corresponding user profile is found, if yes, then will currently weigh information (body data information and data identification information) upload Server, server can store body data information with corresponding user information correlation according to data identification information, convenient During the account of user's subsequent login oneself, it will be appreciated that the body data information of its history.
It should be noted that generation data identification information obtains the sequencing of the body data information of user with weighing not It is construed as limiting.Such as:Can also first weigh, obtain the body data information of user, then detect that user has descended body weight detection During device, MAC Address and current time (date Hour Minute Second) further according to Weight-detecting device carry out computing, obtain corresponding Data identification information (can be 4-digit number, facilitate user to be inputted on intelligent terminal), and by this data identification information in body (flicker) is shown on re-detection device.
According to lookup result, manage the current information that weighs and refer to select to upload onto the server, can also not select Server is reached, reduces the burden of server.
In the present embodiment, it is confirmed whether the current information that weighs being uploaded to service by generating data identification information Device, the burden of server and the risk of collapse are reduced, improve the service behaviour of server.
In another embodiment of the present invention, as shown in figure 4, in addition to same as described above, information management module bag Include:Information sending submodule 131, for when having found corresponding user profile, then the current information that weighs being uploaded into clothes Business device;Information sub-module stored 132, for when not finding corresponding user profile, information sub-module stored then will be current Information is weighed to preserve;Server storage module 210, it is further used for the current weighing information by upload (with the user found Information is corresponding) storage.
Specifically, when Weight-detecting device is found in the presetting database (i.e. server storage module) of server This data identification information and corresponding user profile, illustrate that user sends data identification information to server, recognize The body data information of oneself is led, therefore, Weight-detecting device can upload onto the server the current information that weighs, server meeting Information storage corresponding with user profile will currently be weighed.
When Weight-detecting device does not find this data identification information and corresponding in the presetting database of server User profile.This typically have a variety of situations, such as:Weight-detecting device is not connected (i.e. body weight detection with server communication Device is in suspension state), at this time Weight-detecting device can not be searched in the presetting database of server at all, and user claims Current weighing information can not also upload onto the server, it is therefore desirable to the default of Weight-detecting device be present and sky be locally stored In;User is also possible to be not intended to claim current weighing information, therefore non-input data identification information;It could also be possible that user It is too busy, also have not enough time to input data identification information etc..Various reasons, make currently to weigh information and do not meet what is uploaded onto the server Condition, therefore they are stored in default local storage space.
Only meet certain condition, the current information that weighs can just upload onto the server storage, server is not had to reception Substantial amounts of data, its memory space is discharged, and improve the performance of server.
Preferably, information sub-module stored 132, it is further used for judging whether residual memory space;And when depositing In residual memory space, information sub-module stored will currently weigh information deposit residual memory space;It is and surplus when not existing During remaining memory space, information sub-module stored weighs the going through at most of storage time in information replacement information sub-module stored with current The amount of being called in history information.
Specifically, preset local storage space (i.e. information sub-module stored) in view of many Weight-detecting devices that are stored in In weighing information be useless (client is unwanted, will not also claim), it is not necessary that store always, therefore, set letter It is limited to cease the capacity of sub-module stored.
When information sub-module stored is not filled with, then the residue that current weighing information is stored in information sub-module stored is deposited Store up in space, when information sub-module stored is filled with, then the history of storage time at most is weighed into information can be caused to cover and fallen.Certainly in pipe When managing the history weighing information in information sub-module stored, every history can also be set to weigh the default holding time of information, (do not claimed also), be then deleted when reaching the default holding time, to discharge default local storage space.
Information is weighed to the history for being stored in information sub-module stored to be managed, and is ensureing the same of user experience When, it is also considered that cost, it is cost-effective.
Preferably, information searching module 120, it is further used for using the history in information sub-module stored to weigh information respectively Data identification information searched in the server storage module of server corresponding to user profile;Information sending submodule 131, It is further used for when having found corresponding user profile, then history weighing information uploads onto the server;Information storage Module 132, it is further used for the history of upload weighing information deletion;Server storage module 210, it is further used for uploading History weigh information it is (corresponding with the user profile found) store.
(in use, Weight-detecting device is not specifically, after Weight-detecting device is connected with server communication Network always), the current weighing information except obtaining user, and the current information that weighs is managed, can also be to storage Each history in information sub-module stored weighs information and is managed, and sees if there is corresponding user and has claimed the history of oneself Weigh information.
Therefore, after Weight-detecting device networks, each history in information sub-module stored can be all used to weigh the number of information Each self-corresponding user profile is searched in the server storage module of server according to identification information, if yes, then will Corresponding history weighs information and uploaded onto the server, and is deleted in information sub-module stored.
Such as:There are 50 history to weigh information in information sub-module stored, Weight-detecting device can be respectively with 50 history The data identification information for weighing information goes user profile corresponding to inquiry in server, it is assumed that has the number that 5 history weigh information Found corresponding user profile according to identification information, then this 5 history are weighed into information uploads onto the server storage, and by this 5 history scaling information is deleted from information sub-module stored, to discharge the capacity of information sub-module stored.
It should be noted that the current order for weighing information and managing between history weighing information of management is not restricted.
Whether after each Weight-detecting device is connected with server communication, can all inquire about has (user input data letter Breath mark) history claimed weighs information, ensure that history weighs information and can obtain real-time update, and information can be discharged in time Sub-module stored.
Preferably, information sending submodule 131, it is further used for, when receiving information and claiming request, information being claimed History corresponding to request weighs information and uploaded onto the server.
Specifically, information, which claims request, refers to that user initiates information inquiring request, Weight-detecting device by intelligent terminal When receiving information inquiring request, (intelligent terminal is transmitted directly to Weight-detecting device or is sent to body weight inspection by server Survey device), all history in default local storage space are weighed information and sent to intelligent terminal by Weight-detecting device;Intelligence These history are weighed presentation of information by energy terminal, and user claims request according to the corresponding information of the needs of oneself transmission and examined to body weight Survey device, information is claimed history corresponding to request and weighs information by Weight-detecting device to upload onto the server storage, and by The history of upload weighs information and deleted from default local storage space.
The process that information claims request needs Weight-detecting device to be connected with server communication, intelligent terminal can directly with Weight-detecting device communicates to connect, and can also be communicated to connect by server and Weight-detecting device.It should be noted that information Claim request and belong to the part that management history weighs information, request is claimed and by using respectively going through by using the dynamic information that sends of householder (i.e. user have sent data identification information to corresponding user profile in the data identification information lookup server of the amount of being called in history information Claim the weighing data of oneself) sequencing be not construed as limiting.
Information claims the setting of request primarily to user forgets data identification information and set, when user have forgotten Data identification information, when wanting to claim the weighing data of oneself again, it can allow user's inquiry is all to be stored on Weight-detecting device History weigh information, allow user voluntarily to be obscured according to factors such as the weighings times of oneself and confirm the weighing data claimed of needs.
The setting that information claims request considers the situation that user forgets data identification information, gives that user is a variety of to be claimed Oneself weighs the mode of information, improves the usage experience of user.
Preferably, information sending submodule, it is further used for when receiving information inquiring request, son will be stored in information All history in module weigh information and sent to (or by server send to) intelligent terminal;Intelligent terminal is according to display All history weigh information, and the information for obtaining user's input claims request, and (or by server send to) is sent to body weight Detection means.
Preferably, information management module, it is further used for when receiving information and retracting request, receive information retracts request Corresponding history weighs information, and history is weighed into information and preserved;Server storage module, it is further used for that information ought be received When retracting request, information is retracted into history corresponding to request and weighs information (under corresponding user profile) deletion.
Specifically, after user claims request by data identification information or information and claimed the weighing data of oneself, use Family can also retract the weighing data claimed, i.e., user sends information by intelligent terminal and retracts request to server, service Device retracts request according to information and corresponding history weighing information is sent into Weight-detecting device, allows it to be stored in information storage Module (its storage time is to be stored in time of information sub-module stored again), and server this history can be weighed information from Deleted in server.
The setting that information retracts request gives fault tolerant workspace, when user find oneself to claim it is wrong weigh information after, can be with There is the chance retracted, ensure that real user can claim the weighing information of oneself, improve the usage experience of user.
It should be noted that above-described embodiment can independent assortment as needed.It the above is only being preferable to carry out for the present invention Mode, it is noted that for those skilled in the art, under the premise without departing from the principles of the invention, also Some improvements and modifications can be made, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

  1. A kind of 1. approaches to IM, it is characterised in that including:
    Step S100 obtains the current weighing information of user;
    Wherein, the current information that weighs includes:Data identification information;
    Step S200 is according to the data identification information, and user profile corresponding to lookup, is obtained in the presetting database of server To lookup result;
    Step S300 manages the current weighing information according to the lookup result.
  2. 2. approaches to IM as claimed in claim 1, it is characterised in that the step S300 includes:
    Step S310 then uploads onto the server the current information that weighs storage when having found corresponding user profile;
    The current information that weighs then is stored in default be locally stored by step S320 when not finding corresponding user profile Space.
  3. 3. approaches to IM as claimed in claim 2, it is characterised in that the step S320 includes:
    Step S321 judges that the default local storage space whether there is residual memory space;
    Step S322 is stored in the residual memory space when residual memory space be present, by the current information that weighs;
    Step S323 replaces the default local storage space when residual memory space not be present, with the current information that weighs The history of middle storage time at most weighs information.
  4. 4. approaches to IM as claimed in claim 2, it is characterised in that also include:
    Step S400 weighs the data identification information of information in server with the history in the default local storage space respectively Presetting database in search corresponding to user profile;
    Step S500 then uploads onto the server the history weighing information storage corresponding to find during user profile;
    The history of upload is weighed information and deleted from the default local storage space by step S700.
  5. 5. approaches to IM as claimed in claim 2, it is characterised in that also include:
    Step S600, which claims history corresponding to request when receiving information and claiming request, by described information and weighs information, to be uploaded to Server storage;
    The history of upload is weighed information and deleted from the default local storage space by step S700.
  6. 6. approaches to IM as claimed in claim 2, it is characterised in that also include:
    Step S800 receives described information and retracts history corresponding to request and weigh information when receiving information and retracting request, and History weighing information is preserved into default local storage space.
  7. A kind of 7. system using any described approaches to IMs of the claims 1-6, it is characterised in that including:
    Weight-detecting device and server;
    The server includes:Server storage module;
    The Weight-detecting device includes:
    Data obtaining module, for obtaining the current weighing information of user;
    Wherein, the current information that weighs includes:Data identification information;
    Information searching module, electrically connected with described information acquisition module, described information searching modul is used for according to the data mark Know information, user profile corresponding to lookup, obtains lookup result in the server storage module of the server;
    Information management module, electrically connected with described information searching modul, described information management module is used to be tied according to described search Fruit, manage the current weighing information.
  8. 8. information management system as claimed in claim 7, it is characterised in that:
    Described information management module includes:
    Information sending submodule, for when having found corresponding user profile, being then uploaded to the current information that weighs Server;
    Information sub-module stored, for when not finding corresponding user profile, described information sub-module stored to be then by described in The current information that weighs preserves;
    The server storage module, it is further used for storing the current information that weighs of upload.
  9. 9. approaches to IM as claimed in claim 8, it is characterised in that:
    Described information sub-module stored, it is further used for judging whether residual memory space;And stored when residue be present During space, the current information that weighs is stored in the residual memory space by described information sub-module stored;And when not existing During residual memory space, described information sub-module stored is deposited with current weigh in information replacement described information sub-module stored Store up the history of time at most and weigh information.
  10. 10. approaches to IM as claimed in claim 8, it is characterised in that:
    Described information searching modul, it is further used for the data for using the history in described information sub-module stored to weigh information respectively Identification information searched in the server storage module of server corresponding to user profile;
    Described information sending submodule, it is further used for when having found corresponding user profile, then weighing the history Information uploads onto the server;
    Described information sub-module stored, it is further used for the history of upload weighing information deletion;
    The server storage module, it is further used for the history of upload weighing information and the user profile pair found It should store.
CN201710481988.1A 2017-06-22 2017-06-22 A kind of approaches to IM and system Pending CN107395678A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710481988.1A CN107395678A (en) 2017-06-22 2017-06-22 A kind of approaches to IM and system
PCT/CN2017/102715 WO2018233108A1 (en) 2017-06-22 2017-09-21 Information management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710481988.1A CN107395678A (en) 2017-06-22 2017-06-22 A kind of approaches to IM and system

Publications (1)

Publication Number Publication Date
CN107395678A true CN107395678A (en) 2017-11-24

Family

ID=60333563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710481988.1A Pending CN107395678A (en) 2017-06-22 2017-06-22 A kind of approaches to IM and system

Country Status (2)

Country Link
CN (1) CN107395678A (en)
WO (1) WO2018233108A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632391A (en) * 2018-05-21 2018-10-09 北京小米移动软件有限公司 information sharing method and device
CN108769026A (en) * 2018-05-31 2018-11-06 康键信息技术(深圳)有限公司 User account detecting system and method
US20220155134A1 (en) * 2014-05-09 2022-05-19 Daniel Lin Method and System to Track Weight

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702606A (en) * 2011-01-14 2014-04-02 高通股份有限公司 Telehealth wireless communication hub device and service platform system
US20140163336A1 (en) * 2011-07-05 2014-06-12 Saudi Arabian Oil Company Systems, computer medium and computer-implemented methods for monitoring and improving biometric health of employees
CN105000396A (en) * 2015-07-31 2015-10-28 万达信息股份有限公司 Automatic weighing, transferring, collecting and transporting mobile device and method
CN105286791A (en) * 2015-09-30 2016-02-03 小米科技有限责任公司 Health information acquisition method and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103196534A (en) * 2012-12-28 2013-07-10 中山市永衡日用制品有限公司 Electronic scale system with wireless transmission function
CN103162782A (en) * 2013-02-04 2013-06-19 河南紫光物联技术有限公司 Novel height and weight measuring device
CN105187536B (en) * 2015-09-15 2019-02-22 贵阳朗玛信息技术股份有限公司 A kind of method and data transmitting server of data upload
WO2017091440A1 (en) * 2015-11-25 2017-06-01 PhysioWave, Inc. Remote physiologic parameter assessment methods and platform apparatuses

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702606A (en) * 2011-01-14 2014-04-02 高通股份有限公司 Telehealth wireless communication hub device and service platform system
US20140163336A1 (en) * 2011-07-05 2014-06-12 Saudi Arabian Oil Company Systems, computer medium and computer-implemented methods for monitoring and improving biometric health of employees
CN105000396A (en) * 2015-07-31 2015-10-28 万达信息股份有限公司 Automatic weighing, transferring, collecting and transporting mobile device and method
CN105286791A (en) * 2015-09-30 2016-02-03 小米科技有限责任公司 Health information acquisition method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220155134A1 (en) * 2014-05-09 2022-05-19 Daniel Lin Method and System to Track Weight
CN108632391A (en) * 2018-05-21 2018-10-09 北京小米移动软件有限公司 information sharing method and device
CN108632391B (en) * 2018-05-21 2022-03-11 北京小米移动软件有限公司 Information sharing method and device
CN108769026A (en) * 2018-05-31 2018-11-06 康键信息技术(深圳)有限公司 User account detecting system and method

Also Published As

Publication number Publication date
WO2018233108A1 (en) 2018-12-27

Similar Documents

Publication Publication Date Title
KR100816310B1 (en) Method of operating a gateway with a location information system
CN104580393B (en) Expansion method, device and server cluster system for server cluster system
CN107395678A (en) A kind of approaches to IM and system
CN106998370A (en) Access control method, device and system
CN102739808B (en) Transmission system and the method for cloud storage server, user terminal and high in the clouds data
CN103795768B (en) The method and apparatus of remote access
CN104346345B (en) The storage method and device of data
CN103037007A (en) Data sharing method and data sharing system based on geographic position service
CN102355374A (en) Data acquisition method and equipment
CN108282508A (en) Determination method and device, information-pushing method and the device in geographical location
CN101459571A (en) Method, system and apparatus for website mirroring
CN102422272A (en) In-home unit management system
CN109510775A (en) Orient dispatching method, authentication device, the network equipment and the storage medium of flow
JP2003122710A5 (en)
CN104661190A (en) M2M (Machine to Machine)-based information processing method and M2M business platform
CN107430582A (en) Thin client system, connection management device, virtual machine operations device, method and storage medium
CN106506249B (en) Collecting method and device
CN107506438A (en) A kind of data processing storage method and device for Internet of Things
CN107835222A (en) Combustion gas data transmission method and Internet of things system based on compound Internet of Things
CN109753515A (en) The information processing method and device recalled for vehicle
CN106961640A (en) A kind of data transmission method for uplink and system based on Weight-detecting device
CN111200640B (en) Uploading method based on client and client
CN103685402A (en) Method for remote resource control, server and task originating device
CN103678008B (en) Method for reading data and corresponding digital independent device
CN101329178B (en) Method and device for obtaining coded information and address localization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171124

WD01 Invention patent application deemed withdrawn after publication