1. A method for performing a service search in a first wireless device supporting a Wi-Fi Direct service, the method for performing a service search comprises: transmitting a probe request frame including a hash value; receiving, from a second wireless device, a probe response frame including first service information corresponding to the hash value; transmitting a service search request frame including a search word to the second wireless device, wherein a wildcard search and an exact search are supported by the first wireless device and the second wireless device, wherein a service search type is set to either the wildcard search or the exact search by an application service platform (ASP) of the first wireless device, wherein the search word is set based on the service search type, wherein the search word includes a prefix string and a preset symbol when the service search type is set to the wildcard search, wherein the search word includes an exact string of a service name when the service search type is set to the exact search; and receiving, from the second wireless device, a service search response frame including second service information, wherein the second service information includes one or more service names having the prefix string when the service search type is set to the wildcard search, and wherein the second service information includes only a service name matching the service name included in the search word as the exact string when the service search type is set to the exact search.
1. A method for performing a service search in a first wireless device supporting a Wi-Fi Direct service, the method for performing a service search comprises: transmitting a probe request frame including a hash value; receiving, from a second wireless device, a probe response frame including first service information corresponding to the hash value; transmitting a service search request frame including a search word to the second wireless device, wherein a wildcard search and an exact search are supported by the first wireless device and the second wireless device, wherein a service search type is set to either the wildcard search or the exact search by an application service platform (ASP) of the first wireless device, wherein the search word is set based on the service search type, wherein the search word includes a prefix string and a preset symbol when the service search type is set to the wildcard search, wherein the search word includes an exact string of a service name when the service search type is set to the exact search; and receiving, from the second wireless device, a service search response frame including second service information, wherein the second service information includes one or more service names having the prefix string when the service search type is set to the wildcard search, and wherein the second service information includes only a service name matching the service name included in the search word as the exact string when the service search type is set to the exact search. 3. The method of claim 1 , wherein the second service information further includes service status information indicating availability of a service that matches with the search word.