摘要 |
A method for establishing a group based on Wi-Fi and a WiFi direct-connection apparatus. The method is applied in a first WiFi direct-connection apparatus and comprises: the first WiFi direct-connection apparatus establishing a first group, wherein the first WiFi direct-connection apparatus is a group owner of the first group; acquiring apparatus information of other WiFi direct-connection apparatuses requesting to join the first group, and apparatus information of the first WiFi direct-connection apparatus; allowing, according to the apparatus information, at least one of the other WiFi direct-connection apparatuses to join the first group; and saving information of the first group and the apparatus information of all the WiFi direct-connection apparatuses in the first group. The apparatus information is a condition based on which the first group is formed, and after the WiFi direct-connection apparatuses save the apparatus information and the group information, re-construction of the group next time can be completed based on the apparatus information and the group information. |