CN108174458B - Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device - Google Patents

Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device Download PDF

Info

Publication number
CN108174458B
CN108174458B CN201711488610.0A CN201711488610A CN108174458B CN 108174458 B CN108174458 B CN 108174458B CN 201711488610 A CN201711488610 A CN 201711488610A CN 108174458 B CN108174458 B CN 108174458B
Authority
CN
China
Prior art keywords
wireless connection
mobile terminal
wearable device
connection
client
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
CN201711488610.0A
Other languages
Chinese (zh)
Other versions
CN108174458A (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201711488610.0A priority Critical patent/CN108174458B/en
Publication of CN108174458A publication Critical patent/CN108174458A/en
Application granted granted Critical
Publication of CN108174458B publication Critical patent/CN108174458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method and a device for wireless connection between a mobile terminal and wearable equipment, the mobile terminal and the wearable equipment. The method comprises the following steps: the wireless connection client of the first device sends a first wireless connection request to a corresponding wireless connection server of the second device, and the wireless connection server corresponding to the second device responds to the first wireless connection request to establish one or more first connection channels with the wireless connection client of the first device; and the wireless connection client of the second device sends a second wireless connection request to the corresponding wireless connection server of the first device, and the wireless connection server corresponding to the first device responds to the second wireless connection request to establish one or more second connection channels with the wireless connection client of the second device. Therefore, the method and the device avoid important information data delay easily caused by single-channel data transmission, improve the real-time performance and effectiveness of information transmission, and improve user experience.

Description

Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for wireless connection between a mobile terminal and wearable equipment, the mobile terminal and the wearable equipment.
Background
With the rapid development of the technology, wearable devices have functions of answering calls, listening to music, monitoring human body sign information, monitoring exercise amount and the like. Generally, wearable devices need to communicate data with a server through a mobile terminal, so that the wearable devices have more powerful functions. It follows that data communication of the wearable device with the mobile terminal is of vital importance.
At present, the mobile terminal and the wearable device can only establish single-channel data connection, and although the single-channel data connection can ensure that the mobile terminal and the wearable device are connected quickly, data can only be transmitted according to the time sequence in the process of data transmission through a single channel. If the currently transmitted data is large, the time required to be transmitted is long, and at this time, if important information (such as a short message, a WeChat or a telephone) is available, the transmission can be performed only after the currently transmitted data is transmitted, and thus, the single-channel data connection can cause that the important information cannot be transmitted in time, and the user experience is reduced.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a method, an apparatus, a mobile terminal and a wearable device for wireless connection of a mobile terminal and a wearable device, which overcome the above problems or at least partially solve the above problems.
According to an aspect of the present invention, a method for wirelessly connecting a mobile terminal and a wearable device is provided, where the mobile terminal and the wearable device each include one or more wireless connection clients and one or more wireless connection servers, and both the mobile terminal and/or the wearable device may be triggered as a first device; the method comprises the following steps:
the method comprises the steps that a wireless connection client of first equipment sends a first wireless connection request to a corresponding wireless connection server of second equipment, and the wireless connection server corresponding to the second equipment responds to the first wireless connection request to establish one or more first connection channels with the wireless connection client of the first equipment;
and the wireless connection client of the second device sends a second wireless connection request to the corresponding wireless connection server of the first device, and the wireless connection server corresponding to the first device responds to the second wireless connection request to establish one or more second connection channels with the wireless connection client of the second device.
According to another aspect of the present invention, there is provided an apparatus for wirelessly connecting a mobile terminal with a wearable device, the mobile terminal and the wearable device each including one or more wireless connection clients and one or more wireless connection servers, the mobile terminal and/or the wearable device each being triggerable as a first device; the device comprises:
the wireless connection server is configured to establish one or more first connection channels with the wireless connection client of the first device in response to the first wireless connection request;
and the second connection unit is configured to send a second wireless connection request to a corresponding wireless connection server of the first device by the wireless connection client of the second device, and the wireless connection server corresponding to the first device establishes one or more second connection channels with the wireless connection client of the second device in response to the second wireless connection request.
According to still another aspect of the present invention, there is provided a mobile terminal, the mobile terminal includes the above-mentioned apparatus for wirelessly connecting the mobile terminal with a wearable device;
the wireless connection client of the mobile terminal comprises an instruction client and a data client, and the wireless connection server comprises a detection server.
According to another aspect of the present invention, there is provided a wearable device, including the above-mentioned mobile terminal and wearable device wireless connection apparatus;
the wireless connection client of the wearable device comprises a detection client, and the wireless connection server comprises an instruction server and a data server.
The invention has the beneficial effects that: according to the technical scheme of the invention, both the mobile terminal and the wearable device can be independently triggered, the first device is triggered and the second device is not triggered or is triggered later. In the process of wireless connection, a wireless connection client of first equipment firstly sends a wireless connection request to a corresponding wireless connection server of second equipment so as to wake up the second equipment; the wireless connection client of the woken-up second device also sends a wireless connection request to the corresponding wireless connection server of the first device, and one or more connection channels can be established between the first device and the second device as long as the corresponding wireless connection server of the opposite party responds to the wireless connection request, wherein the number of the connection channels is determined according to the number of the wireless connection clients initiating the wireless connection request. Because mobile terminal and wearable equipment all include one or more wireless connection customer end and one or more wireless connection service end, consequently can establish many interface channel between two equipment and carry out data transmission, compare in prior art, avoided the important information data delay that single channel data transmission easily leads to, improved information transmission's real-time and validity, promote user experience.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flow chart of a method for a mobile terminal to wirelessly connect with a wearable device in one embodiment of the invention;
fig. 2 is a functional structure diagram of an apparatus for wirelessly connecting a mobile terminal and a wearable device according to an embodiment of the present invention;
fig. 3 is a functional structure diagram of an apparatus for wirelessly connecting a mobile terminal and a wearable device according to an embodiment of the present invention;
fig. 4 is a functional block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 shows a functional structure diagram of a wearable device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
In this embodiment, the mobile terminal and the wearable device each include one or more wireless connection clients and one or more wireless connection servers, and the mobile terminal and/or the wearable device may be triggered as the first device, that is, the mobile terminal may be triggered as the first device, and the wearable device may be triggered as the first device, and the mobile terminal and the wearable device are triggered as the first device at the same time.
Fig. 1 shows a flowchart of a method for wirelessly connecting a mobile terminal and a wearable device according to an embodiment of the present invention, as shown in fig. 1:
s110, a wireless connection client of first equipment sends a first wireless connection request to a corresponding wireless connection server of second equipment, and the wireless connection server corresponding to the second equipment responds to the first wireless connection request and establishes one or more first connection channels with the wireless connection client of the first equipment;
and S120, the wireless connection client of the second device sends a second wireless connection request to the corresponding wireless connection server of the first device, and the wireless connection server corresponding to the first device responds to the second wireless connection request to establish one or more second connection channels with the wireless connection client of the second device.
Therefore, in the technical scheme of the invention, both the mobile terminal and the wearable device can be triggered independently, the first device is triggered to serve as the first device, and the second device is not triggered or is triggered later to serve as the second device. In the process of wireless connection, a wireless connection client of first equipment firstly sends a wireless connection request to a corresponding wireless connection server of second equipment so as to wake up the second equipment; the wireless connection client of the woken-up second device also sends a wireless connection request to the corresponding wireless connection server of the first device, and one or more connection channels can be established between the first device and the second device as long as the corresponding wireless connection server of the opposite party responds to the wireless connection request, wherein the number of the connection channels is determined according to the number of the wireless connection clients initiating the wireless connection request. Because mobile terminal and wearable equipment all include one or more wireless connection customer end and one or more wireless connection service end, consequently can establish many interface channel between two equipment and carry out data transmission, compare in prior art, avoided the important information data delay that single channel data transmission easily leads to, improved information transmission's real-time and validity, promote user experience.
In order to make the technical solution of the present invention clearer, a specific example is explained below. In this embodiment, the mobile terminal includes a smart phone, and the wearable device includes a smart watch. The mobile terminal serves as a first device, and the wearable device serves as a second device.
Assume (a) that the mobile terminal 400 is triggered first and the wearable device 500 is triggered later.
As shown in fig. 2, the wireless connection client of the mobile terminal 400 includes an instruction client 410 and a data client 420, and the wireless connection server of the mobile terminal includes a detection server 430; the wireless connection client of the wearable device 500 includes a detection client 530, and the wireless connection server of the wearable device includes an instruction service 510 and a data service 520.
After the mobile terminal 400 is triggered, the instruction client 410 and the data client 420 of the mobile terminal 400 simultaneously send a first wireless connection request, after the instruction server 510 and the data server 520 of the wearable device 500 respond to the first wireless connection request, the wearable device 500 is awakened, and the instruction server 510 of the wearable device 500 and the instruction client 410 of the mobile terminal 400 establish an instruction transmission channel 21 for transmitting instruction information; the data server 520 of the wearable device 500 and the data client 420 of the mobile terminal 400 establish a data transmission channel 22 for transmitting data information; meanwhile, the detection client 530 of the wearable device 500 sends a second wireless connection request, and the detection server 430 of the mobile terminal 400 establishes a detection information transmission channel 23 with the detection client 530 of the mobile terminal 400 for transmitting the verification information in response to the second wireless connection request.
Assume (ii) that the wearable device 500 is triggered first and the mobile terminal 400 is triggered later.
Still as shown in fig. 2, the detection client 530 of the wearable device 500 sends a first wireless connection request, after the detection server 430 of the mobile terminal 400 responds to the first wireless connection request, the mobile terminal 400 is woken up, the detection server 430 of the mobile terminal 400 establishes a detection transmission channel 23 with the detection client 530 of the wearable device 500 for transmitting verification information, meanwhile, the instruction client 410 and the data client 420 of the mobile terminal 400 send a second wireless connection request, and the instruction server 510 and the data server 520 of the wearable device 500 respond to the second wireless connection request and establish an instruction transmission channel 21 and a data transmission channel 22 with the mobile terminal 400 respectively for transmitting instruction information and data information.
Therefore, the technical scheme of the invention realizes that the instruction channel, the data channel and the detection channel are established between the mobile terminal and the wearable device, so that data transmission and command transmission are simultaneously carried out between the mobile terminal and the wearable device.
When the command transmission channel 21, the data transmission channel 22 and the detection information transmission channel 23 simultaneously establish a connection, no matter whether the mobile terminal 400 is triggered first or the wearable device 500 is triggered first, it indicates that the mobile terminal 400 and the wearable device 500 are successfully connected. That is to say, when all the wireless connection clients of the mobile terminal 400 establish connection channels with the corresponding wireless connection servers of the wearable device 500, and all the wireless connection clients of the wearable device 500 establish connection channels with the corresponding wireless connection servers of the mobile terminal 400, it is determined that the mobile terminal 400 and the wearable device 500 are successfully connected. When the mobile terminal 400 and the wearable device 500 are successfully connected, both sides record the information of the second device, such as the name, model, IP address, etc. of the second device, and prompt the user that the connection is successful. In addition, as long as one connection channel fails to connect, the connection failure between the mobile terminal 400 and the wearable device 500 is indicated, and the mobile terminal 400 and the wearable device 500 simultaneously prompt the user of the connection failure. The method and the device prompt the connection state of the mobile terminal 400 and the wearable device 500 for the user, so that the user can conveniently perform corresponding operation according to the reason of the connection failure of the mobile terminal 400 and the wearable device 500, and the mobile terminal 400 and the wearable device 500 can be successfully connected. For example, after the mobile terminal 400 receives the prompt message indicating that the connection with the wearable device 500 fails, the user finds that the distance between the mobile terminal 400 and the wearable device 500 is too far, which results in the failure of connection between both parties, and therefore, the user can adjust the distance between the mobile terminal 400 and the wearable device 500, so that the connection between the mobile terminal 400 and the wearable device 500 is successful; or after the mobile terminal 400 receives the prompt message indicating that the connection with the wearable device 500 fails, the user finds that the connection between the mobile terminal 400 and the wearable device 500 fails because the wearable device 500 is not turned on, and therefore the connection between the mobile terminal 400 and the wearable device 500 can be successfully established as long as the wearable device 500 is turned on. Therefore, the connection state between the mobile terminal and the wearable device is prompted to the user, the connection between the mobile terminal and the wearable device is guaranteed to be successfully established, and the user experience is improved.
In addition, if a certain connection channel among the instruction transmission channel 21, the data transmission channel 22, and the detection information transmission channel 23 fails to be established or is disconnected after being established, the wireless connection client and the wireless connection server corresponding to the connection channel try to establish the connection channel again until the establishment is successful. For example, if the instruction client 410 of the mobile terminal 400 fails to establish the instruction transmission channel 21 with the instruction server 510 of the wearable device 500 or is disconnected after establishment, the instruction client 410 of the mobile terminal 400 tries to establish the instruction information transmission channel with the instruction server 510 of the wearable device 500 again until establishment is successful, thereby avoiding disconnection between the mobile terminal and the wearable device due to occasional communication failure between the mobile terminal and the wearable device, ensuring normal communication between the mobile terminal and the wearable device, and improving user experience.
In one embodiment of the invention, the mobile terminal 400 being triggered as the first device comprises one of the following: when the mobile terminal 400 is used as the first device, the mobile terminal 400 is turned on, reset, turned on, opened a management application of the wearable device 500, clicked to reconnect an application of the wearable device 500, and receives a message, such as a WeChat, a QQ, a short message, or a telephone call;
the wearable device 500 being triggered as a first device includes one of the following: the wearable device 500 is powered on, reset, or illuminated as a first device.
Example two
In this embodiment, the mobile terminal 400 and the wearable device 500 each include one or more wireless connection clients and one or more wireless connection servers, and both the mobile terminal 400 and/or the wearable device 500 may be triggered as the first device. Fig. 2 is a functional structure diagram of an apparatus for wirelessly connecting a mobile terminal and a wearable device according to an embodiment of the present invention, as shown in fig. 2: the apparatus 300 for wirelessly connecting a mobile terminal with a wearable device includes:
a first connection unit 310, configured to send a first wireless connection request to a wireless connection client of a first device to a corresponding wireless connection server of a second device, where the wireless connection server of the second device establishes one or more first connection channels with the wireless connection client of the first device in response to the first wireless connection request;
the second connection unit 320 is configured to send a second wireless connection request to a corresponding wireless connection server of the first device by the wireless connection client of the second device, and the wireless connection server corresponding to the first device establishes one or more second connection channels with the wireless connection client of the second device in response to the second wireless connection request.
Therefore, in the technical scheme of the invention, both the mobile terminal and the wearable device can be triggered independently, the first device is triggered to serve as the first device, and the second device is not triggered or is triggered later to serve as the second device. In the process of wireless connection, a wireless connection client of first equipment firstly sends a wireless connection request to a corresponding wireless connection server of second equipment so as to wake up the second equipment; the wireless connection client of the woken-up second device also sends a wireless connection request to the corresponding wireless connection server of the first device, and one or more connection channels can be established between the first device and the second device as long as the corresponding wireless connection server of the opposite party responds to the wireless connection request, wherein the number of the connection channels is determined according to the number of the wireless connection clients initiating the wireless connection request. Because mobile terminal and wearable equipment all include one or more wireless connection customer end and one or more wireless connection service end, consequently can establish many interface channel between two equipment and carry out data transmission, compare in prior art, avoided the important information data delay that single channel data transmission easily leads to, improved information transmission's real-time and validity, promote user experience.
In one embodiment of the present invention, the apparatus 300 for wirelessly connecting a mobile terminal with a wearable device further includes:
the reconnection unit 330 is configured to, if a certain connection channel fails to be established or is disconnected after being established, try to establish the connection channel again by the wireless connection client and the wireless connection server corresponding to the connection channel until the establishment is successful. In this embodiment, if a certain connection channel among the instruction transmission channel 21, the data transmission channel 22, and the detection information transmission channel 23 fails to be established or is disconnected after being established, the wireless connection client and the wireless connection server corresponding to the connection channel try to establish the connection channel again until the establishment is successful. For example, if the instruction client 410 of the mobile terminal 400 fails to establish the instruction transmission channel 21 with the instruction server 510 of the wearable device 500 or is disconnected after establishment, the instruction client 410 of the mobile terminal 400 tries to establish the instruction information transmission channel with the instruction server 510 of the wearable device 500 again until establishment is successful, thereby avoiding disconnection between the mobile terminal and the wearable device due to occasional communication failure between the mobile terminal and the wearable device, ensuring normal communication between the mobile terminal and the wearable device, and improving user experience.
In this embodiment, the mobile terminal includes a smart phone, and the wearable device includes a smart watch. The mobile terminal serves as a first device, and the wearable device serves as a second device.
Assume (a) that the mobile terminal 400 is triggered first and the wearable device 500 is triggered later.
As shown in fig. 2, the wireless connection client of the mobile terminal 400 includes an instruction client 410 and a data client 420, and the wireless connection server of the mobile terminal includes a detection server 430; the wireless connection client of the wearable device 500 includes a detection client 530, and the wireless connection server of the wearable device includes an instruction service 510 and a data service 520.
After the mobile terminal 400 is triggered, the instruction client 410 and the data client 420 of the mobile terminal 400 simultaneously send a first wireless connection request, and after the instruction server 510 and the data server 520 of the wearable device 500 respond to the first wireless connection request, the wearable device 500 is awakened, and then the instruction server 510 of the wearable device 500 and the instruction client 410 of the mobile terminal 400 establish an instruction transmission channel 21 for transmitting instruction information; the data server 520 of the wearable device 500 and the data client 420 of the mobile terminal 400 establish a data transmission channel 22 for transmitting data information; meanwhile, the detection client 530 of the wearable device 500 sends a second wireless connection request, and the detection server 430 of the mobile terminal 400 establishes a detection information transmission channel 23 with the detection client 530 of the mobile terminal 400 for transmitting the verification information in response to the second wireless connection request.
Assume (ii) that the wearable device 500 is triggered first and the mobile terminal 400 is triggered later.
Still as shown in fig. 2, the detection client 530 of the wearable device 500 sends a first wireless connection request, after the detection server 430 of the mobile terminal 400 responds to the first wireless connection request, the mobile terminal 400 is woken up, the detection server 430 of the mobile terminal 400 establishes a detection transmission channel 23 with the detection client 530 of the wearable device 500 for transmitting verification information, meanwhile, the instruction client 410 and the data client 420 of the mobile terminal 400 send a second wireless connection request, and the instruction server 510 and the data server 520 of the wearable device 500 respond to the second wireless connection request and establish an instruction transmission channel 21 and a data transmission channel 22 with the mobile terminal 400 respectively for transmitting instruction information and data information.
Therefore, the technical scheme of the invention realizes that the instruction channel, the data channel and the detection channel are established between the mobile terminal and the wearable device, so that data transmission and command transmission are simultaneously carried out between the mobile terminal and the wearable device.
In one embodiment of the present invention, the apparatus 300 for wirelessly connecting a mobile terminal with a wearable device further includes:
the prompting unit 340 is configured to record information of the second device and prompt the user that the connection is successful when the mobile terminal 400 and the wearable device 500 are successfully connected; if the connection fails, prompting the user that the connection fails;
when all the wireless connection clients of the mobile terminal 400 establish connection channels with the corresponding wireless connection servers of the wearable device 500 and all the wireless connection clients of the wearable device 500 establish connection channels with the corresponding wireless connection servers of the mobile terminal 400, the mobile terminal 400 and the wearable device 500 are successfully connected, otherwise, the connection fails. Specifically, whether the mobile terminal 400 is triggered first or the wearable device 500 is triggered first, when the instruction transmission channel 21, the data transmission channel 22, and the detection information transmission channel 23 establish a connection simultaneously, it indicates that the mobile terminal 400 and the wearable device 500 are successfully connected. That is to say, when all the wireless connection clients of the mobile terminal 400 establish connection channels with the corresponding wireless connection servers of the wearable device 500, and all the wireless connection clients of the wearable device 500 establish connection channels with the corresponding wireless connection servers of the mobile terminal 400, it is determined that the mobile terminal 400 and the wearable device 500 are successfully connected. When the mobile terminal 400 and the wearable device 500 are successfully connected, both sides record the information of the second device, such as the name, model, IP address, etc. of the second device, and prompt the user that the connection is successful. In addition, as long as one connection channel fails to connect, the connection failure between the mobile terminal 400 and the wearable device 500 is indicated, and the mobile terminal 400 and the wearable device 500 simultaneously prompt the user of the connection failure. The method and the device prompt the connection state of the mobile terminal 400 and the wearable device 500 for the user, so that the user can conveniently perform corresponding operation according to the reason of the connection failure of the mobile terminal 400 and the wearable device 500, and the mobile terminal 400 and the wearable device 500 can be successfully connected. For example, after the mobile terminal 400 receives the prompt message indicating that the connection with the wearable device 500 fails, the user finds that the distance between the mobile terminal 400 and the wearable device 500 is too far, which results in the failure of connection between both parties, and therefore, the user can adjust the distance between the mobile terminal 400 and the wearable device 500, so that the connection between the mobile terminal 400 and the wearable device 500 is successful; or after the mobile terminal 400 receives the prompt message indicating that the connection with the wearable device 500 fails, the user finds that the connection between the mobile terminal 400 and the wearable device 500 fails because the wearable device 500 is not turned on, and therefore the connection between the mobile terminal 400 and the wearable device 500 can be successfully established as long as the wearable device 500 is turned on. Therefore, the connection state between the mobile terminal and the wearable device is prompted to the user, the connection between the mobile terminal and the wearable device is guaranteed to be successfully established, and the user experience is improved.
EXAMPLE III
Fig. 4 is a functional structure diagram of a mobile terminal according to an embodiment of the present invention, as shown in fig. 4:
the mobile terminal 400 comprises an apparatus 300 for wirelessly connecting the mobile terminal with a wearable device as shown in fig. 3;
the wireless connection client of the mobile terminal 400 includes an instruction client 410 and a data client 420, and the wireless connection service includes a detection service 430.
It should be noted that the working process of the mobile terminal 400 is the same as the implementation process of the method for wirelessly connecting the mobile terminal and the wearable device shown in fig. 1, which has been discussed in detail above, and the same content is not repeated.
Therefore, the mobile terminal is internally provided with a device for wirelessly connecting the mobile terminal with the wearable device, so that the mobile terminal can establish one or more connecting channels with other electronic devices to transmit various types and quantities of data, compared with the prior art, the time delay of important information data easily caused by single-channel data transmission is avoided, the real-time performance and effectiveness of information transmission are improved, and the user experience is improved.
Example four
Fig. 5 shows a functional structure diagram of a wearable device according to an embodiment of the present invention, as shown in fig. 5:
the wearable device 500 comprises an apparatus 300 for wirelessly connecting a mobile terminal and the wearable device as shown in fig. 3;
the wireless connection client of the wearable device 500 includes a detection client 530, and the wireless connection server includes an instruction server 510 and a data server 520.
It should be noted that the working process of the wearable device 500 is the same as the implementation process of the method for wirelessly connecting the mobile terminal and the wearable device shown in fig. 1, which has been discussed in detail above, and the same content is not repeated.
Therefore, the wearable device is internally provided with the mobile terminal and the wearable device which are in wireless connection, so that the wearable device can establish one or more connecting channels with other electronic devices to perform various types and various quantities of data transmission, compared with the prior art, the important information data delay easily caused by single-channel data transmission is avoided, the real-time performance and effectiveness of information transmission are improved, and the user experience is improved.
In summary, in the technical solution of the present invention, both the mobile terminal and the wearable device can be triggered independently, the first device that is triggered is used as the first device, and the second device that is not triggered or is triggered later is used as the second device. In the process of wireless connection, a wireless connection client of first equipment firstly sends a wireless connection request to a corresponding wireless connection server of second equipment so as to wake up the second equipment; the wireless connection client of the woken-up second device also sends a wireless connection request to the corresponding wireless connection server of the first device, and one or more connection channels can be established between the first device and the second device as long as the corresponding wireless connection server of the opposite party responds to the wireless connection request, wherein the number of the connection channels is determined according to the number of the wireless connection clients initiating the wireless connection request. Because mobile terminal and wearable equipment all include one or more wireless connection customer end and one or more wireless connection service end, consequently can establish many interface channel between two equipment and carry out data transmission, compare in prior art, avoided the important information data delay that single channel data transmission easily leads to, improved information transmission's real-time and validity, promote user experience.
While the foregoing is directed to embodiments of the present invention, other modifications and variations of the present invention may be devised by those skilled in the art in light of the above teachings. It should be understood by those skilled in the art that the foregoing detailed description is for the purpose of illustrating the invention rather than the foregoing detailed description, and that the scope of the invention is defined by the claims.

Claims (10)

1. A method for wireless connection between a mobile terminal and a wearable device is characterized in that the mobile terminal and the wearable device respectively comprise one or more wireless connection clients and one or more wireless connection servers, and the mobile terminal and the wearable device can be triggered as a first device, wherein the first device is triggered firstly, and the second device is not triggered or is triggered later; the method comprises the following steps:
the method comprises the steps that a wireless connection client of first equipment sends a first wireless connection request to a corresponding wireless connection server of second equipment, and the wireless connection server corresponding to the second equipment responds to the first wireless connection request to establish one or more first connection channels with the wireless connection client of the first equipment;
the wireless connection client of the second device sends a second wireless connection request to the corresponding wireless connection server of the first device, and the wireless connection server corresponding to the first device responds to the second wireless connection request to establish one or more second connection channels with the wireless connection client of the second device;
the number of the connection channels is determined according to the number of the wireless connection clients initiating the wireless connection requests.
2. The method of claim 1, wherein the wireless connection client of the mobile terminal comprises an instruction client and a data client, the wireless connection server of the mobile terminal comprises a detection server, the wireless connection client of the wearable device comprises a detection client, and the wireless connection server of the wearable device comprises an instruction server and a data server;
the connection channel established between the instruction client of the mobile terminal and the instruction server of the wearable device is used for transmitting instruction information, the connection channel established between the data client of the mobile terminal and the data server of the wearable device is used for transmitting data information, and the connection channel established between the detection server of the mobile terminal and the detection client of the wearable device is used for transmitting detection information.
3. The method of claim 1, wherein the method further comprises:
if a certain connection channel is failed to be established or is disconnected after the connection channel is established, the wireless connection client and the wireless connection server corresponding to the connection channel try to establish the connection channel again until the connection channel is established successfully.
4. The method of claim 1, wherein the method further comprises:
when the mobile terminal and the wearable device are successfully connected, the mobile terminal and the wearable device simultaneously record information of a second device and prompt a user that the connection is successful; if the connection fails, the mobile terminal and the wearable device prompt the user that the connection fails;
when all wireless connection clients of the mobile terminal establish connection channels with the corresponding wireless connection server of the wearable device and all wireless connection clients of the wearable device establish connection channels with the corresponding wireless connection server of the mobile terminal, the mobile terminal and the wearable device are successfully connected, otherwise, the connection fails.
5. The method of claim 1, wherein the mobile terminal being triggered as the first device comprises one of:
the mobile terminal is started as a first device, is reset, is brightened, is opened a management application of the wearable device, is clicked to reconnect the application of the wearable device, and receives a message;
the wearable device being triggered as a first device comprises one of:
the wearable device is powered on, reset, and lit as a first device.
6. An apparatus for wirelessly connecting a mobile terminal and a wearable device, wherein the mobile terminal and the wearable device each comprise one or more wireless connection clients and one or more wireless connection servers, and the mobile terminal and the wearable device each can be triggered as a first device, wherein the first device is triggered first, and the second device is not triggered or is triggered later; the device comprises:
the wireless connection server is configured to establish one or more first connection channels with the wireless connection client of the first device in response to the first wireless connection request;
the second connection unit is configured to send a second wireless connection request to a corresponding wireless connection server of the first device by the wireless connection client of the second device, and the wireless connection server corresponding to the first device establishes one or more second connection channels with the wireless connection client of the second device in response to the second wireless connection request;
the number of the connection channels is determined according to the number of the wireless connection clients initiating the wireless connection requests.
7. The apparatus of claim 6, wherein the apparatus further comprises:
and the reconnection unit is configured to try to establish the connection channel again by the wireless connection client and the wireless connection server corresponding to a certain connection channel until the establishment is successful if the establishment of the connection channel fails or the connection channel is disconnected after the establishment.
8. The apparatus of claim 6, wherein the apparatus further comprises:
the prompting unit is configured to record information of a second device and prompt a user of successful connection when the mobile terminal and the wearable device are successfully connected; if the connection fails, prompting the user that the connection fails;
when all wireless connection clients of the mobile terminal establish connection channels with the corresponding wireless connection server of the wearable device and all wireless connection clients of the wearable device establish connection channels with the corresponding wireless connection server of the mobile terminal, the mobile terminal and the wearable device are successfully connected, otherwise, the connection fails.
9. A mobile terminal, characterized in that it comprises means for wireless connection of a mobile terminal according to any of claims 6-8 with a wearable device;
the wireless connection client of the mobile terminal comprises an instruction client and a data client, and the wireless connection server comprises a detection server.
10. A wearable device, characterized in that the wearable device comprises the apparatus of any of claims 6-8 for wirelessly connecting the mobile terminal with the wearable device;
the wireless connection client of the wearable device comprises a detection client, and the wireless connection server comprises an instruction server and a data server.
CN201711488610.0A 2017-12-29 2017-12-29 Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device Active CN108174458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711488610.0A CN108174458B (en) 2017-12-29 2017-12-29 Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711488610.0A CN108174458B (en) 2017-12-29 2017-12-29 Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device

Publications (2)

Publication Number Publication Date
CN108174458A CN108174458A (en) 2018-06-15
CN108174458B true CN108174458B (en) 2020-11-17

Family

ID=62516869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711488610.0A Active CN108174458B (en) 2017-12-29 2017-12-29 Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device

Country Status (1)

Country Link
CN (1) CN108174458B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361727B (en) * 2018-08-30 2021-12-07 Oppo广东移动通信有限公司 Information sharing method and device, storage medium and wearable device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731933A (en) * 2014-01-10 2014-04-16 北京百度网讯科技有限公司 Wireless connection construction method and system and mobile terminal
CN106255047A (en) * 2016-09-20 2016-12-21 广东乐心医疗电子股份有限公司 Communication method of low-power-consumption Bluetooth self-adaptive intelligent mobile terminal
CN107124690A (en) * 2017-03-31 2017-09-01 上海掌门科技有限公司 A kind of method carried out data transmission between intelligent watch and mobile phone

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087270A (en) * 2001-09-11 2003-03-20 Fujitsu Ltd Device and program for managing multi-channel, multi- channel correspondence terminal, multi-channel cross talk managing program and multi-channel setting device
KR20110069200A (en) * 2009-12-17 2011-06-23 에스케이커뮤니케이션즈 주식회사 System and method for connecting multi-service and recording medium
JP6454722B2 (en) * 2014-04-21 2019-01-16 株式会社東芝 Wireless communication apparatus and wireless communication method
CN105472771B (en) * 2014-09-12 2020-06-19 北京小米移动软件有限公司 Wireless connection method and device
CN113055941B (en) * 2015-03-12 2023-04-14 荣耀终端有限公司 Data transmission method, device, processor and mobile terminal
CN105338569B (en) * 2015-09-30 2018-12-25 宇龙计算机通信科技(深圳)有限公司 A kind of multiple-bearer data transmission method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731933A (en) * 2014-01-10 2014-04-16 北京百度网讯科技有限公司 Wireless connection construction method and system and mobile terminal
CN106255047A (en) * 2016-09-20 2016-12-21 广东乐心医疗电子股份有限公司 Communication method of low-power-consumption Bluetooth self-adaptive intelligent mobile terminal
CN107124690A (en) * 2017-03-31 2017-09-01 上海掌门科技有限公司 A kind of method carried out data transmission between intelligent watch and mobile phone

Also Published As

Publication number Publication date
CN108174458A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN107645529B (en) Heartbeat packet sending method and device
CN108712485B (en) Resource subscription method and device for Internet of things equipment
CN106686056A (en) Android client communication device and method allowing Android client communication device to connect and communicate with server
KR101042745B1 (en) System and method for reestablishing the session between terminal and server
CN110266810B (en) Message receiving method, device and storage medium based on MQTT protocol
US9065788B2 (en) Method, device and system for voice communication
EP4243559A3 (en) Method for establishing a connection, radio access network element device and computer storage medium
CN111246441A (en) Method, system and storage medium for connecting Bluetooth headset and terminal
CN104980898A (en) Information pushing method, system and equipment
US20220210775A1 (en) Acquisition and transmission of hybrid automatic repeat request acknowledgement feedback, terminal and network side device
WO2020103089A1 (en) Dual-card communication method and related product
CN112689012A (en) Cross-network proxy communication method and device
CN108848019A (en) A kind of instant communication method and system
WO2014176891A1 (en) Method, device and system for voice communication
CN108174458B (en) Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device
JP2009182956A (en) Network connection control method and terminal
CN106657076B (en) TCP service implementation method and device for network name space
CN104202432B (en) Remote web management system and management method
JP2023527858A (en) Wi-Fi control method, device and electronic equipment
US20160164978A1 (en) Method and system for telecommunication device monitoring
CN104391576A (en) Remote input method and device based on wireless Ethernet
CN106878467A (en) The method and tele-control system of remote control equipment
US20150304428A1 (en) Method and device for data access
CN109120578B (en) Method and device for realizing link connection processing
CN111385167B (en) Network connection recovery method, device, computer device and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20191115

Address after: 266104 Laoshan Qingdao District North House Street investment service center room, Room 308, Shandong

Applicant after: GEER TECHNOLOGY CO., LTD.

Address before: 518052 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A

Applicant before: Shenzhen Zhen Shi Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant