# Patent

## Title
Direct mode communication system and communication attaching method thereof

## Abstract

A direct-mode communication system comprises a first client direct-mode communication apparatus and a backhaul network. The first client direct-mode communication apparatus transmits a register signal to the backhaul network to register with the backhaul network. After the first client direct-mode communication apparatus is registered, the backhaul network determines a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus. The backhaul network transmits a piece of wi-fi connection information to the first client direct-mode communication apparatus according to the location relationship. The first client direct-mode communication apparatus creates a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus according to the piece of wi-fi connection information.

## Background
PRIORITY
This application claims priority to Taiwan Patent Application No. 102142062 filed on Nov. 19, 2013, and also is a continuation-in-part application of U.S. patent application Ser. No. 13/886,056 filed on May 2, 2013, which claims the benefit of U.S. Provisional Application Ser. No. 61/642,466 filed on May 4, 2012, U.S. Provisional Application Ser. No. 61/672,785 filed on Jul. 18, 2012, and U.S. Provisional Application Ser. No. 61/721,020 filed on Oct. 31, 2012. The entirety of each of the foregoing applications is hereby incorporated by reference herein.


FIELD
The present invention relates to a direct-mode communication system and a communication attaching method thereof; and more particularly, the direct-mode communication system and the communication attaching method thereof allow client direct-mode communication apparatuses to create a wi-fi connection therebetween directly to increase the flexibility in use of the direct-mode communication system.
BACKGROUND
In a conventional direct-mode communication system, coordination must be carried out by a backhaul core network firstly in order to create a communication connection between client direct-mode communication apparatuses. Then, the communication connection can be created between the client direct-mode communication apparatuses for direct message transmission. In this way, data exchange can be accomplished more simply and quickly.
However, creation of the communication connection between the client direct-mode communication apparatuses may require use of an additional connection module and an additional communication protocol. This makes the hardware design more complex or makes the existing hardware of the communication apparatuses unable to support this.
Accordingly, an urgent need exists in the art to provide a solution that can create a communication connection between client direct-mode communication apparatuses more efficiently through use of the existing hardware modules but through adjustment of the communication protocol so as to increase the flexibility in use of the direct-mode communication system.
SUMMARY
To address the aforesaid problem, certain embodiments of the present invention provide a direct-mode communication system and a communication attaching method thereof. The direct-mode communication system and the communication attaching method thereof mainly allow client direct-mode communication apparatuses to create a wi-fi connection therebetween directly to increase the flexibility in use of the direct-mode communication system.
To achieve the aforesaid objective, certain embodiments of the present invention provide a communication attaching method for use in a direct-mode communication system. The direct-mode communication system comprises a first client direct-mode communication apparatus and a backhaul network. The first client direct-mode communication apparatus connects with the backhaul network. The communication attaching method comprises: (a) enabling the first client direct-mode communication apparatus to transmit a register signal to the backhaul network to register with the backhaul network; (b) enabling the backhaul network to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus after the step (a); (c) enabling the backhaul network to transmit a piece of wi-fi connection information to the first client direct-mode communication apparatus according to the location relationship, wherein the piece of wi-fi connection information comprises a first client network address, a second client network address and a wi-fi channel; and (d) enabling the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the first client network address and second client network address.
To achieve the aforesaid objective, certain embodiments of the present invention further provide a direct-mode communication system, which comprises a backhaul network and a first client direct-mode communication apparatus. The first client direct-mode communication apparatus connects with the backhaul network. The first client direct-mode communication apparatus transmits a register signal to the backhaul network to register with the backhaul network. The backhaul network determines a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus after the first client direct-mode communication apparatus has been registered and transmits a piece of wi-fi connection information to the first client direct-mode communication apparatus according to the location relationship. The piece of wi-fi connection information comprises a first client network address, a second client network address and a wi-fi channel. The first client direct-mode communication apparatus creates a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the second client network address.
The detailed technology and preferred embodiments implemented for the subject invention are described in the following paragraphs accompanying the appended drawings for people skilled in this field to well appreciate the features of the claimed invention.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1A is a schematic view of a direct-mode communication system according to a first embodiment of the present invention;
FIG. 1B is a schematic view of a first client direct-mode communication apparatus according to the first embodiment of the present invention;
FIG. 2 is a schematic view of a direct-mode communication system according to a second embodiment of the present invention;
FIG. 3 is a schematic view of a direct-mode communication system according to a third embodiment of the present invention;
FIG. 4 is a schematic view of a direct-mode communication system according to a fourth embodiment of the present invention;
FIG. 5 is a schematic view of a direct-mode communication system according to a fifth embodiment of the present invention;
FIG. 6 is a schematic view of a direct-mode communication system according to a sixth embodiment of the present invention;
FIG. 7 is a flowchart diagram of a communication attaching method according to a seventh embodiment of the present invention;
FIG. 8 is a flowchart diagram of a communication attaching method according to an eighth embodiment of the present invention;
FIG. 9 is a flowchart diagram of a communication attaching method according to a ninth embodiment of the present invention;
FIG. 10 is a flowchart diagram of a communication attaching method according to a tenth embodiment of the present invention;
FIG. 11 is a flowchart diagram of a communication attaching method according to a eleventh embodiment of the present invention;
FIG. 12 is a flowchart diagram of a communication attaching method according to a twelfth embodiment of the present invention;
FIG. 13A is a schematic view of a direct-mode communication system according to a thirteenth embodiment of the present invention;
FIG. 13B is a schematic view of a first client direct-mode communication apparatus according to the thirteenth embodiment of the present invention;
FIG. 14A is a schematic view of a direct-mode communication system according to a fourteenth embodiment of the present invention;
FIG. 14B is a schematic view of a second client direct-mode communication apparatus according to the fourteenth embodiment of the present invention;
FIG. 15A is a schematic view of a direct-mode communication system according to a fifteenth embodiment of the present invention;
FIG. 15B is a schematic view of a first client direct-mode communication apparatus according to the fifteenth embodiment of the present invention;
FIG. 16 is a flowchart diagram of a communication attaching method according to a sixteenth embodiment of the present invention;
FIG. 17 is a flowchart diagram of a communication attaching method according to a seventeenth embodiment of the present invention; and
FIG. 18 is a flowchart diagram of a communication attaching method according to an eighteenth embodiment of the present invention.



DETAILED DESCRIPTION
In the following description, the present invention will be explained with reference to example embodiments thereof. However, these example embodiments are not intended to limit the present invention to any specific examples, embodiments, environment, applications or particular implementations described in these embodiments. Therefore, description of these example embodiments is only for purpose of illustration rather than to limit the present invention. It should be appreciated that, in the following embodiments and the attached drawings, elements unrelated to the present invention are omitted from depiction, and dimensional relationships among the individual elements in the attached drawings are illustrated only for the ease of understanding, but not to limit the actual scale.
Referring to FIGS. 1A-1B, FIG. 1A is a schematic view of a direct-mode communication system 1 according to a first embodiment of the present invention, and FIG. 1B is a schematic view of a first client direct-mode communication apparatus 11 according to the first embodiment of the present invention. The direct-mode communication system 1 at least comprises a first client direct-mode communication apparatus 11 and a backhaul network 15 connecting with the first client direct-mode communication apparatus 11. The first client direct-mode communication apparatus 11 comprises a transceiver 111 and a processor 113. Interactions between individual network components will be further described hereinafter.
First, the first client direct-mode communication apparatus 11 must register with the backhaul network 15 firstly in order to create a communication connection with other client direct-mode communication apparatuses in the direct-mode communication system 1. Accordingly, the transceiver 111 of the first client direct-mode communication apparatus 11 transmits a register signal 110 to the backhaul network 15 to register with the backhaul network 15.
Subsequently, since the backhaul network 15 can register other client direct-mode communication apparatuses in the aforesaid manner, the backhaul network 15 can record information related to all client direct-mode communication apparatuses in the direct-mode communication system 1 and determine whether the client direct-mode communication apparatuses that can connect with each other are within each other's communication coverage according to the information. In particular, after the first client direct-mode communication apparatus 11 is registered, the backhaul network 15 can determine a location relationship between the first client direct-mode communication apparatus 11 and a second client direct-mode communication apparatus 13 that can connect with the first client direct-mode communication apparatus 11.
Then, after the backhaul network 15 determines, according to the location relationship, that the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 are within each other's communication coverage and are ready to perform a discovery interaction, the backhaul network 15 can transmit a wi-fi connection signal 150 to the first client direct-mode communication apparatus 11 to notify the first client direct-mode communication apparatus 11 that a wi-fi communication connection with the second client direct-mode communication apparatus 13 can be created later.
Further speaking, once the wi-fi connection signal 150 is received by the transceiver 111 of the first client direct-mode communication apparatus 11, the first client direct-mode communication apparatus 11 can create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus 13. Accordingly, the processor 113 of the first client direct-mode communication apparatus 11 can create a wi-fi direct-mode communication connection 10 directly with the second client direct-mode communication apparatus 13 through use of the transceiver 111 so that the two client direct-mode communication apparatuses can exchange data with each other subsequently.
Referring to FIG. 2, it is a schematic view of a direct-mode communication system 2 according to a second embodiment of the present invention. The direct-mode communication system 2 further comprises a first server direct-mode communication apparatus 17. It should be appreciated that, the system architecture and the network connection environment in the second embodiment are the same as those in the previous embodiment, so elements with the same reference numerals also have the same functions and will not be described again herein. However, the second embodiment is different from the previous embodiment in that, the first client direct-mode communication apparatus 11 connects to the backhaul network 15 via the first server direct-mode communication apparatus 17 in the second embodiment.
In particular, the first client direct-mode communication apparatus 11 must register with the backhaul network 15 firstly in order to create a communication connection with other client direct-mode communication apparatuses in the direct-mode communication system 1. Therefore, the transceiver 111 of the first client direct-mode communication apparatus 11 transmits the register signal 110 to the backhaul network 15 via the first server direct-mode communication apparatus 17 to register with the backhaul network 15.
Likewise, after the first client direct-mode communication apparatus 11 is registered, the backhaul network 15 can determine the location relationship between the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 that can connect with the first client direct-mode communication apparatus 11 and, according to the location relationship, determine that the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 are within each other's communication coverage and are ready to perform the discovery interaction.
Similarly, the backhaul network 15 can then transmit the wi-fi connection signal 150 to the first client direct-mode communication apparatus 11 via the first server direct-mode communication apparatus 17 to notify the first client direct-mode communication apparatus 11 that a wi-fi communication connection with the second client direct-mode communication apparatus 13 can be created later. Likewise, the processor 113 of the first client direct-mode communication apparatus 11 can create the wi-fi direct-mode communication connection 10 directly with the second client direct-mode communication apparatus 13 via the transceiver 111 after the wi-fi connection signal 150 is received by the transceiver 111 of the first client direct-mode communication apparatus 11.
Referring to FIG. 3, it is a schematic view of a direct-mode communication system 3 according to a third embodiment of the present invention. It should be appreciated that, the system architecture and the network connection environment in the third embodiment are the same as those in the previous embodiments, so elements with the same reference numerals also have the same functions and will not be described again. However, the third embodiment is different from the previous embodiments in that, the backhaul network 15 is an Evolved Packet Core (EPC) network which comprises a proximity service (ProSe) server 151.
It should be emphasized that, the ProSe server is a server that mainly provides proximity-based services and controls related signals, and is used to accomplish the following services: application enablement, network communication selection, network security, lawful interception, proximity-based service discovery, direct proximity-based service communication, interworking between device discovery and service discovery, and so on. The contents of these services provided by the ProSe server can be appreciated by people skilled in the art and, thus, will not be further described herein.
In particular, in the third embodiment, the first client direct-mode communication apparatus 11 must register with the ProSe server 151 of the backhaul network (i.e., the EPC network) 15 firstly in order to create the communication connection with other client direct-mode communication apparatuses in the direct-mode communication system 1. Therefore, the transceiver 111 of the first client direct-mode communication apparatus 11 transmits the register signal 110 to the ProSe server 151 of the backhaul network (i.e., the EPC network) 15 via the first server direct-mode communication apparatus 17 to register with the ProSe server 151 of the backhaul network (i.e., the EPC network) 15.
Likewise, after the first client direct-mode communication apparatus 11 is registered, the ProSe server 151 of the backhaul network (i.e., the EPC network) 15 can determine the location relationship between the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 that can connect with the first client direct-mode communication apparatus 11 and, according to the location relationship, determine that the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 are within each other's communication coverage and are ready to perform the discovery interaction.
Similarly, the ProSe server 151 of the backhaul network (i.e., the EPC network) 15 can then transmit the wi-fi connection signal 150 to the first client direct-mode communication apparatus 11 via the first server direct-mode communication apparatus 17 to notify the first client direct-mode communication apparatus 11 that a wi-fi communication connection with the second client direct-mode communication apparatus 13 can be created later. Likewise, the processor 113 of the first client direct-mode communication apparatus 11 can create the wi-fi direct-mode communication connection 10 directly with the second client direct-mode communication apparatus 13 via the transceiver 111 after the wi-fi connection signal 150 is received by the transceiver 111 of the first client direct-mode communication apparatus 11.
Referring to FIG. 4, it is a schematic view of a direct-mode communication system 4 according to a fourth embodiment of the present invention. It should be appreciated that, the system architecture and the network connection environment in the fourth embodiment are the same as those in the previous embodiments, so elements with the same reference numerals also have the same functions and will not be described again herein. However, the fourth embodiment is different from the previous embodiments in that, the backhaul network 15 is an EPC network which comprises an apparatus locating server 153 and a 3rd Generation Partnership Project Authentication Authorization and Accounting (3GPP AAA) server 155.
In particular, in the fourth embodiment, the first client direct-mode communication apparatus 11 must register with the 3GPP AAA server 155 of the backhaul network (i.e., the EPC network) 15 firstly in order to create the communication connection with other client direct-mode communication apparatuses in the direct-mode communication system 1. Therefore, the transceiver 111 of the first client direct-mode communication apparatus 11 transmits the register signal 110 to the 3GPP AAA server 155 of the backhaul network (i.e., the EPC network) 15 via the first server direct-mode communication apparatus 17 to register with the 3GPP AAA server 155 of the backhaul network (i.e., the EPC network) 15.
After the first client direct-mode communication apparatus 11 is registered, the 3GPP AAA server 155 of the backhaul network (i.e., the EPC network) 15 can obtain a piece of first apparatus information 1100 related to the first client direct-mode communication apparatus 11. Then, the 3GPP AAA server 155 transmits the first apparatus information 1100 to the apparatus locating server 153 of the backhaul network (i.e., the EPC network) 15 to notify the apparatus locating server 153 of the presence of the first client direct-mode communication apparatus 11.
Then, the apparatus locating server 153 of the backhaul network (i.e., the EPC network) 15 transmits a first client information request 1530 to the first client direct-mode communication apparatus 11 via the first server direct-mode communication apparatus 17 according to the first apparatus information 1100 to request the first client direct-mode communication apparatus 11 to report its location.
After receiving the first client information request 1530, the transceiver 111 of the first client direct-mode communication apparatus 11 transmits a piece of first client information 112 to the apparatus locating server 153 of the backhaul network (i.e., the EPC network) 15 via the first server direct-mode communication apparatus 17. Accordingly, the apparatus locating server 153 can determine the location relationship between the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 that can connect with the first client direct-mode communication apparatus 11 and, according to the location relationship, determine that the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 are within each other's communication coverage and are ready to perform the discovery interaction.
Similarly, the apparatus locating server 153 of the backhaul network (i.e., the EPC network) 15 can then transmit the wi-fi connection signal 150 to the first client direct-mode communication apparatus 11 via the first server direct-mode communication apparatus 17 to notify the first client direct-mode communication apparatus 11 that a wi-fi communication connection with the second client direct-mode communication apparatus 13 can be created later. Likewise, the processor 113 of the first client direct-mode communication apparatus 11 can create the wi-fi direct-mode communication connection 10 directly with the second client direct-mode communication apparatus 13 via the transceiver 111 after the wi-fi connection signal 150 is received by the transceiver 111 of the first client direct-mode communication apparatus 11.
It should be emphasized that, the fourth embodiment is mainly intended to separate the register procedure and the locating function from each other in the backhaul network. The register procedure is accomplished mainly by the 3GPP AAA server, while the locating function can be accomplished by the ProSe server or by a Gateway Mobile Location Center (GMLC) server. However, this is not intended to limit the implementations of the backhaul network according to the present invention, and other possible replacements of components may be devised by people skilled in the art according to the aforesaid descriptions of the present invention.
It should be further appreciated that, in other implementations, the location relationship between client direct-mode communication apparatuses and the wi-fi connection signal may also be governed by the server direct-mode communication apparatus. Referring to FIG. 5, it is a schematic view of a direct-mode communication system 5 according to a fifth embodiment of the present invention. It should be appreciated that, the system architecture and the network connection environment in the fifth embodiment are the same as those in the previous embodiments, so elements with the same reference numerals also have the same functions and will not be described again herein.
In particular, the first client direct-mode communication apparatus 11 must also register with the backhaul network 15 firstly in order to create the communication connection with other client direct-mode communication apparatuses in the direct-mode communication system 1. Therefore, the transceiver 111 of the first client direct-mode communication apparatus 11 transmits the register signal 110 to the backhaul network 15 via the first server direct-mode communication apparatus 17 to register with the backhaul network 15. Then, the backhaul network 15 can obtain the first apparatus information 1100 related to the first client direct-mode communication apparatus 11.
Subsequently, by transmitting the first apparatus information 1100 to the first server direct-mode communication apparatus 17, the backhaul network 15 transmits the client related information to the first server direct-mode communication apparatus 17 and notifies the first server direct-mode communication apparatus 17 to be responsible for determining the location relationship between client direct-mode communication apparatuses. Further speaking, after receiving the first apparatus information 1100, the first server direct-mode communication apparatus 17 transmits a first client information request 1730 to the first client direct-mode communication apparatus 11 to request the first client direct-mode communication apparatus 11 to report its location.
After receiving the first client information request 1730, the transceiver 111 of the first client direct-mode communication apparatus 11 transmits the first client information 112 to the first server direct-mode communication apparatus 17. Accordingly, the first server direct-mode communication apparatus 17 can determine the location relationship between the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 that can connect with the first client direct-mode communication apparatus 11 according to the first client information 112 and, according to the location relationship, determine that the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 are within each other's communication coverage and are ready to perform the discovery interaction.
Similarly, the first server direct-mode communication apparatus 17 can then transmit a wi-fi connection signal 170 to the first client direct-mode communication apparatus 11 to notify the first client direct-mode communication apparatus 11 that a wi-fi communication connection with the second client direct-mode communication apparatus 13 can be created later. Likewise, the processor 113 of the first client direct-mode communication apparatus 11 can create the wi-fi direct-mode communication connection 10 directly with the second client direct-mode communication apparatus 13 via the transceiver 111 after the wi-fi connection signal 170 is received by the transceiver 111 of the first client direct-mode communication apparatus 11.
Referring to FIG. 6, it is a schematic view of a direct-mode communication system 6 according to a sixth embodiment of the present invention. It should be appreciated that, the system architecture and the network connection environment in the sixth embodiment are the same as those in the previous embodiments, so elements with the same reference numerals also have the same functions and will not be described again herein. However, the sixth embodiment is different from the previous embodiments in that, the sixth embodiment describes in detail how to determine the location relationship between the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 that can connect with the first client direct-mode communication apparatus 11.
In particular, the first client direct-mode communication apparatus 11 must also register with the backhaul network 15 firstly in order to create the communication connection with other client direct-mode communication apparatuses in the direct-mode communication system 1. Therefore, the transceiver 111 of the first client direct-mode communication apparatus 11 transmits the register signal 110 to the backhaul network 15 via the first server direct-mode communication apparatus 17 to register with the backhaul network 15. Then, the backhaul network 15 can obtain the first apparatus information 1100 related to the first client direct-mode communication apparatus 11.
Subsequently, by transmitting the first apparatus information 1100 to the first server direct-mode communication apparatus 17, the backhaul network 15 transmits the client related information to the first server direct-mode communication apparatus 17 and notifies the first server direct-mode communication apparatus 17 to be responsible for determining the location relationship between client direct-mode communication apparatuses. Further speaking, after receiving the first apparatus information 1100, the first server direct-mode communication apparatus 17 transmits a first client information request 1730 to the first client direct-mode communication apparatus 11 to request the first client direct-mode communication apparatus 11 to report its location.
After receiving the first client information request 1730, the transceiver 111 of the first client direct-mode communication apparatus 11 transmits the first client information 112 to the first server direct-mode communication apparatus 17. Simultaneously, the first server direct-mode communication apparatus 17 further receives a piece of second client information 132 of the second client direct-mode communication apparatus 13 from a second server direct-mode communication apparatus 19. Further speaking, the first server direct-mode communication apparatus 17 and the second server direct-mode communication apparatus 19 can exchange information with each other to obtain data related to their respective client direct-mode communication apparatuses.
Accordingly, the first server direct-mode communication apparatus 17 can determine the location relationship between the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 that can connect with the first client direct-mode communication apparatus 11 according to both the first client information 112 and the second client information 132 and, according to the location relationship, determine that the first client direct-mode communication apparatus 11 and the second client direct-mode communication apparatus 13 are within each other's communication coverage and are ready to perform the discovery interaction.
Similarly, the first server direct-mode communication apparatus 17 can then transmit a wi-fi connection signal 170 to the first client direct-mode communication apparatus 11 to notify the first client direct-mode communication apparatus 11 that a wi-fi communication connection with the second client direct-mode communication apparatus 13 can be created later. Likewise, the processor 113 of the first client direct-mode communication apparatus 11 can create the wi-fi direct-mode communication connection 10 directly with the second client direct-mode communication apparatus 13 via the transceiver 111 after the wi-fi connection signal 170 is received by the transceiver 111 of the first client direct-mode communication apparatus 11.
It should be appreciated that, in this embodiment, the server direct-mode communication apparatus may be a server apparatus that is common in wireless LANs (WLANs), such as an access point (AP), an evolved nodeB (eNB) or the like. However, it is not intended to limit the hardware implementations of the present invention.
A seventh embodiment of the present invention is a communication attaching method, a flowchart diagram of which is shown in FIG. 7. The method of the seventh embodiment is for use in a direct-mode communication system (e.g., the direct-mode communication system 1 of the aforesaid embodiment) as well as a first client direct-mode communication apparatus and a backhaul network (e.g., the first client direct-mode communication apparatus 11 and the backhaul network 15) comprised in the direct-mode communication system. The first client direct-mode communication apparatus connects with the backhaul network. The detailed steps of the seventh embodiment are as follows.
Firstly, step 701 is executed to enable the first client direct-mode communication apparatus to transmit a register signal to the backhaul network to register with the backhaul network. Then, step 702 is executed to enable the backhaul network to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus after the first client direct-mode communication apparatus is registered.
Subsequently, step 703 is executed to enable the backhaul network to transmit a wi-fi connection signal to the first client direct-mode communication apparatus according to the location relationship. Finally, step 704 is executed to enable the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus according to the wi-fi connection signal.
An eighth embodiment of the present invention is a communication attaching method, a flowchart diagram of which is shown in FIG. 8. The method of the eighth embodiment is for use in a direct-mode communication system (e.g., the direct-mode communication system 2 of the aforesaid embodiment) as well as a first client direct-mode communication apparatus, a first server direct-mode communication apparatus and a backhaul network (e.g., the first client direct-mode communication apparatus 11, the backhaul network 15 and the first server direct-mode communication apparatus 17 of the aforesaid embodiments) comprised in the direct-mode communication system. The first client direct-mode communication apparatus connects with the backhaul network via the first server direct-mode communication apparatus. The detailed steps of the eighth embodiment are as follows.
Firstly, step 801 is executed to enable the first client direct-mode communication apparatus to transmit a register signal to the backhaul network via the first server direct-mode communication apparatus to register with the backhaul network. Then, step 802 is executed to enable the backhaul network to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus after the first client direct-mode communication apparatus is registered.
Subsequently, step 803 is executed to enable the backhaul network to transmit a wi-fi connection signal to the first client direct-mode communication apparatus via the first server direct-mode communication apparatus according to the location relationship. Finally, step 804 is executed to enable the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus according to the wi-fi connection signal.
A ninth embodiment of the present invention is a communication attaching method, a flowchart diagram of which is shown in FIG. 9. The method of the ninth embodiment is for use in a direct-mode communication system (e.g., the direct-mode communication system 3 of the aforesaid embodiment) as well as a first client direct-mode communication apparatus, a first server direct-mode communication apparatus and a backhaul network (e.g., the first client direct-mode communication apparatus 11, the backhaul network 15 and the first server direct-mode communication apparatus 17 of the aforesaid embodiments) comprised in the direct-mode communication system. The first client direct-mode communication apparatus connects with the backhaul network via the first server direct-mode communication apparatus. The backhaul network of the ninth embodiment is an EPC network which comprises a ProSe server. The detailed steps of the ninth embodiment are as follows.
Firstly, step 901 is executed to enable the first client direct-mode communication apparatus to transmit a register signal to the ProSe server of the EPC network via the first server direct-mode communication apparatus to register with the ProSe server. Then, step 902 is executed to enable the ProSe server of the EPC network to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus after the first client direct-mode communication apparatus is registered.
Subsequently, step 903 is executed to enable the ProSe server of the EPC network to transmit a wi-fi connection signal to the first client direct-mode communication apparatus according to the location relationship. Finally, step 904 is executed to enable the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus according to the wi-fi connection signal.
A tenth embodiment of the present invention is a communication attaching method, a flowchart diagram of which is shown with reference to FIG. 10. The method of the tenth embodiment is for use in a direct-mode communication system (e.g., the direct-mode communication system 4 of the aforesaid embodiment) as well as a first client direct-mode communication apparatus, a first server direct-mode communication apparatus and a backhaul network (e.g., the first client direct-mode communication apparatus 11, the backhaul network 15 and the first server direct-mode communication apparatus 17 of the aforesaid embodiments) comprised in the direct-mode communication system. The first client direct-mode communication apparatus connects with the backhaul network via the first server direct-mode communication apparatus. The backhaul network of the tenth embodiment is an EPC network which comprises a 3GPP AAA server and an apparatus locating server. The detailed steps of the tenth embodiment are as follows.
Firstly, step 1001 is executed to enable the first client direct-mode communication apparatus to transmit a register signal to the 3GPP AAA server of the EPC network via the first server direct-mode communication apparatus to register with the 3GPP AAA server. Then, step 1002 is executed to enable the 3GPP AAA server of the EPC network to transmit a piece of first apparatus information of the first client direct-mode communication apparatus to the apparatus locating server of the EPC network after the first client direct-mode communication apparatus is registered. Next, step 1003 is executed to enable the apparatus locating server of the EPC network to transmit a first client information request to the first client direct-mode communication apparatus via the first server direct-mode communication apparatus according to the first apparatus information.
Subsequently, step 1004 is executed to enable the first client direct-mode communication apparatus to transmit a piece of first client information to the apparatus locating server via the first server direct-mode communication apparatus according to the first client information request. Then, step 1005 is executed immediately to enable the apparatus locating server of the EPC network to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus according to the first client information. Next, step 1006 is executed to enable the apparatus locating server of the EPC network to transmit a wi-fi connection signal to the first client direct-mode communication apparatus via the first server direct-mode communication apparatus according to the location relationship.
Finally, step 1007 is executed to enable the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus according to the wi-fi connection signal. It should be appreciated that, similarly, the apparatus locating server of the tenth embodiment may be one of a ProSe server and a GMLC server. However, it is not intended to limit the implementations of the communication attaching method according to the present invention.
An eleventh embodiment of the present invention is a communication attaching method, a flowchart diagram of which is shown in FIG. 11. The method of the eleventh embodiment is for use in a direct-mode communication system (e.g., the direct-mode communication system 5 of the aforesaid embodiment) as well as a first client direct-mode communication apparatus, a first server direct-mode communication apparatus and a backhaul network (e.g., the first client direct-mode communication apparatus 11, the backhaul network 15 and the first server direct-mode communication apparatus 17 of the aforesaid embodiments) comprised in the direct-mode communication system. The first client direct-mode communication apparatus connects with the backhaul network via the first server direct-mode communication apparatus. The detailed steps of the eleventh embodiment are as follows.
Firstly, step 1101 is executed to enable the first client direct-mode communication apparatus to transmit a register signal to the backhaul network via the first server direct-mode communication apparatus to register with the backhaul network. Then, step 1102 is executed to enable the backhaul network to transmit a piece of first apparatus information to the first server direct-mode communication apparatus after the first client direct-mode communication apparatus is registered. Next, step 1103 is executed to enable the first server direct-mode communication apparatus to transmit a first client information request to the first client direct-mode communication apparatus according to the first apparatus information. Subsequently, step 1104 is executed to enable the first client direct-mode communication apparatus to transmit a piece of first client information to the first server direct-mode communication apparatus according to the first client information request.
Then, step 1105 is executed immediately to enable the first server direct-mode communication apparatus to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus according to the first client information. Next, step 1106 is executed to enable the first server direct-mode communication apparatus to transmit a wi-fi connection signal to the first client direct-mode communication apparatus according to the location relationship. Finally, step 1107 is executed to enable the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus according to the wi-fi connection signal.
A twelfth embodiment of the present invention is a communication attaching method, a flowchart diagram of which is shown in FIG. 12. The method of the twelfth embodiment is for use in a direct-mode communication system (e.g., the direct-mode communication system 6 of the aforesaid embodiment) as well as a first client direct-mode communication apparatus, a first server direct-mode communication apparatus and a backhaul network (e.g., the first client direct-mode communication apparatus 11, the backhaul network 15 and the first server direct-mode communication apparatus 17 of the aforesaid embodiments) comprised in the direct-mode communication system. The first client direct-mode communication apparatus connects with the backhaul network via the first server direct-mode communication apparatus. The detailed steps of the twelfth embodiment are as follows.
Firstly, step 1201 is executed to enable the first client direct-mode communication apparatus to transmit a register signal to the backhaul network via the first server direct-mode communication apparatus to register with the backhaul network. Then, step 1202 is executed to enable the backhaul network to transmit a piece of first apparatus information to the first server direct-mode communication apparatus after the first client direct-mode communication apparatus is registered. Next, step 1203 is executed to enable the first server direct-mode communication apparatus to transmit a first client information request to the first client direct-mode communication apparatus according to the first apparatus information.
Subsequently, step 1204 is executed to enable the first client direct-mode communication apparatus to transmit a piece of first client information to the first server direct-mode communication apparatus according to the first client information request. Then, step 1205 is executed immediately to enable the first server direct-mode communication apparatus to receive a piece of second client information of a second client direct-mode communication apparatus from a second server direct-mode communication apparatus.
Next, step 1206 is executed to enable the first server direct-mode communication apparatus to determine a location relationship between the first client direct-mode communication apparatus and the second client direct-mode communication apparatus according to the first client information and the second client information. Then, step 1207 is executed to enable the first server direct-mode communication apparatus to transmit a wi-fi connection signal to the first client direct-mode communication apparatus according to the location relationship. Finally, step 1208 is executed to enable the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus according to the wi-fi connection signal.
Please refer to FIGS. 13A-13B. FIG. 13A is schematic view of a direct-mode communication system 7 according to a thirteenth embodiment of the present invention. The direct-mode communication system 7 at least comprises a first client direct-mode communication apparatus 71 and a backhaul network 75 connecting with the first client direct-mode communication apparatus 71. FIG. 13B is schematic view of the first client direct-mode communication apparatus 71 according to the thirteenth embodiment of the present invention. The first client direct-mode communication apparatus 71 comprises a transceiver 711 and a processor 713. Interactions between individual network components will be further described hereinafter.
First, the first client direct-mode communication apparatus 71 must register with the backhaul network 75 firstly in order to create a communication connection with other client direct-mode communication apparatuses in the direct-mode communication system 7. Accordingly, the transceiver 711 of the first client direct-mode communication apparatus 71 transmits a register signal 710 to the backhaul network 75 to register with the backhaul network 75.
Subsequently, since the backhaul network 75 can register other client direct-mode communication apparatuses in the aforesaid manner, the backhaul network 75 can record information related to all client direct-mode communication apparatuses in the direct-mode communication system 7 and determine whether the client direct-mode communication apparatuses that can connect with each other are within each other's communication coverage according to the information. In particular, after the first client direct-mode communication apparatus 71 is registered, the backhaul network 75 can determine a location relationship between the first client direct-mode communication apparatus 71 and a second client direct-mode communication apparatus 73 that can connect with the first client direct-mode communication apparatus 71.
Then, after the backhaul network 75 determines, according to the location relationship, that the first client direct-mode communication apparatus 71 and the second client direct-mode communication apparatus 73 are within each other's communication coverage and are ready to perform a discovery interaction, the backhaul network 75 can transmit a piece of wi-fi connection information 750 to the first client direct-mode communication apparatus 71 so that the first client direct-mode communication apparatus 71 can create a wi-fi communication connection directly with the second client direct-mode communication apparatus 73 later according to the piece of wi-fi connection information 750.
Further speaking, once the piece of wi-fi connection information 750 is received by the transceiver 711 of the first client direct-mode communication apparatus 71, the first client direct-mode communication apparatus 71 can create a wi-fi direct-mode communication connection 70 directly with the second client direct-mode communication apparatus 73 by using the information related to creating a wi-fi connection provided by the backhaul network 75 because the wi-fi connection information 750 comprises a first client network address IP1, a second client network address IP2 and a wi-fi channel CH.
In other words, since the first client network address IP1 used by the first client direct-mode communication apparatus 71 itself, the second client network address IP2 of the second direct-mode communication apparatus 73 and the wi-fi channel CH for creating a communication connection between the two client direct-mode communication apparatuses have been received by the first client direct-mode communication apparatus 71, the processor 713 of the first client direct-mode communication apparatus 71 can create the wi-fi direct-mode communication connection 70 with the second client direct-mode communication apparatus 73 via the transceiver 711 in the wi-fi channel CH according to the first client network address IP1 and the second client network address IP2 so that the two client direct-mode communication apparatuses can exchange data with each other subsequently.
Referring to FIGS. 14A-14B, FIG. 14A is a schematic view of a direct-mode communication system 8 according to a fourteenth embodiment of the present invention, and FIG. 14B is a schematic view of the second client direct-mode communication apparatus 73 according to a fourteenth embodiment of the present invention. The second client direct-mode communication apparatus 73 further comprises a transceiver 731 and a processor 733. It should be appreciated that, the system architecture and the network connection environment in the fourteenth embodiment are the same as those in the previous embodiments, so elements with the same reference numerals also have the same functions and will not be described again herein. Interactions between individual network components will be further described hereinafter.
Likewise, the first client direct-mode communication apparatus 71 must register with the backhaul network 75 firstly in order to create a communication connection with other client direct-mode communication apparatuses in the direct-mode communication system 7. Accordingly, the transceiver 711 of the first client direct-mode communication apparatus 71 transmits a register signal 710 to the backhaul network 75 to register with the backhaul network 75.
Then, after the first client direct-mode communication apparatus 71 is registered, the backhaul network 75 can determine the location relationship between the first client direct-mode communication apparatus 71 and the second client direct-mode communication apparatus 73 that can connect with the first client direct-mode communication apparatus 71. Subsequently, after the backhaul network 75 determines, according to the location relationship, that the first client direct-mode communication apparatus 71 and the second client direct-mode communication apparatus 73 are within each other's communication coverage and are ready to perform the discovery interaction, the backhaul network 75 transmits a wi-fi creating request message 752 to the second direct-mode communication apparatus 73 firstly.
Subsequently, after the wi-fi creating request message 752 is received by the transceiver 731 of the second client direct-mode communication apparatus 73, the processor 733 determines the first client network address IP1, the second client network address IP2 and the wi-fi channel CH according to the wi-fi creating request message 752 and transmits the first client network address IP1, the second client network address IP2 and the wi-fi channel CH back to the backhaul network 75 via the transceiver 731.
In this way, the backhaul network 75 can transmit the piece of wi-fi connection information 750 comprising the first client network address IP1, the second client network address IP2 and the wi-fi channel CH to the first client direct-mode communication apparatus 71 so that the first client direct-mode communication apparatus 71 creates a wi-fi communication connection directly with the second client direct-mode communication apparatus 73 later according to the piece of wi-fi connection information 750.
Similarly, once the piece of wi-fi connection information 750 is received by the transceiver 711 of the first client direct-mode communication apparatus 71, the processor 713 of the first client direct-mode communication apparatus 71 can create the wi-fi direct-mode communication connection 70 with the second client direct-mode communication apparatus 73 via the transceiver 711 in the wi-fi channel CH according to the first client network address IP1 and the second client network address IP2 because the wi-fi connection information 750 comprises the first client network address IP1, the second client network address IP2 and the wi-fi channel CH.
It should be appreciated that, before the first client direct-mode communication apparatus 71 creates the wi-fi direct-mode communication connection 70 directly with the second client direct-mode communication apparatus 73, the two client direct-mode communication apparatuses need to perform the discovery interaction to connect with each other. In detail, the transceiver 711 of the first client direct-mode communication apparatus 71 receives a discovery message 730 from the second client direct-mode communication apparatus 73 having the second client network address IP2 in a signal detection period (not shown) based on the first client network address IP1.
In this way, the processor 713 of the first client direct-mode communication apparatus 71 can synchronize with the second client direct-mode communication apparatus 73 according to the discovery message 730 and further create the wi-fi direct-mode communication connection 70 with the second client direct-mode communication apparatus 73 via the transceiver 711 in the wi-fi channel CH after the synchronization.
It should be appreciated that, in other implementations, the wi-fi connection information 750 may further comprise a wi-fi key (not shown). The wi-fi key may be provided by the backhaul network 75 or the second client direct-mode communication apparatus 73. In this way, when the first client direct-mode communication apparatus 71 and the second client direct-mode communication apparatus 73 transmit messages to each other via the wi-fi direct-mode communication connection 70, the messages can be encrypted by using the wi-fi key to secure the communication.
Please refer to FIGS. 15A-15B. FIG. 15A is a schematic view of a direct-mode communication system 9 according to a fifteenth embodiment of the present invention. The direct-mode communication system 9 at least comprises a first client direct-mode communication apparatus 91, a second client direct-mode communication apparatus 93 and a backhaul network 95. The first client direct-mode communication apparatus 91 and the second client direct-mode communication apparatus 93 connect with the backhaul network 95 respectively via a first server direct-mode communication apparatus 97 and a second server direct-mode communication apparatus 99. The first server direct-mode communication apparatus 97 connects with and has a same synchronization message 92 as the second direct-mode communication apparatus 99.
FIG. 15B is a schematic view of the first client direct-mode communication apparatus 91 according to the fifteenth embodiment of the present invention. The first client direct-mode communication apparatus 91 comprises a transceiver 911 and a processor 913. Interactions between individual network components will be further described hereinafter.
Likewise, the first client direct-mode communication apparatus 91 must register with the backhaul network 95 firstly in order to create a communication connection with other client direct-mode communication apparatuses in the direct-mode communication system 9. Accordingly, the transceiver 911 of the first client direct-mode communication apparatus 91 transmits a register signal 910 to the backhaul network 95 to register with the backhaul network 95.
Then, after the first client direct-mode communication apparatus 91 is registered, the backhaul network 95 can determine a location relationship between the first client direct-mode communication apparatus 91 and a second client direct-mode communication apparatus 93 that can connect with the first client direct-mode communication apparatus 91. Subsequently, after the backhaul network 95 determines, according to the location relationship, that the first client direct-mode communication apparatus 91 and the second client direct-mode communication apparatus 93 are within each other's communication coverage and are ready to perform a discovery interaction, the backhaul network 95 can transmit a piece of wi-fi connection information 950 to the first client direct-mode communication apparatus 91.
In this way, the first client direct-mode communication apparatus 91 can create a wi-fi communication connection directly with the second client direct-mode communication apparatus 93 later according to the piece of wi-fi connection information 950. Similarly, the piece of wi-fi connection information 950 comprises a first client network address 1P3 associated with the first client direct-mode communication apparatus 91, a second client network address 1P4 associated with the second client direct-mode communication apparatus 93 and a wi-fi channel CH2.
Further speaking, before the first client direct-mode communication apparatus 91 and the second client direct-mode communication apparatus 93 perform the discovery interaction and connect with each other, the two client direct-mode communication apparatuses can synchronize with each other through use of the first server direct-mode communication apparatus 97 and the second server direct-mode communication apparatus 99. Specifically, the transceiver 911 of the first client direct-mode communication apparatus 91 receives the synchronization message 92 from the first server direct-mode communication apparatus 97. In this way, the processor 913 of the first client direct-mode communication apparatus 91 can synchronize with the first server direct-mode communication apparatus 97 according to the synchronization message 92.
On the other hand, the second server direct-mode communication apparatus 99 also transmits the synchronization message 92 to the second client direct-mode communication apparatus 93 simultaneously, and the second client direct-mode communication apparatus 93 synchronizes with the second server direct-mode communication apparatus 99 according to the synchronization message 92. In this way, the interaction discovery performed by the first client direct-mode communication apparatus 91 can synchronize with that of the second client direct-mode communication apparatus 93 because the two client direct-mode communication apparatuses use the same synchronization message 92.
Likewise, the transceiver 911 of the first client direct-mode communication apparatus 91 can further receive a discovery message 930 from the second client direct-mode communication apparatus 93 having the second client network address IP4 in a signal detection period (not shown) based on the first client network address IP3. The processor 913 of the first client direct-mode communication apparatus 91 can create a wi-fi direct-mode communication connection 90 with the second client direct-mode communication apparatus 93 via the transceiver 911 in the wi-fi channel CH2 according to the discovery message 930.
A sixteenth embodiment of the present invention is a communication attaching method, a flowchart diagram of which is shown in FIG. 16. The method of the sixteenth embodiment is for use in a direct-mode communication system (e.g., the direct-mode communication system 7 of the aforesaid embodiment) as well as a first client direct-mode communication apparatus and a backhaul network (e.g., the first client direct-mode communication apparatus 71 and the backhaul network 75 of the aforesaid embodiments) comprised in the direct-mode communication system. The first client direct-mode communication apparatus connects with the backhaul network. The detailed steps of the sixteenth embodiment are as follows.
Firstly, step 1601 is executed to enable the first client direct-mode communication apparatus to transmit a register signal to the backhaul network to register with the backhaul network. Then, step 1602 is executed to enable the backhaul network to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus.
Then, step 1603 is executed to enable the backhaul network to transmit a piece of wi-fi connection information to the first client direct-mode communication apparatus according to the location relationship. The piece of wi-fi connection information comprises a first client network address, a second client network address and a wi-fi channel. Finally, step 1604 is executed to enable the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the second client network address.
A seventeenth embodiment of the present invention is a communication attaching method, a flowchart diagram of which is shown in FIG. 17. The method of the seventeenth embodiment is for use in a direct-mode communication system (e.g., the direct-mode communication system 8 of the aforesaid embodiment) as well as a first client direct-mode communication apparatus, a second client direct-mode communication apparatus and a backhaul network (e.g., the first client direct-mode communication apparatus 71, the second client direct-mode communication apparatus 73 and the backhaul network 75 of the aforesaid embodiments) comprised in the direct-mode communication system. The first client direct-mode communication apparatus and the second client direct-mode communication apparatus connect with the backhaul network respectively. The detailed steps of the seventeenth embodiment are as follows.
Firstly, step 1701 is executed to enable the first client direct-mode communication apparatus to transmit a register signal to the backhaul network to register with the backhaul network. Then, step 1702 is executed to enable the backhaul network to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus. Subsequently, step 1703 is executed to enable the backhaul network to transmit a wi-fi creating request message to the second client direct-mode communication apparatus according to the location relationship.
Then, step 1704 is executed to enable the second client direct-mode communication apparatus to determine a first client network address, a second client network address and a wi-fi channel according to the wi-fi creating request message. Subsequently, step 1705 is executed to enable the second client direct-mode communication to transmit a piece of wi-fi connection information to the backhaul network. The piece of wi-fi connection information comprises the first client network address, the second client address and the wi-fi channel.
Step 1706 is executed to enable to the backhaul network to transmit the wi-fi connection information to the first client direct-mode communication apparatus. Then, step 1707 is executed to enable the first client direct-mode communication apparatus to receive a discovery message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address to synchronize with the second client direct-mode communication apparatus. Finally, step 1708 is executed to enable the first client direct-mode communication apparatus to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the discovery message.
An eighteenth embodiment of the present invention is a communication attaching method, a flowchart diagram of which is shown in FIG. 18. The method of the eighteenth embodiment is for use in a direct-mode communication system (e.g., the direct-mode communication system 9 of the aforesaid embodiment) as well as a first client direct-mode communication apparatus, a second client direct-mode communication apparatus and a backhaul network (e.g., the first client direct-mode communication apparatus 91, the second client direct-mode communication apparatus 93 and the backhaul network 95 of the aforesaid embodiment) comprised in the direct-mode communication system. The first client direct-mode communication apparatus and the second client direct-mode communication apparatus connect with the backhaul network respectively via a first server direct-mode communication apparatus and a second server direct-mode communication apparatus. The first server direct-mode communication apparatus connects with and has a same synchronization message as the second server direct-mode communication apparatus.
Firstly, step 1801 is executed to enable the first client direct-mode communication apparatus to transmit a register signal to the backhaul network to register with the backhaul network. Then, step 1802 is executed to enable the backhaul network to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus. Subsequently, step 1803 is executed to enable the backhaul network to transmit a piece of wi-fi connection information to the first client direct-mode communication apparatus according to the location relationship. The piece of wi-fi connection information comprises a first client network address, a second client network address and a wi-fi channel.
Then, step 1804 is executed to enable the first client direct-mode communication apparatus to receive the synchronization message from the first server direct-mode communication apparatus. The second server direct-mode communication apparatus transmits the synchronization message to the second client direct-mode communication apparatus. Subsequently, step 1805 is executed to enable the first client direct-mode communication apparatus to synchronize with the first server direct-mode communication apparatus according to the synchronization message. The second client direct-mode communication apparatus synchronize with the second server direct-mode communication apparatus according to the synchronization message.
Step 1806 is executed to enable the first client direct-mode communication apparatus to receive a discover message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address after the first client direct-mode communication apparatus synchronizes with the second client direct-mode communication apparatus. Finally, step 1807 is executed to enable the first client direct-mode communication apparatus to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the discovery message.
According to the above descriptions, the client direct-mode communication apparatuses of the present invention can directly create a communication connection therebetween more efficiently through use of the existing wi-fi hardware modules of the apparatuses but through adjustment of the communication protocol. In other words, with the present invention, the need of an additional connection module and an additional communication protocol in the apparatuses is eliminated, thereby increasing the flexibility in use of the apparatuses.
The above disclosure is related to the detailed technical contents and inventive features thereof. People skilled in this field may proceed with a variety of modifications and replacements based on the disclosures and suggestions of the invention as described without departing from the characteristics thereof. Nevertheless, although such modifications and replacements are not fully disclosed in the above descriptions, they have substantially been covered in the following claims as appended.

