CN110851394A - Measurement data obtaining method, terminal equipment and storage medium - Google Patents

Measurement data obtaining method, terminal equipment and storage medium Download PDF

Info

Publication number
CN110851394A
CN110851394A CN201911124356.5A CN201911124356A CN110851394A CN 110851394 A CN110851394 A CN 110851394A CN 201911124356 A CN201911124356 A CN 201911124356A CN 110851394 A CN110851394 A CN 110851394A
Authority
CN
China
Prior art keywords
terminal
measurement data
equipment
sending
measurement
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
CN201911124356.5A
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.)
Zhongshan Lexin Electronics Co Ltd
Zhongshan Transtek Electronics Co Ltd
Original Assignee
Zhongshan Lexin Electronics 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 Zhongshan Lexin Electronics Co Ltd filed Critical Zhongshan Lexin Electronics Co Ltd
Priority to CN201911124356.5A priority Critical patent/CN110851394A/en
Publication of CN110851394A publication Critical patent/CN110851394A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0275Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for measuring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a measurement data obtaining method, a terminal device and a storage medium, wherein the measurement data obtaining method comprises the following steps: responding to a trigger operation, sending a terminal identification to a measuring device so that the measuring device associates the current measuring data with the terminal identification, and sending the current measuring data to the terminal device according to the terminal identification, wherein the terminal identification is unique identification information of the terminal device; and receiving the current measurement data sent by the measurement equipment. In the implementation process, before the measurement equipment sends the measurement data, the terminal equipment actively sends the terminal identification to the measurement equipment, so that the measurement equipment knows that the object sent by the measurement data is the terminal equipment corresponding to the terminal identification, the accuracy of sending the measurement data to the terminal equipment of the corresponding user by the measurement equipment is improved, and meanwhile, the risk that the privacy of other terminals is revealed by the measurement equipment is eliminated.

Description

