Wireless communication system, wireless communication method, wireless communication device, and recording medium
According to an aspect of the present invention, when a plurality of data transfer applications each transmit a communication right acquisition request in a second device that is an information terminal, a first device that is a sensing device determines permission or rejection of communication for each application of a request source based on application-specific identification information included in the communication right acquisition request and an arbitration condition stored in advance and returns a response including its determination result and the application-specific identification information to the second device. On the other hand, the second device determines success or failure of acquisition of a communication right for each application based on the determination result of the permission or rejection of communication included in the response and executes transfer processing of transmission target data by an application having succeeded in acquiring the communication right.
1 . A wireless communication system comprising:
a first device configured to generate transmission target data; and,
a second device including a plurality of applications, each of the plurality of applications configured to perform data transfer processing, the second device configured to perform transfer processing of the transmission target data with the first device under control of the plurality of applications,
wherein the second device includes a second device processor configured to:
generate and transmit a communication right acquisition request including unique identification information of each of the plurality of applications when the corresponding one of the plurality of applications makes a request to the first device for communication,
the first device includes a first device processor configured to:
determine, when a plurality of the communication right acquisition requests are received from the second device, permission or rejection of communication for each of the plurality of applications that are request sources based on the unique identification information included in the corresponding one of the plurality of the communication right acquisition requests and an arbitration condition set in advance; and,
generate a response including information indicating a determination result of the permission or rejection and the unique identification information corresponding to the information and return the response to the second device;
wherein the first device processor is configured to store information indicating that the communication right acquisition request has been rejected as communication standby information, and,
the second device processor is further configured to:
determine success or failure of acquisition of a communication right for each of the plurality of applications based on the information indicating the determination result of the permission or rejection and the unique identification information corresponding to the information that are included in the response returned from the first device; and,
execute the transfer processing of the transmission target data by an application having succeeded in acquiring the communication right among the plurality of applications based on a determination result of the success or failure,
wherein the second device processor is further configured to determine whether there is a communication right acquisition request on standby, and to execute the transfer processing of the transmission target data by an application being on standby for communication.
2 . A wireless communication device used as a first device in a wireless communication system, the wireless communication system including the first device and a second device, the first device configured to generate transmission target data, the second device including a plurality of applications, each of the plurality of applications configured to perform data transfer processing, the second device configured to perform transfer processing of the transmission target data with the first device under control of the plurality of applications, the wireless communication device comprising:
a processor configured to:
determine, when a plurality of communication right acquisition requests are received from the second device, permission or rejection of communication for each of the plurality of applications that are request sources based on unique identification information of each of the plurality of applications included in the corresponding one of the plurality of communication right acquisition requests and an arbitration condition set in advance; and,
generate a response including information indicating a determination result of the permission or rejection and the unique identification information corresponding to the information and return the response to the second device,
wherein the processor is further configured to store information indicating that the communication right acquisition request has been rejected as communication standby information.
3 . The wireless communication device according to claim 2 ,
wherein the processor is further configured to define a first-come-first-served basis as the arbitration condition, and when the plurality of communication right acquisition requests are received from the second device, the processor permits communication for an application corresponding to a communication right acquisition request that is received earliest.
4 . The wireless communication device according to claim 2 ,
wherein the processor is further configured to define priorities for the plurality of applications as the arbitration condition, and when the plurality of communication right acquisition requests are received from the second device, the processor permits communication for an application having a highest one of the priorities.
5 . The wireless communication device according to claim 2 , wherein the processor is further configured to:
generate display information of the determination result of the permission or rejection based on the information indicating the determination result of the permission or rejection and cause a display included in the wireless communication device to display the display information.
6 . A recording medium storing a set of instructions for causing the processor included in the wireless communication device according to claim 2 to execute processing in the wireless communication device.
7 . The wireless communication device according to claim 3 , the processor further configured to:
generate display information of the determination result of the permission or rejection based on the information indicating the determination result of the permission or rejection and cause a display included in the wireless communication device to display the display information.
8 . The wireless communication device according to claim 4 , the processor further configured to:
generate display information of the determination result of the permission or rejection based on the information indicating the determination result of the permission or rejection and cause a display included in the wireless communication device to display the display information.
9 . A recording medium storing a set of instructions for causing the processor included in the wireless communication device according to claim 3 to execute processing in the wireless communication device.
10 . A recording medium storing a set of instructions for causing the processor included in the wireless communication device according to claim 4 to execute processing in the wireless communication device.
11 . A recording medium storing a set of instructions for causing the processor included in the wireless communication device according to claim 5 to execute processing in the wireless communication device.
12 . A wireless communication device used as a second device in a wireless communication system, the wireless communication system including a first device and the second device, the first device configured to generate transmission target data, the second device including a plurality of applications, each of the plurality of applications configured to perform data transfer processing, the second device configured to perform transfer processing of the transmission target data with the first device under control of the plurality of applications, the first device including a function configured to determine, when a plurality of communication right acquisition requests are received from the second device, permission or rejection of communication for each of the plurality of applications that are request sources based on unique identification information of each of the plurality of applications included in the corresponding one of the plurality of communication right acquisition requests and an arbitration condition set in advance, generate a response including information indicating a determination result of the permission or rejection and the unique identification information corresponding to the information, and return the response to the second device, the wireless communication device comprising:
a processor configured to:
determine success or failure of acquisition of a communication right for each of the plurality of applications based on the information indicating the determination result of the permission or rejection and the unique identification information corresponding to the information that are included in the response returned from the first device in response to transmission of the corresponding one of the plurality of communication right acquisition requests; and,
execute the transfer processing of the transmission target data by an application having succeeded in acquiring the communication right among the plurality of applications based on a determination result of the success or failure,
wherein the processor is further configured to determine whether there is a communication right acquisition request on standby, and to execute the transfer processing of the transmission target data by an application being on standby for communication.
13 . The wireless communication device according to claim 12 , wherein the processor is further configured to:
generate display information for displaying the determination result of the success or failure based on information indicating the determination result of the success or failure and cause a display included in the wireless communication device to display the display information.
14 . A recording medium storing a set of instructions for causing the processor included in the wireless communication device according to claim 12 to execute processing in the wireless communication device.
15 . A recording medium storing a set of instructions for causing the processor included in the wireless communication device according to claim 13 to execute processing in the wireless communication device.
16 . A wireless communication method executed by a wireless communication system, the wireless communication system including a first device including a first device processor and a second device including a second device processor, the first device configured to generate transmission target data, the second device including a plurality of applications, each of the plurality of applications configured to perform data transfer processing, the second device configured to perform transfer processing of the transmission target data with the first device under control of the plurality of applications, the wireless communication method comprising:
by the second device, generating and transmitting a communication right acquisition request including unique identification information of each of the plurality of applications when the corresponding one of the plurality of applications makes a request to the first device for communication;
by the first device, determining, when a plurality of the communication right acquisition requests are received from the second device, permission or rejection of communication for each of the plurality of applications that are request sources based on the unique identification information included in the corresponding one of the plurality of the communication right acquisition requests and an arbitration condition set in advance;
by the first device, generating a response including information indicating a determination result of the permission or rejection and the unique identification information corresponding to the information and returning the response to the second device;
by the first device, store information indicating that the communication right acquisition request has been rejected as communication standby information;
by the second device, determining success or failure of acquisition of a communication right for each of the plurality of applications based on the information indicating the determination result of the permission or rejection and the unique identification information corresponding to the information that are included in the response returned from the first device;
by the second device, executing the transfer processing of the transmission target data by an application having succeeded in acquiring the communication right among the plurality of applications based on a determination result of the success or failure; and
by the second device, determining whether there is a communication right acquisition request on standby, and to execute the transfer processing of the transmission target data by an application being on standby for communication.