## Claims

1. A communication attaching method for use in a direct-mode communication system, the direct-mode communication system comprising a first client direct-mode communication apparatus and a backhaul network, the first client direct-mode communication apparatus connecting with the backhaul network, and the backhaul network further connecting with a second client direct-mode communication apparatus, the communication attaching method comprising:
(a) enabling the first client direct-mode communication apparatus to transmit a register signal to the backhaul network to register with the backhaul network;
(b) enabling the backhaul network to determine a location relationship between the first client direct-mode communication apparatus and the second client direct-mode communication apparatus after the step (a);
(c1) enabling the backhaul network to transmit a wi-fi creating request message to the second client direct-mode communication apparatus according to the location relationship so that the second client direct-mode communication apparatus determine a first client network address, a second client network address and a wi-fi channel according to the wi-fi creating request message;
(c2) enabling the backhaul network to receive the first client network address, the second client network address and the wi-fi channel from the second client direct-mode communication apparatus after the step (c1);
(c3) enabling the backhaul network to transmit the piece of wi-fi connection information to the first client direct-mode communication apparatus, wherein the piece of wi-fi connection information comprises the first client network address, the second client network address and the wi-fi channel; and
(d) enabling the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the first client network address and second client network address.

2. The communication attaching method as claimed in claim 1, wherein step (d) further comprises:
(d1) enabling the first client direct-mode communication apparatus to receive a discovery message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address; and
(d2) enabling the first client direct-mode communication apparatus to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the discovery message.

3. The communication attaching method as claimed in claim 1, wherein the first client direct-mode communication apparatus and the second client direct-mode communication apparatus connect with the backhaul network respectively via a first server direct-mode communication apparatus and a second server direct-mode communication apparatus, the first server direct-mode communication apparatus connects with and has a same synchronization message as the second server direct-mode communication apparatus, and the step (d) further comprises:
(d1) enabling the first client direct-mode communication apparatus to receive the synchronization message from the first server direct-mode communication apparatus, wherein the second server direct-mode communication apparatus transmits the synchronization message to the second client direct-mode communication apparatus;
(d2) enabling the first client direct-mode communication apparatus to synchronize with the first server direct-mode communication apparatus according to the synchronization message, wherein the second client direct-mode communication apparatus synchronizes with the second server direct-mode communication apparatus according to the synchronization message;
(d3) enabling the first client direct-mode communication apparatus to receive a discovery message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address after the step (d2); and
(d4) enabling the first client direct-mode communication apparatus to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the discovery message.

4. The communication attaching method as claimed in claim 1, wherein the piece of wi-fi connection information further comprises a wi-fi key, and the step (d) further comprises:
(d1) enabling the first client direct-mode communication apparatus to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the wi-fi key.

5. A communication attaching method for use in a direct-mode communication system, the direct-mode communication system comprising a first client direct-mode communication apparatus and a backhaul network, the first client direct-mode communication apparatus connecting with the backhaul network, and the backhaul network further connecting with a second client direct-mode communication apparatus, the communication attaching method comprising:
(a) enabling the first client direct-mode communication apparatus to transmit a register signal to the backhaul network to register with the backhaul network;
(b) enabling the backhaul network to determine a location relationship between the first client direct-mode communication apparatus and the second client direct-mode communication apparatus after the step (a);
(c) enabling the backhaul network to transmit a wi-fi creating request message to the first client direct-mode communication apparatus according to the location relationship;
(d) enabling the first client direct-mode communication apparatus to determine a first client network address, a second client network address and a wi-fi channel according to the wi-fi creating request message;
(e) enabling the first client direct-mode communication apparatus to transmit a piece of wi-fi connection information to the backhaul network, wherein the piece of wi-fi connection information comprises the first client network address, the second client network address and the wi-fi channel; and
(f) enabling the backhaul network to transmit the piece of wi-fi connection information to the second client direct-mode communication apparatus so that the second client direct-mode communication apparatus creates a wi-fi direct-mode communication connection with the first client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the second client network address.