Measurement data obtaining method, terminal equipment and storage medium
Technical Field
The present application relates to the technical field of data interaction, and in particular, to a measurement data obtaining method, a terminal device, and a storage medium.
Background
After the current measuring device (for example, an electronic scale) performs measurement, the measuring device may send the measurement data to other terminal devices, and the other terminal devices inform users of the measurement data, where the terminal device may be, for example, a mobile phone. If a plurality of terminal devices are bound to the same measuring device, the measuring device can firstly judge whether the terminal device corresponding to the data closest to the current measuring data is found from the historical data; if yes, sending the measurement data to the terminal equipment; if not, the measuring equipment sends the current measuring data to all the bound terminal equipment. In this way, the problem that the accuracy of sending the measurement data to the terminal device of the corresponding user by the measurement device is not high exists.
Disclosure of Invention
An object of the embodiments of the present application is to provide a measurement data obtaining method, a terminal device, and a storage medium, which are used to solve the problem that the accuracy of sending measurement data to a terminal device of a corresponding user by a measurement device is not high.
The embodiment of the application provides a measurement data obtaining method, which is applied to terminal equipment and comprises the following steps: responding to a trigger operation, sending a terminal identification to a measuring device so that the measuring device associates the current measuring data with the terminal identification, and sending the current measuring data to the terminal device according to the terminal identification, wherein the terminal identification is unique identification information of the terminal device; and receiving the current measurement data sent by the measurement equipment. In the implementation process, before the measurement equipment sends the measurement data, the terminal equipment actively sends the terminal identification to the measurement equipment, so that the measurement equipment knows that the object sent by the measurement data is the terminal equipment corresponding to the terminal identification, the accuracy of sending the measurement data to the terminal equipment of the corresponding user by the measurement equipment is improved, and meanwhile, the risk that the privacy of other terminals is revealed by the measurement equipment is eliminated.
Optionally, in this embodiment of the present application, the sending, in response to the trigger operation, the terminal identifier to the measurement device includes: and sending the terminal identification to the measuring equipment in response to the triggering operation that the motion track of the terminal equipment is a first preset track. In the implementation process, before the measurement device sends the measurement data, the terminal device judges whether the motion track of the terminal device is the first preset track to trigger the terminal device to send the terminal identifier to the measurement device, so that the measurement device knows that the object sent by the measurement data is the terminal device corresponding to the terminal identifier, and the accuracy of sending the measurement data to the terminal device of the corresponding user by the measurement device is improved.
Optionally, in this embodiment of the present application, the sending, in response to the trigger operation, the terminal identifier to the measurement device includes: and responding to the triggering operation that the voice keyword of the terminal equipment is a first preset keyword, and sending the terminal identification to the measuring equipment. In the implementation process, before the measurement equipment sends the measurement data, the terminal equipment judges whether the plurality of voice keywords include the first preset keyword to trigger the terminal equipment to send the terminal identification to the measurement equipment, so that the measurement equipment knows that the object sent by the measurement data is the terminal equipment corresponding to the terminal identification, and the accuracy of sending the measurement data to the terminal equipment of the corresponding user by the measurement equipment is improved.
Optionally, in this embodiment of the application, the sending the terminal identifier to the measurement device includes: and sending the terminal identification and the sending time corresponding to the terminal identification to the measuring equipment so that the measuring equipment associates the measured data and the sending time corresponding to the terminal identification with the terminal identification. In the implementation process, the terminal device sends the terminal identifier and the terminal identifier sending time at the same time, and the terminal device receives the measurement data and the terminal identifier sending time at the same time, that is, the measurement device sends the measurement data and the sending time at the same time, so that the situation that the two terminal identifiers and the two measurement data cannot be correctly associated by two successively obtained measurement data when the measurement device receives the two terminal identifiers at the same time due to network delay and the like is effectively avoided.
Optionally, in this embodiment of the present application, after the sending the terminal identifier to the measurement device and before the receiving the measurement data sent by the measurement device, the method further includes: receiving a confirmation request sent by the measuring equipment, wherein the confirmation request is used for inquiring whether to receive the current measuring data; and responding to the confirmation operation, and sending a confirmation response to the measurement equipment, wherein the confirmation response represents that the terminal equipment confirms to receive the current measurement data. In the implementation process, after the terminal identifier is sent and before the measurement data is received, a link of user confirmation is added, so that the condition that part of users may mistakenly operate the sending terminal identifier is effectively avoided, that is, the condition that part of users may mistakenly operate to trigger the measurement mode is avoided, and the accuracy of the measurement equipment sending the measurement data to the terminal equipment of the corresponding user is improved.
Optionally, in an embodiment of the present application, the terminal device includes a display screen; the receiving the current measurement data sent by the measurement device includes: receiving the current measurement data and the terminal identification sent by the measurement equipment; after the receiving the current measurement data sent by the measurement device, the method further includes: comparing whether the terminal identification sent by the measuring equipment is the same as the terminal identification of the terminal equipment; and if so, displaying the measurement data through the display screen. In the implementation process, before the terminal device receives the measurement data, the terminal device first judges whether the terminal identifier sent by the measurement device is the same as the terminal identifier of the terminal device, if the terminal identifier is the same as the terminal identifier of the terminal device, the terminal device displays the measurement data, and the terminal device should receive the measurement data which is the same as the terminal device identifier corresponding to the terminal device, so that the situation that the terminal device receives the measurement data which should be received by other terminal devices by mistake is avoided through the mode, and the accuracy of sending the measurement data to the terminal device of the corresponding user by the measurement device is effectively improved.
Optionally, in this embodiment of the application, after the receiving the current measurement data sent by the measurement device, the method further includes: and displaying the current measurement data or playing the current measurement data in voice.
Optionally, in this embodiment of the application, before the displaying the current measurement data or playing the current measurement data by voice, the method further includes: determining a motion track analyzed from the motion data collected by the terminal equipment as a second preset track; or determining the voice keyword analyzed from the voice data collected by the terminal equipment as a second preset keyword. In the implementation process, whether the measurement data or the voice playing measurement data is displayed or not is judged through the motion track or the voice keyword, so that convenience is brought to a user, the user can know the measurement data through a display mode or a voice playing mode when needing to know the measurement data, privacy of the measurement data is greatly improved, and risks that the measurement data is leaked are reduced.
The embodiment of the application also provides a measurement data obtaining method, which is applied to measurement equipment and comprises the following steps: receiving a terminal identification sent by a terminal device and a sending moment corresponding to the terminal identification, wherein the terminal identification is unique identification information of the terminal device; associating the measurement data with the terminal identification corresponding to the sending time according to the sequence of the obtained measurement data and the sequence of the sending time; and sending the measurement data associated with the terminal identification to the terminal equipment. In the implementation process, the terminal device sends the terminal identifier and the terminal identifier sending time at the same time, and the terminal device receives the measurement data and the terminal identifier sending time at the same time, that is, the measurement device sends the measurement data and the sending time at the same time, so that the situation that the two terminal identifiers and the two measurement data cannot be correctly associated by two successively obtained measurement data when the measurement device receives the two terminal identifiers at the same time due to network delay and the like is effectively avoided.
The embodiment of the present application further provides a measurement data obtaining apparatus, which is applied to a terminal device, and includes: a terminal identifier sending module, configured to send a terminal identifier to a measurement device in response to a trigger operation, so that the measurement device associates current measurement data with the terminal identifier, and sends the current measurement data to the terminal device according to the terminal identifier, where the terminal identifier is unique identifier information of the terminal device; and the measurement data receiving module is used for receiving the measurement data sent by the measurement equipment.
The embodiment of the present application further provides a measurement data obtaining apparatus, which is applied to a measurement device, and includes: the terminal identification receiving module is used for receiving a terminal identification sent by a terminal device and a sending moment corresponding to the terminal identification, wherein the terminal identification is the only identification information of the terminal device; the data identifier association module is used for associating the measurement data with the terminal identifier corresponding to the sending time according to the sequence of the obtained measurement data and the sequence of the sending time; and the measurement data sending module is used for sending the measurement data associated with the terminal identifier to the terminal equipment.
An embodiment of the present application further provides a terminal device, where the terminal device includes: a processor, a memory, and a communication interface; the processor is respectively connected with the memory and the communication interface; the processor is configured to: responding to a trigger operation, sending a terminal identifier to the measuring equipment through the communication interface so that the measuring equipment associates the current measuring data with the terminal identifier; and receiving the current measurement data sent by the measurement equipment through the communication interface.
Optionally, in this embodiment of the present application, the terminal device further includes an operation button, and the operation button is connected to the processor; the operation button is used for responding to trigger operation and sending a response instruction to the processor; the processor is used for receiving the response instruction and sending a control instruction to the communication interface, wherein the control instruction is used for enabling the communication interface to send a terminal identifier to the measuring equipment.
Optionally, in this embodiment of the present application, the terminal device further includes: the processor is configured to: determining a sampling result analyzed from the acquired data of the terminal equipment as a preset result; and outputting the current measurement data according to the preset result.
The embodiment of the present application also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method as described above is executed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a schematic diagram of a measurement data acquisition system provided by an embodiment of the present application;
fig. 2 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
FIG. 3 is a first interaction timing diagram of one implementation of a measurement data obtaining method provided by an embodiment of the present application;
FIG. 4 illustrates a second interaction timing diagram of an implementation of a measurement data obtaining method according to another embodiment of the present application;
FIG. 5 is a third interaction timing diagram illustrating an implementation of a measurement data obtaining method according to another embodiment of the present application;
FIG. 6 is a schematic diagram illustrating one embodiment of a request for acknowledgement provided by an embodiment of the present application;
FIG. 7 is a fourth interaction timing diagram illustrating an implementation of a measurement data obtaining method according to another embodiment of the present application;
fig. 8 is a schematic structural diagram of a measurement data obtaining apparatus according to an embodiment of the present application.
Icon: 100-a measurement data acquisition system; 110-a terminal device; 111-mobile phone; 112-electronic bracelet; 113-smart speakers; 114-a processor; 115-a memory; 116-a communication interface; 117-storage media; 120-a measuring device; 600-measurement data obtaining means; 610-terminal identification sending module; 620-measurement data receiving module.
Detailed Description
The technical solution in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Please refer to fig. 1, which is a schematic diagram of a measurement data obtaining system provided in the embodiment of the present application; the measurement data obtaining system 100 includes: terminal device 110 and measuring device 120; the measuring device 120 may communicate with one terminal device 110 or with a plurality of terminal devices 110, and the specific Communication manner may be a short distance Communication (short distance Communication) manner, and the short distance Communication manner is specifically, for example: bluetooth (Bluetooth), wireless local area network 802.11(Wi-Fi), and Infrared Data Association (IrDA); the communication may be performed by a short-range wireless communication method, and specific examples of the short-range wireless communication method include: ZigBee, ultra wide band (ultra wide band), Near Field Communication (NFC), Global Positioning System (GPS), Digital Enhanced Cordless Telecommunications (DECT), and the like.
Referring to fig. 1, the application scenarios of the terminal device 110 and the measuring device 120 include, but are not limited to, short-range communication or short-range wireless communication, that is, the application scenarios of the terminal device 110 and the measuring device 120 include, but are not limited to, transmission data, where the data include: measurement data obtained by the measurement device. Here, the terminal device 110 refers to an electronic device having a function of executing a computer program, and the terminal device 110 includes, but is not limited to: the mobile phone 111, the electronic bracelet 112 or the smart sound box 113, and the terminal device 110 may also be a mobile phone, a palm computer or an all-in-one machine. The measuring device 120 is an electronic device with a measuring function, and the measuring device 120 includes but is not limited to: an electronic scale, an electronic sphygmomanometer, etc. (only an electronic scale is shown in the figure).
Please refer to fig. 2, which illustrates a schematic structural diagram of a terminal device provided in the embodiment of the present application; this terminal equipment 110, terminal equipment 110 includes: a processor 114, a memory 115, and a communication interface 116; the processor 114 is connected to the memory 115 and the communication interface 116, respectively; the memory 115 stores machine-readable instructions executable by the processor 114, and the machine-readable instructions when executed by the processor perform the measurement data obtaining method provided by the embodiments of the present application, that is, the processor can be used to perform the measurement data obtaining method provided by the embodiments of the present application, and the details of the measurement data obtaining method will be described in detail below.
The embodiment of the present application further provides a storage medium 117, where the storage medium 117 stores thereon a computer program, and the computer program is executed by the processor 114 to execute the measurement data obtaining method. The storage medium 117 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
Of course, in a specific implementation process, the terminal device includes: the processor, the memory, the communication interface, and the storage medium may further include: the display screen, the sensor, the microphone and the loudspeaker are all electrically connected with the processor; there are many types of sensors that can be selected, such as: acceleration sensors, level sensors, and the like; it is understood that both the acceleration sensor and the level sensor are also electrically connected to the processor; of course, a power source may also be included, and the power source may also be electrically connected to the processor. Therefore, the number, types and connection relations between the specific structures included in the terminal device should not be construed as limiting the embodiments of the present application.
Please refer to fig. 3, which is a first interaction timing chart of one implementation of the measurement data obtaining method provided in the embodiment of the present application; in order to improve the accuracy of sending the measurement data to the terminal device of the corresponding user by the measurement device, the terminal device may actively send the terminal identifier to the measurement device before the measurement device sends the measurement data, and the specific implementation manner of the method is, for example, as described below:
step S210: and the terminal equipment responds to the trigger operation and sends the terminal identification to the measuring equipment.
The terminal identifier is unique identifier information of the terminal device, and the unique identifier information is, for example: a Media Access Control (MAC) Address of a network card, a serial number of a hard disk, a product identification number of Windows, a machine guid or a motherboard smBIOS UUID, and the like. The triggering operation means that data monitored by the terminal device through a sensor meets a preset condition, wherein the sensor comprises: acceleration sensors, level sensors, and sound collectors (e.g., microphones or microphones). The division is performed according to the trigger condition of the sending terminal identifier, and the sending terminal identifier has various modes. For example: in the first mode, the terminal device calculates the motion track of the terminal device through data respectively acquired by an acceleration sensor and a horizontal sensor, and judges whether a trigger operation exists or not through the motion track; in the second mode, whether trigger operation exists or not is judged through the language keywords collected by the sound collector. Of course, in a specific implementation process, other embodiments of the sending terminal identifier are possible, such as: judging whether trigger operation exists or not according to light sensation data acquired by a light sensor, judging whether trigger operation exists or not according to pressure data acquired by a pressure sensor, judging whether trigger operation exists or not according to the voltage value or the current value exceeding a threshold value, and the like; the embodiments are too numerous to exemplify. To describe the embodiments of the sending terminal identifier in detail, only the first and second manners are described in detail herein, and the first embodiment of the sending terminal identifier may include the following steps:
step S211: and the terminal equipment responds to the triggering operation that the motion track of the terminal equipment is the first preset track, and then the terminal equipment sends a terminal identification to the measuring equipment.
The terminal device may further include an acceleration sensor and a level sensor, and the specific implementation of obtaining the motion trajectory of the terminal device is, for example: firstly, acquiring acceleration data acquired by an acceleration sensor; secondly, acquiring horizontal data acquired by a horizontal sensor; and finally, analyzing the motion trail of the terminal equipment according to the acceleration data and the horizontal data. After the motion trail of the terminal equipment is obtained, whether the motion trail is the first preset trail or not can be judged through the motion trail of the terminal equipment.
Judging whether trigger operation exists or not through the motion track comprises the following steps: judging whether the motion track of the terminal equipment is a first preset track or not, and if the motion track is the first preset track, sending a terminal identification to the measuring equipment; if the motion track is not the first preset track, continuing to obtain the motion track of the terminal equipment; the motion trajectory is a first preset trajectory, and may be understood as a specific action performed by the terminal device, that is, a specific action such as: a wrist-lifting action or a shaking action, etc. Here, taking the wrist-lifting motion as an example, a specific embodiment of determining whether there is a trigger operation according to the motion trajectory is as follows: the terminal equipment is an electronic bracelet (intelligent bracelet), when an arm with the electronic bracelet is lifted to a preset position, acceleration data collected by an acceleration sensor is firstly raised and then lowered, horizontal data collected by a horizontal sensor is always raised, and the preset position can be the position in front of the chest or the position same as the horizontal position of the shoulders; of course, in a specific implementation process, the electronic bracelet may also be a mobile phone. That is, when the user lifts the wrist, the terminal device sends the terminal identification to the measuring device.
In the implementation process, before the measurement device sends the measurement data, the terminal device judges whether the motion track of the terminal device is the first preset track to trigger the terminal device to send the terminal identifier to the measurement device, so that the measurement device knows that the object sent by the measurement data is the terminal device corresponding to the terminal identifier, and the accuracy of sending the measurement data to the terminal device of the corresponding user by the measurement device is improved.
As described above, there are various implementations of the sending terminal identifier, the first implementation is described above, and the following describes that the second implementation may include the following steps:
step S212: and the terminal equipment responds to the triggering operation that the voice keyword of the terminal equipment is the first preset keyword, and then the terminal equipment sends a terminal identification to the measuring equipment.
The terminal device may further include a sound collector, where the sound collector may be a microphone or a microphone. The specific implementation of obtaining the voice keyword of the terminal device is as follows: firstly, obtaining a sound analog signal collected by a sound collector, and carrying out preprocessing such as enhancement, filtering and the like on the sound analog signal to obtain a sound digital signal; secondly, recognizing the sound digital signals to obtain a text character set, and finally segmenting words of the text character set to obtain a plurality of voice keywords.
Judging whether trigger operation exists through the language keywords collected by the sound collector comprises the following steps: judging whether the plurality of voice keywords comprise first preset keywords or not, if the plurality of voice keywords comprise the first preset keywords, sending a terminal identifier to the measuring equipment by the terminal equipment, and if the plurality of voice keywords do not comprise the first preset keywords, continuously collecting the voice keywords; the specific implementation manner of judging whether the triggering operation exists or not through the language keywords collected by the sound collector is as follows: the terminal device is an intelligent sound box or an electronic sound box with sound input, when the intelligent sound box monitors that the measurement is started, whether the plurality of voice keywords comprise the measurement starting key or not is judged, the terminal identifier is sent to the measurement device, of course, the first preset keyword refers to the voice keyword which triggers the terminal device to send the terminal identifier to the measurement device, the first preset keyword can be set according to actual requirements, and the first preset keyword can be set to be the measurement starting key or the measurement bar, and the like.
In the implementation process, before the measurement equipment sends the measurement data, the terminal equipment judges whether the plurality of voice keywords include the first preset keyword to trigger the terminal equipment to send the terminal identification to the measurement equipment, so that the measurement equipment knows that the object sent by the measurement data is the terminal equipment corresponding to the terminal identification, and the accuracy of sending the measurement data to the terminal equipment of the corresponding user by the measurement equipment is improved.
After step S210, step S220 is performed: the measuring equipment receives the terminal identification sent by the terminal equipment, associates the measured data with the terminal identification, and sends the measured data to the terminal equipment according to the terminal identification.
The terminal identifier is unique identifier information of the terminal device, the measurement data refers to data obtained by measurement performed by the measurement device, the measurement device takes an electronic scale as an example for explanation, and the measurement data obtaining mode is, for example: when the data acquired by the pressure sensor of the electronic scale is unchanged in preset time length, the current measurement data is acquired, the preset time length can be set by a manufacturer, the preset time length can be three seconds, and the preset time length can also be five seconds; specifically, for example: when the electronic scale is used on a user station, the weight data measured by the electronic scale can be changed all the time, and when the weight data is not changed after three seconds, the weight data at the moment is the measured data. It should be understood, of course, that the description is made only by taking the example of the electronic scale measuring weight data, and that the electronic scale may also measure other types of data in a specific implementation process, such as: body fat and water fractions, etc., and therefore the measurement data herein should not be construed as limiting the embodiments of the present application.
The specific way of associating the measurement data with the terminal identifier is, for example: associating the measurement information in the preset time with the terminal identification, wherein the preset time can be set according to actual requirements, and can be three seconds or five seconds; specifically, for example: storing the current measurement data, the terminal identifier and the associated identifier of the terminal identifier and the associated identifier in a file system or a database, wherein the database comprises: a memory database, a relational database and a non-relational database; the Memory database refers to a data set searched based on a Random Access Memory (RAM), and is characterized by fast read-write speed, and common Memory databases are, for example: memcached and Redis, etc.; a relational database refers to a database that organizes data using a relational model, and the relational database stores data in the form of rows and columns for easy understanding by users, and the series of rows and columns of the relational database is called a table, and a common relational database is, for example: SQLite, Mysql, Oracle, SQLSever, etc.; a non-relational database, also called nosql (not Only SQL), means that it is not Only Structured Query Language (SQL), but also mainly includes the following components according to the difference of the Structured method and the application scenario: three non-relational databases of columnar storage, document storage and key-value pair storage are oriented, and a common non-relational database comprises: hadoop subsystems HBase, MongoDB and CouchDB, and the like. It can be known from the above description that data can be stored in a file system or a database, and the following detailed description is given by taking the database as an example, although in a specific implementation process, a specific location where the data is stored should not be construed as a limitation to the embodiment of the present application.
Of course, in a specific implementation process, the measurement device may send, to the terminal device, historical measurement data in addition to the current measurement data according to the terminal identifier, where the historical measurement data refers to measurement data obtained before the current measurement data is obtained, and then the embodiment of obtaining the historical measurement data by the measurement device is, for example: firstly, acquiring a terminal identifier, and searching a correlation identifier corresponding to the terminal identifier in the database; secondly, searching a plurality of measurement data corresponding to the association identifier in a database according to the searched association identifier; and finally, determining a plurality of measurement data corresponding to the association identifier as historical measurement data.
The specific implementation manner of sending the measurement data to the terminal device according to the terminal identifier is, for example: taking the measurement data within the preset time range as the current measurement data, where the measurement data within the preset time range is taken as the current measurement data, for example: if the measurement device obtains a plurality of measurement data within the preset time range, the measurement device may use the measurement data obtained by measurement within the last minute of the plurality of measurement data as the measurement data, and certainly, in a specific implementation process, the preset time range may be set according to actual requirements, for example: within two minutes or within three minutes, etc.
After step S220, step S230 is performed: and the terminal equipment receives the current measurement data sent by the measurement equipment.
Specific ways for the terminal device to receive the current measurement data sent by the measurement device are, for example: the terminal device is a mobile phone or a tablet computer, and the mobile phone or the tablet computer receives the current measurement data sent by the measurement device according to a certain communication mode, where the communication mode may be a Browser request of a client and a Server response mode, that is, a Browser/Server (B/S) mode performs communication. Of course, in a specific implementation process, the communication may also be performed in an asynchronous manner, for example: the server uses a front-end and back-end separation architecture case, specifically, the front-end uses a framework of separation of a control layer and a view layer, and the frameworks are as follows: knockout, Angular, React or Vue; the back-end uses a framework that separates the control layer and the data access layer, such as: RESTful interface, etc.
In the implementation process, before the measurement equipment sends the measurement data, the terminal equipment actively sends the terminal identification to the measurement equipment, so that the measurement equipment knows that the object sent by the measurement data is the terminal equipment corresponding to the terminal identification, the accuracy of sending the measurement data to the terminal equipment of the corresponding user by the measurement equipment is improved, and meanwhile, the risk that the privacy of other terminals is revealed by the measurement equipment is eliminated. Certainly, the information security of the user is ensured, the personal privacy of the user is not influenced, and the user experience of the measurement data acquisition system is optimized.
Please refer to fig. 4, which is a second interaction timing chart of an implementation of a measurement data obtaining method according to another embodiment of the present application; in this embodiment, when sending the terminal identifier, the terminal device sends the sending time of the terminal identifier to the measurement device together, and when receiving the measurement data of this time, the terminal device can also receive the sending time of the terminal identifier sent together with the measurement data of this time at the same time, so as to avoid the situation that the measurement device cannot correctly associate the measurement data due to network delay and other reasons; this will be described in detail below:
step S310: and the terminal equipment responds to the trigger operation and sends the terminal identification and the sending time corresponding to the terminal identification to the measuring equipment.
It should be noted that the sending of the terminal identifier to the measurement device by the above terminal device is divided according to the trigger condition of sending the terminal identifier, and of course, in a specific implementation process, the sending may also be divided according to data, for example: besides sending the terminal identifier to the measuring device, the terminal device may also send other data, which may be: the trigger time of the trigger condition or the sending time corresponding to the terminal identification, etc. Since the trigger time of the trigger condition is very close to the sending time corresponding to the terminal identifier, in an actual implementation process, the trigger time of the trigger condition and the sending time corresponding to the terminal identifier should be selected to be used for sending, that is, the terminal device should send the terminal identifier to the measurement device, and simultaneously send the trigger time of the trigger condition or the sending time corresponding to the terminal identifier together.
Of course, in the specific implementation process, there are many other alternatives for the sending time corresponding to the terminal identifier, such as: under the condition that the terminal equipment and the measuring equipment communicate through the intermediate router, the sending time can be replaced by the receiving time when the intermediate router receives the terminal identification; meanwhile, because the intermediate router immediately forwards the terminal identifier sent by the terminal device to the measuring device when receiving the terminal identifier, the sending time can be replaced by the sending time of the intermediate router sending the terminal identifier; if the network condition is good, that is, the intermediate router has no or little delay, the sending time may be replaced by the receiving time when the terminal device receives the terminal identifier. Therefore, the specific reference to the transmission time corresponding to the terminal identifier herein should not be construed as a limitation to the embodiments of the present application.
Step S320: the measuring equipment receives the terminal equipment sending terminal identification and the sending time corresponding to the terminal identification, associates the measured data with the terminal identification corresponding to the sending time, and sends the measured data associated with the terminal identification to the terminal equipment.
In a specific implementation process, the measurement device may send the measurement data to the terminal device, and may send the sending time received in step S310 to the terminal device together, or certainly, the sending time may not be sent, and the sending time may be set according to a specific situation. Here, taking the example of sending together, when receiving the current measurement data sent by the measurement device, the terminal device may also receive the terminal identifier sending time sent together with the current measurement data at the same time, so that the user of the terminal device confirms the correctness of the received current measurement data again, and the situation that the measurement device cannot correctly associate the measurement data due to network delay and the like is avoided.
Wherein, the terminal identification is the only identification information of the terminal device, and the measuring device receiving the terminal device sending terminal identification and the sending time corresponding to the terminal identification includes: the first user sends a first moment, the second user sends a second moment, and the first moment is earlier than the second moment; specifically, for example: the sending time when the measuring equipment receives the terminal identification sent by the terminal equipment and the sending time corresponding to the terminal identification is [1:20190924090000,2:20190924090100], wherein the former number 1 represents the terminal identification of the terminal equipment of the first user respectively, the number 2 represents the terminal identification of the terminal equipment of the second user respectively, the latter number string 20190924090000 represents the sending time when the terminal identification is 1, namely the first time is nine-point integer of 24 days in 9 months in 2019, and the latter number string 20190924090100 represents the sending time when the terminal identification is 2, namely the second time is nine-point zero-one-quarter of 24 days in 9 months in 2019.
In a specific implementation process, whether a time difference between the sending time corresponding to the terminal identifier and the time when the bound terminal measurement request obtains the measurement data exceeds a preset time length or not can be checked, wherein the preset time length can be set by a manufacturer, and can be three seconds or five seconds; the specific implementation mode of the method comprises the following steps: the measuring equipment obtains the obtaining time of the measuring data; the measuring equipment obtains the time difference between the sending time corresponding to the terminal identification and the obtaining time of the measured data; the measuring equipment judges whether the time difference exceeds a preset time length or not; if yes, the measuring equipment sends a retest reminding message to the terminal equipment, the retest reminding message is used for reminding a user corresponding to the terminal equipment to perform retest, and the specific content of the retest reminding message is as follows: "data acquisition is abnormal, please re-measure" or "network connection is abnormal, please re-measure" and so on.
The specific implementation of associating the measurement data with the terminal identifier corresponding to the sending time includes: the measuring equipment associates the transmitting time corresponding to the measured data and the terminal identification with the terminal identification according to the sequence of the obtained measured data and the sequence of the transmitting time; for example, when the electronic scale obtains the first measurement data and the second measurement data in sequence, it may be determined according to the time sequence that the first measurement data should belong to the terminal identifier of the first user corresponding to the first time, and the second measurement data should belong to the terminal identifier of the second user corresponding to the second time, specifically, for example: the electronic scale obtains the first measurement data by the electronic scale at nine o 'clock and nine fifths of 24 days in 9 and 24 months in 2019 as 95, and the electronic scale obtains the second measurement data by the electronic scale at nine o' clock and nine fifths of 24 days in 9 and 24 months in 2019 as 99, so that it can be inferred that the first measurement data should be bound with the terminal identifier of the terminal device of the first user and the second measurement data should be bound with the terminal identifier of the terminal device of the second user, that is, the obtained binding relationship can be represented as [1:95,2:99 ].
Step S330: and the terminal equipment receives the measurement data which is sent by the measurement equipment and is associated with the terminal identification.
It can be understood that the terminal device with the terminal identifier 1 receives the measurement data associated with the terminal identifier 1 sent by the measurement device as 95, and the sending time corresponding to the measurement data 95 is 20190924090000; meanwhile, the terminal device with the terminal identifier 2 receives the measurement data associated with the terminal identifier 2 and sent by the measurement device as 99, and the sending time corresponding to the measurement data 99 is 20190924090100.
In the implementation process, the terminal device sends the terminal identifier and the terminal identifier sending time at the same time, and the terminal device receives the measurement data and the terminal identifier sending time at the same time, that is, the measurement device sends the measurement data and the sending time at the same time, so that the situation that the two terminal identifiers and the two measurement data cannot be correctly associated by two successively obtained measurement data when the measurement device receives the two terminal identifiers at the same time due to network delay and the like is effectively avoided.
Please refer to fig. 5, which is a third interaction timing diagram of an implementation of a measurement data obtaining method according to another embodiment of the present application; in this embodiment, after the terminal identifier is sent and before the measurement data is received, a link of user confirmation may be added to prevent the terminal device from receiving the measurement data sent by a plurality of other measurement devices by mistake; this will be described in detail below, respectively, as follows:
step S410: and the terminal equipment responds to the trigger operation and sends the terminal identification to the measuring equipment.
As can be seen from the above description, the implementation and principle of step S410 are similar to those of step S210, and thus the detailed description is omitted here.
Step S420: and the measuring equipment receives the terminal identification sent by the terminal equipment, and sends a confirmation request to the terminal equipment according to the terminal identification.
Please refer to fig. 6, which is a schematic diagram of one implementation of the confirmation request provided in the embodiment of the present application; the figure shows a confirmation request when the terminal device is a mobile phone, where the confirmation request is used for the measurement device to inquire whether to receive the measurement data of this time from a user of the terminal device; it can be understood that, when the terminal device is an electronic bracelet or a tablet computer, the confirmation request is also similar to the illustration here, and when the terminal device is a smart speaker, the confirmation request of the smart speaker is, for example: the voice playing device is used for broadcasting 'asking you to confirm whether to receive data measured by 9 am at 9 am and 5 am in 24 am in 2019', so that the specific form of the confirmation request here should not be construed as limiting the embodiment of the application.
Step S430: and the terminal equipment receives the confirmation request sent by the measuring equipment, responds to the confirmation operation and sends a confirmation response to the measuring equipment.
The confirmation response represents that the terminal equipment confirms to receive the measurement data; as described above, the terminal device includes: cell-phone, electron bracelet or smart sound box, consequently, the terminal equipment responds to the concrete mode of confirming the operation and also differs, for example: when the terminal device is an electronic bracelet, a mobile phone, or a tablet computer, the confirmation operation may be triggered by clicking an operation button, where the operation button is, for example, a confirmation button on a touch screen shown in fig. 5, and of course, other entity cases on the terminal device may also be pressed to trigger the confirmation operation, for example: long-pressing a special key, a screen or a virtual button to trigger the sending of the confirmation request; of course, in a specific implementation process, the operation buttons may also be physical buttons, such as: long press the combination key composed of home key and sound reducing key; when the terminal device is a smart speaker, the terminal device may respond to the smart speaker with confirmation key instructions, for example: "i acknowledge" or "acknowledge receipt" etc.
Step S440: and the measuring equipment receives the confirmation response sent by the terminal equipment, associates the current measuring data with the terminal identification and sends the current measuring data to the terminal equipment according to the terminal identification.
As can be seen from the above description, the implementation and principle of step S440 are similar to those of step S220, and thus the detailed description thereof is omitted here.
Step S450: and the terminal equipment receives the current measurement data sent by the measurement equipment.
As can be seen from the above description, the implementation and principle of step S450 are similar to those of step S230, and thus the detailed description is omitted here.
In the implementation process, after the terminal identifier is sent and before the measurement data is received, a link of user confirmation is added, so that the condition that part of users may mistakenly operate the sending terminal identifier is effectively avoided, that is, the condition that part of users may mistakenly operate to trigger the measurement mode is avoided, and the accuracy of the measurement equipment sending the measurement data to the terminal equipment of the corresponding user is improved.
Please refer to fig. 7, which is a fourth interaction timing chart of an implementation of a measurement data obtaining method according to another embodiment of the present application; in this embodiment, in order to further improve the accuracy of sending the measurement data to the terminal device of the corresponding user by the quantity device, the measurement device may also send the terminal identifier together with the measurement data, so that the terminal device compares the received terminal identifier with the terminal identifier of the terminal device itself, so as to avoid erroneously receiving the measurement data of other terminal devices; the specific implementation process of the method is described as follows:
step S510: and the terminal equipment responds to the trigger operation and sends the terminal identification to the measuring equipment.
As can be seen from the above description, the implementation and principle of step S510 are similar to those of step S210, and are not described here again.
Step S520: the measuring equipment associates the current measuring data with the terminal identification and sends the current measuring data to the terminal equipment according to the terminal identification.
As can be seen from the above description, the implementation and principle of step S520 are similar to those of step S220, and are not described here again.
Step S530: and the terminal equipment receives the current measurement data and the terminal identification sent by the measurement equipment.
The specific sending mode of the current measurement data and the terminal identifier together is, for example: the measurement device sends the measurement data and the terminal identifier to the terminal device as a whole through an eXtensible Markup Language (eXtensible Markup Language, XML) which is a subset of a standard general Markup Language for marking electronic files to make them have structure. The specific way for the terminal device to receive the current measurement data and the terminal identifier sent by the measurement device is, for example: the communication may be based on Transmission control Protocol/Internet Protocol (TCP/IP), or may be based on hypertext transfer Protocol (HTTP). The transmission control protocol/Internet protocol, also known as network communication protocol, is the most basic protocol of the Internet and the foundation of the Internet, and consists of an IP protocol of a network layer and a TCP protocol of a transmission layer. Therefore, the specific transmission method and reception method of the present measurement data and the terminal identifier should not be construed as limiting the embodiments of the present application.
Step S540: and the terminal equipment compares whether the terminal identification sent by the measuring equipment is the same as the terminal identification of the terminal equipment or not.
The specific way for the terminal device to compare whether the terminal identifier sent by the measurement device is the same as the terminal identifier of the terminal device is, for example: if the terminal identifier sent by the measuring equipment is 001 and the terminal identifier of the terminal equipment is 002, it is obvious that the terminal identifier sent by the measuring equipment is different from the terminal identifier of the terminal equipment; if the terminal id transmitted by the measuring device is also 002, it is obvious that the terminal id transmitted by the measuring device is the same as the terminal id of the terminal device.
Step S550: and if the terminal identification sent by the measuring equipment is the same as the terminal identification of the terminal equipment, the terminal equipment displays the measured data through the display screen.
If the terminal identifier sent by the measurement device is the same as the terminal identifier of the terminal device, the specific mode of displaying the current measurement data through the display screen is, for example: and displaying the measurement data on the mobile phone, the tablet personal computer, the electronic bracelet or the intelligent bracelet. Of course, in a specific implementation process, besides the measurement data, information such as the current step number and the heart rate of the user can be displayed.
Step S560: and if the terminal identification sent by the measuring equipment is different from the terminal identification of the terminal equipment, the terminal equipment discards the measured data.
If the terminal identifier sent by the measurement device is different from the terminal identifier of the terminal device, the terminal device discards the measurement data in a specific manner, for example: the terminal identifier of the mobile phone, the tablet computer, the electronic bracelet or the smart bracelet is 002, and the terminal identifier sent by the terminal device receiving measuring device is 001, so that the terminal device can delete the data from the permanent storage medium (namely, the hard disk) or erase the data from the temporary storage medium (namely, the memory).
In the implementation process, before the terminal device receives the measurement data, the terminal device first judges whether the terminal identifier sent by the measurement device is the same as the terminal identifier of the terminal device, if the terminal identifier is the same as the terminal identifier of the terminal device, the terminal device displays the measurement data, and the terminal device should receive the measurement data which is the same as the terminal device identifier corresponding to the terminal device, so that the situation that the terminal device receives the measurement data which should be received by other terminal devices by mistake is avoided through the mode, and the accuracy of sending the measurement data to the terminal device of the corresponding user by the measurement device is effectively improved.
Optionally, in several embodiments described above, after the terminal device receives the current measurement data sent by the measurement device, that is, after step S230, step S330, step S450, or step S530, the current measurement data may also be directly displayed or played in voice; this is the case, for example: the measuring equipment is only used by one user, namely the measuring equipment is only bound with one terminal equipment, the measuring equipment is set to be only communicated with one terminal equipment, and then the measuring data can be directly displayed or played in voice after the terminal equipment receives the measuring data sent by the measuring equipment; namely, after step S230, step S330, step S450 or step S530, the following steps may be further included:
step S570: and determining a motion track analyzed from the motion data collected by the terminal equipment as a second preset track.
The determination that the motion trajectory analyzed from the motion data acquired by the terminal device is the second preset trajectory may be understood as that the user has triggered the preset action, and please refer to step S211 for a specific implementation manner and principle of the preset action.
Alternatively, in the embodiment of the present application, after step S230, step S330, step S450, or step S530, the following steps may be further included:
step S580: and determining the voice keyword analyzed from the voice data collected by the terminal equipment as a second preset keyword.
Here, it may be understood that the voice keyword analyzed from the voice data collected by the terminal device is the second preset keyword, and the specific implementation manner and principle of the voice keyword refer to step S212.
After step S230, step S330, step S450, or step S530, or after step S570 or step S580, step S590 is performed: and displaying the current measurement data or playing the current measurement data in voice.
The specific implementation manner of displaying the current measurement data or playing the current measurement data by voice is, for example: when terminal equipment is cell-phone, electron bracelet or panel computer, directly show this measured data on the display screen, this measured data of demonstration for example: the measurement data are weight: 53 kg, body fat percentage: 13% "; when terminal equipment is intelligent audio amplifier, this measured data of the direct pronunciation broadcast of intelligent audio amplifier, the pronunciation of broadcast are for example: "the body weight measured this time was 53 kg, and the body fat percentage was 13%, … …". Of course, in a specific implementation process, besides the measurement data, information such as the current step number and the heart rate of the user can be displayed.
In the above example, the terminal device directly displays the current measurement data or plays the current measurement data in voice after step S230, step S330, step S450, or step S530. Certainly, in a specific implementation process, the preset operation may trigger the preset output, where the preset operation includes a preset action and a preset command, and the preset output includes: through display screen display and voice playing, the preset operation triggers the preset output to be divided into the following four conditions:
in the first case, a preset action is triggered to be displayed on the display screen, for example: if terminal equipment is electron bracelet, cell-phone or panel computer, when the user wears the electron bracelet, perhaps holds cell-phone or panel computer and lifts the wrist time, the display screen lights and shows "this measured data does on this display screen, weight: 53 kg, body fat percentage: 13% ". Of course, in a specific implementation process, the measurement data may be acquired first and stored in the terminal device, and when the user has a wrist-lifting action, the current measurement data or the historical measurement data is displayed on a bright screen, or an interface for the user to actively query the measurement data may be provided, so that the user actively queries the historical measurement data. Of course, in a specific implementation process, besides the measurement data, information such as the current step number and the heart rate of the user can be displayed.
In the second case, the preset command triggers the display through the display screen, for example: if terminal equipment is cell-phone, the panel computer of taking sound input equipment, electron bracelet or electronic sound box, says "data display" or "begins to show" when the user says to terminal equipment, the display screen lights and shows "this measured data does on this display screen, weight: 53 kg, body fat percentage: 13% ".
In the third case, the preset action triggers the voice playing, for example: if terminal equipment is cell-phone, the electron bracelet or the panel computer of taking sound playback equipment, when the user wears the electron bracelet, perhaps holds cell-phone or panel computer and lifts the wrist time, this measured data of the direct pronunciation broadcast of terminal equipment, the pronunciation of broadcast are for example: "the body weight measured this time was 53 kg, and the body fat percentage was 13%, … …".
In the fourth case, the preset command triggers the voice playing, for example: if the terminal device is a mobile phone, a tablet personal computer with a voice input device, an electronic bracelet or an electronic sound box, when a user says 'display data' or 'start to display' to the terminal device, the terminal device directly plays the measurement data by voice, and the played voice is, for example: "the body weight measured this time was 53 kg, and the body fat percentage was 13%, … …".
In the implementation process, whether the measurement data or the voice playing measurement data is displayed or not is judged through the motion track or the voice keyword, so that convenience is brought to a user, the user can know the measurement data through a display mode or a voice playing mode when needing to know the measurement data, privacy of the measurement data is greatly improved, and risks that the measurement data is leaked are reduced.
Please refer to fig. 8 for a schematic structural diagram of a measurement data obtaining apparatus according to an embodiment of the present application. The embodiment of the present application further provides a measurement data obtaining apparatus 600, which is applied to a terminal device, and includes:
the terminal identifier sending module 610 is configured to send a terminal identifier to the measurement device in response to the trigger operation, so that the measurement device associates the current measurement data with the terminal identifier, and sends the current measurement data to the terminal device according to the terminal identifier, where the terminal identifier is unique identifier information of the terminal device.
And a measurement data receiving module 620, configured to receive the measurement data sent by the measurement device this time.
The embodiment of the present application further provides a measurement data obtaining apparatus, which is applied to a measurement device, and includes:
and the terminal identifier receiving module is used for receiving the terminal identifier sent by the terminal equipment and the sending time corresponding to the terminal identifier, wherein the terminal identifier is the only identifier information of the terminal equipment.
And the data identifier association module is used for associating the measured data with the terminal identifier corresponding to the sending time according to the sequence of the obtained measured data and the sequence of the sending time.
And the measurement data sending module is used for sending the measurement data associated with the terminal identifier to the terminal equipment.
It should be understood that the apparatus corresponds to the above method embodiment, and can perform the steps related to the above method embodiment, the specific functions of the apparatus can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy. The device includes at least one software function that can be stored in memory in the form of software or firmware (firmware) or solidified in the Operating System (OS) of the device.
Optionally, in this embodiment of the application, the terminal device further includes an operation button, and the operation button is connected to the processor; the operation button is used for responding to the trigger operation and sending a response instruction to the processor; the processor is used for receiving the response instruction and sending a control instruction to the communication interface, and the control instruction is used for enabling the communication interface to send the terminal identification to the measuring equipment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. 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.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an alternative embodiment of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the embodiments of the present application, and all the changes or substitutions should be covered by the scope of the embodiments of the present application.

