The present invention relates generally to communication, and particularly to a transmission method and system for groupcast message to a plurality of remote electronic devices, and to a storage medium accessible by electronic devices.
As the Internet is developing rapidly, the technology of Internet of Things (IoT) attracts attention increasingly and is applied to various fields in people's everyday lives.
The IoT is a network based the Internet and enabling physical entities therein having networking capability to communicate with one another. In the IoT, each physical entity can be accessed or manipulated through the network. Equipment, machines, and articles can be managed and manipulated concentrically via the IoT. Its application range is very extensive, such as smart living environment, health and medical, and burglarproof applications.
The methods for manipulating physical entities in the IoT can be categorized into two types. The first is to command the physical entities to be manipulated directly. If the client commands a physical entity inside the IoT, direct manipulation is an easily achievable method. Nonetheless, as the client is at a remote site and wishes to manipulate the physical entity in the IoT, the manipulation command needs to be delivered via the network media. If the physical entity is disposed nearby the network media, the manipulation command submitted by the client can certainly be delivered smoothly. Unfortunately, if the physical entity is disposed so remote to the network media that the manipulation command cannot be delivered via the network media, the second type of method should be adopted for delivering the manipulation command.
The second type of method for manipulating physical entities in the IoT is to transmit groupcast messages containing manipulation command to all the physical entities in the IoT. This transmission method is that the client's electronic device selects randomly a physically entity in the IoT and transmits a groupcast message containing a manipulation command to the selected physical entity through the network media. Then the physical entity transmits the manipulation command to the other physical entities.
Nonetheless, according to this type of method, a physical entity in the IoT is selected randomly as the transmitter of the groupcast message. Under random selection, if the selected physical entity has inferior connection quality, errors in the groupcast message might result during the transmission process owing to the bad connection quality. In order to make sure the groupcast message is received by the selected physical entity, mechanisms such as the fault detection, the error correction, and the re-transmission of the groupcast message must be included when this method is applied, resulting in extra costs. In some severe cases, because the groupcast messages are re-transmitted continuously, the groupcast messages are jammed between the network media and the transmitter, disabling the groupcast message to be delivered with certainty.
Accordingly, how to transmit a groupcast message to a physical entity in the IoT with certainty without increasing extra transmission costs has become a major subject in the present day.
An objective of the present invention is to provide a transmission method and system for groupcast message and a storage medium accessible by electronic devices, which can transmit groupcast messages to remote electronic devices without increasing extra transmission costs.
In order to achieve the above objective and efficacy, according to an embodiment of the present invention, a transmission method for groupcast message is disclosed and applicable to a first electronic device transmitting a groupcast message to a plurality of remote second electronic devices. The method comprises steps of: acquiring a piece of communication quality information for each said second electronic device and each said piece of communication quality information representing the connection quality between each said second electronic device and nearby devices; the first electronic device selecting one of the plurality of second electronic devices as a broadcast transmitter according to the plurality pieces of communication quality information; the first electronic device transmitting the groupcast message to the broadcast transmitter; and the broadcast transmitter transmitting a broadcast message to the plurality of second electronic devices.
Furthermore, according to another embodiment of the present invention, a transmission system for groupcast message is disclosed and applicable to transmitting a groupcast message to a plurality of remote second electronic devices. The transmission system comprises a first electronic device and a plurality of second electronic devices. The first electronic device transmits a groupcast message. Each said second electronic device includes a piece of communication quality information representing the connection quality between each said second electronic device and nearby devices. The first electronic device selects one of the plurality of second electronic devices as a broadcast transmitter according to the plurality pieces of communication quality information. The first electronic device transmits the groupcast message to the broadcast transmitter. The broadcast transmitter transmits a broadcast message to the plurality of second electronic devices.
Moreover, according another embodiment of the present invention, a storage medium accessible by electronic devices is disclosed. A program is stored in the storage medium accessible by electronic devices and used for executing a transmission method for groupcast message. The method is applicable to a first electronic device transmitting a groupcast message to a plurality of remote second electronic devices. The method comprises steps of: acquiring a piece of communication quality information for each of said plurality of second electronic devices and each said piece of communication quality information representing the connection quality between each of said plurality of said second electronic devices and nearby devices; the first electronic device selecting one of the plurality of second electronic devices as a broadcast transmitter according to the plurality pieces of communication quality information; the first electronic device transmitting the groupcast message to the broadcast transmitter; and the broadcast transmitter transmitting a broadcast message to the plurality of second electronic devices.
In order to make the structure and characteristics as well as the effectiveness of the present invention to be further understood and recognized, the detailed description of the present invention is provided as follows along with embodiments and accompanying figures.
Please refer to
The first electronic device 10 according to the present embodiment includes a smartphone, a personal digital assistant (PDA), a tablet computer, a notebook computer, a desktop computer, or other electronic devices capable of transmitting information.
The plurality of second electronic devices 50 according to the present invention include smartphones, PDAs, tablet computers, notebook computers, desktop computers, webcams, smart plugs, or other electronic devices capable of transmitting information. In addition, each of the plurality of second electronic devices 50 includes a connecting unit, respectively and is capable of connecting to one another through the respective connecting unit. The connecting unit includes infrared, Bluetooth, ZigBee, Wi-Fi, or physical networks.
The medium 30 according to the present embodiment includes a router, a switch, a hub, a cloud server, a relay, or other media capable of network transmission.
The transmission system 1 according to the present embodiment is used in transmitting a groupcast message to a plurality of second electronic devices 50 by the first electronic device 10 for controlling or configuring the plurality of second electronic devices 50 or transmitting data to the plurality of second electronic devices 50. For example, the first electronic device 10 according to the present embodiment is a smartphone while the plurality of second electronic devices 50 are smart appliances. When a user operates the first electronic device 10 and transmits a control signal to the plurality of second electronic devices 50, the signal can be transmitted using the transmission method and system 1 for groupcast message disclosed in the present embodiment.
Please refer to
After the step ST1 is finished, the step ST3 is executed, in which the first electronic device 10 acquires the communication quality information of each of said plurality of second electronic devices 50 via the medium 30. The communication quality information represents the connection quality between each said second electronic device 50 and a nearby device, which includes another second electronic device 50 and the medium 30. The communication quality information includes the received signal strength indicator (RSSI) or the signal to noise ratio (SNR), representing the transmission intensity of the second electronic device 50. Each said second electronic device 50, as shown in
Please refer again to
Please refer again to
Next, the transmission method for groupcast message according to another embodiment will be described. Please refer to
Please refer again to
Please refer to
After the step ST21 is completed, the step ST23 is executed, in which the first electronic device 10 acquires respective communication quality information 5015˜5055 and neighboring quantities 5013˜5053 of each of the second electronic devices 501, 502, 503, 504, 505. Then the step ST 25 is executed, in which the first electronic device selects one of the plurality of second electronic devices 501, 502, 503, 504, 505 as the broadcast transmitter. The method by which the first electronic device 10 selects the broadcast transmitter is based on the respective communication quality information of each of the second electronic devices 501, 502, 503, 504, 505. The one having the best connection quality is selected as the broadcast transmitter. According to the present embodiment, the communication quality information 5015˜5055 of the plurality of second electronic devices 501, 502, 503, 504, 505 is the RSSI having the values −55 dBm, −20 dBm, −40 dBm, −30 dBm, −25 dBm, respectively. The second electronic device 502 owns the best connection quality. Consequently, the first electronic device 10 selects the second electronic device 502 as the broadcast transmitter.
In addition, the first electronic device 10 further selects the second electronic device having the most neighboring quantity according to the respective neighboring quantities 5012˜5053 of the plurality of second electronic devices 501, 502, 503, 504, 505 as another broadcast transmitter. According to the present embodiment, the neighboring quantities 5013˜5053 of the plurality of second electronic devices 501, 502, 503, 504, 505 are 2, 1, 1, 0, 3, respectively. Hence, the neighboring quantity 5053 of the second electronic device 505 is the most, meaning that the second electronic device 505 has the most nearby second electronic devices. Then, the first electronic device 10 selects the second electronic device 505 as the broadcast transmitter.
Besides, the plurality of second electronic device may have no neighboring quantity, for example, when the second electronic device is placed at remote places such as the balcony or the roof. This means that this second electronic device cannot transmit information with the other electronic devices. In order to make sure that the broadcast signal is transmitted to each second electronic device, as shown in the step ST 25, the first electronic device 10 further selects the second electronic device having no neighboring as another broadcast transmitter. According to the present embodiment, the first electronic device 10 further selects the second electronic device 504 as another broadcast transmitter.
Please refer again to
Moreover, the plurality of second electronic devices having received the broadcast message will compare their own neighboring tables with those of the broadcast transmitters. When their own neighboring tables include the second electronic device not recorded in the neighboring tables of the broadcast transmitters, they will transmit the received broadcast message according to their own neighboring tables. As shown in
The transmission method for groupcast message according to the present invention can be implemented as a program and stored in a storage medium accessible by an electronic device. Thereby, after the electronic device reads the storage medium, the transmission method for groupcast message is executed. A computer accessible storage medium can be a read-only memory, a flash memory, a floppy disk. A hard disk, a compact disk, a USB flash drive, a magnetic tape, a network accessible database, or any other storage medium accessible by electronic devices well known to a personal having ordinary skill in the art.
Accordingly, the present invention conforms to the legal requirements owing to its novelty, nonobviousness, and utility. However, the foregoing description is only embodiments of the present invention, not used to limit the scope and range of the present invention. Those equivalent changes or modifications made according to the shape, structure, feature, or spirit described in the claims of the present invention are included in the appended claims of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201510242127.9 | May 2015 | CN | national |