CN111642031B - Method for connecting multiple devices, electronic device and computer readable storage medium - Google Patents

Method for connecting multiple devices, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN111642031B
CN111642031B CN202010365850.7A CN202010365850A CN111642031B CN 111642031 B CN111642031 B CN 111642031B CN 202010365850 A CN202010365850 A CN 202010365850A CN 111642031 B CN111642031 B CN 111642031B
Authority
CN
China
Prior art keywords
master device
connection
slave
master
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010365850.7A
Other languages
Chinese (zh)
Other versions
CN111642031A (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 CN202010365850.7A priority Critical patent/CN111642031B/en
Publication of CN111642031A publication Critical patent/CN111642031A/en
Application granted granted Critical
Publication of CN111642031B publication Critical patent/CN111642031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application relates to the technical field of communication, and discloses a method for connecting multiple devices, an electronic device and a computer readable storage medium, wherein the method is applied to a first main device and comprises the following steps: establishing a first connection relation with the slave equipment according to the acquired connection information of the slave equipment; when a connection request of a second master device is received, judging whether a requirement for maintaining a first connection relation with a slave device exists; if not, establishing communication connection with the second master device according to the connection request, and sending the connection information to the second master device through the communication connection, wherein the connection information is used for sending the connection information to the slave device by the second master device so as to trigger the slave device to break the first connection relation, and establishing the second connection relation with the second master device. By implementing the embodiment of the application, the connection stability between the devices with the established connection relation can be improved.

Description

Method for connecting multiple devices, electronic device and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for connecting multiple devices, an electronic device, and a computer-readable storage medium.
Background
When a plurality of masters and slaves are connected for data transmission, a situation that the masters initiate connection requests to the same slave is often encountered, and a conventional slave generally establishes a connection relationship only with the master that has sent the connection request first, so that connection requests subsequently sent by other unconnected masters may interfere with the connection between the connected masters and slaves, which is not favorable for improving the connection stability between the devices that have established the connection relationship.
Disclosure of Invention
The embodiment of the application discloses a method for connecting multiple devices, an electronic device and a computer readable storage medium, which can improve the connection stability of the devices with established connection relation.
A first aspect of an embodiment of the present application discloses a method for connecting multiple devices, which is applied to a first master device, and the method includes:
establishing a first connection relation with the slave equipment according to the acquired connection information of the slave equipment;
when a connection request of a second master device is received, judging whether a requirement for maintaining the first connection relation with the slave device exists;
if not, establishing communication connection with the second master device according to the connection request, and sending the connection information to the second master device through the communication connection, wherein the connection information is used for sending the connection information to the slave device by the second master device so as to trigger the slave device to disconnect the first connection relation, and establish a second connection relation with the second master device.
As an optional implementation manner, in the first aspect of this embodiment of the present application, the method further includes:
and if the first master device and the slave device are judged to have the requirement of maintaining the first connection relation, stopping receiving the connection request of the second master device.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the determining whether there is a need to maintain the first connection relationship with the slave device includes:
judging whether the first master device has a requirement of sending a calling instruction to the slave device through the first connection relation or not, and whether the first master device receives feedback information sent by the slave device according to the received calling instruction or not;
if the first master device does not send the requirement of calling instruction to the slave device through the first connection relationship and the calling instruction sent by the first master device receives the feedback information sent by the slave device according to the received calling instruction, determining that the first master device does not have the requirement of maintaining the first connection relationship with the slave device;
and if the first master device has a requirement for sending a call instruction to the slave device through the first connection relationship and/or the first master device does not receive feedback information sent by the slave device according to the received call instruction, determining that the first master device has a requirement for maintaining the first connection relationship with the slave device.
As an optional implementation manner, in the first aspect of the embodiment of the present application, after the establishing the first connection relationship with the slave device according to the acquired connection information of the slave device, the method further includes:
receiving data collected by the slave equipment according to the first connection relation;
and, after the sending the connection information to the second master device over the communication connection, the method further comprises:
and binding and uploading the data and the main equipment identification information of the first main equipment to a target storage.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the receiving, according to the first connection relationship, data collected by the slave device includes:
sending a data reading instruction to the slave equipment at intervals of a preset first time length according to the first connection relation, wherein the data reading instruction is used for indicating the slave equipment to correct a clock and collect data;
and receiving the data fed back by the slave equipment and storing the data to a local memory of the first master equipment.
As an optional implementation manner, in the first aspect of this embodiment of the present application, the binding and uploading the data and the master device identification information of the first master device to a target storage includes:
retrieving the data from a local memory of the first master device;
and generating a data packet according to the data and the main equipment identification information of the first main equipment, and uploading the data packet to a target memory.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the sending the connection information to the second master device through the communication connection includes:
and when a reading request for reading the data of the slave equipment, which is sent by the second master equipment, is received according to the communication connection, responding to the reading request and sending the connection information to the second master equipment.
As an optional implementation manner, in the first aspect of this embodiment of the present application, the sending the connection information to the second master device in response to the read request includes:
stopping sending the data reading instruction to the slave device;
judging whether the data fed back by the slave equipment is received within a preset second time length;
and if the data fed back by the slave equipment is not received within the preset second duration, responding to the reading request and sending the connection information to the second master equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the establishing a first connection relationship with the slave device according to the acquired connection information of the slave device includes:
sending the obtained slave device identification information of the slave device to a management device, wherein the slave device identification information is used for requesting the management device to feed back connection information corresponding to the slave device identification information;
and receiving the connection information fed back by the management equipment, and establishing a first connection relation with the slave equipment according to the connection information.
As an optional implementation manner, in the first aspect of the embodiment of the present application, after the receiving the connection information fed back by the management device, and establishing a first connection relationship with the slave device according to the connection information, the method further includes:
sending the main device identification information of the first main device to the management device, wherein the main device identification information is used for judging whether other main devices requesting to acquire the connection information have the acquisition permission or not by the management device according to the main device identification information; the master device with the master device identification information matched with the master device identification information of the first master device has the acquisition permission, and the master device with the master device identification information not matched with the master device identification information of the first master device does not have the acquisition permission.
A second aspect of the embodiment of the present application discloses a method for communication among multiple devices, which is applied to a second master device, and the method includes:
sending a connection request to first master equipment, wherein the first master equipment establishes a first connection relation with slave equipment according to connection information of the slave equipment;
receiving connection information sent by the first master device through a communication connection established with the first master device, wherein the communication connection is established according to the connection request after the first master device determines that the first connection relation with the slave device is not maintained;
and sending the connection information to the slave equipment, wherein the connection information is used for triggering the slave equipment to break the first connection relation and establishing a second connection relation with the second master equipment.
As an optional implementation manner, in a second aspect of embodiments of the present application, the receiving connection information sent by the first master device through a communication connection established with the first master device includes:
sending a reading request for reading the data of the slave device to the first master device through a communication connection established with the first master device, wherein the reading request is used for requesting the first master device to send connection information;
and receiving connection information sent by the first main device in response to the reading request through the communication connection.
As an optional implementation manner, in a second aspect of the embodiment of the present application, the read request is specifically configured to trigger the first master device to stop sending a data reading instruction to the slave device, and request the first master device to send connection information when the first master device does not receive data fed back by the slave device according to the data reading instruction within a preset second duration; the data reading instruction is used for instructing the slave device to correct a clock and collect data.
As an optional implementation manner, in the second aspect of the embodiment of the present application, after the sending the connection information to the slave device, the method further includes:
receiving data collected by the slave equipment according to the second connection relation;
and when judging that the second master device does not have the requirement for maintaining the second connection relation with the slave device, binding and uploading the data and the master device identification information of the second master device to a target memory.
A third aspect of the embodiments of the present application discloses a method for communication among multiple devices, which is applied to a slave device, and the method includes:
establishing a first connection relation with a first master device which sends the connection information of the slave device;
and when receiving the connection information sent by a second main device, disconnecting the first connection relationship and establishing a second connection relationship with the second main device, wherein the connection information sent by the second main device is sent to the second main device by the first main device when judging that the first main device does not have the requirement of maintaining the first connection relationship.
As an optional implementation manner, in the third aspect of the embodiment of the present application, after the establishing the first connection relationship with the first master device that sends the connection information of the slave device, the method further includes:
and acquiring first data and sending the first data to the first main device according to the first connection relation, wherein the first data is used for binding and uploading the first data and main device identification information of the first main device to a target memory by the first main device after the first main device sends the connection information to the second main device.
As an optional implementation manner, in the third aspect of the embodiment of the present application, the acquiring first data and sending the first data to the first master device according to the first connection relationship includes:
when a data reading instruction sent by the first master device every a preset first time length is received according to the first connection relation, correcting a clock according to the data reading instruction and collecting first data;
and sending the first data to the first main device according to the first connection relation.
As an optional implementation manner, in the third aspect of this embodiment of the present application, after the disconnecting the first connection relationship and establishing a second connection relationship with the second master device, the method further includes:
and acquiring second data and sending the second data to the second master device according to the second connection relation, wherein the second data is used for binding and uploading the second data and master device identification information of the second master device to a target memory by the second master device when the second master device judges that the second master device does not have the requirement of maintaining the second connection relation with the slave device.
A fourth aspect of the embodiments of the present application discloses an electronic device, including:
the first establishing unit is used for establishing a first connection relation with the slave equipment according to the acquired connection information of the slave equipment;
a judging unit, configured to judge whether there is a need to maintain the first connection relationship with the slave device when a connection request of a second master device is received;
a first sending unit, configured to, when the determining unit determines that the first master device does not have a requirement for maintaining the first connection relationship with the slave device, establish a communication connection with the second master device according to the connection request, and send the connection information to the second master device through the communication connection, where the connection information is used by the second master device to send the connection information to the slave device, so as to trigger the slave device to disconnect the first connection relationship, and establish a second connection relationship with the second master device.
A fifth aspect of an embodiment of the present application discloses an electronic device, including:
the device comprises a request unit, a first master device and a second master device, wherein the request unit is used for sending a connection request to the first master device, and the first master device establishes a first connection relation with the slave device according to the connection information of the slave device;
a receiving unit, configured to receive connection information sent by the first master device through a communication connection established with the first master device, where the communication connection is established according to the connection request after the first master device determines that the first connection relationship is not maintained with the slave device;
and the second sending unit is used for sending the connection information to the slave equipment, wherein the connection information is used for triggering the slave equipment to disconnect the first connection relation and establishing a second connection relation with the second master equipment.
A sixth aspect of an embodiment of the present application discloses an electronic device, including:
a second establishing unit, configured to establish a first connection relationship with a first master device that sends connection information of a slave device;
a disconnection unit, configured to, when receiving the connection information sent by a second master device, disconnect the first connection relationship and establish a second connection relationship with the second master device, where the connection information sent by the second master device is sent to the second master device by the first master device when determining that the first master device does not have a need to maintain the first connection relationship.
An eighth aspect of the embodiments of the present application discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the inter-device control method disclosed in the first aspect of the embodiment of the present application.
An eighth aspect of the embodiments of the present application discloses a computer-readable storage medium, which stores a computer program, where the computer program enables a computer to execute the method for controlling among multiple devices disclosed in the first aspect of the embodiments of the present application.
A ninth aspect of an embodiment of the present application discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the inter-device control method disclosed by the second aspect of the embodiment of the application.
A tenth aspect of the embodiments of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a method for controlling among multiple devices, which is disclosed in the second aspect of the embodiments of the present application.
An eleventh aspect of an embodiment of the present application discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the inter-device control method disclosed in the third aspect of the embodiment of the present application.
A twelfth aspect of the embodiments of the present application discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer to execute a method for controlling multiple devices disclosed in the third aspect of the embodiments of the present application.
A thirteenth aspect of embodiments of the present application discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods disclosed in the above embodiments.
A fourteenth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where when the computer program product runs on a computer, the computer is caused to perform part or all of the steps of any one of the methods disclosed in the foregoing embodiments.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
in the implementation of the application, the first master device can establish a connection relationship with the slave device according to the acquired connection information of the slave device; further, if a second master device wants to connect to the slave device, the first master device may determine whether it has a need to continue to connect to the slave device to determine whether to send connection information that can connect to the slave device to the second master device. That is to say, the second master device wants to connect with the slave device, and the second master device needs to be allowed to connect with the slave device only when the first master device determines that the first master device does not have a connection requirement, so that the slave device can be orderly arranged to be connected with only one master device with a connection requirement at a time, the situation that one slave device needs to respond to a plurality of master devices at the same time is avoided, the stability of the connection relationship between the master device and the slave device is improved, and the situation that the master device and the slave device are connected by mistake can be prevented.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described 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 that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic application scenario diagram of a connection method between multiple devices disclosed in an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for connecting multiple devices according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another method for connecting multiple devices according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another method for connecting multiple devices according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a further method for connecting multiple devices according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of a further method for connecting multiple devices according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 8 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application;
fig. 9 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present application;
fig. 10 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present application.
Detailed Description
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 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.
It should be noted that the terms "first", "second", "third" and "fourth" etc. in the description and claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and "having," and any variations thereof, of the embodiments of the present application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a method for connecting multiple devices, an electronic device and a computer readable storage medium, which can improve the connection stability of the devices with established connection relation.
The technical solution of the present application will be described in detail with reference to specific examples.
It should be noted that the method for connecting multiple devices disclosed in the embodiment of the present application may be applied to a scenario in which 3 or more than 3 electronic devices are connected, and in order to more clearly describe the method for connecting multiple devices disclosed in the embodiment of the present application, an application scenario applicable to the method for connecting multiple devices disclosed in the embodiment of the present application is first introduced. Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a connection method between multiple devices disclosed in an embodiment of the present application, and as shown in fig. 1, a first master device 101 may establish a first connection relationship with a slave device 102 through connection information of the slave device 102; when the first master device 101 receives a connection request sent by the second master device 103, the first master device 101 may determine whether there is a need to maintain the first connection relationship with the slave device 102, and if the first master device 101 does not have the need to maintain the first connection relationship with the slave device 102, the first master device 101 may establish a communication connection with the second master device 103 according to the connection request, and send connection information to the second master device 103 through the communication connection, so that the second master device 103 may establish a second connection relationship with the slave device 102 through the connection information; it is obvious that fig. 1 is only an example, and the number of the second master devices 103 may be one or more (including two or more), and is not limited to one shown in fig. 1. Optionally, the first master device 101 and the second master device 103 may send a data reading instruction to the slave device 102, and then the slave device 102 may collect data according to the data reading instruction and feed back the collected data to the first master device 101 or the second master device 103; when receiving the data, the first master device 101 or the second master device 103 may upload the data bound with its own master identification information to the target storage 104. Thereafter, if the remote control platform 105 has a need to call the data in the target storage 104, it can determine from the master identification information which master the called data originated from. In some embodiments, the first master device 101 and the second master device 103 may be various devices (e.g., a smart phone, a computer, a wearable device, a portable terminal, etc.) with a communication function, and the slave device 102 may be a massage device (e.g., a neck massager, an eye massager, etc.) or another terminal device (e.g., a smart phone, a tablet computer, etc.), which is not limited herein. The target storage 104 may be a storage on a server (e.g., a cloud platform, a server cluster, etc.), or may be a storage on another terminal device other than the main device, which is not limited herein. The remote control platform 105 may be a server, a cloud platform, etc. for managing and analyzing data, and is not limited herein.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for connecting multiple devices according to an embodiment of the present disclosure. The connection method is applicable to the first master device described in the above embodiments, and as shown in fig. 2, the connection method may include the steps of:
201. and establishing a first connection relation with the slave equipment according to the acquired connection information of the slave equipment.
In this embodiment of the application, the first master device may be various devices (such as a smart phone, a computer, a wearable device, a portable terminal, etc.) having a communication function; the slave device may be an electronic device such as a massage device that can provide services for a user, and optionally, the first master device may control the slave device to perform operations, such as controlling the slave device to turn on, turn off, perform various service functions, and the like. In some embodiments, the slave device may collect data that may include physiological parameters of the user, operational parameters of the device, etc., such as heartbeat parameters, skin impedance, slave device power or chip temperature, etc., without limitation.
The connection information of the slave device may be a pass ticket for connecting with the slave device, which may be a signal code, a two-dimensional code, or the like, but is not limited thereto. Optionally, after aligning the signal sending port of the first master device with the signal receiving port of the slave device, the first master device may send the connection information to the slave device through the signal sending port in an infrared signal manner, and after receiving the connection information, the signal receiving port of the slave device may determine whether the connection information is correct, and if so, the slave device may establish a first connection relationship with the first master device.
It should be noted that: the first connection relationship may include, but is not limited to: the wireless connection relationship established by the wireless connection modes such as bluetooth connection, Near Field Communication (NFC), local area network connection, and the like may also be a wired connection relationship established by the data line connection and the like, or even a connection relationship established by other Communication media, and the embodiment of the present application is not limited.
By implementing the method, the slave device can be limited to establish the connection relation with the master device only with the connection authority through the connection information, so that the situation that the slave device simultaneously responds to a plurality of master devices is avoided, and the connection stability between the connected slave device and the master device is improved.
As an optional implementation manner, the first master device may send the obtained slave device identification information of the slave device to the management device, and after receiving the slave device identification information sent by the first master device, the management device may feed back connection information corresponding to the slave device identification information to the first master device according to the slave device identification information. When receiving the connection information fed back by the management device, the first master device may establish a first connection relationship with the slave device according to the connection information.
In some embodiments, the slave device identification information may be a production code, barcode, serial number, or the like of the slave device for identifying the slave device, and may be recorded on the slave device or on an instruction manual of the slave device. Specifically, each piece of slave device identification information may uniquely correspond to one piece of slave device. The management device may be a cloud platform memory or other electronic device with management authority, and optionally, the management device may store a plurality of pairs of slave device identification information and connection information uniquely corresponding to the slave device identification information; or the management device may generate corresponding connection information according to the received slave device identification information. That is, the connection information may be stored in the management device or may be generated immediately by the management device, which is not limited herein.
By implementing the method, the connection information of the slave equipment can be managed through the management equipment, so that the master equipment with the slave equipment identification information can establish the connection relation with the slave equipment, and the master equipment which wants to be connected with the slave equipment is conveniently screened and managed.
202. When a connection request of a second master device is received, judging whether a requirement for maintaining a first connection relation with a slave device exists; if yes, go to step 203; if not, go to step 204.
In the embodiment of the present application, the second master device may be another device (e.g., a smart phone, a computer, a wearable device, a portable terminal, etc.) with a communication function, which is different from the first master device.
Whether there is a need to maintain the first connection relationship with the slave device may refer to whether the first master device has a need to perform data transmission with the slave device. When the first master device also requires data transfer with the slave device, it may be determined to have a need to maintain a first connection relationship with the slave device.
Optionally, when receiving the connection request of the second master device, the first master device may determine whether the first master device has a requirement to send a call instruction to the slave device through the first connection relationship, where the call instruction may include, but is not limited to, a data obtaining instruction, a request instruction for requesting connection, or a control instruction for controlling the slave device to turn on or turn off, and the like, and this is not limited herein. When the slave device receives the call instruction sent by the first master device, the slave device can send feedback information according to the call instruction; the feedback information may include data information, command information, control information, or the like, and is not limited herein. Therefore, the first master device can judge whether feedback information sent by the slave device according to the received calling instruction is received; if the first master device has a requirement for sending a call instruction to the slave device through the first connection relationship, and/or the first master device does not receive feedback information sent by the slave device according to the received call instruction, it is determined that the first master device has a requirement for maintaining the first connection relationship with the slave device, and step 203 may be executed; if the first master device does not have a requirement for sending the call instruction to the slave device through the first connection relationship, and if the call instruction sent by the first master device receives the feedback information sent by the slave device according to the received call instruction, it is determined that the first master device does not have a requirement for maintaining the first connection relationship with the slave device, and step 204 may be executed.
By implementing the method, the first master device can determine that there is no requirement for maintaining the connection relationship with the slave device under the condition that the first master device does not have the requirement for calling the slave device and the sent calling requests all receive feedback, so that the connection is prevented from being interrupted before the communication between the first master device and the slave device is finished.
Optionally, when the first master device receives connection requests sent by two or more master devices at the same time, the first master device may establish communication connection only with the master device that has sent the connection request first, and use the master device that has established communication connection as the second master device to perform subsequent steps.
By implementing the method, the first master device can be prevented from being connected with the plurality of master devices at the same time, so that the situation that the subsequent first master device sends the connection information of the slave device to the plurality of master devices to cause the subsequent plurality of master devices to send the connection information to the slave devices at the same time is avoided.
203. The reception of the connection request of the second master device is stopped.
In this embodiment of the application, if the first master device determines that there is a need for maintaining the first connection relationship with the slave device, the first master device may stop receiving the connection request of the second master device, so as to avoid the connection request of the second master device from affecting the stability of the connection relationship between the slave device and the first master device.
204. And establishing communication connection with the second master device according to the connection request, and sending connection information to the second master device through the communication connection, wherein the connection information is used for sending the connection information to the slave device by the second master device so as to trigger the slave device to break the first connection relation and establish a second connection relation with the second master device.
In the embodiment of the application, when determining that the first master device and the slave device do not have a requirement for maintaining the first connection relationship, the first master device may establish a communication connection (for example, a bluetooth connection, a near field communication connection, a local area network connection, or the like) with the second master device according to the connection request, and send the connection information to the second master device through the communication connection. After receiving the connection information sent by the first master device, the second master device may send the connection information to the slave device. When receiving the connection information sent by the second master device, the slave device disconnects the first connection relation with the first master device and establishes a second connection relation (for example, bluetooth connection, near field communication connection or local area network connection, etc.) with the second master device.
By implementing the method disclosed in each embodiment, the first master device may establish a connection relationship with the slave device according to the acquired connection information of the slave device; further, if a second master device wants to connect to the slave device, the first master device may determine whether it has a need to continue to connect to the slave device to determine whether to send connection information that can connect to the slave device to the second master device. That is to say, the second master device wants to connect with the slave device, and the second master device needs to be allowed to connect with the slave device only when the first master device determines that the first master device does not have a connection requirement, so that the slave device can be orderly arranged to be connected with only one master device with a connection requirement at a time, the situation that one slave device needs to respond to a plurality of master devices at the same time is avoided, the stability of the connection relationship between the master device and the slave device is improved, and the situation that the master device and the slave device are connected by mistake can be prevented.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another method for connecting multiple devices according to an embodiment of the present disclosure. The connection method is applicable to the first master device described in the above embodiments, and as shown in fig. 3, the connection method may include the steps of:
301. and establishing a first connection relation with the slave equipment according to the acquired connection information of the slave equipment.
302. And receiving data collected by the slave equipment according to the first connection relation.
In this embodiment of the application, the data acquired by the slave device may be sensor parameters acquired by the slave device through various sensors, such as heartbeat parameters and skin impedance acquired by a physiological sensor, or a motion step number acquired by a gyroscope built in the slave device, which is not limited herein.
As an optional implementation manner, the first master device may send a data reading instruction to the slave device at intervals of a preset first time length according to the first connection relationship, where the data reading instruction is used to instruct the slave device to correct a clock and collect data; and receiving the data fed back by the slave device and storing the data to the local memory of the first master device.
It should be noted that: the preset first time period may be 5 seconds, 8 seconds or 10 seconds, and the specific value may be set by a developer according to development data. The local storage of the first master device may be a storage medium such as a hard disk and a memory card built in the first master device, and is not limited herein.
It needs to be further explained that: the slave device can feed back one or more (including two or more) collected data to the first master device in real time through the response instruction until the data collection is completed.
By implementing the method, the slave device can correct the system clock of the slave device according to the time point included by the data reading instruction so as to ensure that the time point of the data acquisition of the slave device is aligned with the system time of the first master device, thereby facilitating subsequent arrangement.
303. When a connection request of a second master device is received, judging whether a requirement for maintaining a first connection relation with a slave device exists; if yes, go to step 304; if not, go to step 305.
304. The reception of the connection request of the second master device is stopped.
305. And establishing communication connection with the second master device according to the connection request, and sending connection information to the second master device through the communication connection, wherein the connection information is used for sending the connection information to the slave device by the second master device so as to trigger the slave device to break the first connection relation and establish a second connection relation with the second master device.
As an optional implementation manner, after establishing a communication connection with the second master device according to the connection request, if the first master device receives a read request for reading data of the slave device, which is sent by the second master device, according to the communication connection, the first master device may send the connection information to the second master device through the communication connection in response to the read request.
Optionally, the read request for reading the slave device data sent by the second master device may be a request for instructing the first master device to send connection information for connecting the slave device, or may also be data for instructing the first master device to send a feedback of the slave device received by the first master device, which is not limited herein. If the read request is a request for instructing the first master device to send connection information for connecting the slave devices, the first master device may send the connection information to the second master device; if the read request only indicates that the first master device sends the data fed back by the slave device received by the first master device, the first master device may send the received data fed back by the slave device to the second master device.
By implementing the method, the first master device can send the connection information of the slave device to the second master device when the second master device has a requirement for establishing a connection relationship with the slave device, so that the master device without the requirement for connection can be prevented from occupying the connection authority of the slave device.
As another optional implementation, after establishing a communication connection with the second master device according to the connection request, if the first master device receives, according to the communication connection, a read request for reading data of the slave device, which is sent by the second master device, the first master device may stop sending the data read instruction to the slave device; judging whether data fed back by the slave equipment is received within a preset second time length or not; and if the data fed back by the slave equipment is not received within the preset second time length, responding to the reading request and sending the connection information to the second master equipment through the communication connection.
The preset second time period may be 5 seconds, 8 seconds or 10 seconds, and the specific value may be set by a developer according to the development data, which is not limited herein.
By implementing the method, the first master device can send the connection information of the connected slave device to the second master device after the data transmission between the first master device and the slave device is ensured to be finished, so that the interruption of the unfinished data transmission process between the first master device and the slave device by the second master device is avoided.
306. And binding and uploading the data and the main equipment identification information of the first main equipment to the target storage.
In this embodiment of the application, the master device identification information of the first master device may be: the address information, the production number, or the barcode of the first master device is used to identify the identifier of the first master device, and is not limited herein. The first master device binds the received data and the identification information of the first master device to upload to the target storage, so that when the remote control platform calls the data in the target storage, whether the called data is from the first master device can be judged through the identification information of the first master device.
As an optional implementation manner, the first master device may obtain data fed back by the slave device from a local storage of the first master device; and generating a data packet according to the data and the main equipment identification information of the first main equipment, and uploading the data packet to a target memory.
Optionally, the first master device may generate the data and the master device identification information of the first master device as a data packet according to the communication protocol; the communication Protocol may include a Transmission Control Protocol/Internet Protocol (TCP/IP), which refers to a Protocol cluster capable of implementing information Transmission among a plurality of different networks.
By implementing the method, the first main device binds the data received by the first main device and the main device identification information of the first main device in a data packet mode and uploads the data to the target memory, so that the data can be compressed to save transmission resources, the data uploaded by the first main device can be conveniently inquired subsequently according to the main device identification information, and the effect of distinguishing and analyzing the data source is achieved.
By implementing the method disclosed in each embodiment, the first master device can send a data reading instruction to the slave device through the first connection relationship, so that the slave device corrects the system clock of the slave device according to the time point included in the data reading instruction, and the time point of data acquisition of the slave device is aligned with the system time of the first master device, thereby facilitating subsequent arrangement; the connection information of the slave equipment can be sent to the second master equipment when the second master equipment has a requirement for establishing a connection relation with the slave equipment, so that the master equipment without the connection requirement is prevented from occupying the connection permission of the slave equipment; and the data can be compressed to save transmission resources, and the data uploaded by the first main device can be conveniently inquired according to the identification information of the main device, so that the effect of identifying the data source is achieved.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating another method for connecting multiple devices according to an embodiment of the present disclosure. The connection method is applicable to the first master device described in the above embodiments, and as shown in fig. 4, the connection method may include the steps of:
401. and sending the obtained slave device identification information of the slave device to the management device, wherein the slave device identification information is used for requesting the management device to feed back the connection information corresponding to the slave device identification information.
402. And receiving the connection information fed back by the management equipment, and establishing a first connection relation with the slave equipment according to the connection information.
403. And sending the main equipment identification information of the first main equipment to the management equipment, wherein the main equipment identification information is used for judging whether other main equipment requesting to acquire the connection information has the acquisition permission or not by the management equipment according to the main equipment identification information.
The master device with the master device identification information matched with the master device identification information of the first master device has the acquisition permission, and the master device with the master device identification information not matched with the master device identification information of the first master device does not have the acquisition permission.
Optionally, the management device may determine that the master device requesting to acquire the connection information has the acquisition permission when determining that the identification information of the other master device requesting to acquire the connection information is the same as the master device identification information of the first master device.
Alternatively, the management device may determine that the master device requesting to acquire the connection information has the acquisition permission when determining that the identification information of the other master device requesting to acquire the connection information is in the same group as the master device identification information of the first master device.
For example: when the master device requesting to acquire the connection information and the first master device are members in the same home network, the management device may determine that other master devices in the same home network as the first master device have the acquisition right.
By implementing the method, the master equipment with the slave equipment identification information can establish a connection relation with the slave equipment, so that the master equipment which wants to be connected with the slave equipment can be screened and managed conveniently.
404. When a connection request of a second master device is received, judging whether a requirement for maintaining a first connection relation with a slave device exists; if yes, go to step 405; if not, go to step 406.
In this embodiment of the application, before the second master device wants the first master device to send the connection request, it may detect whether the slave device is already connected to the master device; if the slave device is already connected with the master device and the master device is the first master device, the second master device sends a connection request to the first master device.
As an optional implementation manner, before the first master device receives the connection request of the second master device, the second master device may obtain the connection condition of the slave device through a management unit such as a cloud platform server, and further determine, according to the connection condition of the slave device, master device information being connected with the slave device, and send the connection request to the master device being connected with the slave device.
As another optional implementation, the second master device may also query, through the local area network, connection conditions of other master devices in the local area network, and if the second master device queries, according to the connection conditions of other master devices, master device information being connected to the slave device, the second master device may send a connection request to the master device being connected to the slave device.
By implementing the method, the second master device can acquire the connection condition of the slave device through the cloud platform server or the local area network, and send a connection request to the master device which is connected with the slave device, and because the second master device is not connected with the slave device or sends a request to the slave device in the process of requesting connection, the situation that the slave device needs to respond to a plurality of master devices at the same time can be avoided, and the connection stability between the master device and the slave device with the established connection relationship is improved.
405. The reception of the connection request of the second master device is stopped.
406. And establishing communication connection with the second master device according to the connection request, and sending connection information to the second master device through the communication connection, wherein the connection information is used for sending the connection information to the slave device by the second master device so as to trigger the slave device to break the first connection relation and establish a second connection relation with the second master device.
Optionally, in the foregoing embodiments, for any one master device, in different cases, it may be the first master device or the second master device. When any master device is connected with the slave device, if the slave device is not connected with other master devices at the moment, the master device which requests the slave device to be connected with the any master device is the first master device; if any master device is connected with the slave device, and the slave device is already connected with other master devices, the master device of any one is the second master device.
By implementing the method disclosed by each embodiment, the master equipment with the slave equipment identification information can establish a connection relation with the slave equipment, so that the master equipment which wants to be connected with the slave equipment can be conveniently screened and managed; in addition, the situation that the slave equipment needs to respond to a plurality of master equipment at the same time can be avoided, and the connection stability between the master equipment and the slave equipment which have established the connection relation is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a further method for connecting multiple devices according to an embodiment of the present disclosure. The connection method is applicable to the second master device described in the above embodiments, and as shown in fig. 5, the connection method may include the steps of:
501. and sending a connection request to the first master device, wherein the first master device establishes a first connection relation with the slave device according to the connection information of the slave device.
502. And when the first master device judges that the first master device and the slave device do not have the requirement of maintaining the first connection relation and establishes communication connection with the second master device through the connection request, receiving connection information sent by the first master device through the communication connection.
As an optional implementation manner, when the first master device determines that the first master device and the slave device do not have a requirement for maintaining the first connection relationship, and establishes a communication connection with the second master device through the connection request, the second master device may send a read request for reading data of the slave device to the first master device through the communication connection, where the read request is used to request the first master device to send connection information; and the second master device may further receive, via the communication connection, connection information sent by the first master device in response to the read request.
By implementing the method, the second master device can request the connection information from the first master device when the second master device has a requirement for establishing a connection relation with the slave device, so that the master device without the requirement for connection can be prevented from occupying the connection authority of the slave device.
Optionally, the read request sent by the second master device may be specifically used to trigger the first master device to stop sending the data reading instruction to the slave device, and request the first master device to send the connection information when the first master device does not receive data fed back by the slave device according to the data reading instruction within a preset second duration; the data reading instruction is used for instructing the slave device to correct the clock and collect data.
By implementing the method, the connection information can be requested from the first master device after the data transmission between the first master device and the slave device is ensured to be finished, so that the interruption of the unfinished data transmission process between the first master device and the slave device by the second master device is avoided.
503. And sending the connection information to the slave equipment, wherein the connection information is used for triggering the slave equipment to break the first connection relation and establishing a second connection relation with the second master equipment.
As an optional implementation manner, after the second master device sends the connection information to the slave device, the second master device may further receive data acquired by the slave device according to a second connection relationship established with the slave device; and when judging that the second master device does not have the requirement of maintaining the second connection relation with the slave device, binding and uploading the data and the master device identification information of the second master device to the target memory.
By implementing the method, the second main device can bind the received data and the identification information of the main device per se and upload the data to the target memory, so that the data uploaded by the second main device can be conveniently inquired subsequently according to the identification information of the main device, and the effect of identifying the data source is achieved.
By implementing the method disclosed in each embodiment, the second master device can be connected with the slave device under the condition that the first master device does not establish a connection requirement with the slave device, so that the slave device can be orderly arranged to be connected with only one master device with a connection requirement at each time, the condition that one slave device needs to respond to a plurality of master devices at the same time is avoided, the stability of the connection relationship between the master device and the slave device is improved, the second master device can bind and upload received data and own master device identification information to the target memory, the data uploaded by the second master device can be conveniently inquired according to the master device identification information, and the effect of identifying the data source is achieved.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating a method for connecting multiple devices according to an embodiment of the present disclosure. The connection method is applicable to the slave device described in the above embodiment, and as shown in fig. 6, the connection method may include the steps of:
601. a first connection relationship is established with a first master device that transmits connection information of a slave device.
As an optional implementation manner, after the slave device establishes a first connection relationship with a first master device that sends connection information of the slave device, the slave device may collect first data and send the first data to the first master device according to the first connection relationship, where the first data is used for binding and uploading the first data and master device identification information of the first master device to a target storage by the first master device after the first master device sends the connection information to a second master device.
By implementing the method, the first main device can bind and upload the received data and the identification information of the main device to the target memory, so that the data source can be conveniently inquired according to the identification information of the main device, and the effect of identifying and analyzing the data source is achieved.
As another optional implementation, after the slave device establishes the first connection relationship with the first master device that sends the connection information of the slave device, if a data reading instruction sent every preset first duration by the first master device is received according to the first connection relationship, the slave device may correct the clock and collect the first data according to the data reading instruction, and send the first data to the first master device according to the first connection relationship.
By implementing the method, the slave device corrects the system clock of the slave device according to the time point included in the data reading instruction so as to ensure that the time point of the data acquisition of the slave device is aligned with the system time of the first master device, thereby facilitating subsequent arrangement.
602. And when receiving connection information sent by the second main device, disconnecting the first connection relation and establishing a second connection relation with the second main device, wherein the connection information sent by the second main device is sent to the second main device by the first main device when judging that the first main device does not have the requirement of maintaining the first connection relation.
As an optional implementation manner, after the slave device disconnects the first connection relationship and establishes the second connection relationship with the second master device, the slave device may further acquire second data and send the second data to the second master device according to the second connection relationship, where the second data is used to bind and upload, by the second master device, the second data and the master device identification information of the second master device to the target storage when the second master device determines that the second master device does not have a need to maintain the second connection relationship with the slave device.
By implementing the method, the second main device can bind the received data and the identification information of the main device per se and upload the data and the identification information of the main device to the target memory, so that the data source can be conveniently inquired according to the identification information of the main device, and the effect of identifying and analyzing the data source is achieved.
By implementing the method disclosed by each embodiment, the slave device can be orderly arranged to be connected with only one master device with a connection requirement at a time, so that the condition that one slave device needs to respond to a plurality of master devices at the same time is avoided, and the stability of the connection relationship between the master device and the slave device is improved; the slave device corrects a system clock of the slave device according to the time point included by the data reading instruction so as to ensure that the time point of the data acquired by the slave device is aligned with the system time of the first master device, and further facilitate subsequent arrangement; and the master device can bind and upload the data acquired by the slave device and the identification information of the master device to the target memory, so that the data source can be conveniently inquired according to the identification information of the master device in the follow-up process, and the effect of identifying and analyzing the data source is achieved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application, and as shown in fig. 7, the electronic device may include: a first establishing unit 701, a determining unit 702, and a first sending unit 703, wherein:
a first establishing unit 701, configured to establish a first connection relationship with the slave device according to the acquired connection information of the slave device;
a determining unit 702, configured to determine whether there is a need to maintain a first connection relationship with a slave device when receiving a connection request of a second master device;
a first sending unit 703, configured to, when the determining unit 702 determines that the first master device does not have a requirement for maintaining the first connection relationship with the slave device, establish a communication connection with the second master device according to the connection request, and send connection information to the second master device through the communication connection, where the connection information is used by the second master device to send the connection information to the slave device, so as to trigger the slave device to disconnect the first connection relationship, and establish a second connection relationship with the second master device.
As an alternative implementation, the electronic device shown in fig. 7 may further include: a stop unit 704, wherein:
a stopping unit 704, configured to stop receiving the connection request of the second master device when the determining unit 702 determines that the first master device has a need to maintain the first connection relationship with the slave device.
By implementing the electronic device, the connection request of the slave device can be prevented from influencing the stability of the connection relationship between the slave device and the first master device.
As an optional implementation manner, the manner for the determining unit 702 to determine whether there is a need to maintain the first connection relationship with the slave device may specifically be:
a determining unit 702, configured to determine whether the first master device has a requirement to send a call instruction to the slave device through the first connection relationship, and whether the first master device has feedback information sent by the slave device according to the received call instruction; if the first master device does not have the requirement of sending the calling instruction to the slave device through the first connection relation and the calling instruction sent by the first master device receives the feedback information sent by the slave device according to the received calling instruction, determining that the first master device does not have the requirement of maintaining the first connection relation with the slave device; and if the first master device has a requirement for sending the call instruction to the slave device through the first connection relationship and/or the first master device does not receive the feedback information sent by the slave device according to the received call instruction, determining that the first master device has the requirement for maintaining the first connection relationship with the slave device.
By implementing the electronic device, the situation that the electronic device does not have a requirement for calling the slave device and the sent calling request receives feedback can be determined, and the disconnection of the first master device and the slave device after the communication between the first master device and the slave device is not completed is avoided, so that the communication between the first master device and the slave device is interrupted.
As an alternative implementation, the electronic device shown in fig. 7 may further include: a data receiving unit 705 and an uploading unit 706, wherein:
the data receiving unit 705 is configured to receive data acquired by the slave device according to the first connection relationship after the first establishing unit 701 establishes the first connection relationship with the slave device according to the acquired connection information of the slave device;
an uploading unit 706, configured to, after the first sending unit 703 establishes a communication connection with the second master device according to the connection request and sends the connection information to the second master device through the communication connection, bind and upload the data and the master device identification information of the first master device to the target storage.
By implementing the electronic equipment, the data acquired by the slave equipment and the main equipment identification information of the main equipment can be bound and uploaded to the target memory, so that the data source can be conveniently inquired according to the main equipment identification information in the follow-up process, and the effect of identifying and analyzing the data source is achieved.
As an optional implementation manner, the manner that the data receiving unit 705 is used for receiving the data collected by the slave device according to the first connection relationship may specifically be:
the data receiving unit 705 is configured to send a data reading instruction to the slave device every a preset first time interval according to the first connection relationship, where the data reading instruction is used to instruct the slave device to correct a clock and acquire data; and receiving the data fed back by the slave equipment and storing the data to the local memory of the first master equipment.
By implementing the electronic equipment, the data reading instruction can be sent to the slave equipment through the first connection relation, so that the slave equipment corrects the system clock of the slave equipment according to the time point included by the data reading instruction, the time point of data acquisition of the slave equipment is aligned with the system time of the first master equipment, and subsequent arrangement is facilitated.
As an optional implementation manner, the manner that the uploading unit 706 is configured to bind the data and the identification information of the first master device and upload the data to the target storage may specifically be:
an uploading unit 706, configured to obtain data from a local memory of the first master device; and generating a data packet according to the data and the master equipment identification information of the first master equipment, and uploading the data packet to the target storage.
By implementing the electronic equipment, the first main equipment binds the data received by the first main equipment and the main equipment identification information of the first main equipment in a data packet mode and uploads the data to the target memory, so that the data can be compressed to save transmission resources, the data uploaded by the first main equipment can be conveniently inquired subsequently according to the main equipment identification information, and the effect of identifying the data source is achieved.
As an optional implementation manner, the manner of the first sending unit 703 being used to send the connection information to the second master device through the communication connection may specifically be:
a first sending unit 703, configured to send connection information to the second master device according to the read request when receiving, according to the communication connection, a read request for reading slave device data sent by the second master device.
By implementing the electronic device, the first master device can send the connection information of the slave device to the second master device when the second master device has a requirement for establishing a connection relationship with the slave device, so that the master device without the requirement for connection can be prevented from occupying the connection permission of the slave device.
As an optional implementation manner, the manner of the first sending unit 703 being used to send the connection information to the second master device according to the read request may specifically be:
a first sending unit 703, configured to stop sending the data reading instruction to the slave device; judging whether data fed back by the slave equipment is received within a preset second time length; and if the data fed back by the slave equipment is not received within the preset second time length, sending the connection information to the second master equipment according to the reading request.
By implementing the electronic device, the first master device can send the connection information of the connected slave device to the second master device after the data transmission between the first master device and the slave device is ensured to be finished, so that the interruption of the unfinished data transmission process between the first master device and the slave device by the second master device is avoided.
As an optional implementation manner, the manner that the first establishing unit 701 is configured to establish the first connection relationship with the slave device according to the acquired connection information of the slave device may specifically be:
a first establishing unit 701, configured to send slave device identification information of the obtained slave device to the management device, where the slave device identification information is used to request the management device to feed back connection information corresponding to the slave device identification information; and receiving the connection information fed back by the management equipment, and establishing a first connection relation with the slave equipment according to the connection information.
By implementing the electronic equipment, the connection information of the slave equipment can be managed through the management equipment, so that the master equipment with the slave equipment identification information can establish a connection relation with the slave equipment, and the master equipment which wants to be connected with the slave equipment is conveniently screened and managed.
As an alternative implementation, the electronic device shown in fig. 7 may further include: a management unit 707, wherein:
a management unit 707 configured to send, to the management apparatus, master apparatus identification information of the first master apparatus, the master apparatus identification information being used by the management apparatus to determine whether or not the other master apparatuses that request to acquire the connection information have an acquisition right according to the master apparatus identification information; the master device with the master device identification information matched with the master device identification information of the first master device has the acquisition permission, and the master device with the master device identification information not matched with the master device identification information of the first master device does not have the acquisition permission.
By implementing the electronic equipment, the master equipment with the slave equipment identification information can establish a connection relation with the slave equipment, so that the master equipment which wants to be connected with the slave equipment can be screened and managed conveniently.
By implementing the electronic device disclosed in each embodiment, the first master device may establish a connection relationship with the slave device according to the acquired connection information of the slave device; further, if a second master device wants to connect to the slave device, the first master device may determine whether it has a need to continue to connect to the slave device to determine whether to send connection information that can connect to the slave device to the second master device. That is to say, the second master device wants to connect with the slave device, and the second master device needs to be allowed to connect with the slave device only when the first master device determines that the first master device does not have a connection requirement, so that the slave device can be orderly arranged to be connected with only one master device with a connection requirement at a time, the situation that one slave device needs to respond to a plurality of master devices at the same time is avoided, the stability of the connection relationship between the master device and the slave device is improved, and the situation that the master device and the slave device are connected by mistake can be prevented.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present application, and as shown in fig. 8, the electronic device may include: a requesting unit 801, a receiving unit 802, and a second transmitting unit 803, wherein:
a request unit 801, configured to send a connection request to a first master device, where the first master device establishes a first connection relationship with a slave device according to connection information of the slave device;
a receiving unit 802, configured to receive, when the first master device determines that the first master device and the slave device do not have a requirement for maintaining the first connection relationship, and establish a communication connection with the second master device through the connection request, connection information sent by the first master device through the communication connection;
a second sending unit 803, configured to send connection information to the slave device, where the connection information is used to trigger the slave device to disconnect the first connection relationship, and establish a second connection relationship with the second master device.
As an optional implementation manner, the manner in which the receiving unit 802 receives the connection information sent by the first master device through the communication connection may specifically be:
a receiving unit 802, configured to send a read request for reading data of a slave device to a first master device through a communication connection, where the read request is used to request the first master device to send connection information; and receiving the connection information sent by the first master device through the communication connection.
By implementing the electronic device, the second master device can request the connection information from the first master device when the second master device has a requirement for establishing a connection relationship with the slave device, so that the master device without the requirement for connection can be prevented from occupying the connection permission of the slave device.
As an optional implementation manner, the read request is specifically used to trigger the first master device to stop sending the data reading instruction to the slave device, and request the first master device to send the connection information when the first master device does not receive data fed back by the slave device according to the data reading instruction within a preset second time period; the data reading instruction is used for instructing the slave device to correct the clock and collect data.
By implementing the electronic device, the connection information can be requested from the first master device after the data transmission between the first master device and the slave device is finished, so that the interruption of the unfinished data transmission process between the first master device and the slave device by the second master device is avoided.
As an alternative implementation, the electronic device shown in fig. 8 may further include: an acquisition unit 804 and a binding unit 805, wherein:
the acquisition unit 804 is used for receiving data acquired by the slave device according to the second connection relation;
a binding unit 805, configured to upload the data and the master device identification information of the second master device to the target storage in a binding manner when it is determined that the second master device does not have a need to maintain the second connection relationship with the slave device.
By implementing the electronic equipment, the second main equipment can bind and upload the received data and the identification information of the second main equipment to the target memory, so that the data uploaded by the second main equipment can be conveniently inquired subsequently according to the identification information, and the effect of identifying the data source is achieved.
By implementing the electronic device disclosed in each of the above embodiments, the first master device can be connected to the slave device under the condition that the first master device does not have a connection requirement with the slave device, so that the slave device can be orderly arranged to be connected to only one master device with a connection requirement at each time, the condition that one slave device needs to respond to a plurality of master devices at the same time is avoided, the stability of the connection relationship between the master device and the slave device is improved, the second master device can bind and upload the received data and the identification information of the second master device to the target memory, the data uploaded by the second master device can be conveniently inquired subsequently according to the identification information, and the effect of identifying the data source is achieved.
Referring to fig. 9, fig. 9 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present application, and as shown in fig. 9, the electronic device may include: a second setup ticket 901 and a disconnect unit 902, wherein:
a second establishing unit 901, configured to establish a first connection relationship with a first master device that sends connection information of a slave device;
a disconnecting unit 902, configured to, when receiving connection information sent by a second master device, disconnect the first connection relationship and establish a second connection relationship with the second master device, where the connection information sent by the second master device is sent to the second master device by the first master device when it is determined that the first master device does not have a requirement for maintaining the first connection relationship.
As an alternative implementation, the electronic device shown in fig. 9 may further include: a data acquisition unit 903, wherein:
a data collecting unit 903, configured to collect first data and send the first data to a first master device according to a first connection relationship, where the first data is used for binding and uploading the first data and master device identification information of the first master device to a target storage by the first master device after the first master device sends connection information to a second master device.
By implementing the electronic equipment, the first main equipment can bind and upload the received data and the identification information of the first main equipment to the target memory, so that the data source can be conveniently inquired subsequently according to the identification information, and the effect of identifying the data source is achieved.
As an optional implementation manner, the manner in which the data acquisition unit 903 is configured to acquire the first data and send the first data to the first master device according to the first connection relationship may specifically be:
the data acquisition unit 903 is configured to correct a clock and acquire first data according to a data reading instruction when receiving the data reading instruction sent by the first master device every other preset first duration according to the first connection relationship; and sending the first data to the first master device according to the first connection relation.
By implementing the electronic equipment, the slave equipment corrects the system clock of the slave equipment according to the time point included by the data reading instruction so as to ensure that the time point of data acquisition of the slave equipment is aligned with the system time of the first master equipment, thereby facilitating subsequent arrangement.
As an alternative implementation, the electronic device shown in fig. 9 may further include: a binding upload unit 904, wherein:
and a binding uploading unit 904, configured to collect second data and send the second data to the second master device according to the second connection relationship, where the second data is used for the second master device to bind and upload the second data and the master device identification information of the second master device to the target storage when the second master device determines that the second master device does not have a requirement for maintaining the second connection relationship with the slave device.
By implementing the electronic equipment, the second main equipment can bind and upload the received data and the identification information of the second main equipment to the target memory, so that the data source can be conveniently inquired subsequently according to the identification information, and the effect of identifying the data source is achieved.
By implementing the electronic device disclosed in each of the above embodiments, the slave device can be orderly arranged to be connected with only one master device having a connection requirement at a time, thereby avoiding a situation that one slave device needs to respond to a plurality of master devices at the same time, and improving the stability of the connection relationship between the master device and the slave device; the slave device corrects a system clock of the slave device according to the time point included by the data reading instruction so as to ensure that the time point of the data acquired by the slave device is aligned with the system time of the first master device, and further facilitate subsequent arrangement; and the master device can bind and upload the data acquired by the slave device and the identification information of the master device to the target memory, so that the data source can be conveniently inquired according to the identification information in the follow-up process, and the effect of identifying the data source is achieved.
Referring to fig. 10, fig. 10 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present application. As shown in fig. 10, the electronic device may include:
a memory 1001 in which executable program code is stored;
a processor 1002 coupled to a memory 1001;
the processor 1002 calls the executable program code stored in the memory 1001 to execute the method for connecting multiple devices applicable to the first master device disclosed in the above embodiments.
The embodiment of the present application further discloses another electronic device, which may include:
a memory storing executable program code;
a processor coupled to the memory;
the processor calls the executable program codes stored in the memory to execute the connection method between the multiple devices applicable to the second master device disclosed in the above embodiments.
The embodiment of the present application further discloses another electronic device, which may include:
a memory storing executable program code;
a processor coupled to the memory;
the processor calls the executable program codes stored in the memory to execute the connection method between the multiple devices applicable to the slave device disclosed in the above embodiments.
The embodiment of the application discloses a computer-readable storage medium, which stores a computer program, wherein the computer program enables a computer to execute the method for connecting among multiple devices, which is applicable to a first master device and disclosed in the above embodiments.
The embodiment of the present application further discloses another computer-readable storage medium, which stores a computer program, wherein the computer program enables a computer to execute the method for connecting multiple devices, which is disclosed in the foregoing embodiments and can be applied to a second master device.
The embodiment of the present application further discloses another computer-readable storage medium, which stores a computer program, wherein the computer program enables a computer to execute the method for connecting multiple devices, which is applicable to the slave device and disclosed in the above embodiments.
The embodiment of the present application also discloses an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, and when the computer program product runs on a computer, the computer is caused to execute part or all of the steps of the method in the above method embodiments.
The method for connecting multiple devices, the electronic device, and the computer-readable storage medium disclosed in the embodiments of the present application are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present invention, and the description of the embodiments is only used to help understand the method and the core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (26)

1. A method for connecting multiple devices is applied to a first master device, and the method comprises the following steps:
establishing a first connection relation with the slave equipment according to the acquired connection information of the slave equipment;
when a connection request of a second master device is received, judging whether the first master device has a requirement for maintaining the first connection relation with the slave device according to whether the first master device has a requirement for sending a calling instruction to the slave device through the first connection relation or not and whether the first master device has feedback information sent by the slave device according to the received calling instruction or not;
if not, establishing communication connection with the second master device according to the connection request, and sending the connection information to the second master device through the communication connection, wherein the connection information is used for sending the connection information to the slave device by the second master device so as to trigger the slave device to disconnect the first connection relation and establish a second connection relation with the second master device;
and if so, stopping receiving the connection request of the second main device.
2. The method according to claim 1, wherein the determining whether the first master device has a requirement for maintaining the first connection relationship with the slave device according to whether the first master device has a requirement for sending a call instruction to the slave device through the first connection relationship and whether the first master device has feedback information sent by the slave device according to the received call instruction comprises:
if the first master device does not send the requirement of calling instruction to the slave device through the first connection relationship and the calling instruction sent by the first master device receives the feedback information sent by the slave device according to the received calling instruction, determining that the first master device does not have the requirement of maintaining the first connection relationship with the slave device;
and if the first master device has the requirement of sending a calling instruction to the slave device through the first connection relation and/or the first master device does not receive feedback information sent by the slave device according to the received calling instruction, determining that the first master device has the requirement of maintaining the first connection relation with the slave device.
3. The method according to claim 1, wherein after the establishing of the first connection relationship with the slave device according to the obtained connection information of the slave device, the method further comprises:
receiving data collected by the slave equipment according to the first connection relation;
and, after the sending the connection information to the second master device over the communication connection, the method further comprises:
and binding and uploading the data and the master equipment identification information of the first master equipment to a target memory.
4. The method of claim 3, wherein receiving data collected by the slave device according to the first connection relationship comprises:
sending a data reading instruction to the slave equipment at intervals of a preset first time length according to the first connection relation, wherein the data reading instruction is used for indicating the slave equipment to correct a clock and collect data;
and receiving the data fed back by the slave equipment and storing the data to a local memory of the first master equipment.
5. The method of claim 4, wherein uploading the data bound with the master device identification information of the first master device to a target storage comprises:
retrieving the data from a local memory of the first master device;
and generating a data packet according to the data and the main equipment identification information of the first main equipment, and uploading the data packet to a target memory.
6. The method of claim 4, wherein the sending the connection information to the second master device over the communication connection comprises:
and when a reading request for reading the data of the slave equipment, which is sent by the second master equipment, is received according to the communication connection, responding to the reading request and sending the connection information to the second master equipment.
7. The method of claim 6, wherein sending the connection information to the second master device in response to the read request comprises:
stopping sending the data reading instruction to the slave device;
judging whether the data fed back by the slave equipment is received within a preset second time length;
and if the data fed back by the slave equipment is not received within the preset second duration, responding to the reading request and sending the connection information to the second master equipment.
8. The method according to any one of claims 1 to 7, wherein the establishing a first connection relationship with the slave device according to the acquired connection information of the slave device comprises:
sending the obtained slave device identification information of the slave device to a management device, wherein the slave device identification information is used for requesting the management device to feed back connection information corresponding to the slave device identification information;
and receiving the connection information fed back by the management equipment, and establishing a first connection relation with the slave equipment according to the connection information.
9. The method according to claim 8, wherein after the receiving the connection information fed back by the management device and establishing a first connection relationship with the slave device according to the connection information, the method further comprises:
sending the main device identification information of the first main device to the management device, wherein the main device identification information is used for judging whether other main devices requesting to acquire the connection information have the acquisition permission or not by the management device according to the main device identification information; the master device with the master device identification information matched with the master device identification information of the first master device has the acquisition permission, and the master device with the master device identification information not matched with the master device identification information of the first master device does not have the acquisition permission.
10. A method for communication among multiple devices, the method being applied to a second master device, the method comprising:
sending a connection request to first master equipment, wherein the first master equipment establishes a first connection relation with slave equipment according to connection information of the slave equipment;
receiving connection information sent by the first master device through a communication connection established with the first master device, wherein the communication connection is established according to the connection request after the first master device determines that the first master device does not have a requirement for maintaining the first connection relationship with the slave device according to whether the first master device has the requirement for sending a call instruction to the slave device through the first connection relationship or not and the first master device receives feedback information sent by the slave device according to the received call instruction, and the first master device is further used for stopping receiving the connection request of the second master device when the first master device and the slave device have the requirement for maintaining the first connection relationship;
and sending the connection information to the slave equipment, wherein the connection information is used for triggering the slave equipment to break the first connection relation and establishing a second connection relation with the second master equipment.
11. The method of claim 10, wherein the receiving the connection information sent by the first master device through the communication connection established with the first master device comprises:
sending a reading request for reading the data of the slave device to the first master device through a communication connection established with the first master device, wherein the reading request is used for requesting the first master device to send connection information;
and receiving connection information sent by the first main device in response to the reading request through the communication connection.
12. The method according to claim 11, wherein the read request is specifically used to trigger the first master device to stop sending a data read instruction to the slave device, and to request the first master device to send connection information when the first master device does not receive data fed back by the slave device according to the data read instruction within a preset second duration; the data reading instruction is used for instructing the slave device to correct a clock and collect data.
13. The method of claim 10, wherein after the sending the connection information to the slave device, the method further comprises:
receiving data collected by the slave equipment according to the second connection relation;
and when judging that the second master device does not have the requirement of maintaining the second connection relation with the slave device, binding and uploading the data and the master device identification information of the second master device to a target memory.
14. A communication method among multiple devices is applied to a slave device, and the method comprises the following steps:
establishing a first connection relation with a first master device which sends the connection information of the slave device;
when receiving the connection information sent by a second master device, disconnecting the first connection relationship and establishing a second connection relationship with the second master device, wherein the connection information sent by the second master device is sent to the second master device by the first master device when judging that the first master device does not maintain the requirement of the first connection relationship according to whether the first master device has the requirement of sending a call instruction to the slave device through the first connection relationship or not and whether the first master device has the requirement of receiving the feedback information sent by the slave device according to the received call instruction or not, and the first master device is further used for stopping receiving the connection request of the second master device when determining that the first master device and the slave device have the requirement of maintaining the first connection relationship.
15. The method according to claim 14, wherein after the establishing the first connection relationship with the first master device that transmitted the connection information of the slave device, the method further comprises:
and acquiring first data and sending the first data to the first main device according to the first connection relation, wherein the first data is used for binding and uploading the first data and main device identification information of the first main device to a target memory by the first main device after the first main device sends the connection information to the second main device.
16. The method of claim 15, wherein collecting and transmitting the first data to the first master device according to the first connection relationship comprises:
when a data reading instruction sent by the first master device every a preset first time length is received according to the first connection relation, correcting a clock according to the data reading instruction and collecting first data;
and sending the first data to the first main device according to the first connection relation.
17. The method of claim 14, wherein after said disconnecting the first connection relationship and establishing a second connection relationship with the second master device, the method further comprises:
and acquiring second data and sending the second data to the second master device according to the second connection relation, wherein the second data is used for binding and uploading the second data and the master device identification information of the second master device to a target memory by the second master device when the second master device judges that the second master device does not have the requirement of maintaining the second connection relation with the slave device.
18. An electronic device, characterized in that the electronic device comprises:
the first establishing unit is used for establishing a first connection relation with the slave equipment according to the acquired connection information of the slave equipment;
a determining unit, configured to determine, when receiving a connection request of a second master device, whether a first master device has a need to send a call instruction to a slave device through the first connection relationship, and whether the first master device has feedback information sent by the slave device according to the received call instruction, and whether the first master device has a need to maintain the first connection relationship with the slave device;
a first sending unit, configured to, when the determining unit determines that the first master device does not have a need for maintaining the first connection relationship with the slave device, establish a communication connection with the second master device according to the connection request, and send the connection information to the second master device through the communication connection, where the connection information is used by the second master device to send the connection information to the slave device, so as to trigger the slave device to disconnect the first connection relationship, and establish a second connection relationship with the second master device;
the electronic device further includes a unit configured to stop receiving the connection request of the second master device when the determination unit determines that the first master device has a need to maintain the first connection relationship with the slave device.
19. An electronic device, characterized in that the electronic device comprises:
the device comprises a request unit, a first master device and a second master device, wherein the request unit is used for sending a connection request to the first master device, and the first master device establishes a first connection relation with the slave device according to the connection information of the slave device;
a receiving unit, configured to receive connection information sent by the first master device through a communication connection established with the first master device, where the communication connection is established according to the connection request after the first master device determines, according to feedback information sent by the received call instruction, that the first master device does not have a need to send a call instruction to the slave device through the first connection relationship, and the first master device receives a need to maintain the first connection relationship with the slave device, and the first master device is further configured to stop receiving a connection request of a second master device when the first master device and the slave device determine that the first master device and the slave device have a need to maintain the first connection relationship;
and the second sending unit is used for sending the connection information to the slave equipment, and the connection information is used for triggering the slave equipment to disconnect the first connection relation and establishing a second connection relation with the second master equipment.
20. An electronic device, characterized in that the electronic device comprises:
a second establishing unit, configured to establish a first connection relationship with a first master device that sends connection information of a slave device;
a disconnection unit, configured to disconnect the first connection relationship and establish a second connection relationship with a second master device when receiving the connection information sent by the second master device, wherein the connection information sent by the second master device is used by the first master device to send a call instruction to the slave device according to whether the first master device has a requirement for sending a call instruction to the slave device through the first connection relation, and whether the first master device receives the feedback information sent by the slave device according to the received calling instruction and sends the feedback information to the second master device when the first master device judges that the first master device does not maintain the requirement of the first connection relation, the first master device is further configured to stop receiving the connection request of the second master device when it is determined that the first master device and the slave device have a need to maintain the first connection relationship.
21. An electronic device comprising a memory storing executable program code, and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method for connecting multiple devices according to any one of claims 1 to 9.
22. An electronic device comprising a memory storing executable program code, and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method for connecting multiple devices according to any one of claims 10 to 13.
23. An electronic device comprising a memory storing executable program code, and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method for connecting multiple devices according to any one of claims 14 to 17.
24. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the method for connecting between multiple devices according to any one of claims 1 to 9.
25. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the method for connecting between multiple devices according to any one of claims 10 to 13.
26. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the method for connecting between multiple devices according to any one of claims 14 to 17.
CN202010365850.7A 2020-04-30 2020-04-30 Method for connecting multiple devices, electronic device and computer readable storage medium Active CN111642031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010365850.7A CN111642031B (en) 2020-04-30 2020-04-30 Method for connecting multiple devices, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010365850.7A CN111642031B (en) 2020-04-30 2020-04-30 Method for connecting multiple devices, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111642031A CN111642031A (en) 2020-09-08
CN111642031B true CN111642031B (en) 2022-05-17

Family

ID=72331892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010365850.7A Active CN111642031B (en) 2020-04-30 2020-04-30 Method for connecting multiple devices, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111642031B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112566278B (en) * 2020-12-02 2023-05-23 三维通信股份有限公司 Determination method and system of master device, storage medium and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9973534B2 (en) * 2013-11-04 2018-05-15 Lookout, Inc. Methods and systems for secure network connections
US11238397B2 (en) * 2015-02-09 2022-02-01 Fedex Corporate Services, Inc. Methods, apparatus, and systems for generating a corrective pickup notification for a shipped item using a mobile master node
CN104683940A (en) * 2015-03-05 2015-06-03 丰唐物联技术(深圳)有限公司 Bluetooth connection switching method and system
KR20180105676A (en) * 2016-08-03 2018-09-28 베이징 시아오미 모바일 소프트웨어 컴퍼니 리미티드 How to set up service connection, device, program and storage medium
CN113225693B (en) * 2019-04-18 2022-04-15 华为技术有限公司 Bluetooth connection method, equipment and system

Also Published As

Publication number Publication date
CN111642031A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
RU2659805C2 (en) Method and device for determining the location of the target portable device
US9667504B2 (en) Communication system having management apparatus and user apparatus, management apparatus, user apparatus, and method of controlling the same
CN103596160B (en) Method and device for data transmission
RU2676418C2 (en) Method and apparatus for device-specific communication between application programs
KR101332813B1 (en) Wireless communication apparatus and method for generating wireless access channel thereof
CN110572305A (en) Smart home equipment binding method and system, smart home equipment and mobile terminal
RU2020121403A (en) METHOD AND DEVICE FOR INSTALLING A GROUP OF USERS
WO2013141764A1 (en) Methods, device and social network manager for enabling interaction with another device
CN111263338B (en) Network distribution method of Bluetooth Mesh network, related network distribution equipment and system
CN109819527B (en) Data transmission method, device, equipment and storage medium for cloud printing
CN108306796B (en) Intelligent home system, and information processing method and device of intelligent home equipment
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN107645789B (en) Network access method, device and system
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN113891317A (en) Network distribution method and network distribution device of intelligent equipment and electronic equipment
CN111642031B (en) Method for connecting multiple devices, electronic device and computer readable storage medium
CN111884938B (en) Router information acquisition method and device
CN105959292B (en) Recognition methods, management server and the system of equipment access right
CN103763087B (en) Information processing method and electronic equipment
JP6888440B2 (en) Equipment management equipment, management support equipment, equipment management system, equipment management method, and equipment management program
CN110809046B (en) Equipment network distribution method and device, electronic equipment and storage medium
CN113747415B (en) Connection method and device of wireless access point, storage medium and electronic device
CN114205888B (en) Equipment network distribution method and device, storage medium and electronic device
US20160344573A1 (en) Method and apparatus for processing interactions between devices
CN113065049B (en) Data grabbing method and device, storage medium and electronic equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Future wear (Shenzhen) Co.,Ltd.

Address before: 27th floor, building 3, research and Development Institute of Chinese science and technology, no.009, gaoxinnan 1st Road, high tech Zone, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: GUANGDONG SKG INTELLIGENT TECHNOLOGY Co.,Ltd.

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

Applicant after: Future wearable technology Co.,Ltd.

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

Applicant before: Future wear (Shenzhen) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

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

Patentee after: Future wearable technology Co.,Ltd.

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

Patentee before: Future wearable technology Co.,Ltd.

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.