6. A direct-mode communication system, comprising:
a backhaul network; and
a first client direct-mode communication apparatus connecting with the backhaul network;
wherein the first client direct-mode communication apparatus transmits a register signal to the backhaul network to register with the backhaul network, the backhaul network determines a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus after the first client direct-mode communication apparatus has been registered and transmits a wi-fi creating request message to the second client direct-mode communication apparatus according to the location relationship so that the second client direct-mode communication apparatus determines a first client network address, a second client network address and a wi-fi channel according to the wi-fi creating request message, the backhaul network receives the first client network address, the second client network address and the wi-fi channel from the second client direct-mode communication apparatus and transmits a piece of wi-fi connection information to the first client direct-mode communication apparatus, the piece of wi-fi connection information comprises the first client network address, the second client network address and the wi-fi channel, and the first client direct-mode communication apparatus further creates a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the second client network address.

7. The direct-mode communication system as claimed in claim 6, wherein the backhaul network is further configured to transmit a wi-fi creating request message to the second client direct-mode communication apparatus according to the location relationship so that the second client direct-mode communication apparatus determines the first client network address, the second client network address and the wi-fi channel according to the wi-fi creating request message, and the backhaul network is further configured to receive the first client network address, the second client network address and the wi-fi channel from the second client direct-mode communication apparatus.