Claims (13)

1. A measurement data obtaining method is applied to terminal equipment and comprises the following steps:
responding to a trigger operation, sending a terminal identification to a measuring device so that the measuring device associates the current measuring data with the terminal identification, and sending the current measuring data to the terminal device according to the terminal identification, wherein the terminal identification is unique identification information of the terminal device;
and receiving the current measurement data sent by the measurement equipment.
2. The method of claim 1, wherein sending a terminal identification to a measurement device in response to a trigger operation comprises:
and sending the terminal identification to the measuring equipment in response to the triggering operation that the motion track of the terminal equipment is a first preset track.
3. The method of claim 1, wherein sending a terminal identification to a measurement device in response to a trigger operation comprises:
and responding to the triggering operation that the voice keyword of the terminal equipment is a first preset keyword, and sending the terminal identification to the measuring equipment.
4. The method according to any of claims 1-3, wherein said sending a terminal identity to the measurement device comprises:
and sending the terminal identification and the sending time corresponding to the terminal identification to the measuring equipment so that the measuring equipment associates the measured data and the sending time corresponding to the terminal identification with the terminal identification.
5. The method according to claim 1, after said sending a terminal identifier to a measurement device and before said receiving the current measurement data sent by the measurement device, further comprising:
receiving a confirmation request sent by the measuring equipment, wherein the confirmation request is used for inquiring whether to receive the current measuring data;
and responding to the confirmation operation, and sending a confirmation response to the measurement equipment, wherein the confirmation response represents that the terminal equipment confirms to receive the current measurement data.
6. The method of claim 1, wherein the terminal device comprises a display screen; the receiving the current measurement data sent by the measurement device includes:
receiving the current measurement data and the terminal identification sent by the measurement equipment;
after the receiving the current measurement data sent by the measurement device, the method further includes:
comparing whether the terminal identification sent by the measuring equipment is the same as the terminal identification of the terminal equipment;
and if so, displaying the measurement data through the display screen.
7. The method according to claim 1, further comprising, after the receiving the current measurement data sent by the measurement device:
and displaying the current measurement data or playing the current measurement data in voice.
8. The method according to claim 7, wherein before the displaying the current measurement data or playing the current measurement data in voice, further comprising:
determining a motion track analyzed from the motion data collected by the terminal equipment as a second preset track; or
And determining the voice keyword analyzed from the voice data collected by the terminal equipment as a second preset keyword.
9. A measurement data obtaining method is applied to a measurement device and comprises the following steps:
receiving a terminal identification sent by a terminal device and a sending moment corresponding to the terminal identification, wherein the terminal identification is unique identification information of the terminal device;
associating the measurement data with the terminal identification corresponding to the sending time according to the sequence of the obtained measurement data and the sequence of the sending time;
and sending the measurement data associated with the terminal identification to the terminal equipment.
10. A terminal device, characterized in that the terminal device comprises: a processor, a memory, and a communication interface; the processor is respectively connected with the memory and the communication interface;
the processor is configured to: responding to a trigger operation, sending a terminal identifier to the measuring equipment through the communication interface so that the measuring equipment associates the current measuring data with the terminal identifier; and receiving the current measurement data sent by the measurement equipment through the communication interface.
11. The terminal device of claim 10, further comprising an operation button, the operation button being connected to the processor;
the operation button is used for responding to trigger operation and sending a response instruction to the processor;
the processor is used for receiving the response instruction and sending a control instruction to the communication interface, wherein the control instruction is used for enabling the communication interface to send a terminal identifier to the measuring equipment.
12. The terminal device according to claim 10, wherein the terminal device further comprises:
the processor is configured to: determining a sampling result analyzed from the acquired data of the terminal equipment as a preset result; and outputting the current measurement data according to the preset result.
13. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN201911124356.5A 2019-11-15 2019-11-15 Measurement data obtaining method, terminal equipment and storage medium Pending CN110851394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911124356.5A CN110851394A (en) 2019-11-15 2019-11-15 Measurement data obtaining method, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911124356.5A CN110851394A (en) 2019-11-15 2019-11-15 Measurement data obtaining method, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110851394A true CN110851394A (en) 2020-02-28

