CN113438260A - Connection method and device of wearable massage instrument, computer equipment and storage medium - Google Patents

Connection method and device of wearable massage instrument, computer equipment and storage medium Download PDF

Info

Publication number
CN113438260A
CN113438260A CN202010208560.1A CN202010208560A CN113438260A CN 113438260 A CN113438260 A CN 113438260A CN 202010208560 A CN202010208560 A CN 202010208560A CN 113438260 A CN113438260 A CN 113438260A
Authority
CN
China
Prior art keywords
identification signal
signal code
wearable
equipment identification
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010208560.1A
Other languages
Chinese (zh)
Other versions
CN113438260B (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 CN202010208560.1A priority Critical patent/CN113438260B/en
Publication of CN113438260A publication Critical patent/CN113438260A/en
Application granted granted Critical
Publication of CN113438260B publication Critical patent/CN113438260B/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/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • 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)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Pain & Pain Management (AREA)
  • Rehabilitation Therapy (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Power Engineering (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Computing Systems (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Epidemiology (AREA)
  • Massaging Devices (AREA)

Abstract

The application relates to a connection method and device of a wearable massage instrument, a computer device and a storage medium, wherein a device identification signal code used for verifying whether the main device has the permission of being connected with the wearable massage instrument is sent to the wearable massage instrument through the main device, a connection success response returned by the wearable massage instrument is not received, the validity of the device identification signal code is requested to be verified from a cloud server of the wearable massage instrument, if the device identification signal code is illegal, it is determined that the device identification signal code does not have the permission of being connected with the wearable massage instrument, and if the device identification signal code is legal, the device identification signal code is connected with the wearable massage instrument again. The method effectively improves and ensures the safety of the wearable massage instrument.

Description

Connection method and device of wearable massage instrument, computer equipment and storage medium
Technical Field
The application relates to the technical field of massage instruments, in particular to a connection method and device of a wearable massage instrument, computer equipment and a storage medium.
Background
With the development of life and science, various massage apparatuses, such as a neck massage apparatus, an eye massage apparatus, and the like, have appeared on the market.
Generally, these massage apparatuses are equipped with a dedicated remote controller for controlling the massage apparatus to operate. However, when the dedicated remote control is lost, the massage apparatus correspondingly loses the remote control function, and based on this, a lot of intelligent apparatuses have appeared to replace the dedicated remote control to continue to control the massage apparatus. In the conventional technology, in order to ensure the safety of the massage equipment, only the intelligent equipment which passes the safety verification can be connected with the massage equipment.
However, many illegal intelligent terminals for cracking the security verification can be connected to the massage equipment, so that a great potential safety hazard is brought to the massage equipment.
Disclosure of Invention
In view of the above, it is necessary to provide a connection method, an apparatus, a computer device and a storage medium for a wearable massage apparatus, which can improve the safety of the wearable massage apparatus.
In a first aspect, the present application provides a method for connecting a wearable massage apparatus, the method comprising:
the main equipment sends an equipment identification signal code to the wearable massage instrument; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument;
if the main equipment does not receive a connection success response returned by the wearable massage instrument, requesting a cloud server of the wearable massage instrument to verify the validity of the equipment identification signal code;
if the equipment identification signal code is illegal, the main equipment determines that the main equipment does not have the authority of establishing connection with the wearable massage instrument;
and if the equipment identification signal code is legal, the main equipment is connected with the wearable massage instrument again.
In one embodiment, if the master device does not receive a connection success response returned by the wearable massage apparatus, the requesting the cloud server of the wearable massage apparatus to verify the validity of the device identification signal code includes:
if the main equipment does not receive a connection success response returned by the wearable massage instrument within a preset time length, requesting the cloud server to verify whether an original equipment identification signal code of the wearable massage instrument stored in the cloud server is consistent with an equipment identification signal code;
if the original equipment identification signal code is consistent with the equipment identification signal code, the main equipment determines that the equipment identification signal code is legal;
and if the original equipment identification signal code is inconsistent with the equipment identification signal code, the main equipment determines that the equipment identification signal code is illegal.
In one embodiment, the requesting the cloud server to verify whether the original device identification signal code of the wearable massage apparatus stored in the cloud server is consistent with the device identification signal code includes:
the method comprises the steps that a main device obtains a device identification code of the wearable massage instrument; the equipment identification code represents an identity of the wearable massage apparatus;
the main equipment sends the equipment identification code to the cloud server so as to instruct the cloud server to determine an original equipment identification signal code of the wearable massager according to the equipment identification code, and whether the original equipment identification signal code is consistent with the equipment identification signal code is compared; wherein, the equipment identification code of every wearable massage appearance corresponds with equipment identification signal code is unique.
In one embodiment, after the master device sends the device identification code to the cloud server, the method further includes:
and if the main equipment receives the response that the equipment identification code returned by the cloud server is incorrect, determining that the main equipment does not have the authority of establishing connection with the wearable massage instrument.
In one embodiment, the main device re-establishes a connection with the wearable massage apparatus, and includes:
the main equipment repeatedly sends the equipment identification signal code to the wearable massage instrument until a connection success response returned by the wearable massage instrument is received; or,
and the main equipment sends a maintenance request to a service platform of the wearable massage instrument and establishes connection with the wearable massage instrument according to the maintenance result of the service platform.
In one embodiment, the method further comprises:
after the main device sends the device identification signal code to the wearable massage apparatus, if the main device receives a connection success response returned by the wearable massage apparatus, the main device and the wearable massage apparatus are successfully connected.
In one embodiment, after the main device is connected to the wearable massage apparatus, the method further includes:
the main equipment sends a data reading instruction to the wearable massage instrument according to a preset period; the data reading instruction is used for indicating the wearable massage instrument to acquire state data;
the main equipment receives the state data returned by the wearable massage instrument.
In one embodiment, after the master device sends a data reading instruction to the wearable massage apparatus according to a preset cycle, the method further includes:
and if the main equipment does not receive the state data returned by the wearable massage instrument after exceeding the preset time, determining that the wearable massage instrument is off-line.
In a second aspect, the present application provides a method for connecting a wearable massage apparatus, the method comprising:
the cloud server verifies the validity of the equipment identification signal code sent by the main equipment; the equipment identification signal code is sent when a connection success response returned by the wearable massage instrument is not received after the equipment identification signal code is sent to the wearable massage instrument by the main equipment; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument;
if the cloud server verifies that the equipment identification signal code is illegal, indicating that the main equipment does not have the authority of establishing connection with the wearable massage instrument;
and if the cloud server verifies that the equipment identification signal code is legal, indicating the main equipment to establish connection with the wearable equipment again.
In one embodiment, the verifying, by the cloud server, the validity of the device identification signal code sent by the master device includes:
the cloud server receives a device identification code sent by the main device; the equipment identification code represents an identity of the wearable massage apparatus;
the cloud server determines an original equipment identification signal code of the wearable massager according to the equipment identification code, and compares whether the original equipment identification signal code is consistent with the equipment identification signal code or not; the equipment identification code of each wearable massager is uniquely corresponding to the equipment identification signal code;
if the original equipment identification signal code is consistent with the equipment identification signal code, the cloud server determines that the equipment identification signal code is legal;
and if the original equipment identification signal code is inconsistent with the equipment identification signal code, the cloud server determines that the equipment identification signal code is illegal.
In one embodiment, after the cloud server determines that the device identification signal code is illegal, the method further includes:
the cloud server determines that the equipment identification signal code is an illegal equipment identification signal code, and sends the illegal equipment identification signal code to the wearable massage instrument so as to indicate the wearable massage instrument to carry out illegal code filing.
In a third aspect, the present application provides a connection device for a wearable massage apparatus, the device comprising:
the signal code sending module is used for sending an equipment identification signal code to the wearable massage instrument; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument;
the request verification module is used for requesting a cloud server of the wearable massage instrument to verify the validity of the equipment identification signal code if a connection success response returned by the wearable massage instrument is not received;
the determining module is used for determining that the wearable massager does not have the authority of establishing connection with the wearable massager if the equipment identification signal code is illegal;
and the reconnection module is used for establishing connection with the wearable massager again if the equipment identification signal code is legal.
In a fourth aspect, the present application provides a connection device of a wearable massage apparatus, the device comprising:
the verification module is used for verifying the validity of the equipment identification signal code sent by the main equipment; the equipment identification signal code is sent when a connection success response returned by the wearable massage instrument is not received after the equipment identification signal code is sent to the wearable massage instrument by the main equipment; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument;
the first indication module is used for indicating that the main equipment does not have the authority of establishing connection with the wearable massage instrument if the equipment identification signal code is verified to be illegal;
and the second indicating module is used for indicating the main equipment to establish connection with the wearable equipment again if the equipment identification signal code is verified to be legal.
In a fifth aspect, the present application provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the method in any of the first or second aspects when executing the computer program.
In a sixth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method in any of the embodiments of the first or second aspect described above.
According to the connection method, the connection device, the computer device and the storage medium of the wearable massage instrument, the main device sends the device identification signal code used for verifying whether the main device has the permission of being connected with the wearable massage instrument to the wearable massage instrument, the connection success response returned by the wearable massage instrument is not received, the cloud server of the wearable massage instrument is requested to verify the validity of the device identification signal code, if the device identification signal code is illegal, it is determined that the device identification signal code does not have the permission of being connected with the wearable massage instrument, and if the device identification signal code is legal, the device identification signal code is connected with the wearable massage instrument again. According to the method, after the main equipment sends the equipment identification signal code to the wearable massage instrument, when the connection successful response returned by the wearable massage instrument is not received, the legality of the equipment identification signal code is verified, the main equipment is continuously connected with the wearable massage instrument only when the equipment identification signal code is legal, the potential safety hazard generated by the wearable massage instrument due to the fact that the main equipment without permission is randomly connected with the wearable massage instrument when the equipment identification signal code is cracked and is an illegal equipment identification signal code is avoided, and the safety of the wearable massage instrument is effectively improved and guaranteed.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a wearable massager attachment method;
FIG. 1a is a diagram illustrating an internal structure of a host device in one embodiment;
FIG. 2 is a schematic flow chart illustrating a method of connecting the wearable massage apparatus according to an embodiment;
FIG. 3 is a schematic flow chart illustrating a method for connecting the wearable massage apparatus according to another embodiment;
FIG. 4 is a schematic flow chart illustrating a method for connecting the wearable massage apparatus according to another embodiment;
FIG. 5 is a schematic flow chart illustrating a method for connecting the wearable massage apparatus according to another embodiment;
FIG. 6 is a schematic flow chart illustrating a method for connecting the wearable massage apparatus according to another embodiment;
FIG. 7 is a schematic flow chart illustrating a method for connecting the wearable massage apparatus according to another embodiment;
FIG. 8 is an interactive schematic diagram of a connection method of the wearable massage apparatus according to an embodiment;
FIG. 9 is a block diagram of a connection device of the wearable massage apparatus according to an embodiment;
FIG. 10 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.
Referring to fig. 1, the present application provides an application environment of a connection method for a wearable massage apparatus, including a main device 01, a cloud server 02, and a wearable massage apparatus 03; the main device 01 and the wearable massage apparatus 03 can communicate with each other after being connected; the cloud server 02 and the wearable massage instrument 03 can communicate normally; the main device 01 and the cloud server 02 can communicate with each other after being connected; the main device 01 may be an electronic device such as a personal computer, a notebook computer, a desktop computer, a media player, an intelligent television, an intelligent terminal, a tablet computer, and a portable wearable device, and the type of the main device 01 is not limited in the embodiment of the present application. Wherein, the wearable massage apparatus 03 can be a wearable neck massage apparatus, a wearable eye massage apparatus, a wearable waist massage apparatus, etc. The server 02 includes, but is not limited to, a tower server, a rack server, a blade server, a high-density server, a single server, a two-way server, a multi-way server, and the like, and the type of the server is not particularly limited.
The internal structure of the master device 01 can be referred to fig. 1 a. Fig. 1a includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor is configured to provide computational and control capabilities. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database is used for storing data of a connection method of the wearable massage apparatus. The network interface is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of connecting a wearable massager. It is to be understood that the internal structure shown in fig. 1a is only an example of the internal structure of the master device 01, and is not intended to be limiting.
The embodiment of the application provides a connection method and device of a wearable massage apparatus, a computer device and a storage medium, which can prevent a main device with a cracked and similar device identification signal code from being connected to the wearable massage apparatus at will, and improve the safety 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. In addition, according to the connection method of the wearable massage apparatus provided by the present application, the execution main body in fig. 2 to 5 is a main device, and the execution main body in fig. 6 to 7 is a cloud server. The executing bodies in fig. 2 to fig. 7 may also be a connecting device of the wearable massage apparatus, wherein the device may be implemented as a part or all of the main device or the cloud server by software, hardware, or a combination of software and hardware.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
An embodiment in which the execution main body is a main device is explained below.
In an embodiment, fig. 2 provides a connection method for a wearable massage apparatus, where the embodiment relates to a specific process in which a master device sends an apparatus identification signal code to the wearable massage apparatus when needing to establish a connection with the wearable massage apparatus, and requests a cloud server to verify the validity of the apparatus identification signal code when not receiving a response returned by the wearable massage apparatus, as shown in fig. 2, the method includes:
s101, the main equipment sends an equipment identification signal code to the wearable massager; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument.
In practical applications, if the main device needs to establish a connection with the wearable massage apparatus, the wearable massage apparatus needs to be searched first, for example, when the user controls the wearable neck massage apparatus through a mobile phone, the mobile phone needs to establish a connection with the wearable neck massage apparatus, and the mobile phone needs to search the wearable neck massage apparatus first. The wearable massage instrument can be selected according to the connection mode established between the wearable massage instrument and the main equipment, for example, wifi and bluetooth are provided, and the wearable massage instrument can be searched through the bluetooth function by the main equipment.
The equipment identification signal code represents a code for verifying whether the main equipment has the authority of being connected with the wearable massage instrument, and the equipment identification signal code and the equipment identification code have a one-to-one correspondence relationship. That is, if a connection is to be established with the wearable massager to call the wearable massager data, the connection is possible only after the device identification code and the device identification signal code are corresponded.
The device identification signal code may be in the form of a number, a letter, or a combination of the two, which is not limited in this embodiment. It is understood that the device identification code of the wearable massager and the device identification signal code cannot be the same for safety. In practical application, the equipment identification signal code of the wearable massage instrument can be set and stored in an official address when the wearable massage instrument leaves a factory, for example, the equipment identification signal code is stored in an official cloud storage, and when the equipment identification signal code needs to be acquired, the equipment identification signal code corresponding to the equipment identification signal code in a one-to-one mode is acquired through the equipment identification code. The equipment identification code record of wearable massage appearance is on wearable massage appearance, and the user can be transferred from high in the clouds memory to the equipment identification signal code of wearable massage appearance through the equipment identification code of wearable massage appearance.
Optionally, a wearable massage apparatus controller, a wearable massage apparatus communication module, a wearable massage apparatus comparator, a wearable massage apparatus memory, and a wearable massage apparatus massage circuit are arranged in the wearable massage apparatus, the wearable massage apparatus controller is respectively connected with the wearable massage apparatus communication module, the wearable massage apparatus comparator, the wearable massage apparatus memory, and the wearable massage apparatus massage circuit, and when a signal code of any request call data received by the wearable massage apparatus is consistent with an equipment identification code of the wearable massage apparatus in the wearable massage apparatus comparator, the call of the wearable massage apparatus data is allowed.
Wherein, the main equipment can be the main equipment and aim at wearable massage appearance to wearable massage appearance transmitting device identification signal code, sends the wearable massage appearance through the signal (for example, bluetooth, infrared signal) with the wearable massage appearance identification signal code who obtains.
And S102, if the main equipment does not receive a connection success response returned by the wearable massage instrument, requesting the cloud server of the wearable massage instrument to verify the validity of the equipment identification signal code.
The connection success response refers to a response fed back to the main device after the wearable massage apparatus establishes a connection relationship with the main device after determining that the device identification signal code is correct after receiving the device identification signal code sent by the main device.
Based on the device identification signal code sent by the main device to the wearable massager in the above steps, if the main device consistently does not receive a connection success response returned by the wearable massager, it indicates that the wearable massager does not receive the device identification signal code sent by the main device, or the wearable massager receives the device identification signal code sent by the main device, but the device identification signal code is incorrect, no matter which situation the conclusion is that the connection is not successful, and the main device sends the device identification signal code to the wearable massager on the premise that the device identification signal code sent by the wearable massager must be obtained first, but the obtained device identification signal code sent by the wearable massager may be obtained from an illegal channel, for example, another illegal device sends the main device, or is cracked from some suspected terminals, a cloud terminal, and the like. Therefore, the main device is required to request the cloud server of the wearable massage apparatus to verify the validity of the device identification signal code, so as to continue subsequent work according to the verification result. If the verification result of the device identification signal code is not legal, the step S103 is performed, and if the verification result of the device identification signal code is legal, the step S104 is performed.
S103, the main device determines that the main device does not have the authority of establishing connection with the wearable massage instrument.
The step is that the equipment identification signal code is illegal, and the equipment identification signal code of the main equipment belongs to the illegally obtained false equipment identification signal code, so that the main equipment can be refused to be connected with the wearable massage instrument, namely, the main equipment is determined not to have the authority of establishing connection with the wearable massage instrument. Therefore, the connection process is finished, and the wearable massage instrument is connected by the master device without permission.
And S104, the main equipment is connected with the wearable massage instrument again.
In the step, if the equipment identification signal code is legal, the connection success response of the wearable massager is not received all the time, that is, the fault occurs in the connection process, and if the fault is solved, the reconnection is successful, and the main equipment is reconnected with the wearable massager again.
According to the connection method of the wearable massage apparatus provided by the embodiment, the main apparatus sends the apparatus identification signal code for verifying whether the main apparatus has the right to be connected with the wearable massage apparatus to the wearable massage apparatus, and the connection success response returned by the wearable massage apparatus is not received, the validity of the apparatus identification signal code is requested to be verified from the cloud server of the wearable massage apparatus, if the apparatus identification signal code is illegal, it is determined that the apparatus identification signal code does not have the right to be connected with the wearable massage apparatus, and if the apparatus identification signal code is legal, the apparatus identification signal code is connected with the wearable massage apparatus again. According to the method, after the main equipment sends the equipment identification signal code to the wearable massage instrument, when the connection successful response returned by the wearable massage instrument is not received, the legality of the equipment identification signal code is verified, the main equipment is continuously connected with the wearable massage instrument only when the equipment identification signal code is legal, the potential safety hazard generated by the wearable massage instrument due to the fact that the main equipment without permission is randomly connected with the wearable massage instrument when the equipment identification signal code is cracked and is an illegal equipment identification signal code is avoided, and the safety of the wearable massage instrument is effectively improved and guaranteed.
In the following, a specific process of the master device requesting the cloud server of the wearable massage apparatus to verify the validity of the device identification number is described by an embodiment, and as shown in fig. 3, in an embodiment, the step S102 includes:
s201, if the main device does not receive a connection success response returned by the wearable massage instrument within a preset time length, the cloud server is requested to verify whether an original device identification signal code of the wearable massage instrument stored in the cloud server is consistent with the device identification signal code, if so, S202 is executed, and if not, S203 is executed.
S202, the main device determines that the device identification signal code is legal.
S203, the master device determines that the device identification signal code is illegal.
In order to avoid that the main device does not receive the connection success response returned by the wearable massage apparatus because the wearable massage apparatus does not receive the device identification signal code sent by the main device, the main device does not receive the connection success response returned by the wearable massage apparatus all the time after the preset time length or the preset times is set, and then the validity of the device identification signal code is verified. For example, if the master device repeatedly sends the identification signal code to the target wearable massager, the connection success response returned by the wearable massager is not received all the time, and the number of times of non-reception exceeds a preset threshold, for example, more than 3 times of non-reception is not received, which indicates that the wearable massager may have received the equipment identification signal code, but the equipment identification signal code is incorrect
The original equipment identification signal code of the wearable massage apparatus stored in the cloud server refers to the original and official equipment identification signal code of the wearable massage apparatus stored in the cloud server. In an example, the device identification signal code sent by the master device is compared with the original device identification signal code stored in the cloud server, if the device identification signal code sent by the master device is consistent with the original device identification signal code, the device identification signal code sent by the master device is legal, and otherwise, the device identification signal code sent by the master device is illegal.
In this embodiment, the main device verifies the operation after ensuring that the wearable device has certainly received the device identification signal code, and verifies and compare with the original device identification signal code of official place, has so both guaranteed the security that wearable massage appearance is connected, also improves flow treatment efficiency.
In the step S201, in order to accurately find the original device identification signal code of the wearable massage apparatus, it is necessary to determine the device identification code of the wearable massage apparatus, specifically, an embodiment is provided for explanation, as shown in fig. 4, where the step S201 includes:
s301, the main equipment acquires an equipment identification code of the wearable massage instrument; the equipment identification code represents the identity of the wearable massage apparatus.
The equipment identification code represents the identification of the wearable massage apparatus, the form of the equipment identification code can also be formed by combining numbers, letters or both, the embodiment does not limit the identification, but the equipment identification code is different from the equipment identification signal code, optionally, the equipment identification code of the wearable massage apparatus is recorded on the wearable massage apparatus, and a user can call the equipment identification signal code of the wearable massage apparatus from a cloud storage through the equipment identification code of the wearable massage apparatus. Of course, the device identification code may also be obtained in other ways, which is not limited in this embodiment.
S302, the main device sends the device identification code to the cloud server to instruct the cloud server to determine an original device identification signal code of the wearable massager according to the device identification code, and whether the original device identification signal code is consistent with the device identification signal code is compared; wherein, the equipment identification code of every wearable massage appearance corresponds with equipment identification signal code is unique.
The main equipment sends the equipment identification code to the cloud server so as to instruct the cloud server to determine an original equipment identification signal code of the wearable massager according to the equipment identification code. For example, if the login face of the cloud server is displayed on the main device, the user is required to input the device identification code, and after the device identification code is input, two situations exist, namely the input device identification code is wrong, which indicates that the main device does not have the authority to establish the connection with the wearable massage apparatus, the access of the main device to the cloud server can be interrupted.
In another case, if the input device identification code is correct, the user can normally enter the cloud server, and then the cloud server checks whether the original device identification signal code stored in the cloud server is consistent with the device identification signal code sent by the main device; if the equipment identification signal code sent by the main equipment is not consistent with the equipment identification signal code sent by the main equipment, the equipment identification signal code sent by the main equipment is determined to be legal. Like this, confirm equipment identification signal code through the equipment identification code, guaranteed the accuracy of the equipment identification signal code of the wearable massage appearance of confirming.
For the cloud server, if the equipment identification signal code that the main equipment sent is illegal, the cloud server can confirm this equipment identification signal code as illegal equipment identification signal code, then send illegal equipment identification signal code for wearable massage appearance, for example, send the communication module for wearable massage appearance through high in the clouds communication module, and like this, wearable massage appearance is with illegal equipment identification signal code record in wearable massage appearance comparator, send for wearable massage appearance when having the same illegal equipment identification signal code again, then wearable massage appearance directly rejects the main equipment and calls the request of wearable massage appearance data, the security of wearable massage appearance has been improved.
Of course, if the device identification signal code sent by the main device is legal, but the previous main device does not receive a connection success response sent by the wearable massage apparatus, the main device needs to establish a connection with the wearable massage apparatus again. In one embodiment, the master device reestablishes a connection with the wearable massager, comprising: the main equipment repeatedly sends the equipment identification signal code to the wearable massage instrument until a connection success response returned by the wearable massage instrument is received; or the main equipment sends a maintenance request to a service platform of the wearable massage instrument and establishes connection with the wearable massage instrument according to the maintenance result of the service platform.
The method for reestablishing the connection between the main device and the wearable massage apparatus includes two methods, one is that the main device repeatedly sends the device identification signal code to the wearable massage apparatus until a connection success response returned by the wearable massage apparatus is received. In another mode, the main equipment sends a maintenance request to the service platform to request background maintenance or manual service, and after maintenance, connection is established with the wearable massage instrument according to a maintenance result. Therefore, under the condition that the equipment identification signal code is legal, a new way is adopted to continue to be connected with the wearable massager, and the connection efficiency is improved.
In addition, in one embodiment, after the master device sends the device identification signal code to the wearable massage apparatus, if the master device receives a connection success response returned by the wearable massage apparatus, the master device and the wearable massage apparatus are successfully connected.
The main equipment receives the successful connection response returned by the wearable massage instrument, namely, the main equipment indicates that the wearable massage instrument receives the equipment identification signal code, and the equipment identification signal code sent by the main equipment is confirmed to be correct, so that the wearable massage instrument returns the successful connection response to the main equipment, the control authority of the main equipment passes, and the main equipment and the wearable massage instrument are successfully connected, for example, the main equipment and the wearable massage instrument are connected in a Bluetooth mode, a near field communication mode, a wifi mode or a mobile communication signal mode.
After the main device is connected with the wearable massage apparatus, the main device and the wearable massage apparatus can perform data interaction normally, and specifically, as shown in fig. 5, in one embodiment, the method further includes:
s401, the main equipment sends a data reading instruction to the wearable massage instrument according to a preset period; the data reading instruction is used for indicating the wearable massage instrument to acquire the state data.
The main equipment sends a data reading instruction to the wearable massage instrument, and the data reading instruction is used for indicating the wearable massage instrument to acquire state data; optionally, the state data includes operation state data of the wearable massage apparatus, physiological characteristic information of the user, and environment data, for example, the physiological characteristic information of the user includes heartbeat, blood pressure, body temperature, skin impedance, electrocardiogram, position information of the user, and the like of the user respectively measured by sensors, and may also be step number measured by a gyroscope sensor, and the like, the environment data includes whether the wearable massage apparatus is currently located indoors or outdoors, or air humidity, and the like, and the operation state data of the massage apparatus includes current operation parameters, operation time, and the like of the wearable massage apparatus; the present embodiment does not limit the state data to be collected.
The wearable massager can acquire state data through a sensor arranged in the massager, for example, environmental data can be acquired through an environmental sensor, such as a light sensor, for example, light and shade, and a humidity sensor acquires humidity in the air; for example, a vibration sensor may be used to collect the heartbeat of the user, and a locatable sensor may be used to collect the position information, which is not limited in this embodiment.
S402, the main device receives the state data returned by the wearable massage instrument.
Optionally, if the master device does not receive the status data returned by the wearable massage apparatus over a preset time period, it is determined that the wearable massage apparatus is offline.
The main equipment receives state data returned by the wearable massage instrument, or if the state data returned by the wearable massage instrument is not received in a preset time period, the wearable massage instrument is determined to be offline. The preset time period may be determined according to actual conditions, for example, 15s, 30s, 1min, and the like, which is not limited in this embodiment.
In this embodiment, after the main device is connected with the wearable massage apparatus, the main device and the wearable massage apparatus can perform data interaction, thereby realizing the control of the main device on the wearable massage apparatus.
An embodiment in which the execution subject is a cloud server is explained below.
In one embodiment, the present application provides a method of connecting a wearable massage apparatus, as shown in fig. 6, the method comprising:
s501, the cloud server verifies the validity of the equipment identification signal code sent by the main equipment; the equipment identification signal code is sent when a connection success response returned by the wearable massage instrument is not received after the equipment identification signal code is sent to the wearable massage instrument by the main equipment; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument.
And S502, if the cloud server verifies that the equipment identification signal code is illegal, indicating that the main equipment does not have the authority of establishing connection with the wearable massage instrument.
And S503, if the cloud server verifies that the equipment identification signal code is legal, indicating the main equipment to establish connection with the wearable equipment again.
In this embodiment, the principle and implementation of each step are the same as the process of the embodiment executed by the main device, and reference may be made to the description in the embodiment executed by the main device, which is not described herein again.
According to the connection method of the wearable massager, after the cloud server verifies that the main device sends the device identification signal code to the wearable massager, the cloud server does not receive the connection returned by the wearable massager and sends the device identification signal code when the connection response is received, the cloud server is used for verifying the legality of the device identification signal code of whether the main device has the authority of being connected with the wearable massager, if the device identification signal code is illegal, the cloud server indicates that the main device does not have the authority of being connected with the wearable massager, and if the device identification signal code is legal, the cloud server indicates the main device to be connected with the wearable massager again. According to the method, after the main equipment sends the equipment identification signal code to the wearable massage instrument, when the connection successful response returned by the wearable massage instrument is not received, the legality of the equipment identification signal code is verified, the main equipment is continuously connected with the wearable massage instrument only when the equipment identification signal code is legal, the potential safety hazard generated by the wearable massage instrument due to the fact that the main equipment without permission is randomly connected with the wearable massage instrument when the equipment identification signal code is cracked and is an illegal equipment identification signal code is avoided, and the safety of the wearable massage instrument is effectively improved and guaranteed.
In one embodiment, as shown in fig. 7, the step S501 includes:
s601, the cloud server receives an equipment identification code sent by the main equipment; the equipment identification code represents the identity of the wearable massage apparatus.
S602, the cloud server determines an original equipment identification signal code of the wearable massage instrument according to the equipment identification code, and compares whether the original equipment identification signal code is consistent with the equipment identification signal code or not; wherein, the equipment identification code of every wearable massage appearance corresponds with equipment identification signal code is unique.
And S603, if the original equipment identification signal code is consistent with the equipment identification signal code, the cloud server determines that the equipment identification signal code is legal.
And S604, if the original equipment identification signal code is inconsistent with the equipment identification signal code, the cloud server determines that the equipment identification signal code is illegal.
In this embodiment, the principle and implementation of each step are the same as the process of the embodiment executed by the main device, and reference may be made to the description in the embodiment executed by the first main device, which is not described herein again.
In this embodiment, the cloud server determines the device identification signal code through the device identification code, and the accuracy of the device identification signal code of the wearable massage apparatus is ensured. And the verification is carried out by comparing with the original equipment identification signal code of the official place, so that the connection safety of the wearable massage instrument is ensured.
In one embodiment, after the cloud server determines that the device identification signal code is illegal, the method further includes: the cloud server determines that the equipment identification signal code is an illegal equipment identification signal code, and sends the illegal equipment identification signal code to the wearable massage instrument so as to indicate the wearable massage instrument to carry out illegal code filing.
If the equipment identification signal code that the main equipment sent is illegal, the cloud ware can confirm this equipment identification signal code as illegal equipment identification signal code, then send illegal equipment identification signal code for wearable massage appearance, for example, send the communication module for wearable massage appearance through high in the clouds communication module, thus, wearable massage appearance is with illegal equipment identification signal code record in wearable massage appearance comparator, can dress the massage appearance and carry out illegal code filing to illegal equipment identification signal code, and like this, when having the same illegal equipment identification signal code to send for wearable massage appearance, then wearable massage appearance directly refuses the main equipment to call the request of wearable massage appearance data, the security of wearable massage appearance has been improved.
Referring to the interaction diagram shown in fig. 8, the present application further provides a connection method of a wearable massage apparatus, where the connection method includes:
s1, the main device sends a device identification signal code to the wearable massage instrument;
s2, the wearable massage apparatus sends a connection success response to the main device, or does not send the response;
s3, if the main equipment does not receive a connection success response returned by the wearable massage instrument within a preset time, acquiring the equipment identification code of the wearable massage instrument, sending the equipment identification code to a cloud server,
s4, the cloud server receives the equipment identification code sent by the main equipment;
s5, the cloud server determines an original equipment identification signal code of the wearable massage instrument according to the equipment identification code, compares whether the original equipment identification signal code is consistent with the equipment identification signal code, and verifies the validity of the equipment identification signal code according to the comparison result;
s6, the cloud server determines that the equipment identification signal code is an illegal equipment identification signal code and sends the illegal equipment identification signal code to the wearable massage instrument;
s7, recording illegal codes by the wearable massage instrument;
s8, the main device establishes connection with the wearable device again, and the connection is successful;
s9, the main equipment sends a data reading instruction to the wearable massage apparatus according to a preset period;
s10, sending the state data returned by the wearable massage instrument to the main equipment;
and S11, if the master device does not receive the state data returned by the wearable massage device after the preset time, determining that the wearable massage device is off-line.
The implementation principle and technical effect of the steps in the connection method of the wearable massage apparatus provided by the above embodiment are similar to those of the previous connection method of the wearable massage apparatus, and are not described herein again.
It should be understood that although the various steps in the flow charts of fig. 2-8 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-8 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. 9, there is provided a wearable massage apparatus connection device, including: a signal code transmission module 10, a request verification module 11, a determination module 12 and a reconnection module 13, wherein,
the signal code sending module 10 is used for sending an equipment identification signal code to the wearable massage instrument; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument;
the request verification module 11 is configured to request the cloud server of the wearable massage apparatus to verify the validity of the device identification signal code if a connection success response returned by the wearable massage apparatus is not received;
the determining module 12 is used for determining that the wearable massager does not have the authority to establish connection with the wearable massager if the equipment identification signal code is illegal;
and the reconnection module 13 is used for establishing connection with the wearable massager again if the equipment identification signal code is legal.
In one embodiment, the request verification module 11 comprises
The verification unit is used for requesting the cloud server to verify whether an original equipment identification signal code of the wearable massage instrument stored in the cloud server is consistent with an equipment identification signal code if a connection success response returned by the wearable massage instrument is not received within a preset time length;
the first determining unit is used for determining that the equipment identification signal code is legal if the original equipment identification signal code is consistent with the equipment identification signal code; and if the original equipment identification signal code is inconsistent with the equipment identification signal code, determining that the equipment identification signal code is illegal.
In an embodiment, the verification unit is specifically configured to acquire an equipment identification code of the wearable massage apparatus; the equipment identification code represents an identity of the wearable massage apparatus; sending the equipment identification code to a cloud server to instruct the cloud server to determine an original equipment identification signal code of the wearable massager according to the equipment identification code, and comparing whether the original equipment identification signal code is consistent with the equipment identification signal code; wherein, the equipment identification code of every wearable massage appearance corresponds with equipment identification signal code is unique.
In an embodiment, the verification unit is further specifically configured to determine that the main device does not have the authority to establish a connection with the wearable massage apparatus if an answer that the device identification code returned by the cloud server is incorrect is received.
In an embodiment, the reconnection module 13 is specifically configured to repeatedly send the device identification signal code to the wearable massage apparatus until a connection success response returned by the wearable massage apparatus is received; or sending a maintenance request to a service platform of the wearable massage instrument, and establishing connection with the wearable massage instrument according to a maintenance result of the service platform.
In one embodiment, the method further comprises: and the receiving module is used for successfully connecting the main equipment and the wearable massage instrument if the main equipment receives a connection success response returned by the wearable massage instrument after the main equipment sends the equipment identification signal code to the wearable massage instrument.
In one embodiment, the apparatus further comprises:
the data instruction sending module is used for sending a data reading instruction to the wearable massage instrument according to a preset period; the data reading instruction is used for indicating the wearable massage instrument to acquire state data;
and the state data receiving module is used for receiving the state data returned by the wearable massage instrument.
In one embodiment, the apparatus further comprises: and the offline module is used for determining that the wearable massage instrument is offline if the main equipment does not receive the state data returned by the wearable massage instrument after the preset time length is exceeded.
In one embodiment, the present application provides a wearable massager attachment, the device comprising:
the verification module is used for verifying the validity of the equipment identification signal code sent by the main equipment; the equipment identification signal code is sent when a connection success response returned by the wearable massage instrument is not received after the equipment identification signal code is sent to the wearable massage instrument by the main equipment; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument;
the first indication module is used for indicating that the main equipment does not have the authority of establishing connection with the wearable massage instrument if the equipment identification signal code is verified to be illegal;
and the second indicating module is used for indicating the main equipment to establish connection with the wearable equipment again if the equipment identification signal code is verified to be legal.
In one embodiment, the verification module includes:
the identification code receiving unit is used for receiving the equipment identification code sent by the main equipment; the equipment identification code represents an identity of the wearable massage apparatus;
the comparison unit is used for determining an original equipment identification signal code of the wearable massage instrument according to the equipment identification code and comparing whether the original equipment identification signal code is consistent with the equipment identification signal code or not; the equipment identification code of each wearable massager is uniquely corresponding to the equipment identification signal code;
the second determining unit is used for determining that the equipment identification signal code is legal if the original equipment identification signal code is consistent with the equipment identification signal code; and if the original equipment identification signal code is inconsistent with the equipment identification signal code, determining that the equipment identification signal code is illegal.
In one embodiment, the apparatus further comprises: and the recording unit is used for determining that the equipment identification signal code is an illegal equipment identification signal code, and sending the illegal equipment identification signal code to the wearable massage instrument so as to indicate the wearable massage instrument to record the illegal code.
The implementation principle and technical effect of the connection device of all wearable massage apparatuses provided by the above embodiments are similar to those of the connection method embodiments of the wearable massage apparatuses, and are not described herein again.
For specific limitations of the connection device of the wearable massage apparatus, reference may be made to the above limitations of the connection method of the wearable massage apparatus, which are not described herein again. The modules in the connection device of the wearable massage apparatus can be wholly or partially 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. 10. 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 performing wired or wireless Communication with an external terminal, and the wireless Communication can be realized through WIFI, an operator network, Near Field Communication (NFC) or other technologies. The computer program is executed by a processor to implement a method of connecting 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 above-described architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the present solution, and does not constitute a limitation on the computing devices to which the present solution applies, 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:
sending an equipment identification signal code to the wearable massage instrument; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument;
if a connection success response returned by the wearable massage instrument is not received, requesting a cloud server of the wearable massage instrument to verify the validity of the equipment identification signal code;
if the equipment identification signal code is illegal, determining that the equipment identification signal code does not have the authority of establishing connection with the wearable massage instrument;
and if the equipment identification signal code is legal, establishing connection with the wearable massage instrument again.
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:
sending an equipment identification signal code to the wearable massage instrument; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massage instrument;
if a connection success response returned by the wearable massage instrument is not received, requesting a cloud server of the wearable massage instrument to verify the validity of the equipment identification signal code;
if the equipment identification signal code is illegal, determining that the equipment identification signal code does not have the authority of establishing connection with the wearable massage instrument;
and if the equipment identification signal code is legal, establishing connection with the wearable massage instrument again.
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 (15)

1. A method of connecting a wearable massager, the method comprising:
the main equipment sends an equipment identification signal code to the wearable massage instrument; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massager or not;
if the main equipment does not receive a connection success response returned by the wearable massage instrument, requesting a cloud server of the wearable massage instrument to verify the validity of the equipment identification signal code;
if the equipment identification signal code is illegal, the main equipment determines that the main equipment does not have the authority of establishing connection with the wearable massager;
and if the equipment identification signal code is legal, the main equipment is connected with the wearable massager again.
2. The method of claim 1, wherein requesting the cloud server of the wearable massage apparatus to verify the validity of the device identification signal code if the master device does not receive a connection success response returned by the wearable massage apparatus comprises:
if the main equipment does not receive a connection success response returned by the wearable massage instrument within a preset time length, requesting the cloud server to verify whether an original equipment identification signal code of the wearable massage instrument stored in the cloud server is consistent with the equipment identification signal code;
if the original equipment identification signal code is consistent with the equipment identification signal code, the main equipment determines that the equipment identification signal code is legal;
and if the original equipment identification signal code is inconsistent with the equipment identification signal code, the main equipment determines that the equipment identification signal code is illegal.
3. The method of claim 2, wherein the requesting the cloud server to verify whether the original device identification signal code of the wearable massager stored in the cloud server is consistent with the device identification signal code comprises:
the main equipment acquires an equipment identification code of the wearable massage instrument; the equipment identification code represents an identity of the wearable massage apparatus;
the main equipment sends the equipment identification code to the cloud server to indicate the cloud server to determine an original equipment identification signal code of the wearable massager according to the equipment identification code, and compares whether the original equipment identification signal code is consistent with the equipment identification signal code; wherein, the equipment identification code of every wearable massage appearance corresponds with equipment identification signal code is unique.
4. The method of claim 3, wherein after the master device sends the device identification code to the cloud server, the method further comprises:
and if the main equipment receives the response that the equipment identification code returned by the cloud server is incorrect, determining that the main equipment does not have the authority of establishing connection with the wearable massage instrument.
5. The method of any one of claims 1-4, wherein the master device reestablishes a connection with the wearable massager, comprising:
the main equipment repeatedly sends the equipment identification signal code to the wearable massager until a connection success response returned by the wearable massager is received; or,
and the main equipment sends a maintenance request to a service platform of the wearable massage instrument and establishes connection with the wearable massage instrument according to the maintenance result of the service platform.
6. The method according to any one of claims 1-4, further comprising:
after the main device sends a device identification signal code to the wearable massage instrument, if the main device receives a connection success response returned by the wearable massage instrument, the main device is successfully connected with the wearable massage instrument.
7. The method of claim 6, wherein after the primary device establishes a connection with the wearable massager, the method further comprises:
the main equipment sends a data reading instruction to the wearable massage instrument according to a preset period; the data reading instruction is used for indicating the wearable massage instrument to acquire state data;
and the main equipment receives the state data returned by the wearable massage instrument.
8. The method of claim 7, wherein after the master device sends data reading instructions to the wearable massager according to a preset period, the method further comprises:
and if the main equipment does not receive the state data returned by the wearable massage instrument after exceeding the preset time, determining that the wearable massage instrument is off-line.
9. A method of connecting a wearable massager, the method comprising:
the cloud server verifies the validity of the equipment identification signal code sent by the main equipment; the equipment identification signal code is sent when a connection success response returned by the wearable massage instrument is not received after the main equipment sends the equipment identification signal code to the wearable massage instrument; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massager or not;
if the cloud server verifies that the equipment identification signal code is illegal, indicating that the main equipment does not have the authority of establishing connection with the wearable massage instrument;
and if the cloud server verifies that the equipment identification signal code is legal, indicating the main equipment to establish connection with the wearable equipment again.
10. The method according to claim 9, wherein the cloud server verifies the validity of the device identification number sent by the master device, and comprises:
the cloud server receives a device identification code sent by the main device; the equipment identification code represents an identity of the wearable massage apparatus;
the cloud server determines an original equipment identification signal code of the wearable massager according to the equipment identification code, and compares whether the original equipment identification signal code is consistent with the equipment identification signal code or not; the equipment identification code of each wearable massager is uniquely corresponding to the equipment identification signal code;
if the original equipment identification signal code is consistent with the equipment identification signal code, the cloud server determines that the equipment identification signal code is legal;
and if the original equipment identification signal code is inconsistent with the equipment identification signal code, the cloud server determines that the equipment identification signal code is illegal.
11. The method of claim 10, wherein after the cloud server determines that the device identification signal code is illegal, the method further comprises:
and the cloud server determines that the equipment identification signal code is an illegal equipment identification signal code, and sends the illegal equipment identification signal code to the wearable massage instrument so as to indicate the wearable massage instrument to record the illegal code.
12. A connection device of a wearable massage apparatus, the device comprising:
the signal code sending module is used for sending an equipment identification signal code to the wearable massage instrument; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massager or not;
the request verification module is used for requesting a cloud server of the wearable massage instrument to verify the validity of the equipment identification signal code if a connection success response returned by the wearable massage instrument is not received;
the determining module is used for determining that the wearable massager does not have the authority of establishing connection with the wearable massager if the equipment identification signal code is illegal;
and the reconnection module is used for reconnecting with the wearable massager if the equipment identification signal code is legal.
13. A connection device of a wearable massage apparatus, the device comprising:
the verification module is used for verifying the validity of the equipment identification signal code sent by the main equipment; the equipment identification signal code is sent when a connection success response returned by the wearable massage instrument is not received after the main equipment sends the equipment identification signal code to the wearable massage instrument; the equipment identification signal code is used for verifying whether the main equipment has the authority of being connected with the wearable massager or not;
the first indicating module is used for indicating that the main equipment does not have the authority of establishing connection with the wearable massage instrument if the equipment identification signal code is verified to be illegal;
and the second indicating module is used for indicating the main equipment to establish connection with the wearable equipment again if the equipment identification signal code is verified to be legal.
14. 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.
15. 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.
CN202010208560.1A 2020-03-23 2020-03-23 Connection method and device of wearable massage instrument, computer equipment and storage medium Active CN113438260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010208560.1A CN113438260B (en) 2020-03-23 2020-03-23 Connection method and device of wearable massage instrument, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010208560.1A CN113438260B (en) 2020-03-23 2020-03-23 Connection method and device of wearable massage instrument, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113438260A true CN113438260A (en) 2021-09-24
CN113438260B CN113438260B (en) 2023-06-27

Family

ID=77752579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010208560.1A Active CN113438260B (en) 2020-03-23 2020-03-23 Connection method and device of wearable massage instrument, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113438260B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141342A (en) * 2015-02-15 2015-12-09 美的集团股份有限公司 Method and system used for adding power line carrier wave communication network to electric appliance equipment
CN105307287A (en) * 2015-10-19 2016-02-03 宇龙计算机通信科技(深圳)有限公司 Connection method and wearable equipment
CN105635174A (en) * 2016-02-03 2016-06-01 武汉天梯极客网络科技有限公司 Intelligent device sharing method
CN106797561A (en) * 2014-11-29 2017-05-31 华为技术有限公司 A kind of identity identifying method and wearable device
CN109274563A (en) * 2018-10-10 2019-01-25 耘申信息科技(上海)有限公司 Equipment connection method and device
CN109448209A (en) * 2019-01-07 2019-03-08 上海早米网络科技有限公司 A kind of dynamic password massage control system and control method based on off-line mode
CN109544752A (en) * 2018-11-26 2019-03-29 Oppo广东移动通信有限公司 Control method, device, terminal and the storage medium of access control equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106797561A (en) * 2014-11-29 2017-05-31 华为技术有限公司 A kind of identity identifying method and wearable device
CN105141342A (en) * 2015-02-15 2015-12-09 美的集团股份有限公司 Method and system used for adding power line carrier wave communication network to electric appliance equipment
CN105307287A (en) * 2015-10-19 2016-02-03 宇龙计算机通信科技(深圳)有限公司 Connection method and wearable equipment
CN105635174A (en) * 2016-02-03 2016-06-01 武汉天梯极客网络科技有限公司 Intelligent device sharing method
CN109274563A (en) * 2018-10-10 2019-01-25 耘申信息科技(上海)有限公司 Equipment connection method and device
CN109544752A (en) * 2018-11-26 2019-03-29 Oppo广东移动通信有限公司 Control method, device, terminal and the storage medium of access control equipment
CN109448209A (en) * 2019-01-07 2019-03-08 上海早米网络科技有限公司 A kind of dynamic password massage control system and control method based on off-line mode

Also Published As

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

Similar Documents

Publication Publication Date Title
CN111066284B (en) Service certificate management method, terminal and server
US10506068B2 (en) Cloud-based cross-device digital pen pairing
US20170093851A1 (en) Biometric authentication system
US20160241544A1 (en) User identity verification method and system, password protection apparatus and storage medium
TW201516914A (en) Method and related apparatus for safety payment and system thereof
US20160171220A1 (en) Display control method and apparatus and display device comprising same
CN105337974A (en) Account authorization method, account login method, account authorization device and client end
CN111355723B (en) Single sign-on method, device, equipment and readable storage medium
CN109451496B (en) Connection authentication method and authentication system thereof
CN110691085A (en) Login method, login device, password management system and computer readable medium
US20180004934A1 (en) Systems and methods to enable automatic password management in a proximity based authentication
CN111049946A (en) Portal authentication method, Portal authentication system, electronic equipment and storage medium
CN108234483B (en) User login contract continuing method, device, terminal and storage medium
US11934247B2 (en) Information processing apparatus and information processing method
CN111131144B (en) IoT (Internet of things) equipment management method, device, server and storage medium
JP2016000436A (en) Robot control system
KR101600455B1 (en) Method, system and recording medium for service account authentication
CN113438264B (en) Wearable massager connection method, device, computer equipment and storage medium
CN112685719A (en) Single sign-on method, device, system, computer equipment and storage medium
CN113438260A (en) Connection method and device of wearable massage instrument, computer equipment and storage medium
KR20200101053A (en) Electronic device and certification method in electronic device
CN113616469B (en) Control method and device of massage equipment, computer equipment and storage medium
CN113438261A (en) Connection method and device of wearable massage instrument, computer equipment and storage medium
CN104378202A (en) Information processing method, electronic terminal and server
JP2016062189A (en) Personal authentication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

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

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

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

Patentee before: Future wearable technology Co.,Ltd.