8. The direct-mode communication system as claimed in claim 6, wherein the first client direct-mode communication apparatus is further configured to receive a discovery message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address, and to cerate the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the discovery message.

9. The direct-mode communication system as claimed in claim 6, wherein the first client direct-mode communication apparatus and the second client direct-mode communication apparatus connect with the backhaul network respectively via a first server direct-mode communication apparatus and a second server direct-mode communication apparatus, the first server direct-mode communication apparatus connects with and has a same synchronization message as the second server direct-mode communication apparatus, the first client direct-mode communication apparatus is further configured to receive the synchronization message from the first server direct-mode communication apparatus, the second server direct-mode communication apparatus transmits the synchronization message to the second client direct-mode communication apparatus, the first client direct-mode communication apparatus is further configured to synchronize with the first server direct-mode communication apparatus according to the synchronization message, the second client direct-mode communication apparatus synchronizes with the second server direct-mode communication apparatus according to the synchronization message, and the first client direct-mode communication apparatus is further configured to receive a discovery message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address, and to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the discovery message.

10. direct-mode communication system as claimed in claim 6, wherein the piece of wi-fi connection information further comprises a wi-fi key, and the first client direct-mode communication apparatus is further configured to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the wi-fi key.

11. A direct-mode communication system, comprising:
a backhaul network; and
a first client direct-mode communication apparatus connecting with the backhaul network;
wherein the first client direct-mode communication apparatus transmits a register signal to the backhaul network to register with the backhaul network, the backhaul network determines a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus after the first client direct-mode communication apparatus has been registered and transmits a wi-fi creating request message to the first client direct-mode communication apparatus according to the location relationship, the first client direct-mode communication apparatus determines a first client network address, a second client network address and a wi-fi channel according to the wi-fi creating request message and transmits a piece of wi-fi connection information to the backhaul network, the piece of wi-fi connection information comprises the first client network address, the second client network address and the wi-fi channel, and the backhaul network further transmits the piece of wi-fi connection information to the second client direct-mode communication apparatus so that the second client direct-mode communication apparatus creates a wi-fi direct-mode communication connection with the first client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the second client network address.

