CN113438265A - Data transmission method, system and device of wearable massage instrument and computer equipment - Google Patents

Data transmission method, system and device of wearable massage instrument and computer equipment Download PDF

Info

Publication number
CN113438265A
CN113438265A CN202010209635.8A CN202010209635A CN113438265A CN 113438265 A CN113438265 A CN 113438265A CN 202010209635 A CN202010209635 A CN 202010209635A CN 113438265 A CN113438265 A CN 113438265A
Authority
CN
China
Prior art keywords
wearable
wearable massage
transmission
data
massage instrument
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.)
Granted
Application number
CN202010209635.8A
Other languages
Chinese (zh)
Other versions
CN113438265B (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 CN202010209635.8A priority Critical patent/CN113438265B/en
Publication of CN113438265A publication Critical patent/CN113438265A/en
Application granted granted Critical
Publication of CN113438265B publication Critical patent/CN113438265B/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/14Session management
    • H04L67/141Setup of application sessions
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
    • A61H1/00Apparatus for passive exercising; Vibrating apparatus; Chiropractic devices, e.g. body impacting devices, external devices for briefly extending or aligning unbroken bones
    • A61H1/008Apparatus for applying pressure or blows almost perpendicular to the body or limb axis, e.g. chiropractic devices for repositioning vertebrae, correcting deformation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
    • A61H2205/00Devices for specific parts of the body
    • A61H2205/04Devices for specific parts of the body neck

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Epidemiology (AREA)
  • Pain & Pain Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Rehabilitation Therapy (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Massaging Devices (AREA)

Abstract

The application relates to a data transmission method, a system, a device and computer equipment of a wearable massage instrument. The method comprises the following steps: the wearable massage device generates a data packet according to the collected body measurement data and the response instruction corresponding to the data reading instruction after receiving the data reading instruction sent by the main device, detects the transmission rate between the wearable massage device and each receiving device, determines a target receiving device according to the transmission rate, the transmission rate requirement between the wearable massage device and each receiving device and the transmission priority sequence between the wearable massage device and each receiving device, and sends the data packet to the target receiving device for storage. In the method, the preset transmission strategy represents the transmission priority order, so that the wearable massage instrument reasonably distributes transmission paths when transmitting the data packets to different target receiving devices according to the transmission rate and the preset transmission strategy, the multi-path transmission of the data packets of the wearable massage instrument is realized, and the transmission efficiency of the data packets of the wearable massage instrument is improved.

Description

Data transmission method, system and device of wearable massage instrument and computer equipment
Technical Field
The application relates to the technical field of massage instruments, in particular to a data transmission method, a system, a device and computer equipment of a wearable massage instrument.
Background
With the development of the internet, more and more intelligent electronic devices appear in the lives of people. In the health care industry, intelligent electronic equipment, for example intelligent massage appearance can realize controlling its application of opening, pause, closing and functional module through mobile terminal, and simultaneously, intelligent electronic equipment can also communicate with mobile terminal, surveys data through some basic physique of gathering the user, surveys data transmission to this physique in the mobile terminal to the user knows the change condition of experience in-process physique and surveys data, provides high-quality service for the user.
Taking the intelligent massage apparatus as an example, the intelligent massage apparatus can collect some basic body measurement data of the user, such as data of heartbeat frequency, skin information, use duration of the user and the like, and send the collected data to the mobile terminal, such as a mobile phone or other intelligent wearable devices. Generally, the data transmission mode is that the intelligent massage instrument sends the acquired data to the mobile terminal, and then the mobile terminal stores the data in the cloud platform memory.
In the prior art, the data acquired by the intelligent electronic device needs to respond to the reading instruction of the mobile terminal at any time, and the mobile terminal uploads the data packet to the cloud platform memory after receiving the response. When a plurality of intelligent massage instruments or intelligent massage instruments generate a plurality of data packets, the data transmission mode can occupy a large amount of data transmission resources, and transmission line congestion is easily caused, so that the transmission efficiency is low.
Disclosure of Invention
In view of the above, there is a need to provide a data transmission method, system, device and computer device for wearable massage apparatus.
In a first aspect, a data transmission method for a wearable massage apparatus is provided, which includes:
after receiving a data reading instruction sent by the main equipment, the wearable massage instrument generates a data packet by the collected body measurement data and a response instruction corresponding to the data reading instruction;
the wearable massager detects the transmission rate between the wearable massager and each receiving device;
the wearable massage instrument determines target receiving equipment according to the transmission rate and a preset transmission strategy; the transmission strategy comprises transmission rate requirements between the wearable massage instrument and each receiving device and transmission priority orders of the wearable massage instrument and each receiving device;
the wearable massage apparatus sends the data packet to the target receiving equipment for storage.
In one embodiment, the wearable massage apparatus determines the target receiving device according to the transmission rate and a preset transmission strategy, and includes:
the wearable massage instrument determines first receiving equipment according to the transmission priority sequence of the wearable massage instrument and each receiving equipment; the wearable massage instrument and the first receiving device have the highest transmission priority;
the wearable massage instrument judges whether the transmission rate between the wearable massage instrument and the first receiving equipment meets the transmission rate requirement of the wearable massage instrument and the first receiving equipment;
if so, the wearable massage apparatus determines that the first receiving device is the target receiving device.
In one embodiment, the method further includes:
if the priority order does not meet the requirement, the wearable massage instrument determines second receiving equipment according to the transmission priority order of the wearable massage instrument and each receiving equipment; the transmission priority of the wearable massage instrument and the second receiving equipment is smaller than that of the wearable massage instrument and the first receiving equipment and is larger than that of the wearable massage instrument and other receiving equipment;
the wearable massager judges whether the transmission rate between the wearable massager and the second receiving equipment meets the transmission rate requirement of the wearable massager and the second receiving equipment;
if so, the wearable massage apparatus determines that the second receiving device is the target receiving device.
In one embodiment, the method further includes:
if the transmission rates between the wearable massage instrument and all the receiving devices do not meet the corresponding transmission rate requirements, the wearable massage instrument stores the data packet in a memory of the wearable massage instrument;
the wearable massager detects the transmission rate between the wearable massager and each receiving device, and determines a target receiving device according to the transmission rate and the transmission strategy;
and sending the data packet in the memory of the wearable massage apparatus to a target receiving device.
In one embodiment, after the sending the data packet in the memory of the wearable massage apparatus to the target receiving device, the method further includes:
the wearable massager deletes the data packet from the memory of the wearable massager.
In one embodiment, the receiving device is a cloud platform device or a master device;
the transmission priority between the wearable massage instrument and the cloud platform device is higher than that between the wearable massage instrument and the cloud main device, and the transmission priority between the wearable massage instrument and the cloud main device is higher than that of the wearable massage instrument for storing the data packet in the local memory.
In a second aspect, a data transmission method for a wearable massage apparatus is provided, which includes:
the main equipment sends a data reading instruction to the wearable massage instrument; the data reading instruction is used for indicating the wearable massage instrument to send a data packet to the target receiving equipment for storage according to the transmission rate between the wearable massage instrument and each receiving equipment and a preset transmission strategy, wherein the data packet comprises body measurement data acquired by the wearable massage instrument and a response instruction corresponding to the data reading instruction;
the main equipment detects a response instruction corresponding to the data reading instruction of the wearable massage apparatus.
In one embodiment, the receiving device is a cloud platform device or a master device;
the transmission priority between the wearable massage instrument and the cloud platform device is higher than that between the wearable massage instrument and the cloud main device, and the transmission priority between the wearable massage instrument and the cloud main device is higher than that of the wearable massage instrument for storing the data packet in the local memory.
In one embodiment, the detecting a response instruction corresponding to the data reading instruction of the wearable massage apparatus includes:
in a preset time period, if a response instruction of a data reading request sent by the wearable massage instrument is received, the main equipment stores a data packet corresponding to the response instruction into a local memory;
within a preset time period, if a response instruction of a data reading request sent by the wearable massage apparatus is not received, the main device queries whether a data packet corresponding to the response instruction in the cloud platform device is complete.
In one embodiment, the querying, by the master device, whether a data packet corresponding to the response instruction in the cloud platform device is complete includes:
the method comprises the steps that a main device obtains a data packet corresponding to a response instruction in the cloud platform device;
the master equipment inquires whether the time nodes of the data packets corresponding to the response instruction are continuous or not;
if the time nodes of the data packets are continuous, the main equipment determines that the data packets corresponding to the response instructions are complete and the wearable massage instrument is normally or normally off-line;
and if the time nodes of the data packets are discontinuous, the main equipment determines that the data packets corresponding to the response instructions are incomplete, the wearable massage instrument is abnormal off-line, and abnormal information is displayed on a display interface of the main equipment.
In one embodiment, the method further includes:
and the main equipment sends the data packet to the cloud platform equipment according to a preset time period.
In a third aspect, a data transmission system of a wearable massage apparatus is provided, the system comprising: the wearable massage device comprises a wearable massage instrument, main equipment and cloud platform equipment, wherein the wearable massage instrument, the main equipment and the cloud platform equipment are in communication connection;
a wearable massager for performing the method of the first aspect;
the master device is configured to perform the method of the second aspect.
In a fourth aspect, a data transmission device of a wearable massage apparatus is provided, the device comprising:
the receiving module is used for generating a data packet by the wearable massage instrument according to the acquired physical measurement data and the response instruction corresponding to the data reading instruction after the wearable massage instrument receives the data reading instruction sent by the main equipment;
the detection module is used for detecting the transmission rate between the wearable massage instrument and each receiving device by the wearable massage instrument;
the determining module is used for determining the target receiving equipment by the wearable massage instrument according to the transmission rate and a preset transmission strategy; the transmission strategy comprises transmission rate requirements between the wearable massage instrument and each receiving device and transmission priority orders of the wearable massage instrument and each receiving device;
and the sending module is used for sending the data packet to the target receiving equipment for storage by the wearable massage instrument.
In a fifth aspect, a data transmission device of a wearable massage apparatus is provided, the device comprising:
the main sending module is used for sending a data reading instruction to the wearable massage instrument by the main equipment; the data reading instruction is used for indicating the wearable massage instrument to send a data packet to the target receiving equipment for storage according to the transmission rate between the wearable massage instrument and each receiving equipment and a preset transmission strategy, wherein the data packet comprises body measurement data acquired by the wearable massage instrument and a response instruction corresponding to the data reading instruction;
and the detection module is used for detecting a response instruction corresponding to the data reading instruction of the wearable massage apparatus by the main equipment.
In a sixth aspect, the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the data transmission method of the wearable massage apparatus provided in any one of the embodiments of the first and second aspects when executing the computer program.
In a seventh aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the data transmission method of the wearable massage apparatus provided in any one of the embodiments of the first and second aspects.
According to the data transmission method, the data transmission system, the data transmission device and the computer equipment of the wearable massage instrument, after the wearable massage instrument receives a data reading instruction sent by main equipment, a data packet is generated by the collected body measurement data and a response instruction corresponding to the data reading instruction, the transmission rate between the wearable massage instrument and each receiving equipment is detected, the target receiving equipment is determined according to the transmission rate, the transmission rate requirement between the wearable massage instrument and each receiving equipment and the transmission priority sequence between the wearable massage instrument and each receiving equipment, and the data packet is sent to the target receiving equipment to be stored. In the method, the preset transmission strategy represents the transmission priority sequence, so that the wearable massage apparatus reasonably distributes transmission paths when transmitting the data packets to different target receiving devices according to the transmission rate and the preset transmission strategy, the multipath transmission of the data packets of the wearable massage apparatus is realized, the transmission efficiency of the data packets of the wearable massage apparatus is improved, and the maximum utilization of bandwidth performance is realized.
Drawings
Fig. 1 is an application environment diagram of a data transmission method of a wearable massage apparatus in one embodiment;
fig. 2 is a schematic flow chart of a data transmission method of the wearable massage apparatus in one embodiment;
fig. 3 is a schematic flow chart of a data transmission method of the wearable massage apparatus in another embodiment;
fig. 4 is a schematic flow chart of a data transmission method of the wearable massage apparatus in another embodiment;
fig. 5 is a schematic flow chart of a data transmission method of the wearable massage apparatus in another embodiment;
fig. 6 is a schematic flow chart of a data transmission method of the wearable massage apparatus in another embodiment;
fig. 7 is a schematic flow chart of a data transmission method of the wearable massage apparatus in another embodiment;
fig. 8 is a schematic flow chart of a data transmission method of the wearable massage apparatus in another embodiment;
fig. 9 is a schematic flow chart of a data transmission method of the wearable massage apparatus in another embodiment;
fig. 10 is a block diagram of a data transmission device of the wearable massage apparatus according to an embodiment;
fig. 11 is a block diagram of a data transmission device of the wearable massage apparatus according to an embodiment;
fig. 12 is a block diagram of a data transmission device of the wearable massage apparatus according to an embodiment;
fig. 13 is a block diagram of a data transmission device of the wearable massage apparatus according to an embodiment;
fig. 14 is a block diagram of a data transmission device of the wearable massage apparatus according to an embodiment;
FIG. 15 is a diagram showing an internal structure of a computer device according to an 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 the present application and are not intended to limit the present application.
The data transmission method of the wearable massage apparatus can be applied to the application environment shown in fig. 1. Wherein, wearable massage appearance 101, main equipment 102 and cloud platform equipment 103 two liang communication connection. After the wearable massager 101 receives the data reading instruction sent by the main device 102, the acquired physical measurement data and the response instruction corresponding to the data reading instruction are generated into a data packet, the transmission rate between the wearable massager 101 and the main device 102 or the cloud platform device 103 is detected, the target receiving device is determined according to the transmission rate, the transmission rate requirement between the wearable massager 101 and the main device 102 or the cloud platform device 103, and the transmission priority sequence between the wearable massager 101 and the main device 102 or the cloud platform device 103, and then the wearable massager 101 sends the data packet to the target receiving device for storage. The wearable massager 101 is an intelligent wearable massager at least having a communication function, a storage function, a data acquisition function and a control function; the main device 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, portable wearable devices, and other mobile or fixed terminals, and the main device 102 at least has a communication function, a control function, and a storage function; the cloud platform device 103 may be an independent server or a server cluster composed of a plurality of servers, and the cloud platform device 103 at least has a communication function and a storage function.
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. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that, in the data transmission method of the wearable massage apparatus provided in the embodiments of fig. 2 to fig. 5 of the present application, the execution main body is the wearable massage apparatus 101, and may also be a data transmission device of the wearable massage apparatus, and the data transmission device of the wearable massage apparatus may be a part or all of the wearable massage apparatus 101 through software, hardware, or a combination of software and hardware. In the following method embodiments, the wearable massage apparatus 101 is used as an execution subject.
In an embodiment, as shown in fig. 2, a data transmission method for a wearable massage apparatus is provided, and in particular, a process in which after receiving a data reading instruction sent by a main device, the wearable massage apparatus generates a data packet from collected body measurement data and a response instruction corresponding to the data reading instruction according to a transmission rate and a preset transmission strategy, and sends the data packet to a target receiving device for storage includes the following steps:
s201, after receiving a data reading instruction sent by main equipment, the wearable massage instrument generates a data packet by the collected body measurement data and a response instruction corresponding to the data reading instruction.
The wearable massage instrument can call a data acquisition module of the wearable massage instrument, and corresponding body measurement data can be acquired through a built-in sensor of a corresponding type.
Optionally, before the wearable massage apparatus receives the data reading instruction sent by the main device, the wearable massage apparatus may further receive a connection request sent by the main device, that is, after the wearable massage apparatus establishes a connection with the main device, transmission of a corresponding instruction or transmission of a data packet may be performed. For example, in this embodiment, the wearable massage apparatus and the main device may establish a wireless connection by establishing WiFi, bluetooth, a local area network, or the like.
Preferably, the data reading instruction sent by the master device may also carry time information corresponding to the instruction; when the wearable massage apparatus receives a data reading instruction carrying time information, the time of the wearable massage apparatus can be corrected according to the time information, so that the formed data packet has a unique time stamp corresponding to the data reading instruction. Therefore, the data packet generated by the wearable massage apparatus at least comprises various physical measurement data acquired by the data acquisition module, the response instruction corresponding to the data reading instruction, and the time information corresponding to the current data packet.
In this embodiment, the wearable massage apparatus receives a connection request sent by the main apparatus, and when the wearable massage apparatus establishes a connection request with the main apparatus, it indicates that the wearable massage apparatus performs a normal operation state, at this time, the wearable massage apparatus may collect the body measurement data of the user, and during or after the collection, the wearable massage apparatus receives a data reading instruction sent by the main apparatus, where the data reading instruction includes corresponding time information, and because the time information has uniqueness, the time information may be used as a unique identifier of a data packet, and the wearable massage apparatus fuses the time information, the collected body measurement data, and a corresponding response instruction generated by the data reading instruction to form a data packet corresponding to the current data reading instruction, which is not limited in this embodiment.
S202, the wearable massage instrument detects the transmission rate between the wearable massage instrument and each receiving device.
Each receiving device includes a terminal device or a server device having a function of storing a data packet, such as a master device or a cloud platform device.
In this embodiment, the transmission rate requirements between the wearable massage apparatus and each receiving device are different, and before the receiving device is selected, the wearable massage apparatus may obtain the transmission rate between the wearable massage apparatus and each receiving device through detection, and determine the corresponding receiving device according to the transmission rate and the transmission policy, thereby completing transmission of the data packet.
S203, the wearable massage instrument determines target receiving equipment according to the transmission rate and a preset transmission strategy; the transmission strategy comprises transmission rate requirements between the wearable massage apparatus and each receiving device and transmission priority orders of the wearable massage apparatus and each receiving device.
The transmission strategy comprises transmission rate requirements of the wearable massage instrument and the main equipment and a transmission priority order of the main equipment; the transmission rate requirement between the wearable massage instrument and the cloud platform equipment and the transmission priority order between the wearable massage instrument and the cloud platform equipment; the transmission policy may also include transmission rate requirements and transmission priority order with other devices, if any.
In this embodiment, after the wearable massage apparatus detects and acquires the transmission rate with each receiving device, the wearable massage apparatus may detect whether the data transmission rate of the wearable massage apparatus connected to the cloud platform device satisfies the corresponding transmission requirement, and if so, the wearable massage apparatus determines to target the receiving device to the cloud platform device; if the data transmission rate of the wearable massage instrument connected with the cloud platform device does not meet the corresponding transmission rate requirement, the wearable massage instrument can further detect whether the data transmission rate of the wearable massage instrument connected with the main device meets the corresponding rate transmission requirement, and if so, the wearable massage instrument determines that the main device is the target receiving device; and if the data transmission rate of the wearable massage instrument connected with the main equipment does not meet the corresponding rate transmission requirement, the wearable massage instrument determines the memory as the target storage equipment.
And S204, the wearable massage instrument sends the data packet to the target receiving equipment for storage.
In this embodiment, the wearable massage apparatus may invoke its own communication module to transmit the data packet to the target receiving device, so that the target receiving device stores the data packet. Optionally, the target receiving device may further perform time sequence storage on the data packets according to time information carried in the data packets, and when receiving a plurality of data packets stored in a period of time, may implement a function of querying according to time information corresponding to each data packet.
According to the data transmission method of the wearable massage instrument, after the wearable massage instrument receives a data reading instruction sent by a main device, collected body measurement data and a response instruction corresponding to the data reading instruction are generated into a data packet, the transmission rate between the wearable massage instrument and each receiving device is detected, a target receiving device is determined according to the transmission rate, the transmission rate requirement between the wearable massage instrument and each receiving device and the transmission priority sequence between the wearable massage instrument and each receiving device, and the data packet is sent to the target receiving device to be stored. In the method, the preset transmission strategy represents the transmission priority sequence, so that the wearable massage instrument reasonably distributes transmission paths when transmitting the data packets to different target receiving devices according to the transmission rate and the transmission strategy, the multipath transmission of the data packets of the wearable massage instrument is realized, the transmission efficiency of the data packets of the wearable massage instrument is improved, and the maximum utilization of bandwidth performance is realized.
In order to improve the transmission efficiency of the wearable massage apparatus, the wearable massage apparatus may perform selective transmission of the target receiving device according to a transmission rate and a preset transmission policy, where in one scenario, as shown in fig. 3, in an embodiment, the determining, by the wearable massage apparatus, the target receiving device according to the transmission rate and the preset transmission policy includes:
s301, the wearable massage instrument determines first receiving equipment according to the transmission priority sequence of the wearable massage instrument and each receiving equipment; the wearable massage apparatus and the first receiving device have the highest transmission priority.
The preset transmission priority order with each receiving device may include: the transmission priority between the wearable massage instrument and the cloud platform device is higher than that between the wearable massage instrument and the cloud main device, and the transmission priority between the wearable massage instrument and the cloud main device is higher than that of the wearable massage instrument for storing the data packet in the local memory.
In this embodiment, the first receiving device refers to a cloud platform device, and the transmission priority between the wearable massage apparatus and the cloud platform device is the highest.
S302, the wearable massage instrument judges whether the transmission rate between the wearable massage instrument and the first receiving device meets the transmission rate requirement of the wearable massage instrument and the first receiving device.
The transmission rate between the wearable massage apparatus and different receiving devices is required, and therefore, before data transmission is performed, whether the current transmission rate meets the corresponding transmission rate requirement or not needs to be judged. Optionally, the transmission rate requirement between the receiving device with high transmission priority and the wearable massage apparatus is also highest.
In this embodiment, after the wearable massager determines the first receiving device according to the transmission priority, it needs to determine whether data transmission can be performed with the first receiving device, and at this time, the determination is based on the transmission rate between the wearable massager and the first receiving device; for example, when the first receiving device is a cloud platform device, the wearable massager may determine whether a transmission rate between the wearable massager and the cloud platform device meets a corresponding transmission rate requirement, and then determine whether the cloud platform device is a target receiving device.
And S303, if so, determining that the first receiving equipment is the target receiving equipment by the wearable massage instrument.
In this embodiment, the current transmission rates of the wearable massage apparatus and the first receiving device satisfy the corresponding transmission rate requirements, that is, the wearable massage apparatus can perform transmission of the data packet with the first receiving device, and at this time, the wearable massage apparatus can determine that the first receiving device is the target receiving device. Exemplarily, the first receiving device is a cloud platform device, the current transmission rate of the wearable massage apparatus and the cloud platform device meets the corresponding transmission rate requirement, that is, the wearable massage apparatus can transmit the data packet with the cloud platform device, at this time, the wearable massage apparatus can determine that the cloud platform device is the target receiving device, and this embodiment does not limit this.
In this embodiment, the target transmission device is determined according to the transmission priority of each receiving device and the transmission rate of each receiving device, and the determination is performed with a high priority, so that the line distribution is optimized, and the transmission efficiency of the data packet is improved.
There is another scenario, and in one embodiment, as shown in fig. 4, the method further includes:
s401, if the priority order does not meet the requirement, the wearable massage instrument determines second receiving equipment according to the transmission priority order of the wearable massage instrument and each receiving equipment; the transmission priority of the wearable massage instrument and the second receiving equipment is smaller than that of the wearable massage instrument and the first receiving equipment and is larger than that of the wearable massage instrument and other receiving equipment.
In this embodiment, the current transmission rate of the wearable massage apparatus and the first receiving device does not satisfy the corresponding rate requirement, which indicates that the wearable massage apparatus cannot perform data transmission with the first receiving device, and at this time, the wearable device may determine the second receiving device according to the transmission priority order. In this embodiment, the second receiving device may be a master device. It should be noted that, when the wearable massage apparatus cannot perform data transmission with the first receiving apparatus, the determination of the second receiving apparatus is performed, that is, the transmission priority between the wearable massage apparatus and the second receiving apparatus is smaller than the transmission priority between the wearable massage apparatus and the first receiving apparatus, for example, the transmission priority between the wearable massage apparatus and the main apparatus is smaller than the transmission priority between the wearable massage apparatus and the cloud platform apparatus, and meanwhile, the transmission priority between the wearable massage apparatus and the main apparatus is greater than the transmission priority between the wearable massage apparatus and other apparatuses.
S402, the wearable massage instrument judges whether the transmission rate between the wearable massage instrument and the second receiving device meets the transmission rate requirement of the wearable massage instrument and the second receiving device.
In this embodiment, after the wearable massager determines the second receiving device according to the transmission priority, it needs to determine whether data transmission with the second receiving device is possible, and at this time, the determination is based on the transmission rate between the wearable massager and the second receiving device; for example, when the second receiving device is the master device, the wearable massager may determine whether the transmission rate between itself and the master device meets the corresponding transmission rate requirement, and then determine whether the master device is the target receiving device.
And S403, if so, determining that the second receiving equipment is the target receiving equipment by the wearable massage instrument.
In this embodiment, the current transmission rates of the wearable massage apparatus and the second receiving device meet the corresponding transmission rate requirements, that is, the wearable massage apparatus can perform transmission of the data packet with the second receiving device, and at this time, the wearable massage apparatus can determine that the second receiving device is the target receiving device. For example, the second receiving device is a main device, the current transmission rate of the wearable massage apparatus and the current transmission rate of the main device meet the corresponding transmission rate requirement, that is, the wearable massage apparatus can perform transmission of the data packet with the main device, at this time, the wearable massage apparatus can determine that the main device is a target receiving device, which is not limited in this embodiment.
In this embodiment, when the wearable massager cannot perform data transmission with the receiving device of the first priority, the receiving device of the second priority can still be determined by the target transmission device according to the transmission priority of the receiving device and the transmission rate of the receiving device, so that the line distribution is optimized, and the transmission efficiency of the data packet is improved.
There is also a scenario where, in one embodiment, as shown in fig. 5, the method further comprises:
s501, if the transmission rates between the wearable massage instrument and all the receiving devices do not meet the corresponding transmission rate requirements, the wearable massage instrument stores the data packet in a memory of the wearable massage instrument.
In this embodiment, the current transmission rate between the wearable massage apparatus and each receiving device does not satisfy the corresponding transmission rate requirement, that is, when the data packet of the wearable massage apparatus cannot be sent out, the wearable massage apparatus may first store the data packet into its own memory to ensure that the data packet is not lost, which is not limited in this embodiment.
S502, the wearable massage instrument detects the transmission rate between the wearable massage instrument and each receiving device, and determines the target receiving device according to the transmission rate and the transmission strategy.
In this embodiment, after the wearable massage apparatus stores the data packet in its memory, the wearable massage apparatus still needs to send the data packet to the receiving device, at this time, the wearable massage apparatus may detect in real time whether the transmission rate between the wearable massage apparatus and each receiving device meets the transmission rate requirement corresponding to each transmission line, for example, if the current transmission rate between the wearable massage apparatus and the first receiving device meets the transmission rate requirement corresponding to the transmission line, it is determined that the first receiving device is a target receiving device for transmitting the data packet.
S503, sending the data packet in the memory of the wearable massage apparatus to a target receiving device.
In this embodiment, after the wearable massage apparatus determines the target receiving apparatus, the wearable massage apparatus may call its own memory to transmit the data packet to the target receiving apparatus, and optionally, the wearable massage apparatus may further transmit the data packet in the memory to the receiving apparatus through its own communication module.
In this embodiment, when the wearable massage apparatus cannot perform data transmission with any receiving device, the data packet may be stored in the memory of the wearable massage apparatus, and when the wearable massage apparatus reaches a transmission rate required by any receiving device, the data packet may be sent to the target receiving device according to the determined target receiving device, so that the transmission efficiency of the data packet is improved.
After the wearable massage apparatus sends the data packet in its memory to the target receiving device, preferably, in an embodiment, after the sending the data packet in the memory of the wearable massage apparatus to the target receiving device, the method further includes:
the wearable massager deletes the data packet from the memory of the wearable massager.
In this embodiment, after the wearable massage apparatus sends the data packet in the memory of the wearable massage apparatus to any one of the receiving devices, the wearable massage apparatus may clear the data packet in the memory of the wearable massage apparatus to release the storage resource in the memory of the wearable massage apparatus.
In this embodiment, the wearable massage apparatus can clear the data packet in the memory of the wearable massage apparatus, thereby releasing the storage resource in the memory of the wearable massage apparatus and saving the storage space in the memory of the wearable massage apparatus.
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. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that, in the data transmission method of the wearable massage apparatus provided in the embodiments of fig. 6 to fig. 8 of the present application, the main execution body is the main device 102, and may also be a data transmission device of the wearable massage apparatus, and the data transmission device of the wearable massage apparatus may be a part or all of the main device 102 through software, hardware, or a combination of software and hardware. In the following method embodiments, the execution subject is the master device 102, for example.
In an embodiment, as shown in fig. 6, a data transmission method for a wearable massage apparatus is provided, which involves a specific process in which a main device sends a data reading instruction to the wearable massage apparatus, so that the wearable massage apparatus sends a data packet to a target receiving device for storage according to a transmission rate between the wearable massage apparatus and each receiving device and a preset transmission policy, and after sending the data reading instruction, the main device further detects whether a response instruction corresponding to the data reading instruction of the wearable massage apparatus is received, and the specific process includes the following steps:
s601, the main equipment sends a data reading instruction to the wearable massage instrument; the data reading instruction is used for indicating the wearable massage instrument to send a data packet to the target receiving equipment for storage according to the transmission rate between the wearable massage instrument and each receiving equipment and a preset transmission strategy, and the data packet comprises body measurement data acquired by the wearable massage instrument and a response instruction corresponding to the data reading instruction.
In this embodiment, the master device may send a data reading instruction to the wearable massage apparatus in real time or at regular time, for example, the master device may send one data reading instruction to the wearable massage apparatus every 5 seconds. Optionally, the receiving device is a cloud platform device or a master device; the preset transmission strategy at least comprises that the transmission priority between the wearable massage instrument and the cloud platform device is higher than that between the wearable massage instrument and the cloud main device, and the transmission priority between the wearable massage instrument and the cloud main device is higher than that of the wearable massage instrument for storing the data packet in the local memory.
Optionally, before sending the data reading instruction to the wearable massage apparatus, the main device may also send a connection establishment request to the wearable massage apparatus, so that the main device and the wearable massage apparatus establish wireless connection such as WiFi, bluetooth, and a local area network, which is not limited in this embodiment.
S602, the main equipment detects a response instruction corresponding to the data reading instruction of the wearable massage apparatus.
In this embodiment, after sending the data reading instruction to the wearable massage apparatus, the main apparatus may further detect whether the wearable massage apparatus returns a response instruction corresponding to the data reading instruction to determine whether the wearable massage apparatus is to send the data packet to itself, or determine a target receiving apparatus to which the wearable massage apparatus sends the data packet.
In this embodiment, since the wearable massage apparatus corresponds to different receiving devices, it is very likely that no place can be found after the data packet is lost due to the inability to track the data packet during the transmission process of the data packet. At the moment, the main equipment can read a response instruction corresponding to the instruction according to the data of the wearable massage apparatus, and determine the destination of the data packet, so that the real-time tracking of the transmission process of the data packet is indirectly realized.
When the main device detects whether a response instruction corresponding to a data reading instruction of the wearable massage apparatus is received, in an embodiment, as shown in fig. 7, the detecting a response instruction corresponding to a data reading instruction of the wearable massage apparatus includes:
and S701, in a preset time period, if a response instruction of a data reading request sent by the wearable massage apparatus is received, the main equipment stores a data packet corresponding to the response instruction into a local memory.
The preset time period refers to a time period preset according to the transmission actual situation, and may be 15 seconds or 20 seconds, for example.
In this embodiment, within 15 seconds of the main device sending the data reading request to the wearable massage apparatus, the main device receives a response instruction of sending the data reading request by the wearable massage apparatus, which indicates that the wearable massage apparatus determines that the main device is the target receiving device, and sends the data packet to the main device, and at this time, the main device may receive the data packet sent by the wearable massage apparatus and store the data packet in the local memory.
S702, in a preset time period, if a response instruction of the data reading request sent by the wearable massage instrument is not received, the main equipment inquires whether a data packet corresponding to the response instruction in the cloud platform equipment is complete or not.
In this embodiment, for example, within 15 seconds of the data reading request sent by the main device to the wearable massage apparatus, if the main device does not receive a response instruction sent by the wearable massage apparatus to the data reading request, it indicates that the wearable massage apparatus does not determine the main device as the target receiving device, and indicates that the wearable massage apparatus may determine the cloud platform device as the target receiving device, at this time, the main device may send a request to the cloud platform device to inquire whether the data packet is complete, so as to track the data packet in the transmission process.
Specifically, in an embodiment, as shown in fig. 8, the querying, by the master device, whether a data packet corresponding to the response instruction in the cloud platform device is complete includes:
s801, the main device obtains a data packet corresponding to the response instruction in the cloud platform device.
In this embodiment, the master device needs to first obtain a data packet corresponding to the unreceived response instruction, and then complete the query and determination on the integrity of the data packet. The master device may send a request for acquiring the data packet to the cloud platform device, where the acquired information may be the whole data packet, or may also be time information and data information carried in the data packet, which is not limited in this embodiment.
S802, the main equipment inquires whether time nodes of the data packets corresponding to the response instruction are continuous or not; if the data packet time nodes are continuous, execute step S803; if the packet time node is not continuous, step S804 is executed.
Whether the time nodes of the data packets are continuous or not means whether the time information of the data packets and the time information of the historical data packets are continuous or not, if the time nodes of the data packets are continuous, the main equipment determines that the data packets corresponding to the response instructions are complete, and the wearable massage instrument is off-line normally or normally; if the time node of the data packet is discontinuous, the main device determines that the data packet corresponding to the response instruction is incomplete, the wearable massage apparatus is in abnormal offline, and abnormal information is displayed on a display interface of the main device.
And S803, the main equipment determines that the data packet corresponding to the response instruction is complete, and the wearable massage apparatus is normally off-line or normally off-line.
The integrity of the data packet means that the time information of the data packet is continuous with the time information of the historical data packet, no midway transmission interruption exists, and the information carried in the data packet is complete and comprises the integrity of the physical testing data.
In this embodiment, the main device determines that the data packet corresponding to the response instruction is complete, which indicates that the wearable massage apparatus successfully sends the data packet corresponding to the response instruction to the cloud platform device, and at this time, the main device determines that the wearable massage apparatus is normal. Optionally, at this time, the master device may further send a shutdown instruction to the wearable massage apparatus, so that the wearable massage apparatus is powered off and shutdown, and meanwhile, the wireless connection with the wearable massage apparatus is disconnected, so that the wearable massage apparatus is in a normal offline state.
Optionally, in an embodiment, the method further comprises:
and the main equipment sends the data packet to the cloud platform equipment according to a preset time period.
The preset time period may be once a day or once a week.
In this embodiment, the master device may send the data packet stored in the local storage of the master device to the cloud platform device according to a preset time period. For example, the host device may send data packets stored on the local memory of the host device to the cloud platform device at a frequency of once a day.
S804, the main equipment determines that the data packet corresponding to the response instruction is incomplete, the wearable massage apparatus is in abnormal offline, and abnormal information is displayed on a display interface of the main equipment.
The incomplete data packet corresponding to the response instruction refers to that time information of the historical data packet is discontinuous, which indicates that transmission interruption or other abnormal conditions occur in the process of sending the data packet to the cloud platform device by the wearable massage device, at this time, the main device can determine that an abnormal condition occurs in the wearable massage device or abnormal offline occurs, and meanwhile, the main device can display the abnormal information on a display interface of the main device. Optionally, the main device may further call its own communication module to send a short message to the user of the wearable massage apparatus to prompt the user to check the connection line of the wearable massage apparatus.
In this embodiment, when the response instruction of wearable massage appearance is not received to the master equipment, through the inquiry request to cloud platform equipment transmission data package, judge whether the data package that wearable massage appearance sent is complete, through the inspection to the data package, reach the purpose to wearable massage appearance state inspection, the incomplete timely remedy of wearable massage appearance data package has been realized, and simultaneously, when wearable massage appearance data package is complete, the master equipment can also send the data package in self memory to cloud platform equipment after wearable massage appearance off-line, whole integrality and the continuity of wearable massage appearance data package in the cloud platform equipment have been guaranteed.
To better explain the power control method provided by the present application, an embodiment explained in terms of the overall flow of a data transmission method of a wearable massage apparatus is provided, as shown in fig. 9, the method including:
s101, the main equipment sends a data reading instruction to the wearable massage instrument;
s102, after receiving a data reading instruction sent by main equipment, the wearable massage instrument generates a data packet by the collected body measurement data and a response instruction corresponding to the data reading instruction;
s103, detecting the transmission rate between the wearable massage instrument and each receiving device by the wearable massage instrument;
s104, the wearable massage instrument determines first receiving equipment according to the transmission priority sequence of the wearable massage instrument and each receiving equipment;
s105, the wearable massage instrument judges whether the transmission rate between the wearable massage instrument and the first receiving device meets the transmission rate requirement of the wearable massage instrument and the first receiving device;
s106, if yes, the wearable massage instrument determines that the first receiving equipment is target receiving equipment;
s107, if the priority order does not meet the requirement, the wearable massage instrument determines second receiving equipment according to the transmission priority order of the wearable massage instrument and each receiving equipment;
s108, the wearable massager judges whether the transmission rate between the wearable massager and the second receiving device meets the transmission rate requirement of the wearable massager and the second receiving device;
s109, if yes, the wearable massage instrument determines that the second receiving equipment is target receiving equipment; the second device is generally a master device;
s110, if the transmission rates between the wearable massage instrument and all the receiving devices do not meet the corresponding transmission rate requirements, the wearable massage instrument stores the data packet in a memory of the wearable massage instrument;
s111, the wearable massage instrument detects the transmission rate between the wearable massage instrument and each receiving device, and determines a target receiving device according to the transmission rate and the transmission strategy;
s112, sending the data packet in the memory of the wearable massage instrument to a target receiving device;
s113, deleting the data packet from a memory of the wearable massage instrument by the wearable massage instrument;
s114, detecting a response instruction corresponding to the data reading instruction of the wearable massage instrument by the main equipment; within a preset time period, if a response instruction of a data reading request sent by the wearable massage apparatus is received, executing step S115; in a preset time period, if a response instruction of the data reading request sent by the wearable massage apparatus is not received, executing step S116;
s115, the main device stores the data packet corresponding to the response instruction into a local memory; s116, the main equipment acquires a data packet corresponding to the response instruction in the cloud platform equipment;
s117, the main equipment inquires whether the time nodes of the data packets corresponding to the response instructions are continuous; if the data packet time nodes are continuous, step S120 is executed; if the packet time node is not continuous, step S121 is executed;
s118, the main equipment determines that the data packet corresponding to the response instruction is complete and the wearable massage instrument is normally off-line or normally off-line;
s119, the main device sends the data packet to the cloud platform device according to a preset time period;
and S120, the main equipment determines that the data packet corresponding to the response instruction is incomplete, the wearable massage instrument is in abnormal offline, and the abnormal information is displayed on a display interface of the main equipment.
In this embodiment, since the preset transmission strategy represents the transmission priority order between the wearable massage apparatus and the main device or between the wearable massage apparatus and the cloud platform device, when the wearable massage apparatus transmits the data packets to different target receiving devices according to the transmission rate and the transmission strategy, the transmission paths can be reasonably allocated, the multi-path transmission of the data packets of the wearable massage apparatus is realized, the transmission efficiency of the data packets of the wearable massage apparatus is improved, and the maximum utilization of the bandwidth performance is realized.
The data transmission method of the wearable massage apparatus provided by the above embodiment has the implementation principle and technical effect similar to those of the above method embodiment, and is not repeated herein.
It should be understood that although the various steps in the flow charts of fig. 2-9 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 performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-9 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 1, there is provided a data transmission system of a wearable massage apparatus, the system comprising: the wearable massage device comprises a wearable massage device 101, a main device 102 and a cloud platform device 103, wherein the wearable massage device 101, the main device 102 and the cloud platform device 103 are in communication connection;
the wearable massage apparatus 101 is used for executing the above method for transmitting data of the wearable massage apparatus with the wearable massage apparatus as an execution subject provided by the above embodiment; the wearable massager 101 comprises a plurality of sensors, a communication module, a memory and a controller; the controller is respectively connected with the sensor, the communication module and the slave memory, the sensor comprises a temperature sensor, an electrocardio sensor, a humidity sensor and the like, and can acquire the body measurement data information of the user, including electrocardio and skin information, the use time of the user, the temperature, the humidity and the like; the communication module is used for sending the data packet to the receiving equipment; the memory is used for storing unsent data packets.
The main device 102 is used for executing the method for transmitting data of the wearable massage apparatus with the main device as the execution main body provided by the embodiment; the main device may be a mobile or fixed terminal such as a personal computer or a smart phone, and the main device may also be application software based on the mobile or fixed terminal.
The data transmission system of the wearable massage apparatus provided by the above embodiment has the similar implementation principle and technical effect as those of the data transmission method embodiment of the wearable massage apparatus, and is not repeated herein.
In one embodiment, as shown in fig. 10, there is provided a data transmission device of a wearable massage apparatus, including: the device comprises a receiving module 01, a detecting module 02, a determining module 03 and a sending module 04, wherein:
the receiving module 01 is used for generating a data packet by the wearable massage apparatus according to the acquired physical measurement data and the response instruction corresponding to the data reading instruction after receiving the data reading instruction sent by the main device;
the detection module 02 is used for detecting the transmission rate between the wearable massage apparatus and each receiving device by the wearable massage apparatus;
the determining module 03 is used for determining the target receiving equipment by the wearable massage apparatus according to the transmission rate and a preset transmission strategy; the transmission strategy comprises transmission rate requirements between the wearable massage instrument and each receiving device and transmission priority orders of the wearable massage instrument and each receiving device;
and the sending module 04 is used for sending the data packet to the target receiving equipment for storage by the wearable massage apparatus.
In one embodiment, the determining module 03 includes a first determining unit, a judging unit, and a second determining unit, wherein:
the first determining unit is used for determining the first receiving equipment by the wearable massage instrument according to the transmission priority sequence of the wearable massage instrument and each receiving equipment; the wearable massage instrument and the first receiving device have the highest transmission priority;
the judging unit is used for judging whether the transmission rate between the wearable massage instrument and the first receiving equipment meets the transmission rate requirement between the wearable massage instrument and the first receiving equipment or not by the wearable massage instrument;
and the second unit is used for determining the first receiving equipment as the target receiving equipment by the wearable massage instrument if the first receiving equipment is met.
In an embodiment, the first determining unit, the judging unit and the second determining unit in the determining module 03 are further configured to:
the first determining unit is further used for determining the second receiving equipment by the wearable massage instrument according to the transmission priority order of the wearable massage instrument and each receiving equipment if the first determining unit does not meet the requirement; the transmission priority of the wearable massage instrument and the second receiving equipment is smaller than that of the wearable massage instrument and the first receiving equipment and is larger than that of the wearable massage instrument and other receiving equipment;
the judging unit is also used for judging whether the transmission rate between the wearable massage instrument and the second receiving equipment meets the transmission rate requirement between the wearable massage instrument and the second receiving equipment or not by the wearable massage instrument;
and the second determining unit is also used for determining the second receiving equipment as the target receiving equipment by the wearable massage instrument if the second determining unit is met.
In one embodiment, as shown in fig. 11, the data transmission device of the wearable massage apparatus further includes a storage module 05;
the storage module 05 is used for storing the data packet in a memory of the wearable massage apparatus if the transmission rates between the wearable massage apparatus and all the receiving devices do not meet the corresponding transmission rate requirements;
the detection module 02 is further used for detecting the transmission rate between the wearable massage apparatus and each receiving device by the wearable massage apparatus, and determining a target receiving device according to the transmission rate and the transmission strategy;
and the sending module 04 is further configured to send the data packet in the memory of the wearable massage apparatus to the target receiving device.
In one embodiment, as shown in fig. 12, the data transmission device of the wearable massage apparatus further includes a deletion module 06, configured to delete the data packet from the memory of the wearable massage apparatus.
In one embodiment, the receiving device is a cloud platform device or a master device;
the transmission priority between the wearable massage instrument and the cloud platform device is higher than that between the wearable massage instrument and the cloud main device, and the transmission priority between the wearable massage instrument and the cloud main device is higher than that of the wearable massage instrument for storing the data packet in the local memory.
In one embodiment, as shown in fig. 13, there is provided another data transmission device of a wearable massage apparatus, including: a sending module 11 and a detecting module 12, wherein:
the main sending module 11 is used for sending a data reading instruction to the wearable massage apparatus by the main equipment; the data reading instruction is used for indicating the wearable massage instrument to send a data packet to the target receiving equipment for storage according to the transmission rate between the wearable massage instrument and each receiving equipment and a preset transmission strategy, wherein the data packet comprises body measurement data acquired by the wearable massage instrument and a response instruction corresponding to the data reading instruction;
and the detection module 12 is used for detecting a response instruction corresponding to the data reading instruction of the wearable massage apparatus by the main device.
In one embodiment, the receiving device is a cloud platform device or a master device;
the transmission priority between the wearable massage instrument and the cloud platform device is higher than that between the wearable massage instrument and the cloud main device, and the transmission priority between the wearable massage instrument and the cloud main device is higher than that of the wearable massage instrument for storing the data packet in the local memory.
In one embodiment, the detection module 12 includes a storage unit and a query unit, wherein:
the storage unit is used for storing a data packet corresponding to a response instruction into the local storage if the response instruction of the data reading request sent by the wearable massage instrument is received within a preset time period;
and the query unit is used for querying whether a data packet corresponding to the response instruction in the cloud platform equipment is complete or not if the response instruction of the data reading request sent by the wearable massage instrument is not received within a preset time period.
In an embodiment, the query unit is specifically configured to obtain, by the master device, a data packet corresponding to the response instruction in the cloud platform device; the master equipment inquires whether the time nodes of the data packets corresponding to the response instruction are continuous or not; if the time nodes of the data packets are continuous, the main equipment determines that the data packets corresponding to the response instructions are complete and the wearable massage instrument is normally or normally off-line; and if the time nodes of the data packets are discontinuous, the main equipment determines that the data packets corresponding to the response instructions are incomplete, the wearable massage instrument is abnormal off-line, and abnormal information is displayed on a display interface of the main equipment.
In an embodiment, as shown in fig. 14, the data transmission device of the wearable massage apparatus further includes a secondary sending module 13, configured to send the data packet to the cloud platform device according to a preset time period by the primary device.
For specific limitations of the data transmission device of the wearable massage apparatus, reference may be made to the above limitations of the data transmission method of the wearable massage apparatus, which are not described herein again. All or part of the modules in the data transmission device of the wearable massage apparatus can be realized by 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, and its internal structure diagram may be as shown in fig. 15. The computer device includes a processor, a memory, a communication 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 communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data transmission 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. 15 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 particular computing devices 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:
after receiving a data reading instruction sent by the main equipment, the wearable massage instrument generates a data packet by the collected body measurement data and a response instruction corresponding to the data reading instruction;
the wearable massager detects the transmission rate between the wearable massager and each receiving device;
the wearable massage instrument determines target receiving equipment according to the transmission rate and a preset transmission strategy; the transmission strategy comprises transmission rate requirements between the wearable massage instrument and each receiving device and transmission priority orders of the wearable massage instrument and each receiving device;
the wearable massage apparatus sends the data packet to the target receiving equipment for storage.
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 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:
the main equipment sends a data reading instruction to the wearable massage instrument; the data reading instruction is used for indicating the wearable massage instrument to send a data packet to the target receiving equipment for storage according to the transmission rate between the wearable massage instrument and each receiving equipment and a preset transmission strategy, wherein the data packet comprises body measurement data acquired by the wearable massage instrument and a response instruction corresponding to the data reading instruction;
the main equipment detects a response instruction corresponding to the data reading instruction of the wearable massage apparatus.
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:
after receiving a data reading instruction sent by the main equipment, the wearable massage instrument generates a data packet by the collected body measurement data and a response instruction corresponding to the data reading instruction;
the wearable massager detects the transmission rate between the wearable massager and each receiving device;
the wearable massage instrument determines target receiving equipment according to the transmission rate and a preset transmission strategy; the transmission strategy comprises transmission rate requirements between the wearable massage instrument and each receiving device and transmission priority orders of the wearable massage instrument and each receiving device;
the wearable massage apparatus sends the data packet to the target receiving equipment for storage.
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.
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:
the main equipment sends a data reading instruction to the wearable massage instrument; the data reading instruction is used for indicating the wearable massage instrument to send a data packet to the target receiving equipment for storage according to the transmission rate between the wearable massage instrument and each receiving equipment and a preset transmission strategy, wherein the data packet comprises body measurement data acquired by the wearable massage instrument and a response instruction corresponding to the data reading instruction;
the main equipment detects a response instruction corresponding to the data reading instruction of the wearable massage apparatus.
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 can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
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 shall be subject to the appended claims.

Claims (16)

1. A data transmission method of a wearable massage apparatus is characterized by comprising the following steps:
after receiving a data reading instruction sent by main equipment, the wearable massage instrument generates a data packet by the collected physical measurement data and a response instruction corresponding to the data reading instruction;
the wearable massager detects the transmission rate between the wearable massager and each receiving device;
the wearable massager determines target receiving equipment according to the transmission rate and a preset transmission strategy; the transmission strategy comprises transmission rate requirements between the wearable massage instrument and each receiving device and transmission priority orders of the wearable massage instrument and each receiving device;
and the wearable massager sends the data packet to the target receiving equipment for storage.
2. The method of claim 1, wherein the wearable massager determines the target receiving device according to the transmission rate and a preset transmission strategy, and comprises:
the wearable massager determines first receiving equipment according to the transmission priority sequence of the wearable massager and each receiving equipment; the wearable massage instrument and the first receiving device have the highest transmission priority;
the wearable massager judges whether the transmission rate between the wearable massager and the first receiving device meets the transmission rate requirement of the wearable massager and the first receiving device;
and if so, the wearable massage instrument determines that the first receiving equipment is the target receiving equipment.
3. The method of claim 2, further comprising:
if not, the wearable massager determines second receiving equipment according to the transmission priority sequence of the wearable massager and each receiving equipment; the transmission priority of the wearable massage instrument and the second receiving equipment is smaller than that of the wearable massage instrument and the first receiving equipment and is larger than that of the wearable massage instrument and other receiving equipment;
the wearable massager judges whether the transmission rate between the wearable massager and the second receiving equipment meets the transmission rate requirement of the wearable massager and the second receiving equipment;
and if so, the wearable massage instrument determines that the second receiving equipment is the target receiving equipment.
4. The method of claim 1, further comprising:
if the transmission rates between the wearable massage instrument and all the receiving devices do not meet the corresponding transmission rate requirements, the wearable massage instrument stores the data packet in a memory of the wearable massage instrument;
the wearable massager detects the transmission rate between the wearable massager and each receiving device, and determines the target receiving device according to the transmission rate and the transmission strategy;
and sending the data packet in the memory of the wearable massage apparatus to the target receiving equipment.
5. The method of claim 4, wherein after sending the data packet in the memory of the wearable massager to the target receiving device, further comprising:
the wearable massager deletes the data packet from a memory of the wearable massager.
6. The method according to any one of claims 1 to 4, wherein the receiving device is a cloud platform device or a master device;
the transmission priority between the wearable massage apparatus and the cloud platform device is higher than that between the wearable massage apparatus and the cloud main device, and the transmission priority between the wearable massage apparatus and the cloud main device is higher than that of the wearable massage apparatus storing the data packet in the local memory.
7. A data transmission method of a wearable massage apparatus is characterized by comprising the following steps:
the main equipment sends a data reading instruction to the wearable massage instrument; the data reading instruction is used for indicating the wearable massage instrument to send a data packet to a target receiving device for storage according to the transmission rate between the wearable massage instrument and each receiving device and a preset transmission strategy, wherein the data packet comprises the physical measurement data acquired by the wearable massage instrument and a response instruction corresponding to the data reading instruction;
and the main equipment detects a response instruction corresponding to the data reading instruction of the wearable massage instrument.
8. The method of claim 7, wherein the receiving device is a cloud platform device or the master device;
the transmission priority between the wearable massage apparatus and the cloud platform device is higher than that between the wearable massage apparatus and the cloud main device, and the transmission priority between the wearable massage apparatus and the cloud main device is higher than that of the wearable massage apparatus storing the data packet in the local memory.
9. The method of claim 7, wherein the detecting a response instruction corresponding to the data reading instruction of the wearable massage apparatus comprises:
in a preset time period, if a response instruction of a data reading request sent by the wearable massage instrument is received, the main equipment stores a data packet corresponding to the response instruction into a local memory;
and in the preset time period, if a response instruction of a data reading request sent by the wearable massage instrument is not received, the main equipment inquires whether a data packet corresponding to the response instruction in the cloud platform equipment is complete or not.
10. The method according to claim 9, wherein the querying, by the master device, whether the data packet corresponding to the response instruction in the cloud platform device is complete includes:
the main equipment acquires a data packet corresponding to the response instruction in the cloud platform equipment;
the master equipment inquires whether the time nodes of the data packets corresponding to the response instruction are continuous or not;
if the data packet time nodes are continuous, the main equipment determines that the data packet corresponding to the response instruction is complete and the wearable massage instrument is normally or normally off-line;
and if the time nodes of the data packets are discontinuous, the main equipment determines that the data packets corresponding to the response instructions are incomplete, the wearable massage instrument is abnormal off-line, and abnormal information is displayed on a display interface of the main equipment.
11. The method of claim 10, further comprising:
and the main equipment sends the data packet to the cloud platform equipment according to a preset time period.
12. A data transmission system of a wearable massage apparatus, the system comprising: the wearable massage device comprises a wearable massage instrument, main equipment and cloud platform equipment, wherein the wearable massage instrument, the main equipment and the cloud platform equipment are in communication connection;
the wearable massager for performing the method of the above claims 1-6;
the master device is configured to perform the method of any of the preceding claims 7-11.
13. A data transmission device of a wearable massage apparatus, the device comprising:
the receiving module is used for generating a data packet by the wearable massage instrument according to the acquired physical measurement data and a response instruction corresponding to the data reading instruction after the wearable massage instrument receives the data reading instruction sent by the main equipment;
the detection module is used for detecting the transmission rate between the wearable massage instrument and each receiving device by the wearable massage instrument;
the determining module is used for determining target receiving equipment by the wearable massager according to the transmission rate and a preset transmission strategy; the transmission strategy comprises transmission rate requirements between the wearable massage instrument and each receiving device and transmission priority orders of the wearable massage instrument and each receiving device;
and the transmitting module is used for transmitting the data packet to the target receiving equipment for storage by the wearable massager.
14. A data transmission device of a wearable massage apparatus, the device comprising:
the main sending module is used for sending a data reading instruction to the wearable massage instrument by the main equipment; the data reading instruction is used for indicating the wearable massage instrument to send a data packet to a target receiving device for storage according to the transmission rate between the wearable massage instrument and each receiving device and a preset transmission strategy, wherein the data packet comprises the physical measurement data acquired by the wearable massage instrument and a response instruction corresponding to the data reading instruction;
and the detection module is used for detecting a response instruction corresponding to the data reading instruction of the wearable massage instrument by the main equipment.
15. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 11 when executing the computer program.
16. 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 11.
CN202010209635.8A 2020-03-23 2020-03-23 Data transmission method, system and device of wearable massager and computer equipment Active CN113438265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010209635.8A CN113438265B (en) 2020-03-23 2020-03-23 Data transmission method, system and device of wearable massager and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010209635.8A CN113438265B (en) 2020-03-23 2020-03-23 Data transmission method, system and device of wearable massager and computer equipment

Publications (2)

Publication Number Publication Date
CN113438265A true CN113438265A (en) 2021-09-24
CN113438265B CN113438265B (en) 2023-06-27

Family

ID=77752686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010209635.8A Active CN113438265B (en) 2020-03-23 2020-03-23 Data transmission method, system and device of wearable massager and computer equipment

Country Status (1)

Country Link
CN (1) CN113438265B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103138886A (en) * 2011-12-05 2013-06-05 深圳迈瑞生物医疗电子股份有限公司 Pre-hospital emergency end, pre-hospital emergency system and data transmission method of pre-hospital emergency end
CN105554787A (en) * 2015-12-21 2016-05-04 北京奇虎科技有限公司 Data transmission method, intelligent acquisition equipment, intelligent terminal and cloud server
CN107612778A (en) * 2017-09-29 2018-01-19 深圳市盛路物联通讯技术有限公司 A kind of data acquisition and transmission method and system
US20180220482A1 (en) * 2015-04-01 2018-08-02 Huawei Technologies Co., Ltd. Data Transmission Method, Device, and System

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103138886A (en) * 2011-12-05 2013-06-05 深圳迈瑞生物医疗电子股份有限公司 Pre-hospital emergency end, pre-hospital emergency system and data transmission method of pre-hospital emergency end
US20180220482A1 (en) * 2015-04-01 2018-08-02 Huawei Technologies Co., Ltd. Data Transmission Method, Device, and System
CN105554787A (en) * 2015-12-21 2016-05-04 北京奇虎科技有限公司 Data transmission method, intelligent acquisition equipment, intelligent terminal and cloud server
CN107612778A (en) * 2017-09-29 2018-01-19 深圳市盛路物联通讯技术有限公司 A kind of data acquisition and transmission method and system

Also Published As

Publication number Publication date
CN113438265B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN110198275B (en) Flow control method, system, server and storage medium
KR102031820B1 (en) Power Sensing Wireless Radio Management
JP2004129042A5 (en)
CA2946774C (en) Wireless assistance method, apparatus, and system
CN105557036A (en) Efficient automatic sharing of network access among devices
CN110636539B (en) Resource configuration method, mobile terminal, network side device and medium
US10064138B2 (en) Energy efficient wireless data transfer
US20160315832A1 (en) Communications system, method and gateway device
CN109691179A (en) A kind of conversation shift method and apparatus
CN111757305A (en) Switching method, device and system of service execution terminal and storage medium
JP2013065207A (en) Portable communication system, portable communication terminal and server
CN112202681B (en) Data congestion processing method and device, computer equipment and storage medium
CN111211925B (en) Alarm information synchronization method and device, computer equipment and storage medium
CN113438265B (en) Data transmission method, system and device of wearable massager and computer equipment
US10966104B2 (en) Email synchronization method and device
JP5354106B2 (en) Control program, control device, and control method
CN113438266B (en) Method, device, equipment and storage medium for acquiring data of wearable massager
CN113840313B (en) Network mode control method and device of mobile terminal and computer equipment
US9515917B2 (en) Communications apparatus, system, and communications method
CN109951450A (en) A kind of information security collection and exchange method and system based on server
Sheng et al. Sensor cloud computing for vehicular applications: from analysis to practical implementation
JP4170838B2 (en) Relay device, communication system, and communication method
CN113867940B (en) Memory management method and related device
CN110213319B (en) Access method and device, terminal, server and storage medium
Tan et al. LDRP: Device-Centric Latency Diagnostic and Reduction for Cellular Networks Without Root

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: 518051 floor 27, building 3, China scientific research development park, No. 009, Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong

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

Address before: 518051 floor 27, building 3, China scientific research development park, No. 009, Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee before: Future wearable technology Co.,Ltd.

Address after: 518051 floor 27, building 3, China scientific research development park, No. 009, Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee after: Future wearable technology Co.,Ltd.

Address before: 518051 floor 27, building 3, China scientific research development park, No. 009, Gaoxin South 1st Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee before: Future wearable technology Co.,Ltd.

CP03 Change of name, title or address