CN114489514A - Data storage method and device - Google Patents

Data storage method and device Download PDF

Info

Publication number
CN114489514A
CN114489514A CN202210128133.1A CN202210128133A CN114489514A CN 114489514 A CN114489514 A CN 114489514A CN 202210128133 A CN202210128133 A CN 202210128133A CN 114489514 A CN114489514 A CN 114489514A
Authority
CN
China
Prior art keywords
user
measurement data
message
information
sending
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
CN202210128133.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.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information 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 Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202210128133.1A priority Critical patent/CN114489514A/en
Publication of CN114489514A publication Critical patent/CN114489514A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal

Abstract

The embodiment of the disclosure discloses a data storage method and a data storage device. One embodiment of the method comprises: responding to the received measurement data sent by the detection equipment, and sending a message of the measurement data to the terminal equipment; the message includes measurement data; and in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, storing the measurement data into a storage space of the user represented by the user confirmation information, wherein the user confirmation information is used for representing which user in the user information the measurement data in the message belongs to. A data storage method and device for confirming the user to which the measurement data belongs after the measurement is completed are realized.

Description

Data storage method and device
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to the technical field of data processing, and particularly relates to a data storage method and device.
Background
The current intelligent detector automatically belongs detected data to a user bound to the device after the user finishes measurement and reports the data to the cloud. For example, under the condition that the device is not changed to a bound user, another user directly measures the data, and the data can automatically belong to the device-bound user, so that the file data of the user is confused, the file data of the other user is lost, the judgment of the user on the data of the user and the service (such as diagnosis and treatment of a doctor) provided according to the data of the user are influenced, and if the bound user is required to be changed again, the user needs to unbind an old user and bind a new user again, so that the operation is complicated, and particularly, the operation is more inconvenient for the old.
Disclosure of Invention
The embodiment of the disclosure provides a data storage method and device, and a data transmission method and device.
In a first aspect, an embodiment of the present disclosure provides a data storage method, including: responding to the received measurement data sent by the detection equipment, and sending a message of the measurement data to the terminal equipment; the message includes measurement data; and in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, storing the measurement data into a storage space of the user represented by the user confirmation information, wherein the user confirmation information is used for representing which user in the user information the measurement data in the message belongs to.
In some embodiments, in response to receiving the measurement data sent by the detection device, sending a message of the measurement data to the terminal device includes: responding to the received measurement data sent by the detection equipment, and judging whether the measurement data meets a sending condition, wherein the sending condition is as follows: detecting that the number of users bound by the equipment is larger than a preset value and/or detecting that other users except the first user exist in the users bound by the equipment; and responding to the measurement data meeting the sending condition, and sending a message of the measurement data to the terminal equipment.
In some embodiments, in response to receiving the measurement data sent by the detection device, sending a message of the measurement data to the terminal device includes: in response to receiving the measurement data sent by the detection equipment, determining the user to which the measurement data belongs; and sending a message of the measurement data to the terminal equipment, wherein the message also comprises the user of the measurement data.
In some embodiments, the method further comprises: determining a first user bound by the detection equipment, and storing the measurement data to a storage space of the first user; and in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, storing the measurement data in a storage space of the user represented by the user confirmation information, wherein the method comprises the following steps: the method comprises the steps that measurement data in a storage space of a first user are obtained in response to receiving user confirmation information returned by terminal equipment based on information and user information bound by detection equipment; and storing the measurement data in the storage space of the first user to the storage space of the user represented by the user confirmation information.
In some embodiments, the method further comprises: and in response to the measurement data not meeting the sending condition, storing the measurement data in a storage space of the first user bound to the detection device.
In some embodiments, the method further comprises: and in response to receiving the user registration information returned by the terminal equipment based on the message, storing the measurement data in the storage space of the user represented by the user registration information.
In a second aspect, an embodiment of the present disclosure provides a data sending method, including: receiving a message sent by a server, wherein the message comprises: measuring data, detecting equipment information and belonged users of the measuring data; acquiring user information bound by detection equipment, generating a display page of a user including measurement data, the user information and the measurement data based on the information and the user information, and displaying the display page; and responding to the received operation of the user on the display page, determining user confirmation information or user registration information corresponding to the operation content, and sending the user confirmation information or the user registration information to the server.
In some embodiments, the method further comprises: in response to the received registration information of the user, binding the user with the matched detection equipment to generate a binding relationship between the user and the detection equipment; and sending the registration information and the binding relationship of the user to a server.
In some embodiments, the method further comprises: and responding to the received measurement instruction sent by the user, and forwarding the measurement instruction to the detection equipment so as to enable the detection equipment to start measurement.
In a third aspect, embodiments of the present disclosure provide a data storage device, including: a sending unit configured to send a message of the measurement data to the terminal device in response to receiving the measurement data sent by the detection device; the message includes measurement data; and the first storage unit is configured to respond to the received user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, and store the measurement data into the storage space of the user represented by the user confirmation information, wherein the user confirmation information is used for representing the user to which the measurement data in the message belongs in the user information.
In some embodiments, a transmitting unit includes: a judging module configured to judge whether the measurement data satisfies a sending condition in response to receiving the measurement data sent by the detection device, the sending condition being: detecting that the number of users bound by the equipment is larger than a preset value and/or detecting that other users except the first user exist in the users bound by the equipment; and the first sending module is configured to send a message of the measurement data to the terminal equipment in response to the measurement data meeting the sending condition.
In some embodiments, a transmitting unit includes: the determining module is configured to respond to the received measurement data sent by the detection device and determine the user to which the measurement data belongs; and the second sending module is configured to send a message of the measurement data to the terminal equipment, wherein the message also comprises the user to which the measurement data belongs.
In some embodiments, the apparatus further comprises: a second storage unit configured to determine a first user to which the detection device is bound, and store the measurement data to a storage space of the first user; and a first storage unit including: the acquisition module is configured to respond to the received user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, and acquire the measurement data in the storage space of the first user; and the storage module is configured to store the measurement data in the storage space of the first user to the storage space of the user represented by the user confirmation information.
In some embodiments, the apparatus further comprises: and a third storage unit configured to store the measurement data to a storage space of the first user bound to the detection device in response to the measurement data not satisfying the transmission condition.
In some embodiments, the apparatus further comprises: and the fourth storage unit is configured to respond to the received user registration information returned by the terminal device based on the message and store the measurement data in the storage space of the user represented by the user registration information.
In a fourth aspect, an embodiment of the present disclosure provides a data transmission apparatus, including: a message receiving unit configured to receive a message sent by a server, the message including: measuring data, detecting equipment information and belonged users of the measuring data; the page generating unit is configured to acquire user information bound by the detection equipment, generate a display page of a user including the measurement data, the user information and the measurement data based on the message and the user information, and display the display page; and the first information sending unit is configured to respond to the received operation of the user on the display page, determine user confirmation information or user registration information corresponding to the operation content, and send the user confirmation information or the user registration information to the server.
In some embodiments, the apparatus further comprises: the generating unit is configured to respond to the received registration information of the user, bind the user and the matched detection equipment and generate a binding relation between the user and the detection equipment; and the second information sending unit is configured to send the registration information and the binding relation of the user to the server.
In some embodiments, the apparatus further comprises: and the forwarding unit is configured to respond to the received measurement instruction sent by the user and forward the measurement instruction to the detection equipment so as to enable the detection equipment to start measurement.
In a fifth aspect, an embodiment of the present disclosure provides a terminal device, including: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement a method as described in any of the implementations of the first aspect or a method as described in any of the implementations of the second aspect.
In a sixth aspect, embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method as described in any of the implementations of the first aspect or the method as described in any of the implementations of the second aspect.
According to the data storage method and device provided by the embodiment of the disclosure, the message of the measurement data is sent to the terminal device in response to the received measurement data sent by the detection device, and the measurement data is stored in the storage space of the user represented by the user confirmation information in response to the received user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, so that the data storage method and device for confirming the user to which the measurement data belongs after the measurement is completed are realized. The problem of among the prior art many people use same intelligent health equipment jointly, data are filed confusion and complex operation is solved. By actively reminding the user to select the user to which the measured data belongs, the effective storage of the data can be realized without binding a new user again, so that the user operation is simpler and more convenient, and the user experience is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow diagram for one embodiment of a data storage method according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of a data storage method according to the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of a data storage method according to the present disclosure;
FIG. 5 is a schematic block diagram of one embodiment of a data transmission method according to the present disclosure;
FIG. 6 is a schematic structural diagram of one embodiment of a data storage device according to the present disclosure;
FIG. 7 is a schematic block diagram of one embodiment of a data transmission apparatus according to the present disclosure;
FIG. 8 is a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 of a data storage method or data storage device to which embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, a detection device 105, and a server 106. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103, the detection device 105 and the server 106. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the detection device 105 or the server 106 via the network 104, to send instructions or to send/receive data or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a shopping application, a pick-up application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with a display screen to support information browsing, including but not limited to smart phones, smart bracelets, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. The terminal devices 101, 102, 103 may interact with the detection device 105 or the server 106 via the network 104 to transmit instructions or transmit/receive data or the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein. The detection device 105 may be any device for testing a person, an object, a scene, and the like, and is not specifically limited herein, and the detection device 105 at least has functions of a distribution network, a user binding, and the like.
The server 106 may be a cloud server that provides various services, such as a cloud server that stores transmission data of the terminal devices 101, 102, 103 and the detection device 105. The cloud server may process the received request or data and feed back a processing result (e.g., a message of measurement data) to the terminal device.
The server 106 may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server 106 is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the operations performed by the server 106 may also be performed by other electronic devices.
It should be noted that the data storage method provided by the embodiment of the present disclosure is generally executed by the server 106, and the corresponding data storage device is generally disposed in the server 106.
It should be understood that the number of terminal devices, networks, detection devices and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, detection devices, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a data storage method according to the present disclosure is shown. The data storage method is applied to a cloud server and comprises the following steps:
step 201, in response to receiving the measurement data sent by the detection device, sending a message of the measurement data to the terminal device.
In this embodiment, the terminal device, the detection device and the cloud server communicate with each other after the distribution network is completed, when the detection device completes the detection, the measurement data is reported to the cloud server, and when the cloud server receives the measurement data sent by the detection device, a message of the measurement data can be sent to the terminal device. The message of the measurement data at least includes measurement data, and may also include measurement time, measurement device information, and the like, where the measurement data may be measurement data detected by different detection devices for various requirements of the user, and the measurement data may be detection data for a human body, or test data for a device or a scene.
In some optional implementation manners of this embodiment, in response to receiving measurement data sent by the detection device, sending a message of the measurement data to the terminal device includes: in response to receiving the measurement data sent by the detection equipment, determining the user to which the measurement data belongs by using a model algorithm or information comparison; and sending a message of the measurement data to the terminal equipment, wherein the message also comprises the user of the measurement data. Through analyzing the measured data, the closest affiliated user is found and displayed to the user, so that the user can conveniently make reasonable judgment, the user operation is simplified, and the user experience is further improved.
Step 202, in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, storing the measurement data in a storage space of the user represented by the user confirmation information.
In this embodiment, when the cloud server receives user confirmation information returned by the terminal device based on the message and the user information bound to the detection device, the measurement data is stored in the storage space of the user indicated by the user confirmation information. The user confirmation information is used for indicating which user in the user information the measurement data in the message belongs to. The user confirmation information may include the unique identifier of the measurement data and the user selected by the user (i.e. the archive user to which the measurement data belongs), and the user confirmation information may further include: and the cloud end can perform corresponding operation (deletion, attribution to another user and the like) on the measurement data according to the operation type (deletion, modification) of the user. The terminal device may determine the user confirmation information based on the received message and the acquired user information bound to the detection device.
With continued reference to fig. 3, fig. 3 is a schematic diagram 300 of an application scenario of the data storage method according to the present embodiment. The data storage method of the present embodiment operates in the electronic device 301. Firstly, after the electronic device 301 receives the measurement data sent by the detection device, the electronic device sends a message of the measurement data to the terminal device 302, wherein the message includes the measurement data, and then, when the electronic device 301 receives user confirmation information returned by the terminal device based on the message and the user information bound to the detection device, the measurement data is stored in the storage space 303 of the user represented by the user confirmation information, wherein the user confirmation information is used for representing which user in the user information the measurement data in the message belongs to.
The data storage method provided by the embodiment of the disclosure adopts a data storage method that a message of measurement data is sent to a terminal device in response to receiving the measurement data sent by a detection device, the measurement data is stored to a storage space of a user represented by user confirmation information in response to receiving the user confirmation information returned by the terminal device based on the user information bound by the message and the detection device, and the user to which the measurement data belongs is confirmed after the measurement is completed. The problem of among the prior art many people use same intelligent health equipment jointly, data are filed confusion and complex operation is solved. By actively reminding the user to select the user to which the measured data belongs, the effective storage of the data can be realized without binding a new user again, so that the user operation is simpler and more convenient, and the user experience is improved.
With further reference to FIG. 4, a flow diagram of yet another embodiment of a data storage method is shown. The process 400 of the data storage method includes the following steps:
step 401, in response to receiving the measurement data sent by the detection device, determining a first user bound to the detection device, storing the measurement data in a storage space of the first user, and determining whether the measurement data meets a sending condition.
In this embodiment, after receiving measurement data sent by the detection device, the execution main body queries the library file, determines a first user bound to the detection device, stores the measurement data in a storage space of the first user, and determines whether the measurement data meets a sending condition by judging whether the number of users bound to the detection device is greater than a preset value and/or whether other users except the first user exist in the users bound to the detection device. The transmission condition may be: the number of the users bound by the detection device is larger than a preset value and/or other users except the first user exist in the users bound by the detection device, for example, when more than one user bound by the detection device exists, the sending condition is met. Here, the first user may be a primary user to which the detection device is pre-bound. The number of users may be the number of user IDs bound to the detection device.
And 402, responding to the measurement data meeting the sending condition, and sending a message of the measurement data to the terminal equipment.
In the present embodiment, when the execution subject determines that the measurement data satisfies the transmission condition, a message of the measurement data is transmitted to the terminal device.
In some optional implementations of this embodiment, the method further includes: and in response to the measurement data not meeting the sending condition, storing the measurement data in a storage space of the first user bound to the detection device. When the sending condition is not met, the measured data are directly stored in the default user, so that the measured data are rapidly stored, and meanwhile, when the judgment of the sending condition fails due to some reason, the measured data cannot be lost, and the data storage efficiency is improved.
Step 403, in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, obtaining measurement data in the storage space of the first user.
In this embodiment, when the execution subject receives user confirmation information returned by the terminal device based on the message and the user information bound to the detection device, the measurement data in the storage space of the first user is acquired.
Step 404, storing the measurement data in the storage space of the first user to the storage space of the user indicated by the user confirmation information.
In this embodiment, the execution subject stores the measurement data in the storage space of the first user acquired in step 403 to the storage space of the user indicated by the user confirmation information.
In some optional implementations of this embodiment, the method further includes: and in response to receiving the user registration information returned by the terminal equipment based on the message, storing the measurement data in the storage space of the user represented by the user registration information. After the terminal receives the message of the measurement data, the user information bound by the detection equipment is displayed to the user, if the user does not find the optional user on the display interface, the user can be reminded to register again, and the user registration information is sent to the server, so that the server can store the measurement data to the corresponding user. When a new user uses the data storage system, only the sub-account needs to be added for the user, so that the accuracy of data storage is improved, and the operation is simpler and more convenient.
It should be noted that the model algorithm may be obtained by pre-training, and the model algorithm is a well-known technology widely studied and applied at present, and is not described herein again.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the process 400 of storing data in this embodiment determines a first user bound to the detection device in response to receiving measurement data sent by the detection device, stores the measurement data in a storage space of the first user, determines whether the measurement data satisfies a sending condition, sends a message of the measurement data to the terminal device in response to the measurement data satisfying the sending condition, obtains the measurement data in the storage space of the first user in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound to the detection device, stores the measurement data in the storage space of the first user in the storage space of the user represented by the user confirmation information, actively prompts the user to select a user to which the measurement data belongs only in a case that the condition is satisfied (for example, when multiple users use the same intelligent health device), the data processing process is more flexible and efficient, the measured data are stored in the default user, and the accurate storage position of the measured data is adjusted, so that the data security is improved.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
With continued reference to fig. 5, a flow 500 of one embodiment of a data transmission method according to the present disclosure is shown. The data sending method is applied to terminal equipment which is successfully distributed with a cloud server and detection equipment, and comprises the following steps:
step 501, receiving a message sent by a server.
In this embodiment, the terminal device may receive a message sent by the server. The message may include: the measurement data, the detection device information and the affiliated user of the measurement data.
Step 502, obtaining user information bound by the detection device, generating a display page of a user including the measurement data, the user information and the measurement data based on the message and the user information, and displaying the display page.
In this embodiment, the terminal device may obtain the user information bound by the detection device from the cloud server, another server, or locally, generate a display page including the measurement data, the user information, and the affiliated user of the measurement data based on the message and the user information received in step 501, and display the display page to the user, so that the user confirms the affiliated user of the measurement data with respect to the display page.
Step 503, in response to receiving the operation of the user on the display page, determining user confirmation information or user registration information corresponding to the operation content, and sending the user confirmation information or the user registration information to the server.
In this embodiment, after receiving an operation of a user on a display page, the terminal device analyzes the operation content, determines user confirmation information or user registration information corresponding to the operation content, and sends the user confirmation information or the user registration information to the server. The display page includes a related interface for prompting the user to register, and the operation may be user selection for the display page or registration information filling for a new user.
In some optional implementations of this embodiment, the method further includes: in response to the received registration information of the user, binding the user with the matched detection equipment to generate a binding relationship between the user and the detection equipment; and sending the registration information and the binding relationship of the user to a server. And the initial registration of the user is realized by utilizing the terminal equipment, and the user is bound with the detection equipment to prepare for acquiring the binding information of the detection equipment subsequently.
In some optional implementations of this embodiment, the method further includes: and responding to the received measurement instruction sent by the user, and forwarding the measurement instruction to the detection equipment so as to enable the detection equipment to start measurement. The terminal equipment is used for controlling the remote intelligent detection equipment, and an intelligent detection scheme with wider application scenes is realized.
The data sending method provided by the embodiment of the disclosure includes the steps of receiving a message sent by a server, obtaining user information bound by detection equipment, generating a display page of a user including measurement data, the user information and the measurement data based on the message and the user information, displaying the display page, determining user confirmation information or user registration information corresponding to operation contents in response to receiving an operation of the user on the display page, and sending the user confirmation information or the user registration information to the server, so that the data sending method under a scene formed by the server, the terminal equipment and the detection equipment is realized. Through the user who modifies the measurement data at visual terminal bullet frame suggestion automatically, the user can directly modify on the pop-up window to avoid data interference, and easy operation has promoted user experience.
With further reference to fig. 6, as an implementation of the method shown in fig. 2 to 4 described above, the present disclosure provides an embodiment of a data storage device, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 6, the data storage device 600 of the present embodiment includes: a transmitting unit 601 and a first storage unit 602. The sending unit is configured to respond to the received measurement data sent by the detection device and send a message of the measurement data to the terminal device; the message includes measurement data; and the first storage unit is configured to respond to the received user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, and store the measurement data into the storage space of the user represented by the user confirmation information, wherein the user confirmation information is used for representing the user to which the measurement data in the message belongs in the user information.
In this embodiment, specific processing of the sending unit 601 and the first storage unit 602 of the data storage device 600 and technical effects thereof can refer to related descriptions from step 201 to step 202 in the embodiment corresponding to fig. 2, which are not described herein again.
In some optional implementations of this embodiment, the sending unit includes: a judging module configured to judge whether the measurement data satisfies a sending condition in response to receiving the measurement data sent by the detection device, the sending condition being: detecting that the number of users bound by the equipment is larger than a preset value and/or detecting that other users except the first user exist in the users bound by the equipment; and the first sending module is configured to send a message of the measurement data to the terminal equipment in response to the measurement data meeting the sending condition.
In some optional implementations of this embodiment, the sending unit includes: the determining module is configured to respond to the received measurement data sent by the detection device and determine the user to which the measurement data belongs; and the second sending module is configured to send a message of the measurement data to the terminal equipment, wherein the message also comprises the user to which the measurement data belongs.
In some optional implementations of this embodiment, the apparatus further includes: a second storage unit configured to determine a first user to which the detection device is bound, and store the measurement data to a storage space of the first user; and a first storage unit including: the acquisition module is configured to respond to the received user confirmation information returned by the terminal equipment based on the message and the user information bound by the detection equipment, and acquire the measurement data in the storage space of the first user; and the storage module is configured to store the measurement data in the storage space of the first user to the storage space of the user represented by the user confirmation information.
In some optional implementations of this embodiment, the apparatus further includes: and a third storage unit configured to store the measurement data to a storage space of the first user bound to the detection device in response to the measurement data not satisfying the transmission condition.
In some optional implementations of this embodiment, the apparatus further includes: and the fourth storage unit is configured to respond to the received user registration information returned by the terminal device based on the message and store the measurement data in the storage space of the user represented by the user registration information.
With further reference to fig. 7, as an implementation of the method shown in fig. 5, the present disclosure provides an embodiment of a data transmission apparatus, which corresponds to the method embodiment shown in fig. 5, and which can be applied in various electronic devices.
As shown in fig. 7, the data transmission device 700 of the present embodiment includes: a message receiving unit 701, a page generating unit 702, and a first information transmitting unit 703. Wherein, the message receiving unit is configured to receive a message sent by the server, and the message comprises: measuring data, detecting equipment information and belonged users of the measuring data; the page generating unit is configured to acquire user information bound by the detection equipment, generate a display page of a user including the measurement data, the user information and the measurement data based on the message and the user information, and display the display page; and the first information sending unit is configured to respond to the received operation of the user on the display page, determine user confirmation information or user registration information corresponding to the operation content, and send the user confirmation information or the user registration information to the server.
In this embodiment, specific processing of the message receiving unit 701, the page generating unit 702, and the first information sending unit 703 of the data sending apparatus 700 and technical effects brought by the processing can refer to relevant descriptions of step 501 to step 503 in the embodiment corresponding to fig. 5, which are not described herein again.
In some optional implementations of this embodiment, the apparatus further includes: the generating unit is configured to respond to the received registration information of the user, bind the user and the matched detection equipment and generate a binding relation between the user and the detection equipment; and the second information sending unit is configured to send the registration information and the binding relation of the user to the server.
In some optional implementations of this embodiment, the apparatus further includes: and the forwarding unit is configured to respond to the received measurement instruction sent by the user and forward the measurement instruction to the detection equipment so as to enable the detection equipment to start measurement.
Referring now to FIG. 8, shown is a schematic diagram of an electronic device 800 suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, an electronic device 800 may include a processing means (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 8 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 8 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium of the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to the received measurement data sent by the detection equipment, and sending a message of the measurement data to the terminal equipment; the message includes measurement data; and in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, storing the measurement data into a storage space of the user represented by the user confirmation information, wherein the user confirmation information is used for representing which user in the user information the measurement data in the message belongs to.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a transmitting unit and a first storage unit. The names of these units do not in some cases constitute a limitation on the unit itself, and for example, the transmission unit may also be described as a "unit that transmits a message of measurement data to a terminal device in response to receiving the measurement data transmitted by the detection device".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (15)

1. A method of data storage, comprising:
responding to the received measurement data sent by the detection equipment, and sending a message of the measurement data to the terminal equipment; the message comprises the measurement data;
and in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, storing the measurement data into a storage space of the user represented by the user confirmation information, wherein the user confirmation information is used for representing which user in the user information the measurement data in the message belongs to.
2. The method of claim 1, wherein the sending a message of the measurement data to a terminal device in response to receiving the measurement data sent by a detection device comprises:
responding to the received measurement data sent by the detection equipment, and judging whether the measurement data meets a sending condition, wherein the sending condition is as follows: the number of users bound by the detection equipment is larger than a preset value and/or other users except the first user exist in the users bound by the detection equipment;
and responding to the condition that the measurement data meet the sending condition, and sending the message of the measurement data to the terminal equipment.
3. The method of claim 1, wherein the sending a message of the measurement data to a terminal device in response to receiving the measurement data sent by a detection device comprises:
in response to receiving measurement data sent by detection equipment, determining a user to which the measurement data belongs;
and sending the message of the measurement data to terminal equipment, wherein the message also comprises the user of the measurement data.
4. The method of claim 1, further comprising:
determining a first user bound by the detection equipment, and storing the measurement data to a storage space of the first user; and the number of the first and second groups,
the storing the measurement data to a storage space of a user represented by the user confirmation information in response to receiving the user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, includes:
in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, acquiring measurement data in the storage space of the first user;
and storing the measurement data in the storage space of the first user to the storage space of the user represented by the user confirmation information.
5. The method of claim 2, further comprising:
and in response to the measurement data not meeting the sending condition, storing the measurement data in a storage space of a first user bound by the detection device.
6. The method of claim 1, further comprising:
and in response to receiving user registration information returned by the terminal equipment based on the message, storing the measurement data in a storage space of the user represented by the user registration information.
7. A method of data transmission, comprising:
receiving a message sent by a server, wherein the message comprises: measuring data, detecting equipment information and a user to which the measuring data belongs;
acquiring user information bound by the detection equipment, generating a display page of a user including the measurement data, the user information and the measurement data based on the message and the user information, and displaying the display page;
and responding to the received operation of the user on the display page, determining user confirmation information or user registration information corresponding to the operation content, and sending the user confirmation information or the user registration information to the server.
8. The method of claim 7, further comprising:
in response to the fact that registration information of a user is received, the user and the matched detection equipment are bound, and a binding relation between the user and the detection equipment is generated;
and sending the registration information of the user and the binding relationship to the server.
9. The method of claim 7, further comprising:
and responding to a received measurement instruction sent by a user, and forwarding the measurement instruction to the detection equipment so as to enable the detection equipment to start measurement.
10. A data storage device comprising:
a sending unit configured to send a message of the measurement data to a terminal device in response to receiving the measurement data sent by the detection device; the message comprises the measurement data;
a first storage unit, configured to, in response to receiving user confirmation information returned by the terminal device based on the message and the user information bound by the detection device, store the measurement data in a storage space of a user represented by the user confirmation information, where the user confirmation information is used to represent to which user in the user information the measurement data in the message belongs.
11. The apparatus of claim 10, wherein the transmitting unit comprises:
a judging module configured to, in response to receiving measurement data sent by a detection device, judge whether the measurement data satisfies a sending condition that: the number of users bound by the detection equipment is larger than a preset value and/or other users except the first user exist in the users bound by the detection equipment;
a first sending module configured to send a message of the measurement data to a terminal device in response to the measurement data satisfying a sending condition.
12. The apparatus of claim 10, wherein the transmitting unit comprises:
the determining module is configured to respond to the received measurement data sent by the detection equipment and determine the user to which the measurement data belongs;
and the second sending module is configured to send the message of the measurement data to the terminal equipment, wherein the message further comprises the user of the measurement data.
13. A data transmission apparatus comprising:
a message receiving unit configured to receive a message sent by a server, the message including: measuring data, detecting equipment information and a user to which the measuring data belongs;
the page generating unit is configured to acquire user information bound by the detection equipment, generate a display page including the measurement data, the user information and the user of the measurement data based on the message and the user information, and display the display page;
a first information sending unit configured to determine user confirmation information or user registration information corresponding to the operation content in response to receiving an operation of a user on the display page, and send the user confirmation information or the user registration information to the server.
14. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6 or the method of any one of claims 7-9.
15. A computer readable medium having a computer program stored thereon, wherein the program when executed by a processor implements the method of any of claims 1-6 or the method of any of claims 7-9.
CN202210128133.1A 2022-02-11 2022-02-11 Data storage method and device Pending CN114489514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210128133.1A CN114489514A (en) 2022-02-11 2022-02-11 Data storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210128133.1A CN114489514A (en) 2022-02-11 2022-02-11 Data storage method and device

Publications (1)

Publication Number Publication Date
CN114489514A true CN114489514A (en) 2022-05-13

Family

ID=81479797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210128133.1A Pending CN114489514A (en) 2022-02-11 2022-02-11 Data storage method and device

Country Status (1)

Country Link
CN (1) CN114489514A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845070A (en) * 2016-12-15 2017-06-13 杭州联络互动信息科技股份有限公司 A kind of data correlation store method and device based on Intelligent weight scale
CN107483503A (en) * 2017-09-28 2017-12-15 深圳市口袋网络科技有限公司 A kind of application program login method, apparatus and system
CN108632389A (en) * 2018-05-16 2018-10-09 广州视源电子科技股份有限公司 Sign data management method, equipment end, main service side used, storage medium and system
CN110300117A (en) * 2019-07-05 2019-10-01 杭州博联智能科技股份有限公司 Authentication method, equipment and the medium of IOT equipment and user's binding
CN111917773A (en) * 2020-07-31 2020-11-10 中国工商银行股份有限公司 Service data processing method and device and server
CN112954010A (en) * 2021-01-27 2021-06-11 乐歌信息科技(上海)有限公司 Data distribution method and device
CN113742767A (en) * 2020-05-28 2021-12-03 华为技术有限公司 Information processing method, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845070A (en) * 2016-12-15 2017-06-13 杭州联络互动信息科技股份有限公司 A kind of data correlation store method and device based on Intelligent weight scale
CN107483503A (en) * 2017-09-28 2017-12-15 深圳市口袋网络科技有限公司 A kind of application program login method, apparatus and system
CN108632389A (en) * 2018-05-16 2018-10-09 广州视源电子科技股份有限公司 Sign data management method, equipment end, main service side used, storage medium and system
CN110300117A (en) * 2019-07-05 2019-10-01 杭州博联智能科技股份有限公司 Authentication method, equipment and the medium of IOT equipment and user's binding
CN113742767A (en) * 2020-05-28 2021-12-03 华为技术有限公司 Information processing method, device and storage medium
CN111917773A (en) * 2020-07-31 2020-11-10 中国工商银行股份有限公司 Service data processing method and device and server
CN112954010A (en) * 2021-01-27 2021-06-11 乐歌信息科技(上海)有限公司 Data distribution method and device

Similar Documents

Publication Publication Date Title
CN109803008B (en) Method and apparatus for displaying information
CN111767371A (en) Intelligent question and answer method, device, equipment and medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN110619096A (en) Method and apparatus for synchronizing data
CN110134869A (en) A kind of information-pushing method, device, equipment and storage medium
CN111177433A (en) Method and apparatus for parallel processing of information
CN109992719B (en) Method and apparatus for determining push priority information
CN110163001B (en) Information display method and device based on user relationship
CN111311358B (en) Information processing method and device and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN109995543B (en) Method and apparatus for adding group members
CN110069186B (en) Method and equipment for displaying operation interface of application
CN111930228A (en) Method, device, equipment and storage medium for detecting user gesture
CN110827037A (en) Data interaction method and device based on block chain
CN115379245B (en) Information display method and device and electronic equipment
CN114489514A (en) Data storage method and device
CN114417214A (en) Information display method and device and electronic equipment
CN112153091B (en) Method and device for determining relevance of equipment
CN115022266A (en) Group member adding method, device, equipment and medium
CN111367592B (en) Information processing method and device
CN111835917A (en) Method, device and equipment for showing activity range and computer readable medium
CN111931044A (en) Information display method and device and electronic equipment
CN112309387A (en) Method and apparatus for processing information
CN111563797A (en) House source information processing method and device, readable medium and electronic equipment
CN112307394A (en) Information display method and device and electronic equipment

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