12. A communication attaching method for use in a first client direct-mode communication apparatus, the first client direct-mode communication apparatus being used in a direct-mode communication system, the direct-mode communication system further comprising a backhaul network, and the backhaul network connecting with the first client direct-mode communication apparatus and a second client direct-mode communication apparatus, the communication attaching method comprising:
(a) enabling the first client direct-mode communication apparatus to transmit a register signal to the backhaul network to register with the backhaul network so that the backhaul network determines a location relationship between the first client direct-mode communication apparatus and the second client direct-mode communication apparatus and transmits a piece of wi-fi connection information to the first client direct-mode communication apparatus according to the location relationship, wherein the piece of wi-fi connection information comprises a first client network address, a second client network address and a wi-fi channel which are determined by the second client direct-mode communication apparatus and transmitted from the second client direct-mode communication apparatus to the backhaul network after the backhaul network transmits a wi-fi creating request message to the second client direct-mode communication apparatus according to the location relationship;
(b) enabling the first client direct-mode communication apparatus to receive the piece of wi-fi connection information from the backhaul network; and
(c) enabling the first client direct-mode communication apparatus to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the second client network address when the first client network address, the second client network address and the wi-fi channel are determined by the second client direct-mode communication apparatus.

13. The communication attaching method as claimed in claim 12, wherein the step (c) further comprises:
(c1) enabling the first client direct-mode communication apparatus to receive a discovery message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address; and
(c2) enabling the first client direct-mode communication apparatus to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the discovery message.