Family

ID=69600316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911124356.5A Pending CN110851394A (en) 2019-11-15 2019-11-15 Measurement data obtaining method, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110851394A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714401A (en) * 2020-12-25 2021-04-27 深圳市晨北科技有限公司 Data processing method and device, equipment and storage medium
CN113742767A (en) * 2020-05-28 2021-12-03 华为技术有限公司 Information processing method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120030229A1 (en) * 2010-07-27 2012-02-02 Lusheng Ji Methods, Systems, and Products for Measuring Health
JP3178848U (en) * 2012-07-23 2012-10-04 株式会社アコーズ Health promotion equipment
US20130289889A1 (en) * 2011-01-09 2013-10-31 Fitbit, Inc. Biometric Monitoring Device having a Body Weight Sensor, and Methods of Operating Same
CN204214540U (en) * 2014-11-28 2015-03-18 缤刻普锐(北京)科技有限责任公司 A kind of intelligent display system of electronic scales
US20170007128A1 (en) * 2015-07-07 2017-01-12 Fujitsu Limited Output device, output method, and recording medium
CN106961640A (en) * 2017-03-20 2017-07-18 上海斐讯数据通信技术有限公司 A kind of data transmission method for uplink and system based on Weight-detecting device
JP2018157323A (en) * 2017-03-16 2018-10-04 富士通株式会社 Information management program, information management method, and information management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120030229A1 (en) * 2010-07-27 2012-02-02 Lusheng Ji Methods, Systems, and Products for Measuring Health
US20170281002A1 (en) * 2010-07-27 2017-10-05 At&T Intellectual Property I, L.P. Remote Monitoring of Physiological Data via the Internet
US20130289889A1 (en) * 2011-01-09 2013-10-31 Fitbit, Inc. Biometric Monitoring Device having a Body Weight Sensor, and Methods of Operating Same
JP3178848U (en) * 2012-07-23 2012-10-04 株式会社アコーズ Health promotion equipment
CN204214540U (en) * 2014-11-28 2015-03-18 缤刻普锐(北京)科技有限责任公司 A kind of intelligent display system of electronic scales
US20170007128A1 (en) * 2015-07-07 2017-01-12 Fujitsu Limited Output device, output method, and recording medium
JP2018157323A (en) * 2017-03-16 2018-10-04 富士通株式会社 Information management program, information management method, and information management system
CN106961640A (en) * 2017-03-20 2017-07-18 上海斐讯数据通信技术有限公司 A kind of data transmission method for uplink and system based on Weight-detecting device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742767A (en) * 2020-05-28 2021-12-03 华为技术有限公司 Information processing method, device and storage medium
CN112714401A (en) * 2020-12-25 2021-04-27 深圳市晨北科技有限公司 Data processing method and device, equipment and storage medium
CN112714401B (en) * 2020-12-25 2022-05-24 深圳市晨北科技有限公司 Data processing method and device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20190327357A1 (en) Information presentation method and device
US9356792B1 (en) Recording events for social media
EP3905085A1 (en) Data abnormality detection method and apparatus, and terminal device
CN104125509A (en) Program identification method, device and server
US10930288B2 (en) Mobile device for speech input and text delivery
CN104850222A (en) Instruction recognition method and electronic terminal
CN108804130B (en) Program installation package generation method and device
CN109429102A (en) For showing the electronic device and its operating method of application
CN107666536B (en) Method and device for searching terminal
CN104035995A (en) Method and device for generating group tags
CN104125265A (en) Program interaction method and device, terminal, server and system
WO2017161994A1 (en) Method and device for displaying page, and computer storage medium
CN108763475B (en) Recording method, recording device and terminal equipment
CN109495638B (en) Information display method and terminal
CN110851394A (en) Measurement data obtaining method, terminal equipment and storage medium
CN108322770B (en) Video program identification method, related device, equipment and system
CN106471493B (en) Method and apparatus for managing data
KR102149914B1 (en) Point of interest update method and apparatus based crowd sourcing
CN107135312B (en) Method and terminal for shaking dialing
CN104965907A (en) Structured object generation method and apparatus
CN107278367B (en) Mobile terminal, wearable device and message transmission method
CN110213062B (en) Method and device for processing message
US11556604B2 (en) Electronic device and search keyword processing method thereof
CN110781390A (en) Information recommendation method and mobile terminal
CN112114886B (en) Acquisition method and device for false wake-up audio

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