CN112089968A - Neck massager, data transmission method thereof and computer storage medium - Google Patents
Neck massager, data transmission method thereof and computer storage medium Download PDFInfo
- Publication number
- CN112089968A CN112089968A CN202010442524.1A CN202010442524A CN112089968A CN 112089968 A CN112089968 A CN 112089968A CN 202010442524 A CN202010442524 A CN 202010442524A CN 112089968 A CN112089968 A CN 112089968A
- Authority
- CN
- China
- Prior art keywords
- data
- data transmission
- module
- external terminal
- neck massager
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 208
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004590 computer program Methods 0.000 claims description 14
- 210000003739 neck Anatomy 0.000 description 120
- 238000010586 diagram Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 2
- 206010052904 Musculoskeletal stiffness Diseases 0.000 description 1
- 208000000112 Myalgia Diseases 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000017531 blood circulation Effects 0.000 description 1
- 230000036760 body temperature Effects 0.000 description 1
- 238000001827 electrotherapy Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000002653 magnetic therapy Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 208000013465 muscle pain Diseases 0.000 description 1
- 210000004237 neck muscle Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 210000002435 tendon Anatomy 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61N—ELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
- A61N1/00—Electrotherapy; Circuits therefor
- A61N1/02—Details
- A61N1/04—Electrodes
- A61N1/0404—Electrodes for external use
- A61N1/0472—Structure-related aspects
- A61N1/0484—Garment electrodes worn by the patient
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61N—ELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
- A61N1/00—Electrotherapy; Circuits therefor
- A61N1/18—Applying electric currents by contact electrodes
- A61N1/32—Applying electric currents by contact electrodes alternating or intermittent currents
- A61N1/36—Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
- A61N1/36014—External stimulators, e.g. with patch electrodes
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61N—ELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
- A61N1/00—Electrotherapy; Circuits therefor
- A61N1/18—Applying electric currents by contact electrodes
- A61N1/32—Applying electric currents by contact electrodes alternating or intermittent currents
- A61N1/36—Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
- A61N1/36014—External stimulators, e.g. with patch electrodes
- A61N1/3603—Control systems
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61N—ELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
- A61N2/00—Magnetotherapy
- A61N2/002—Magnetotherapy in combination with another treatment
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Radiology & Medical Imaging (AREA)
- Biomedical Technology (AREA)
- Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Biophysics (AREA)
- Heart & Thoracic Surgery (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a neck massager, a data transmission method thereof and a computer storage medium. The method comprises the following steps: the neck massager determines the charging condition of the machine; if the charging condition is a charging state, the neck massager is connected with the external terminal by using the first data transmission module; the neck massager sends the acquired data acquired by the acquisition module to an external terminal through the first data transmission module. By the mode, the data can be uploaded.
Description
Technical Field
The invention relates to the field of neck massage instruments, in particular to a neck massage instrument, a data transmission method thereof and a computer storage medium.
Background
The existing neck massage instrument generally massages a user by means of low-frequency electrotherapy, magnetic therapy and the like, can relax tendons and activate collaterals, helps to improve neck blood circulation, effectively relieves the problems of neck muscle stiffness, pain and the like, and is popular with the user.
Disclosure of Invention
The invention provides a neck massager, a data transmission method thereof and a computer storage medium, which are used for solving the problem of uploading data of the neck massager.
In order to solve the technical problems, the invention adopts a technical scheme that: a data transmission method of a neck massager is provided, and the transmission method comprises the following steps: the neck massager determines the charging condition of the machine; if the charging condition is a charging state, the neck massager is connected with an external terminal by using a first data transmission module; the neck massager sends the acquired data acquired by the acquisition module to the external terminal through the first data transmission module.
According to an embodiment of the present invention, the method further includes: if the charging condition is a non-charging state, the neck massager acquires the current electric quantity value of the battery; if the current electric quantity value is larger than or equal to a preset value, the neck massager starts the acquisition module; the neck massager acquires data of a user through the acquisition module to obtain the acquired data.
According to an embodiment of the present invention, the neck massager transmits the collected data collected by the collecting module to the external terminal through the first data transmission module, including: acquiring the data size of the acquired data; and if the data size is smaller than the preset byte, the neck massager sends the acquired data to the external terminal through a Bluetooth module in a first data transmission module.
According to an embodiment of the present invention, the method further includes: if the data size is larger than or equal to the preset byte, the neck massager sends the acquired data to the external terminal through a WIFI module in the first data transmission module.
According to an embodiment provided by the present invention, before the neck massager sends the collected data to the external terminal through the WIFI module in the first data transmission module, the neck massager includes: the neck massager starts a hot spot of the WIFI module; the neck massager transmits the hotspot name and the secret key of the WIFI module to the external terminal through the Bluetooth module, so that the external terminal establishes communication connection with the WIFI module according to the hotspot name and the secret key.
According to an embodiment of the present invention, the method further includes: if the charging condition is a non-charging state and a wake-up instruction from an external terminal is received; the neck massager responds to the awakening instruction to start a second data transmission module to be connected with the external terminal; the neck massager receives a transmission command of the external terminal through the second data transmission module; and the neck massager sends the acquired data to the external terminal through the second data transmission module according to the transmission command.
According to an embodiment of the present invention, the neck massager sends the collected data to the external terminal through the second data transmission module according to the transmission command, including: the neck massager divides the acquired data into a plurality of data packets through the second data transmission module; the neck massager sequentially sends the plurality of data packets to the external terminal through the second data transmission module; the power consumption of the second data transmission module is less than that of the first data transmission module, and the transmission speed of the second data transmission module is less than that of the first data transmission module.
In order to solve the technical problem, the invention adopts another technical scheme that: the neck massager comprises a processor, a first data transmission module and a memory; the processor is respectively connected with the first data transmission module and the memory, the memory is stored with a computer program, and the processor is used for determining the charging condition of the local neck massager; if the charging condition is a charging state; the processor is connected with an external terminal by using the first data transmission module, and transmits the acquired data acquired by the acquisition module to the external terminal through the first data transmission module.
According to an embodiment of the present invention, if the charging status is a non-charging status, the processor obtains a current electric quantity value of the battery; if the electric quantity value is larger than or equal to a preset value, the processor starts the acquisition module; the processor acquires data of a user through the acquisition module to obtain the acquired data.
According to an embodiment of the present invention, the sending, by the first data transmission module, the acquired data acquired by the acquisition module to the external terminal includes: acquiring the data size of the acquired data; and if the data size is smaller than the preset byte, the processor sends the acquired data to the external terminal through a Bluetooth module in the first data transmission module.
According to an embodiment provided by the invention, if the size of the data is greater than or equal to a preset byte, the processor sends the acquired data to the external terminal through a WIFI module in the first data transmission module.
According to an embodiment provided by the present invention, before the processor sends the collected data to the external terminal through the WIFI module in the first data transmission module, the method includes: the processor starts a hotspot of the WIFI module; the processor transmits the hotspot name and the key of the WIFI module to the external terminal through the Bluetooth module, so that the external terminal establishes communication connection with the WIFI module according to the hotspot name and the key.
According to an embodiment of the present invention, if the charging status is a non-charging status and a wake-up command is received from an external terminal; the processor responds to the awakening instruction to start a second data transmission module to be connected with the external terminal; the processor receives a transmission command of the external terminal through the second data transmission module; and the processor sends the acquired data to the external terminal through the second data transmission module according to the transmission command.
According to an embodiment of the present invention, the sending, by the processor, the collected data to the external terminal through the second data transmission module according to the transmission command includes: the processor splits the acquired data into a plurality of data packets through the second data transmission module; the processor sequentially sends the plurality of data packets to the external terminal through the second data transmission module; the power consumption of the second data transmission module is less than that of the first data transmission module, and the transmission speed of the second data transmission module is less than that of the first data transmission module.
In order to solve the above technical problem, another technical solution of the present invention is to provide a computer storage medium, wherein a computer program is stored, the computer program is executed by a processor to implement any one of the above methods, and the computer program is executed to implement the steps of the data transmission method of the neck massager.
Different from the prior art, the charging condition of the machine is determined through the neck massager, then the neck massager is connected with the external terminal through the first data transmission module when the charging condition is in the charging state, and then the acquired data acquired by the acquisition module are sent to the external terminal through the first data transmission module, so that the acquired data are uploaded.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a first embodiment of a data transmission method of the neck massager of the present invention;
FIG. 2 is a schematic flow chart of a sub-step of step S14 of FIG. 1;
FIG. 3 is a schematic flow chart of a data transmission method of the neck massager according to a second embodiment of the invention;
FIG. 4 is a schematic flow chart of a data transmission method of the neck massager according to a third embodiment of the invention;
FIG. 5 is a schematic flow chart of a sub-step of step S34 of FIG. 4;
FIG. 6 is a schematic structural view of a first embodiment of the neck massager of the present invention;
FIG. 7 is a schematic view showing the internal structure of the neck portion on the side of the neck massager shown in FIG. 6;
FIG. 8 is a schematic structural view of a second embodiment of the neck massager of the present invention;
FIG. 9 is a schematic structural view of a third embodiment of the neck massager of the present invention;
FIG. 10 is a schematic structural diagram of an embodiment of a computer storage medium according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a data transmission method of a neck massager according to a first embodiment of the present application, wherein the flowchart specifically includes the following steps:
and S11, the neck massager determines the charging condition of the machine.
The neck massage instrument determines the charging condition of the machine, and optionally, the charging condition specifically comprises a charging state and a non-charging state.
And S12, if the charging condition is the charging state.
If the charging condition of the neck massager is in a charging state, the neck massager is charged in a wired mode or a wireless mode.
And S13, connecting the neck massager with an external terminal by using the first data transmission module.
Then the neck massager starts the first data transmission module and is connected with an external terminal by the first data transmission module.
And S14, the neck massager sends the collected data collected by the collection module to an external terminal through the first data transmission module.
After the connection is determined, the neck massager sends the acquired data acquired by the acquisition module to an external terminal through the first data transmission module. Optionally, the first data transmission module may include a bluetooth module, a WIFI module, a zigbee module, or another short-distance transmission module.
In an optional scene, because the first data transmission module has higher power consumption, the first data transmission module is generally defaulted to be in a closed state, when the charging condition of the neck massager is in a charging state, the neck massager can start the first data transmission module, and actively pages the nearby external terminal through the first data transmission module, so that the first data transmission module is connected with the external terminal, and then the neck massager actively sends the acquired data to the external terminal through the first data transmission module.
Optionally, after the collected data is sent to the external terminal through the first data transmission module, the transmission data of the neck massager may be deleted, so as to reduce the storage load. And the first data transmission module can be closed after the transmission is finished.
Referring to fig. 2, fig. 2 is a schematic flow chart of the sub-step of step S14 in fig. 1, which specifically includes the following steps:
and S141, acquiring the data size of the acquired data.
And acquiring the data size of the acquired data.
And S142, if the data size is smaller than the preset byte, the neck massager sends the acquired data to the external terminal through the Bluetooth module in the first data transmission module.
If the data size is smaller than the preset byte, the neck massager can send the acquired data to the external terminal through the Bluetooth module in the first data transmission module.
Because the bluetooth module has the characteristics of low power consumption but low transmission efficiency, if the data size of the acquired data to be transmitted is smaller than the preset byte, namely the data volume of the acquired data is small, the acquired data can be transmitted through the bluetooth module with low power consumption. Thereby reducing the power consumption of the first data transmission module during transmission.
And S143, if the data size is larger than or equal to the preset byte, the neck massager sends the acquired data to the external terminal through the WIFI module in the first data transmission module.
In an optional scene, if the acquired data required to be transmitted is more, namely the data size is greater than or equal to the preset byte, the acquired data can be sent to the external terminal through the WIFI module in the first data transmission module.
Optionally, because the power consumption of the WIFI module is relatively large, but the WIFI module has a relatively fast transmission speed, so under the condition that the data size of the collected data is relatively large, the collected data can be transmitted relatively fast, and then the collected data can be sent to an external terminal through the WIFI module.
In an optional scene, the data size of the collected data can be calculated, the power consumption and the data transmission speed of the WIFI module and the Bluetooth module are further calculated, and whether the data are sent through the WIFI module or the Bluetooth module or the WIFI module and the Bluetooth module are simultaneously sent is determined based on the data size and the power consumption and the data transmission speed of the WIFI module and the Bluetooth module.
Optionally, the optimal scheme when the power consumption is the minimum value can be determined by calculating the data size and the power consumption and data transmission speed of the WIFI module and the bluetooth module.
In an optional scene, before the acquired data is sent to the external terminal through the WIFI module in the first data transmission module, connection between the WIFI module and the external terminal is required to be established. Specifically, the neck massager starts a hotspot function of the WIFI module, and then transmits a hotspot name and a secret key of the WIFI module to the external terminal through the Bluetooth module, so that the external terminal establishes communication connection with the WIFI module according to the hotspot name and the secret key. Realize being connected of WIFI module and external terminal of neck massage appearance through bluetooth module, can reduce comparatively loaded down with trivial details WIFI module connection operation, and further, because there is not display screen generally in the neck massage appearance, therefore the neck massage appearance is connected comparatively complicatedly with external terminal, realize being connected of WIFI module and external terminal of neck massage appearance through adopting bluetooth module, can realize automatic being connected, reduce the operation, and then accelerate the transmission speed of data.
In the above embodiment, confirm the charge situation of this computer through the neck massage appearance, the neck massage appearance utilizes first data transmission module to be connected with external terminal when the charge situation is the charged state afterwards, subsequently send the data acquisition that the collection module gathered to external terminal through first data transmission module, thereby realize uploading the data acquisition, through confirming the first data transmission module of neck massage appearance under the charged state, on the one hand, can reduce the power consumption of neck massage appearance under the non-charged state, thereby improve the length of time of neck massage appearance use, on the other hand, can solve first data transmission module and probably lead to the problem of data acquisition upload interrupt or upload failure because the outage when sending data acquisition for external terminal.
Referring to fig. 3, fig. 3 is a flowchart illustrating a data transmission method for a neck massager according to a second embodiment of the present application, wherein the flowchart specifically includes the following steps:
and S21, if the charging condition is a non-charging state, the neck massage instrument acquires the current electric quantity value of the battery.
In an optional scenario, if the charging condition of the neck massager is a non-charging state, such as being in a working state or a standby state, the neck massager further obtains the current electric quantity value of the battery, i.e. the neck massager can determine the electric quantity value of the battery itself.
And S22, if the electric quantity value is greater than or equal to the preset value, the neck massager starts the acquisition module.
If the electric quantity value is greater than or equal to the preset value, the neck massager can start the acquisition module.
In an optional scene, because the main module of the neck massager is the massage module, in order to ensure the normal use of the massage module and improve the service time of the neck massager, the acquisition module is generally in a closed state under the default condition, and when the electric quantity value is greater than or equal to the preset value, the acquisition module can be started.
And S23, the neck massage instrument acquires data of the user through the acquisition module to obtain acquired data.
After the acquisition module is started, the neck massager can acquire data of the user through the acquisition module so as to acquire the acquired data. In an optional scene, when the neck massager is in a working state, namely worn by a user, data acquisition can be carried out on the user through the acquisition module.
Optionally, the acquisition module may specifically include a body temperature detector, a vibration detector, and other sensors for acquiring physiological data of the user, which is not specifically limited herein.
In the embodiment, the acquisition module is started only when the electric quantity value of the neck massager is larger than or equal to the preset value, and the acquisition module acquires data of the user so as to obtain the acquired data. The electric consumption of the neck massager can be reduced, and the sufficient working time of the neck massager is ensured.
Referring to fig. 4, fig. 4 is a flowchart illustrating a data transmission method for a neck massager according to a third embodiment of the present application, wherein the flowchart specifically includes the following steps:
s31, if the charging status is non-charging status and the wake-up command is received from the external terminal.
In an optional scenario, if the charging condition is a non-charging state and a wake-up instruction of the external terminal is received. Namely, the external terminal requires the neck massager to upload the acquired data, and then the corresponding awakening instruction can be sent to the neck massager.
And S32, the neck massager responds to the awakening instruction to start the second data transmission module to be connected with the external terminal.
The neck massager can respond to the awakening instruction to start the second data transmission module so as to be connected with the external terminal. Optionally, the neck massager can start a low-power-consumption response module for a long time, when the response module receives a wake-up instruction, the second data transmission module can be started according to the wake-up instruction, and the wake-up instruction can further comprise a bluetooth name and a bluetooth key of an external terminal and/or a WIFI name and a WIFI key of the external terminal, and the like, so that the neck massager can be directly connected with the external terminal according to the wake-up instruction without manual operation.
Optionally, the second data transmission module may be the same transmission module as the first data transmission module, that is, include a bluetooth module, a WIFI module or a zigbee module, or may be a different module, and compared with the first data transmission module, the second data transmission module has a lower power consumption, so that data transmission can be performed in a non-charging state of the neck massager.
And S33, the neck massage instrument receives the transmission command of the external terminal through the second data transmission module.
And then, receiving a transmission command from the external terminal through the second data transmission module, wherein optionally, the transmission command specifically includes a date, a category and the like of the acquired data to be transmitted, and the acquired data to be transmitted by the external terminal can be selectively determined.
And S34, the neck massager sends the acquired data to an external terminal through a second data transmission module according to the transmission command.
And determining the acquired data required to be sent according to the transmission command, for example, sending the acquired data of a certain date or sending the acquired data of a certain category, and the like, and sending the acquired data to the external terminal through the second data transmission module.
Referring to fig. 5, fig. 5 is a schematic flowchart of the sub-step of step S34 in fig. 4, and the schematic flowchart specifically includes the following steps:
and S341, the neck massager splits the acquired data into a plurality of data packets through the second data transmission module.
In an optional scenario, the collected data may be further split into a plurality of data packets by the second data transmission module, optionally, 3, 4 or other numbers, where the specific value depends on the actual scenario.
Optionally, the collected data may be split into a plurality of data packets according to a time relationship, for example, the data packets may be split at a time interval of every 1 minute, or 5 minutes, or 10 minutes, and in an alternative embodiment, the data packets may be split into 3 data packets at a time interval of 10 minutes if the collected data is 30 minutes. The collected data may also be split into a plurality of data packets according to the size, for example, the data packets are split according to a 1M, 5M, or 10M manner, in an optional embodiment, the collected data is 50M, and the data packets may be split into 5 data packets according to the size of 10M, and each data packet includes one or more pieces of data.
And S342, the neck massager sequentially sends the plurality of data packets to an external terminal through the second data transmission module.
And then the neck massager sends the plurality of data packets to an external terminal in sequence through the second data transmission module. Because this embodiment is opened under neck massage appearance is non-charged state, then through with the data acquisition split into a plurality of data packets and send a plurality of data packets to external terminal in proper order, can be under the condition of neck massage appearance outage suddenly, partial data acquisition can be transmitted at least, also prevent abnormal conditions such as data loss because the neck massage appearance outage suddenly leads to. Because a plurality of data packets are sent to the external terminal in sequence, the neck massager can delete one data packet after sending the data packet successfully, and therefore the storage load is reduced in time.
In an optional embodiment, the power consumption of the second data transmission module is less than that of the first data transmission module, and the transmission speed of the second data transmission module is less than that of the first data transmission module.
As in the optional scenario, the transmission speed of the second data transmission module can generally reach 24Mbps at most, and the transmission speed of the first data transmission module can generally reach 54Mbps at most.
In other scenarios, the transmission speeds of the second data transmission module and the first data transmission module are not particularly limited, and the fact that the transmission speed of the second data transmission module is lower than the transmission speed of the first data transmission module in this embodiment means that the average transmission speed or the highest transmission speed of the second data transmission module is lower than the first data transmission module.
In summary, through confirming the charging condition that the neck massage appearance was confirmed earlier, then start first data transmission module when the charging condition is the charged state and thus be connected with external terminal, send the data acquisition to external terminal through first data transmission module afterwards, thereby realize uploading the data acquisition, through confirming the neck massage appearance and starting first data transmission module under the charged state, on the one hand, can reduce the power consumption of neck massage appearance under the non-charged state, thereby improve the length of time of neck massage appearance use, on the other hand, can solve first data transmission module because the outage probably leads to the problem of data acquisition interrupt or upload failure when sending the data acquisition for external terminal. Furthermore, when the charging condition is a non-charging condition, the electric quantity value of the neck massager is obtained, the acquisition module is started only when the electric quantity value of the neck massager is larger than or equal to a preset value, and data acquisition is carried out on the user through the acquisition module so as to obtain the acquired data.
The invention also provides a neck massager 100. Referring to fig. 6, fig. 6 is a schematic structural view of a neck massager 100 according to a first embodiment of the present invention. The neck massager 100 includes a massager body 130, and the massager body 130 includes a rear neck 110 and side necks 120 extending from two ends of the rear neck 110.
As shown in fig. 7, fig. 7 is a schematic diagram of an internal structure of the side neck 120 of the neck massager 100 shown in fig. 6, and the neck massager 100 further includes a processor 11, a first data transmission module 12, a memory 13, a collection module 14, and a second data transmission module 15.
The invention also provides a neck massager 100. Referring to fig. 8, fig. 8 is a schematic structural view of a neck massager 100 according to a second embodiment of the present invention. The neck massager 100 of the present embodiment includes a processor 11, a first data transmission module 12 and a memory 13. Wherein, the processor is respectively connected with the first data transmission module 12 and the memory 13, the memory 13 stores a computer program, and the processor 11 is used for determining the charging condition of the neck massager 100; if the charging condition is a charging state; the first data transmission module 12 is started to connect with the external terminal, and the collected data is sent to the external terminal through the first data transmission module 12.
The specific steps have been described in detail in the above embodiments, and are not described again here.
As shown in fig. 9, the neck massager 100 further includes an acquisition module 14, and the processor 11 is connected to the acquisition module 14, wherein if the charging condition is a non-charging state, the processor 11 obtains an electric quantity value of the neck massager; if the electric quantity value is greater than or equal to the preset value, the processor 11 starts the acquisition module 14; data is collected by the user through the collection module 14 to obtain collected data.
The step of sending the collected data to the external terminal through the first data transmission module 12 specifically includes acquiring the data size of the collected data; if the size of the data is smaller than the preset byte, the processor 11 sends the collected data to the external terminal through the bluetooth module in the first data transmission module 12. If the data size is larger than or equal to the preset byte, the processor 11 starts a hotspot of the WIFI module; and the hotspot name and the secret key of the WIFI module are transmitted to the external terminal through the Bluetooth module, so that the external terminal establishes communication connection with the WIFI module according to the hotspot name and the secret key. And then, the acquired data is sent to an external terminal through the WIFI module in the first data transmission module 12.
As shown in FIG. 9, the neck massager 100 further comprises a second data transmission module 15, and the second data transmission module 15 is connected with the processor 11. If the charging condition is a non-charging state and a wake-up instruction from an external terminal is received; the processor 11 responds to the wake-up instruction to turn on the second data transmission module 15 to connect with the external terminal; receiving a transmission command of an external terminal through the second data transmission module 15; the collected data is transmitted to the external terminal through the second data transmission module 15 according to the transmission command. The second data transmission module 15 may split the collected data into a plurality of data packets; and further sequentially transmits the plurality of data packets to the external terminal through the second data transmission module 15.
The specific steps have been described in detail in the above embodiments, and are not described again here.
The logical processes of the above-described data transmission method are presented as a computer program, which can be stored in a computer storage medium if it is sold or used as a stand-alone software product, and thus the present invention proposes a computer storage medium. Referring to fig. 10, fig. 10 is a schematic structural diagram of an embodiment of a computer storage medium, in which a computer program 71 is stored in the computer storage medium 700 of this embodiment, and the computer program is executed by a processor to implement the distribution network method or the control method.
The computer storage medium 700 may be a medium that can store a computer program, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, or may be a server that stores the computer program, and the server may send the stored computer program to another device for running or may run the stored computer program by itself. The computer storage medium 700 may be a combination of multiple entities from a physical point of view, for example, multiple servers, servers plus storage, or storage plus removable hard disks.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (15)
1. A data transmission method of a neck massager is characterized by comprising the following steps:
the neck massager determines the charging condition of the machine;
if the charging condition is a charging state, the neck massager is connected with an external terminal by using a first data transmission module;
the neck massager sends the acquired data acquired by the acquisition module to the external terminal through the first data transmission module.
2. The data transmission method of claim 1, further comprising:
if the charging condition is a non-charging state, the neck massager acquires the current electric quantity value of the battery;
if the current electric quantity value is larger than or equal to a preset value, the neck massager starts the acquisition module;
the neck massager acquires data of a user through the acquisition module to obtain the acquired data.
3. The data transmission method according to claim 1, wherein the neck massager transmits the collected data collected by the collection module to the external terminal through the first data transmission module, comprising:
acquiring the data size of the acquired data;
and if the data size is smaller than the preset byte, the neck massager sends the acquired data to the external terminal through a Bluetooth module in a first data transmission module.
4. The data transmission method of claim 3, further comprising:
if the data size is larger than or equal to the preset byte, the neck massager sends the acquired data to the external terminal through a WIFI module in the first data transmission module.
5. The data transmission method of claim 4, wherein before the neck massager sends the acquired data to the external terminal through the WIFI module in the first data transmission module, the method comprises the following steps:
the neck massager starts a hot spot of the WIFI module;
the neck massager transmits the hotspot name and the secret key of the WIFI module to the external terminal through the Bluetooth module, so that the external terminal establishes communication connection with the WIFI module according to the hotspot name and the secret key.
6. The data transmission method of claim 1, further comprising:
if the charging condition is a non-charging state and a wake-up instruction from an external terminal is received;
the neck massager responds to the awakening instruction to start a second data transmission module to be connected with the external terminal;
the neck massager receives a transmission command of the external terminal through the second data transmission module;
and the neck massager sends the acquired data to the external terminal through the second data transmission module according to the transmission command.
7. The data transmission method according to claim 6, wherein the neck massager transmits the collected data to the external terminal through the second data transmission module according to the transmission command, comprising:
the neck massager divides the acquired data into a plurality of data packets through the second data transmission module;
the neck massager sequentially sends the plurality of data packets to the external terminal through the second data transmission module;
the power consumption of the second data transmission module is less than that of the first data transmission module, and the transmission speed of the second data transmission module is less than that of the first data transmission module.
8. The neck massager is characterized by comprising a processor, a first data transmission module and a memory; the processor is respectively connected with the first data transmission module and the memory, the memory is stored with a computer program, and the processor is used for determining the charging condition of the local neck massager; if the charging condition is a charging state; the processor is connected with an external terminal by using the first data transmission module, and transmits the acquired data acquired by the acquisition module to the external terminal through the first data transmission module.
9. The neck massager of claim 8,
if the charging condition is a non-charging state, the processor acquires the current electric quantity value of the battery;
if the electric quantity value is larger than or equal to a preset value, the processor starts the acquisition module;
the processor acquires data of a user through the acquisition module to obtain the acquired data.
10. The neck massager of claim 8, wherein the transmitting the collected data collected by the collecting module to the external terminal through the first data transmission module comprises:
acquiring the data size of the acquired data;
and if the data size is smaller than the preset byte, the processor sends the acquired data to the external terminal through a Bluetooth module in the first data transmission module.
11. The neck massager of claim 10, wherein the processor sends the collected data to the external terminal through a WIFI module of the first data transmission module if the data size is greater than or equal to a preset byte.
12. The neck massager of claim 11, wherein before the processor sends the acquired data to the external terminal through the WIFI module of the first data transmission module, the processor comprises:
the processor starts a hotspot of the WIFI module;
the processor transmits the hotspot name and the key of the WIFI module to the external terminal through the Bluetooth module, so that the external terminal establishes communication connection with the WIFI module according to the hotspot name and the key.
13. The neck massager of claim 8,
if the charging condition is a non-charging state and a wake-up instruction from an external terminal is received;
the processor responds to the awakening instruction to start a second data transmission module to be connected with the external terminal;
the processor receives a transmission command of the external terminal through the second data transmission module;
and the processor sends the acquired data to the external terminal through the second data transmission module according to the transmission command.
14. The neck massager of claim 13 wherein the processor transmits the collected data to the external terminal via the second data transmission module according to the transmission command, comprising:
the processor splits the acquired data into a plurality of data packets through the second data transmission module;
the processor sequentially sends the plurality of data packets to the external terminal through the second data transmission module;
the power consumption of the second data transmission module is less than that of the first data transmission module, and the transmission speed of the second data transmission module is less than that of the first data transmission module.
15. A computer storage medium, characterized in that the computer storage medium stores a computer program which, when executed, implements the steps of the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010442524.1A CN112089968A (en) | 2020-05-22 | 2020-05-22 | Neck massager, data transmission method thereof and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010442524.1A CN112089968A (en) | 2020-05-22 | 2020-05-22 | Neck massager, data transmission method thereof and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112089968A true CN112089968A (en) | 2020-12-18 |
Family
ID=73750063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010442524.1A Pending CN112089968A (en) | 2020-05-22 | 2020-05-22 | Neck massager, data transmission method thereof and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112089968A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202362908U (en) * | 2011-11-24 | 2012-08-01 | 游通欣 | System for carrying out remote control on messaging equipment |
CN106580335A (en) * | 2016-12-30 | 2017-04-26 | 北京联合大学 | Neck mobility monitoring system and method |
CN110072295A (en) * | 2019-04-30 | 2019-07-30 | 努比亚技术有限公司 | Dual-channels communication method, apparatus, first terminal and medium |
CN110403594A (en) * | 2018-04-26 | 2019-11-05 | 成都心吉康科技有限公司 | The collecting and transmitting method and system of electrocardiogram (ECG) data |
CN209645387U (en) * | 2018-12-25 | 2019-11-19 | 湖南简成信息技术有限公司 | Intelligent massaging instrument |
-
2020
- 2020-05-22 CN CN202010442524.1A patent/CN112089968A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202362908U (en) * | 2011-11-24 | 2012-08-01 | 游通欣 | System for carrying out remote control on messaging equipment |
CN106580335A (en) * | 2016-12-30 | 2017-04-26 | 北京联合大学 | Neck mobility monitoring system and method |
CN110403594A (en) * | 2018-04-26 | 2019-11-05 | 成都心吉康科技有限公司 | The collecting and transmitting method and system of electrocardiogram (ECG) data |
CN209645387U (en) * | 2018-12-25 | 2019-11-19 | 湖南简成信息技术有限公司 | Intelligent massaging instrument |
CN110072295A (en) * | 2019-04-30 | 2019-07-30 | 努比亚技术有限公司 | Dual-channels communication method, apparatus, first terminal and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110177454A (en) | Electric tool system and upgrade method for the system | |
CN105095022B (en) | Data backup method and device | |
US20210391739A1 (en) | Battery Charging Control for Electronic Devices | |
CN113014599B (en) | Method, equipment and system for safely keeping alive | |
CN106785138B (en) | A kind of charging method and device | |
CN105835711A (en) | Fixed-time appointment charging method, device and system for new energy automobile | |
CN108810741A (en) | A kind of method, apparatus and wireless headset of double wireless headset connections | |
EP3164781B1 (en) | Cloud based power management system for electronic devices | |
CN112689316B (en) | Binding method and device of intelligent equipment, storage medium and electronic device | |
GB2596401A (en) | Battery charging control for wireless headphones | |
CN104780580A (en) | Wi-Fi mobile networking method with balanced energy consumption | |
CN112368975B (en) | Measuring device, information processing apparatus, and communication system | |
CN115765085A (en) | Overcharge and discharge threshold control method and device for power battery | |
CN111683396A (en) | Information processing method and system and electronic equipment | |
CN112089968A (en) | Neck massager, data transmission method thereof and computer storage medium | |
CN111343541A (en) | Control method and device of wireless earphone, mobile terminal and storage medium | |
CN113067383B (en) | Method, device, electronic equipment and medium for optimizing charging habit of user battery | |
CN104796973B (en) | Radio reception device control method and radio reception device | |
CN113259892A (en) | Wireless data acquisition system | |
CN113965981A (en) | Power consumption control method and device | |
KR20210032719A (en) | Internet based battery of things device and platform for integrated management thereof | |
CN114286431A (en) | Method and device for starting low power consumption mode, storage medium and electronic device | |
JP4177792B2 (en) | Charging system and charging device | |
CN111226430A (en) | Wireless network control method and wireless network control device based on intelligent terminal | |
CN110124132B (en) | Ventricular assist device power supply method and related product |
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 |