14. The communication attaching method as claimed in claim 12, wherein the first client direct-mode communication apparatus and the second client direct-mode communication apparatus connect with the backhaul network respectively via a first server direct-mode communication apparatus and a second server direct-mode communication apparatus, the first server direct-mode communication apparatus connects with and has a same synchronization message as the second server direct-mode communication apparatus, and the step (c) further comprises:
(c1) enabling the first client direct-mode communication apparatus to receive the synchronization message from the first server direct-mode communication apparatus, wherein the second server direct-mode communication apparatus transmits the synchronization message to the second client direct-mode communication apparatus;
(c2) enabling the first client direct-mode communication apparatus to synchronize with the first server direct-mode communication apparatus according to the synchronization message, wherein the second client direct-mode communication apparatus synchronizes with the second server direct-mode communication apparatus according to the synchronization message;
(c3) enabling the first client direct-mode communication apparatus to receive a discovery message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address after the step (c2); and
(c4) enabling the first client direct-mode communication apparatus to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the discovery message.

15. The communication attaching method as claimed in claim 12, wherein the piece of wi-fi connection information further comprises a wi-fi key, and the step (c) further comprises:
(c1) enabling the first client direct-mode communication apparatus to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the wi-fi key.

16. A communication attaching method for use in a first client direct-mode communication apparatus, the first client direct-mode communication apparatus being used in a direct-mode communication system, the direct-mode communication system further comprising a backhaul network, and the backhaul network connecting with the first client direct-mode communication apparatus and a second client direct-mode communication apparatus, the communication attaching method comprising:
(a) enabling the first client direct-mode communication apparatus to transmit a register signal to the backhaul network to register with the backhaul network so that the backhaul network determines a location relationship between the first client direct-mode communication apparatus and the second client direct-mode communication apparatus and transmits a wi-fi creating request message to the first client direct-mode communication apparatus according to the location relationship;
(b) enabling the first client direct-mode communication apparatus to receive the wi-fi creating request message from the backhaul network;
(c) enabling the first client direct-mode communication apparatus to determine a first client network address, a second client network address and a wi-fi channel according to the wi-fi creating request message; and
(d) enabling the first client direct-mode communication apparatus to transmit a piece of wi-fi connection information comprising the first client network address, the second client network address and the wi-fi channel to the backhaul network so that the backhaul network transmits the piece of wi-fi connection information to the second client direct-mode communication apparatus, and the second client direct-mode communication apparatus creates a wi-fi direct-mode communication connection with the first client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the second client network address.

17. A first client direct-mode communication apparatus for use in a direct-mode communication system, the direct-mode communication system further comprising a backhaul network, and the first client direct-mode communication apparatus connecting with the backhaul network, the first client direct-mode communication apparatus comprising:
a processor; and
a transceiver;
wherein the transceiver is configured to transmit a register signal to the backhaul network to register with the backhaul network so that the backhaul network determines a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus and transmits a piece of wi-fi connection information to the first client direct-mode communication apparatus according to the location relationship, the piece of wi-fi connection information comprises a first client network address, a second client network address and a wi-fi channel which are determined by the second client direct-mode communication apparatus and transmitted from the second client direct-mode communication apparatus to the backhaul network after the backhaul network transmits a wi-fi creating request message to the second client direct-mode communication apparatus according to the location relationship, the transceiver is further configured to receive the piece of wi-fi connection information from the backhaul network, and the processor is configured to create a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus via the transceiver in the wi-fi channel according to the first client network address and the second client network address when the first client network address, the second client network address and the wi-fi channel are determined by the second client direct-mode communication apparatus.

18. The first client direct-mode communication apparatus as claimed in claim 17, wherein the transceiver is further configured to receive a discovery message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address, and the processor is further configured to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus via the transceiver in the wi-fi channel according to the discovery message.

19. The first client direct-mode communication apparatus as claimed in claim 17, wherein the first client direct-mode communication apparatus and the second client direct-mode communication apparatus connect with the backhaul network respectively via a first server direct-mode communication apparatus and a second server direct-mode communication apparatus, the first server direct-mode communication apparatus connects with and has a same synchronization message as the second server direct-mode communication apparatus, the transceiver is further configured to receive the synchronization message from the first server direct-mode communication apparatus, the second server direct-mode communication apparatus transmits the synchronization message to the second client direct-mode communication apparatus, the processor is further configured to synchronize with the first server direct-mode communication apparatus according to the synchronization message, the second client direct-mode communication apparatus synchronizes with the second server direct-mode communication apparatus according to the synchronization message, the transceiver is further configured to receive a discovery message from the second client direct-mode communication apparatus having the second client network address in a signal detection period based on the first client network address , and the processor is further configured to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus via the transceiver in the wi-fi channel according to the discovery message.

20. The first client direct-mode communication apparatus as claimed in claim 17, wherein the piece of wi-fi connection information further comprises a wi-fi key, and the processor is further configured to create the wi-fi direct-mode communication connection with the second client direct-mode communication apparatus via the transceiver in the wi-fi channel according to the first client network address and the wi-fi key.

21. A first client direct-mode communication apparatus for use in a direct-mode communication system, the direct-mode communication system further comprising a backhaul network, and the first client direct-mode communication apparatus connecting with the backhaul network, the first client direct-mode communication apparatus comprising:
a processor; and
a transceiver;
wherein the transceiver is configured to transmit a register signal to the backhaul network to register with the backhaul network so that the backhaul network determines a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus and transmits a wi-fi creating request message to the first client direct-mode communication apparatus according to the location relationship, the transceiver is further configured to receive the wi-fi creating request message from the backhaul network, the processor is further configured to determine a first client network address, a second client network address and a wi-fi channel according to the wi-fi creating request message, the transceiver is further configured to transmit a piece of wi-fi connection information comprising the first client network address, the second client network address and the wi-fi channel to the backhaul network so that the backhaul network transmits the piece of wi-fi connection information to the second client direct-mode communication apparatus, and the second client direct-mode communication apparatus creates a wi-fi direct-mode communication connection with the first client direct-mode communication apparatus in the wi-fi channel according to the first client network address and the second client network address.

22. A communication attaching method for use in a backhaul network, the backhaul network being used in a direct-mode communication system, the direct-mode communication system further comprising a first client direct-mode communication apparatus, and the first client direct-mode communication apparatus connecting with the backhaul network, the communication attaching method comprising:
(a) enabling the backhaul network to receive a register signal from the first client direct-mode communication apparatus and to register the first client direct-mode communication apparatus;
(b) enabling the backhaul network to determine a location relationship between the first client direct-mode communication apparatus and a second client direct-mode communication apparatus after the step (a);
(c1) enabling the backhaul network to transmit a wi-fi creating request message to the second client direct-mode communication apparatus so that the second client direct-mode communication apparatus determines a first client network address, a second client network address and a wi-fi channel according to the wi-fi creating request message after the step (b);
(c2) enabling the backhaul network to receive the first client network address, the second client network address and the wi-fi channel from the second client direct-mode communication apparatus after the step (c1); and
(c3) enabling the backhaul network to transmit a piece of wi-fi connection information, which comprises the first client network address, the second client network address and the wi-fi channel, to the first client direct-mode communication apparatus so that the first client direct-mode communication apparatus creates a wi-fi direct-mode communication connection with the second client direct-mode communication apparatus according to the piece of wi-fi connection information.

23. The communication attaching method as claimed in claim 22, wherein the piece of wi-fi connection information further comprises a wi-fi key.