CN113438263B - Data processing method, device and equipment of wearable massage instrument and storage medium - Google Patents

Data processing method, device and equipment of wearable massage instrument and storage medium Download PDF

Info

Publication number
CN113438263B
CN113438263B CN202010209631.XA CN202010209631A CN113438263B CN 113438263 B CN113438263 B CN 113438263B CN 202010209631 A CN202010209631 A CN 202010209631A CN 113438263 B CN113438263 B CN 113438263B
Authority
CN
China
Prior art keywords
state data
wearable massage
target wearable
data
main equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010209631.XA
Other languages
Chinese (zh)
Other versions
CN113438263A (en
Inventor
刘杰
刘肖
王储
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SKG Health Technologies Co Ltd.
Original Assignee
SKG Health Technologies 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 SKG Health Technologies Co Ltd. filed Critical SKG Health Technologies Co Ltd.
Priority to CN202010209631.XA priority Critical patent/CN113438263B/en
Publication of CN113438263A publication Critical patent/CN113438263A/en
Application granted granted Critical
Publication of CN113438263B publication Critical patent/CN113438263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0644External master-clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Massaging Devices (AREA)

Abstract

The application relates to a data processing method, a data processing device, data processing equipment and a storage medium of a wearable massage instrument. The method avoids two processes from occupying the bus to transmit data at the same time, realizes the optimization of bandwidth performance, and improves the data transmission efficiency.

Description

Data processing method, device and equipment of wearable massage instrument and storage medium
Technical Field
The application relates to the technical field of massage instruments, in particular to a data processing method, a data processing device, data processing equipment and a storage medium of a wearable massage instrument.
Background
With the development of life and science, everyone pays more and more attention to health, and therefore, various massage devices appear in the market.
At present, a plurality of massage devices can be comprehensively controlled by a main device. Taking a neck massager or an eye massager as an example, when the control is performed, the main device can collect state data of the neck massager or the eye massager, and the main device can store the collected state data to the cloud server.
However, in the prior art, the data transmission between the main device and the massager and the process of uploading the state data to the cloud by the main device are performed simultaneously, and the same data bus is adopted, so that a large amount of transmission resources of the data bus are easily occupied, and the data transmission efficiency is very low.
Disclosure of Invention
In view of the above, it is necessary to provide a data processing method, apparatus, device and storage medium of a wearable massage apparatus capable of improving data transmission efficiency.
In a first aspect, the present application provides a data processing method for a wearable massage apparatus, the method including:
the main equipment acquires state data of the target wearable massage instrument and stores the state data into the main equipment;
if the main equipment detects that the target wearable massage instrument is offline, sending a storage instruction carrying state data to a cloud server; the storage instructions are used for instructing the cloud server to store the state data.
In one embodiment, the acquiring, by the master device, the state data of the target wearable massage apparatus includes:
the method comprises the steps that a main device sends a data acquisition instruction to a target wearable massage instrument according to a preset time period; the data acquisition instruction is used for indicating the target wearable massage instrument to acquire state data;
and the master equipment receives the state data returned by the target wearable massage instrument.
In one embodiment, the data acquisition instruction carries current clock information of the master device; the data acquisition instruction is also used for indicating the target wearable massager to correct clock information of the target wearable massager according to the current clock information of the main equipment;
correspondingly, the current clock information of the target wearable massage instrument is carried in the state data of the target wearable massage instrument received by the main equipment; the current clock information of the target wearable massager is the clock information calibrated according to the current clock information of the master device.
In one embodiment, before the master device sends the data acquisition instruction to the target wearable massager according to the preset time period, the method further includes:
the main equipment sends a connection request to the target wearable massage instrument; the connection request is used for requesting to establish connection with the target wearable massage instrument;
the main equipment receives the response of the target wearable massage instrument; the response represents that the main equipment and the target wearable massage instrument are successfully connected.
In one embodiment, the process of the master device detecting that the target wearable massage apparatus is offline includes:
after the main equipment sends a data acquisition instruction to the target wearable massage instrument, if state data returned by the target wearable massage instrument are not received within a preset time, the target wearable massage instrument is determined to be offline.
In one embodiment, the state data includes operation state data of the target wearable massage apparatus, physiological characteristic information of the user and environmental data.
In one embodiment, the wearable massager includes a neck massager or an eye massager.
In a second aspect, the present application provides a data processing method for a wearable massage apparatus, the method including:
the cloud server receives a storage instruction carrying state data of the target wearable massage instrument, which is sent by the main equipment; the storage instruction is sent after the main equipment detects that the target wearable massage instrument is offline;
the cloud server stores the state data.
In one embodiment, the cloud server stores state data, and includes:
the cloud server classifies and stores the state data according to a preset classification rule; the classification rule is set based on the use time or the positioning information of the wearable massage apparatus.
In one embodiment, the method further comprises:
if the number of the classified same state data reaches a preset threshold value, or if a difference value between the uploaded state data and the classified known state data average value is within a preset threshold value range, the classified same state data is pushed to the main equipment or other main equipment so as to indicate the wearable massage instrument corresponding to the main equipment or other main equipment to call the state data.
In one embodiment, the state data includes operation state data of the target wearable massage apparatus, physiological characteristic information of the user and environmental data.
In one embodiment, the wearable massager comprises a neck massager or an eye massager.
In a third aspect, the present application provides a data processing apparatus comprising:
the state data acquisition module is used for acquiring state data of the target wearable massage instrument and storing the state data into the main equipment;
the state data processing module is used for sending a storage instruction carrying state data to the cloud server if the target wearable massager is detected to be offline; the storage instructions are used for instructing the cloud server to store the state data.
In a fourth aspect, the present application provides a data processing apparatus comprising:
the storage instruction receiving module is used for receiving a storage instruction which is sent by the main equipment and carries the state data of the target wearable massage instrument; the storage instruction is sent after the main equipment detects that the target wearable massage instrument is offline;
and the state data storage module is used for storing the state data.
In a fifth aspect, the present application provides a computer device comprising a memory storing a computer program and a processor implementing the steps of the data processing method of any one of the embodiments of the first or second aspect when the processor executes the computer program.
In a sixth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the data processing method of any of the first or second aspects described above.
According to the data processing method, the data processing device, the data processing equipment and the storage medium of the wearable massage apparatus, the main equipment obtains state data of the target wearable massage apparatus, stores the state data into the main equipment, and sends a storage instruction carrying the state data to the cloud server to indicate the cloud server to store the state data if the main equipment detects that the target wearable massage apparatus is offline. According to the method, the process that the main device acquires the state data of the target wearable massager is separated from the process that the main device uploads the acquired state data to the cloud server for storage, and only after the main device detects that the target wearable massager is offline, the main device is determined to have no data transmission with the target wearable massager any more, the acquired state data is uploaded to the server, so that the situation that the two processes occupy a bus for data transmission at the same time is avoided, the optimization of bandwidth performance is realized, and the data transmission efficiency is improved.
In addition, when the cloud server stores the state data, the state data are classified and stored according to classification rules set based on the service time or the positioning information of the wearable massage apparatus, so that the state data of the massage apparatus are classified and counted, the classification attribution is clear when the state data are stored, and the effective management of the state data of the massage apparatus is improved; when the quantity of the classified same state data reaches a preset threshold value, or if the difference value between the uploaded state data and the classified known state data average value is within a preset threshold value range, the cloud server pushes the classified same state data to the main device or other main devices to indicate the wearable massage apparatuses corresponding to the main device or other main devices to call the state data, the wearable massage apparatuses are intelligently pushed to users with the same type of data, and the intelligence of the wearable massage apparatuses is improved.
Drawings
Fig. 1 is an application environment diagram of a data processing method of a wearable massage apparatus according to an embodiment;
FIG. 1a is a diagram of the internal structure of a computer device in one embodiment;
fig. 2 is a schematic flow chart of a data processing method of the wearable massage apparatus according to an embodiment;
fig. 3 is a schematic flow chart of a data processing method of a wearable massage apparatus according to another embodiment;
fig. 4 is a schematic flow chart of a data processing method of a wearable massage apparatus according to another embodiment;
fig. 5 is a schematic flow chart of a data processing method of a wearable massage apparatus according to another embodiment;
fig. 6 is a schematic flow chart of a data processing method of the wearable massage apparatus according to another embodiment;
fig. 7 is a block diagram of a data processing device of the wearable massage apparatus according to an embodiment;
fig. 8 is a block diagram of a data processing device of a wearable massage apparatus according to another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
Referring to fig. 1, the present application provides an application environment of a data processing method for a wearable massage apparatus, and a main device 01 can establish a connection with the wearable massage apparatus 02 to control the wearable massage apparatus 02. The main device 01 may be an electronic device such as a personal computer, a notebook computer, a desktop computer, a media player, an intelligent television, an intelligent terminal, a tablet computer, and a portable wearable device, and the type of the main device is not limited in the embodiment of the present application. Wherein, the wearable massager 02 can be a wearable neck massager, a wearable eye massager, a wearable waist massager, and the like.
The internal structure of the master device 01 is shown in fig. 1 a. The master device comprises a processor, a memory, a network interface and a database which are connected through a system bus. Wherein the processor is configured to provide computational and control capabilities. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database is used for storing data of a data processing method of the wearable massage apparatus. The network interface is used for communicating with an external terminal through network connection. The computer program is executed by a processor to implement a data processing method of a wearable massager. It is understood that the internal structure of the master device shown in fig. 1a is only an example and is not intended to be limiting.
The embodiment of the application provides a data processing method, a data processing device, data processing equipment and a storage medium of a wearable massage apparatus, and the data transmission efficiency between the wearable massage apparatus and main equipment can be improved. The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. These several specific embodiments may be combined with each other below, and details of the same or similar concepts or processes may not be repeated in some embodiments. In addition, according to the data processing method of the wearable massage apparatus provided by the present application, the execution subject in fig. 2 to fig. 4 is a main device, and the execution subject in fig. 5 is a cloud server. The execution main body in fig. 2-5 can also be a data processing device of the wearable massage apparatus, wherein the device can be implemented as part or all of the main device by software, hardware or a combination of software and hardware.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions 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, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
An embodiment in which the execution subject is the master is explained below.
In an embodiment, fig. 2 provides a data processing method for a wearable massage apparatus, and this embodiment relates to a specific process in which a master device acquires state data of a target wearable massage apparatus and sends the acquired state data to a cloud server for storage, as shown in fig. 2, the method includes:
s101, the main equipment acquires state data of the target wearable massage instrument and stores the state data into the main equipment.
The state data of the target wearable massage apparatus represents the current self use state data of the target wearable massage apparatus, the state data of the user and the like. Optionally, the status data includes operating status data of the target wearable massage apparatus, physiological characteristic information of the user, environmental data, and the like. For example, the physiological characteristic information of the user includes skin impedance, heartbeat, electrocardio, position information and the like of the user; the environment data comprises the current indoor or outdoor position, or the air humidity and the like, and the running state data of the massage instrument comprises the current running parameters, running time and the like of the wearable massage instrument; the present embodiment does not specifically limit the status data.
Optionally, the wearable massager comprises a neck massager or an eye massager. Taking the main device as the intelligent terminal, taking the state data of the wearable neck massager as the target wearable massager as an example, the main device obtains the state data of the target wearable massager, and the state data may be obtained by the intelligent terminal from the wearable neck massager, or the state data actively sent by the wearable neck massager is received by the intelligent terminal, which is not limited in this embodiment.
After the master device acquires the status data, the acquired status data is stored, for example, in a storage unit of a preset setting. In practical application, if a main device is connected with a plurality of wearable massage instruments, the state data of each wearable massage instrument can be separately and independently stored in the storage unit, for example, during storage, the marks of different wearable massage instruments can be distinguished, and management on the state data of different wearable massage instruments is facilitated.
S102, if the main device detects that the target wearable massage instrument is offline, sending a storage instruction carrying state data to a cloud server; the storage instructions are used for instructing the cloud server to store the state data.
It can be understood that, the premise that the main device obtains the state data of the target wearable massage apparatus is that the main device and the target wearable massage apparatus can normally perform data transmission, in this step, after the main device detects that the target wearable massage apparatus is offline, that is, after it is determined that the main device does not have data transmission with the target wearable massage apparatus any more, the obtained state data is uploaded to the server, that is, after the main device is offline with the target wearable massage apparatus, the main device sends a storage instruction carrying the state data to the cloud server to indicate the cloud server to store the state data.
Compare in traditional technique, the main equipment can directly upload the state data of gathering to the cloud ware and save when gathering the state data of wearable massage appearance of target, if adopt the same data bus in this process, just occupy data bus's transmission resource in a large number easily, lead to data transmission efficiency very low.
According to the data processing method of the wearable massage apparatus, the main device obtains the state data of the target wearable massage apparatus, stores the state data into the main device, and sends a storage instruction carrying the state data to the cloud server to instruct the cloud server to store the state data if the main device detects that the target wearable massage apparatus is offline. According to the method, the process that the main device acquires the state data of the target wearable massager is separated from the process that the main device uploads the acquired state data to the cloud server for storage, and only after the main device detects that the target wearable massager is offline, the main device is determined to have no data transmission with the target wearable massager any more, the acquired state data is uploaded to the server, so that the situation that the two processes occupy a bus for data transmission at the same time is avoided, the optimization of bandwidth performance is realized, and the data transmission efficiency is improved.
For explaining the process of acquiring the state data of the target wearable massage apparatus by the master device, in an embodiment, as shown in fig. 3, the step S101 includes:
s201, the main equipment sends a data acquisition instruction to the target wearable massage instrument according to a preset time period; the data acquisition instruction is used for indicating the target wearable massage instrument to acquire state data.
S202, the main equipment receives state data returned by the target wearable massage instrument.
The present embodiment is described in terms of a process in which the master device actively acquires status data of the target wearable massage apparatus. In practical application, when the main device acquires state data of the target wearable massage instrument, the main device sends a data acquisition instruction to the target wearable massage instrument, and the sent data acquisition instruction is used for indicating the target wearable massage instrument to acquire the state data and then returning the data instruction to the main device. And the master equipment receives the state data returned by the target wearable massage instrument.
In order to acquire complete state data and ensure that the target wearable massage apparatus reliably transmits the state data back, the master device may send a data acquisition instruction to the target wearable massage apparatus according to a preset time period (e.g., 5 s), so that the reliability of state data acquisition is ensured in a cyclic sending manner.
In practical application, the wearable massage apparatus can acquire state data through a built-in sensor in the massage apparatus, for example, the environment data can be acquired through an environment sensor, such as a light sensor, for example, the light intensity, a humidity sensor, and the like, in the air; for example, a vibration sensor may be used to collect the heartbeat of the user, and a locatable sensor may be used to collect the position information, which is not limited in this embodiment.
In addition to the manner of the main device actively acquiring the state data, in practical application, the target wearable massager may be further configured to actively report the state data of the target wearable massager to the main device, for example, a program is set in advance for the wearable massager, and after the target wearable massager detects that the target wearable massager starts to operate, the state data is actively collected and the collected state data is reported to the main device.
In some scenarios, when the master device manages the state data of the target wearable massage apparatus, the state data needs to be based on time information, and then in order to ensure that the target wearable massage apparatus and the master device keep appropriate information consistent, the target wearable massage apparatus needs to correct clock information of the target wearable massage apparatus according to the clock information of the master device, which is specifically described in an embodiment below.
In one embodiment, the data acquisition instruction carries current clock information of the master device; the data acquisition instruction is also used for indicating the target wearable massager to correct clock information of the target wearable massager according to the current clock information of the main equipment; correspondingly, the state data of the target wearable massage instrument received by the main equipment carries the current clock information of the target wearable massage instrument; the current clock information of the target wearable massage apparatus is the clock information calibrated according to the current clock information of the master device.
In this embodiment, in the state data acquisition instruction sent by the master device to the target wearable massage apparatus, current clock information of the master device needs to be carried, and then the data acquisition instruction is further used to instruct the target wearable massage apparatus to correct clock information of the target wearable massage apparatus, and after the target wearable massage apparatus corrects clock information of the target wearable massage apparatus, time information is carried in the state data returned to the master device according to the data acquisition instruction, where the time information carried in the state data is determined by the target wearable massage apparatus according to the corrected clock information. Therefore, after the target wearable massage instrument receives the data acquisition instruction sent by the main equipment, the clock information of the target wearable massage instrument is corrected firstly, so that the clock information of the main equipment is consistent with that of the wearable massage instrument, and the main equipment can manage the state data conveniently according to the time information.
After the off-line of the wearable massage apparatus of the main device detection target is detected, the acquired state data is uploaded to the cloud server, and an implementation manner of the off-line of the wearable massage apparatus of the main device detection target is provided, in one embodiment, the off-line process of the wearable massage apparatus of the main device detection target includes: after the main equipment sends a data acquisition instruction to the target wearable massage instrument, if state data returned by the target wearable massage instrument are not received within a preset time, the target wearable massage instrument is determined to be offline.
When the main device acquires the state data of the target wearable massage apparatus, the target wearable massage apparatus needs to be capable of data transmission with the main device. In this embodiment, a situation that the main device sends a data acquisition instruction to the target wearable massage apparatus to acquire status data is explained, and after the main device sends the data acquisition instruction to the target wearable massage apparatus, status data returned by the target wearable massage apparatus is not received within a preset time period, or any response is received, and then the main device determines that the target wearable massage apparatus is offline. The preset time period may be determined according to actual conditions, for example, 15s, 30s, 1min, and the like, which is not limited in this embodiment.
According to the embodiment, the response time of the target wearable massage instrument which is not received is used as the basis for judging the offline state of the target wearable massage instrument, and the offline state of the target wearable massage instrument is determined if the response time exceeds the preset time, so that the offline accuracy of the target wearable massage instrument is greatly improved.
The normal data transmission between the master device and the target wearable massage apparatus is based on the connection between the master device and the target wearable massage apparatus, and therefore, in an embodiment, before the master device sends the data acquisition command to the target wearable massage apparatus according to the preset time period, as shown in fig. 4, the method further includes:
s301, the main equipment sends a connection request to the target wearable massage instrument; the connection request is used for requesting to establish connection with the target wearable massage apparatus.
In practical application, the connection mode of the main device and the target wearable massager may be a wireless connection, such as bluetooth, wifi, infrared, 5G/4G/3G, etc., or a wired connection, such as a connection through a data line, etc., which is not limited in this embodiment.
If the wearable massage apparatus is wirelessly connected, the master device may send a connection request to the target wearable massage apparatus according to the manner of this step, so as to request to establish a connection with the target wearable massage apparatus. If the wearable massage instrument is in wired connection, the main device is connected with the target wearable massage instrument through a cable.
S302, the main equipment receives a response of the target wearable massage instrument; the response represents that the main equipment and the target wearable massage instrument are successfully connected.
If the main device is successfully connected with the target wearable massage instrument, the main device receives a response returned by the target wearable massage instrument, and the response can represent that the main device is successfully connected with the target wearable massage instrument.
According to the embodiment, the main device is connected with the target wearable massage instrument in advance, and receives the response of successful connection of the target wearable massage instrument, so that normal interactive data transmission between the follow-up main device and the target wearable massage instrument is guaranteed.
An embodiment in which the execution subject is a cloud server is explained below.
As shown in fig. 5, the present application provides a data processing method for a wearable massage apparatus, which relates to a specific process of storing state data after a cloud server receives a storage instruction of the state data sent by a master device, and the method includes:
s401, the cloud server receives a storage instruction which is sent by the main device and carries state data of the target wearable massage instrument; the storage instruction is sent after the main device detects the offline of the target wearable massage apparatus.
The cloud server receives a storage instruction sent by the main device, the storage instruction carries state data of the target wearable massage apparatus, and the storage instruction is sent after the main device detects that the target wearable massage apparatus is offline, namely, when the cloud server receives the storage instruction, the main device and the target wearable massage apparatus do not perform data transmission any more. Optionally, the status data includes operating status data of the target wearable massager, physiological characteristic information of the user, and environmental data, and the wearable massager includes a neck massager or an eye massager. For the process of acquiring the storage instruction and sending the storage instruction to the cloud server, reference may be made to the description in the embodiment in which the main device is an execution main body, and details of this embodiment are not described herein again.
S402, the cloud server stores the state data.
And after receiving the state data, the cloud server stores the state data.
According to the data processing method of the wearable massage apparatus, the cloud server receives the state data carrying the target wearable massage apparatus, which is sent by the main device, and the main device stores the state data after detecting the storage instruction sent by the target wearable massage apparatus after being offline. According to the method, the main device detects that the target wearable massager is offline and then sends the off-line information when the cloud server receives the storage instruction, and therefore only after the main device is determined to have no data transmission with the target wearable massager any more, the acquired state data are uploaded to the server, the situation that two processes occupy a bus for data transmission at the same time is avoided, optimization of bandwidth performance is achieved, and data transmission efficiency is improved.
In order to manage the state data, the cloud server may classify and store the data, and in an embodiment, the S402 includes: the cloud server classifies and stores the state data according to a preset classification rule; the classification rule is set based on the use time or the positioning information of the wearable massage apparatus.
The preset classification rule is used for formulating a rule to be followed when the state data is classified and stored, and optionally, the preset classification rule can be set based on the service time or the positioning information of the wearable massage apparatus, for example, the wearable massage apparatus is classified and stored according to the service months and the months; for another example, the position information is classified and stored according to the positioning information of the wearable massage apparatus. Of course, in practical applications, the information may be classified and stored according to other information, such as date, type, and the like, which is not limited in this embodiment.
In the embodiment, the cloud server classifies and counts the state data of the massage instruments, and the classification attribution is clear when the state data are stored, so that the state data of the massage instruments are classified and stored, and the effective management of the state data of the massage instruments is realized.
In another embodiment, if the number of the classified same state data reaches a preset threshold, or if a difference value between the uploaded state data and the classified known state data average value is within a preset threshold range, the classified same state data is pushed to the main device or other main devices to indicate that the wearable massage apparatus corresponding to the main device or other main devices calls the state data.
When the cloud server classifies and stores the state data of the massage instruments, the quantity of the same state data of the Chinese character classification reaches a preset threshold value, or if the difference value between the uploaded state data and the classified known state data average value is within a preset threshold value range, the same state data is pushed to the main equipment or other main equipment, for the main equipment, the wearable massage instruments corresponding to the main equipment or other main equipment call the state data, so that the state data can be intelligently pushed to users with the same type of data, and the intelligence of the wearable massage instruments is improved.
In addition, as shown in fig. 6, the present application further provides a data processing method of a wearable massage apparatus, where the data processing method includes:
s1: the master device sends a connection request to the target wearable massager to request to establish connection with the target wearable massager.
S2: and the target wearable massager returns a response of successful connection to the main equipment.
S3: the main equipment sends a data acquisition instruction to the target wearable massage apparatus according to a preset time period.
S4: and the target wearable massage instrument corrects the clock of the target wearable massage instrument according to the clock information in the data acquisition instruction.
S5: the target wearable massager acquires state data and sends the state data to the main equipment.
S6: the master device stores the state data of the target wearable massage apparatus in a master device storage unit.
S7: and the main equipment sends a data acquisition instruction and does not receive a response instruction within a preset time length, and the target wearable massager is determined to be offline.
S8: and the main equipment uploads the state data stored on the main equipment storage unit to the cloud server.
S9: the cloud server stores the state data.
The steps in this embodiment are the same as the processes in the above embodiments, and the description of this embodiment will not be repeated.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a data processing apparatus of a wearable massage machine, including: status data acquisition module 10, status data processing module 11, wherein:
the state data acquisition module 10 is used for acquiring state data of the target wearable massage instrument and storing the state data into the main equipment;
the state data processing module 11 is used for sending a storage instruction carrying state data to the cloud server if the target wearable massage apparatus is detected to be offline; the storage instructions are used for instructing the cloud server to store the state data.
In one embodiment, the status data acquisition module 10 includes:
the acquisition instruction sending unit is used for sending a data acquisition instruction to the target wearable massager according to a preset time period; the data acquisition instruction is used for indicating the target wearable massage instrument to acquire state data;
and the receiving unit is used for receiving the state data returned by the target wearable massage instrument.
In one embodiment, the data obtaining instruction carries current clock information of the master device; the data acquisition instruction is also used for indicating the target wearable massage instrument to correct clock information of the target wearable massage instrument according to the current clock information of the main equipment; correspondingly, the state data of the target wearable massage instrument received by the main equipment carries the current clock information of the target wearable massage instrument; the current clock information of the target wearable massage apparatus is the clock information calibrated according to the current clock information of the master device.
In an embodiment, the status data processing module 11 is specifically configured to determine that the target wearable massage apparatus is offline if the master device does not receive status data returned by the target wearable massage apparatus within a preset time period after sending the data obtaining instruction to the target wearable massage apparatus.
In one embodiment, the apparatus further comprises:
the connection request sending module is used for sending a connection request to the target wearable massage instrument; the connection request is used for requesting to establish connection with the target wearable massage instrument;
the response receiving module is used for receiving the response of the target wearable massage instrument; the response represents that the main equipment and the target wearable massage instrument are successfully connected.
In one embodiment, the status data includes operating status data of the target wearable massager, physiological characteristic information of the user and environmental data.
In one embodiment, the wearable massager comprises a neck massager or an eye massager.
In one embodiment, as shown in fig. 8, the present application provides a data processing apparatus of a wearable massage apparatus, the apparatus comprising:
the storage instruction receiving module 12 is configured to receive a storage instruction carrying state data of the target wearable massage apparatus, which is sent by the main device; the storage instruction is sent after the main equipment detects that the target wearable massage instrument is offline;
and a status data storage module 13 for storing status data.
In an embodiment, the state data storage module 13 is specifically configured to store the state data in a classified manner according to a preset classification rule; the classification rule is set based on the use time or the positioning information of the wearable massage apparatus.
In an embodiment, the apparatus further includes a pushing module, configured to, if the number of the categorized same state data reaches a preset threshold, or if a difference between the uploaded state data and the categorized average value of the known state data is within a preset threshold range, push the categorized same state data to the main device or another main device, so as to indicate the wearable massage apparatus corresponding to the main device or another main device to call the state data.
In one embodiment, the status data includes operating status data of the target wearable massager, physiological characteristic information of the user, and environmental data.
In one embodiment, the wearable massager comprises a neck massager or an eye massager.
The implementation principle and technical effect of the data processing device of all wearable massage apparatuses provided by the above embodiments are similar to those of the data processing method embodiments of the wearable massage apparatuses, and are not described herein again.
For specific limitations of the data processing device of the wearable massage apparatus, reference may be made to the above limitations of the data processing method of the wearable massage apparatus, which are not described herein again. All or part of each module in the data processing device of the wearable massager can be realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, the internal structure of which may be as described above in FIG. 1 a. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data processing method of a wearable massager. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in FIG. 1a is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring state data of the target wearable massage instrument, and storing the state data into the main equipment;
if the target wearable massage instrument is detected to be offline, sending a storage instruction carrying state data to a cloud server; the storage instructions are used for instructing the cloud server to store the state data.
Alternatively, the processor implements the following steps when executing the computer program:
receiving a storage instruction which is sent by the main equipment and carries state data of the target wearable massage instrument; the storage instruction is sent after the main device detects that the target wearable massage instrument is offline;
the status data is stored.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring state data of the target wearable massage instrument, and storing the state data into the main equipment;
if the target wearable massage instrument is detected to be offline, sending a storage instruction carrying state data to a cloud server; the storage instructions are used for instructing the cloud server to store the state data.
Alternatively, the computer program when executed by a processor implements the steps of:
receiving a storage instruction which is sent by the main equipment and carries state data of the target wearable massage instrument; the storage instruction is sent after the main device detects that the target wearable massage instrument is offline;
the status data is stored.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. The non-volatile Memory may include Read-Only Memory (ROM), programmable Read-Only Memory (PROM), electrically Programmable Read-Only Memory (EPROM), electrically Erasable Programmable Read-Only Memory (EEPROM), or flash Memory. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static Random-Access Memory (SRAM), dynamic Random-Access Memory (DRAM), synchronous Dynamic Random-Access Memory (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced DRAM (ESDRAM), synchronous Link DRAM (DDRAM), DRAM, and DRAM, as well as DRAM, and DRAM.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (12)

1. A data processing method of a wearable massage apparatus is characterized by comprising the following steps:
the method comprises the steps that a main device sends a data acquisition instruction to a target wearable massage instrument according to a preset time period; the data acquisition instruction is used for indicating the target wearable massage instrument to acquire state data; the data acquisition instruction carries current clock information of the master device and is used for indicating the target wearable massager to correct clock information of the target wearable massager according to the current clock information of the master device and then sending state data carrying the clock information to the master device;
the main equipment receives state data returned by the target wearable massage instrument and stores the state data into a preset storage unit of the main equipment; the state data of different wearable massage instruments in the main equipment are stored in different storage units and are distinguished by the identifications of the different wearable massage instruments;
if the state data returned by the target wearable massage instrument are not received within a preset time length, determining that the target wearable massage instrument is off-line, and sending a storage instruction carrying the state data to a cloud server; the storage instructions are to instruct the cloud server to store the state data.
2. The method according to claim 1, wherein the state data of the target wearable massage apparatus received by the master device carries current clock information of the target wearable massage apparatus; and the current clock information of the target wearable massage instrument is clock information calibrated according to the current clock information of the master equipment.
3. The method of claim 1, wherein before the master device sends data acquisition instructions to the target wearable massager according to a preset time period, the method further comprises:
the main equipment sends a connection request to the target wearable massage instrument; the connection request is used for requesting to establish connection with the target wearable massager;
the main equipment receives a response of the target wearable massage instrument; the response is used for representing that the main equipment and the target wearable massage apparatus are successfully connected.
4. The method of any one of claims 1-3, wherein the status data includes operational status data of the target wearable massager, physiological characteristic information of the user, and environmental data.
5. The method of any one of claims 1-3, wherein the wearable massager comprises a neck massager or an eye massager.
6. A data processing method of a wearable massage apparatus is characterized by comprising the following steps:
the cloud server receives a storage instruction which is sent by the main equipment and carries state data of the target wearable massage instrument; the storage instruction is sent after the main equipment detects that the target wearable massage apparatus is offline;
the cloud server classifies and stores the state data according to a preset classification rule; the classification rule is set based on the use time or the positioning information of the wearable massage instrument;
if the quantity of the classified same state data reaches a preset threshold value, or if the difference value between the uploaded state data and the classified known state data average value is within a preset threshold value range, the classified same state data is pushed to the main equipment or other main equipment so as to indicate the wearable massage instrument corresponding to the main equipment or other main equipment to call the state data.
7. The method of claim 6, wherein the status data comprises operational status data of the target wearable massager, physiological characteristic information of the user, and environmental data.
8. The method of claim 6, wherein the wearable massager comprises a neck massager or an eye massager.
9. A data processing apparatus, characterized in that the apparatus comprises:
the main equipment is used for sending a data acquisition instruction to the target wearable massager according to a preset time period; the data acquisition instruction is used for indicating the target wearable massage instrument to acquire state data; the data acquisition instruction carries current clock information of the master device and is used for indicating the target wearable massager to correct clock information of the target wearable massager according to the current clock information of the master device and then sending state data carrying the clock information to the master device;
the main equipment receives state data returned by the target wearable massage instrument and stores the state data into a preset storage unit of the main equipment; the state data of different wearable massage instruments in the main equipment are stored in different storage units and are distinguished by the identifications of the different wearable massage instruments;
the state data processing module is used for determining that the target wearable massage instrument is off-line and sending a storage instruction carrying the state data to a cloud server under the condition that the state data returned by the target wearable massage instrument is not received within a preset time length; the storage instructions are to instruct the cloud server to store the state data.
10. A data processing apparatus, characterized in that the apparatus comprises:
the storage instruction receiving module is used for receiving a storage instruction which is sent by the main equipment and carries the state data of the target wearable massage instrument; the storage instruction is sent after the main equipment detects that the target wearable massage apparatus is offline;
the state data storage module is used for classifying and storing the state data according to a preset classification rule; the classification rule is set based on the use time or the positioning information of the wearable massage instrument; if the quantity of the classified same state data reaches a preset threshold value, or if the difference value between the uploaded state data and the classified known state data average value is within a preset threshold value range, the classified same state data is pushed to the main equipment or other main equipment so as to indicate the wearable massage instrument corresponding to the main equipment or other main equipment to call the state data.
11. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 8 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202010209631.XA 2020-03-23 2020-03-23 Data processing method, device and equipment of wearable massage instrument and storage medium Active CN113438263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010209631.XA CN113438263B (en) 2020-03-23 2020-03-23 Data processing method, device and equipment of wearable massage instrument and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010209631.XA CN113438263B (en) 2020-03-23 2020-03-23 Data processing method, device and equipment of wearable massage instrument and storage medium

Publications (2)

Publication Number Publication Date
CN113438263A CN113438263A (en) 2021-09-24
CN113438263B true CN113438263B (en) 2023-04-07

Family

ID=77752687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010209631.XA Active CN113438263B (en) 2020-03-23 2020-03-23 Data processing method, device and equipment of wearable massage instrument and storage medium

Country Status (1)

Country Link
CN (1) CN113438263B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204904357U (en) * 2015-08-14 2015-12-23 普惠康泰(北京)医学技术发展有限公司 A remote management system for cardiovascular and cerebrovascular disease
CN105472290A (en) * 2014-09-12 2016-04-06 杭州海康威视数字技术股份有限公司 Processing method and device for data transmitting and receiving operation modes

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106413123B (en) * 2015-07-31 2019-11-22 腾讯科技(深圳)有限公司 Data transmission method and device
CN107704591A (en) * 2017-10-12 2018-02-16 西南财经大学 A kind of data processing method of the intelligent wearable device based on cloud computing non-database framework
CN110418387A (en) * 2019-07-23 2019-11-05 广东乐之康医疗技术有限公司 A kind of wearable device data uploading method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472290A (en) * 2014-09-12 2016-04-06 杭州海康威视数字技术股份有限公司 Processing method and device for data transmitting and receiving operation modes
CN204904357U (en) * 2015-08-14 2015-12-23 普惠康泰(北京)医学技术发展有限公司 A remote management system for cardiovascular and cerebrovascular disease

Also Published As

Publication number Publication date
CN113438263A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN110162726B (en) Page resource loading method and device and storage medium
US10123735B2 (en) Electronic device for determining sleep state and method of controlling same
EP3227850A1 (en) Dynamic wearable device behavior based on family history
EP3367664B1 (en) Photographing method using external electronic device and electronic device supporting the same
JP2023511327A (en) Model training method and apparatus
WO2015101056A1 (en) Data sharing method, device and terminal
EP3333587B1 (en) Electronic device and method for providing location data
US10695002B2 (en) Activity information providing method and electronic device supporting the same
US11301768B2 (en) System and method for optimal sensor placement
JP2020507159A (en) Picture push method, mobile terminal and storage medium
JP2019536124A (en) Starter kit for basal insulin titration
KR20170017643A (en) Contents transmission controlling method and electronic device supporting the same
CN110546596A (en) Sight tracking method and terminal for executing same
CN107111675A (en) For the dynamical feedback of wearable device
CN111159598A (en) Image browsing method and device, computer equipment and storage medium
CN113438263B (en) Data processing method, device and equipment of wearable massage instrument and storage medium
CN113630473A (en) Internet of things equipment control method and system, computer equipment and storage medium
CN110086565B (en) Data transmission and storage method
WO2023051215A1 (en) Gaze point acquisition method and apparatus, electronic device and readable storage medium
CN113055423A (en) Policy pushing method, policy execution method, device, equipment and medium
US20230317282A1 (en) Pre-diagnosis system and method providing guidance as to a correct medical and diagnosis
US20220060334A1 (en) Electronic device and method for managing body information by electronic device
CN113438266B (en) Method, device, equipment and storage medium for acquiring data of wearable massager
KR102402684B1 (en) Method for providing an information of self skin condition based on big data in non-facing environment
CN105469341A (en) Medical health intervention system and intervention method based on system

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Future wear Health Technology Co.,Ltd.

Address before: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Future wearable technology Co.,Ltd.

Address after: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Future wearable technology Co.,Ltd.

Address before: 23af, building 3, zhongkekefa Park, 009 Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Future wearable technology Co.,Ltd.

CP03 Change of name, title or address