The present invention relates generally to communication, and particularly to a transmission method and system for groupcast message to at least a remote electronic device, 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 uses an electronic device, for example, a mobile phone, to transmit remotely groupcast messages to physical entities in the IoT.
Nonetheless, current methods of transmitting remotely groupcast messages to physical entities in the IoT for manipulating physical objects are relatively complicated. Using these methods according to the prior art sometimes induces extra transmission costs and system complexity. Accordingly, how to transmit a groupcast message to a physical entity in the IoT with certainty without increasing extra transmission costs and system complexity has become a major subject in the present day.
An objective of the present invention is to provide a method and system for transmitting remotely a groupcast message and a storage medium accessible by electronic devices, which can transmit groupcast messages to remote electronic devices without increasing extra transmission costs and system complexity.
In order to achieve the objectives and efficacies as described above, an embodiment according to the present invention discloses a method for transmitting remotely a groupcast message applicable to a first electronic device transmitting a groupcast message to at least a remote second electronic device. The method comprises steps of: setting a plurality of second electronic devices to at least a group; setting one of the plurality of second electronic devices in the group as a remote transceiver; the first electronic device transmitting the groupcast message to the remote transceiver; and the remote transceiver transmitting a broadcast message to the plurality of second electronic devices in the group.
Furthermore, according to another embodiment of the present invention, a system for transmitting remotely a groupcast message is disclosed and applicable to transmitting remotely a groupcast message to at least a second electronic device. The system comprises a first electronic device and a plurality of second electronic devices. The first electronic device transmits a groupcast message. The plurality of second electronic devices are grouped to at least a group. One of the plurality of second electronic devices in the group is set as a remote transceiver. The first electronic device transmits the groupcast message to the remote transceiver. The remote transceiver transmits a broadcast message to the plurality of second electronic devices in the group.
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 method for transmitting remotely a groupcast message. The method is applicable to a first electronic device transmitting remotely a groupcast message to at least a second electronic device. The method comprises steps of: setting a plurality of second electronic devices to at least a group: setting one of the plurality of second electronic devices in the group as a remote transceiver; the first electronic device transmitting the groupcast message to the remote transceiver; and the remote transceiver transmitting a broadcast message to the plurality of second electronic devices in the group.
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 system 1 according to the present embodiment is used for transmitting a groupcast message to at least a second electronic device 50 by the first electronic device 10 for controlling or configuring the plurality of second electronic devices 50 in the group or transmitting data to the plurality of second electronic devices 50 in the group. 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 method and system 1 for transmitting a groupcast message disclosed in the present embodiment.
Please refer to
After the step ST1 is finished, the step ST3 is executed for setting one of the plurality of second electronic devices 50 in the group G1 as a remote transceiver 50A. As shown in
According to an embodiment of the present invention, when the step ST1 is executed, the step ST3 will be executed concurrently. In other words, when the group G1 is set, the remote transceiver 50A will be set at the same time. Then the preparation process before the first electronic device 10 can transmit the groupcast message is finished. Afterwards, when the first electronic device 10 transmits the groupcast message, it is no more required to ser the remote transceiver 50A. Instead, the first electronic device 10 can transmit directly the groupcast message to the configured remote transceiver 50A.
Please refer again to
As shown in
Please refer again to
According to another embodiment of the present invention, the plurality of second electronic devices 50 can be defined into multiple groups. As shown in
Next, the system for transmitting remotely a groupcast message according to another embodiment will be described. Please refer to
The communication quality information as described above represents the connection quality between each second electronic device 50 and nearby devices, which include the other second electronic devices 502, 503 and the medium 30. Thereby, the communication quality information of the second electronic device 501 includes the received signal strength indicator (RSSI) or the signal to noise ratio (SNR), representing the transmission intensity of the second electronic device 501.
Please refer again to
Please refer to
Next, the step ST251 or ST253 is executed. When the step ST251 is executed and the first electronic device 10 sets one of the plurality of second electronic devices in the group as the remote transceiver, the communication quality information 5015-5055 of the second electronic devices 501-505 collected in the step ST21 is used as a reference. The method by which the first electronic device 10 selects the remote transceiver 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 remote transceiver. According to the present embodiment, the communication quality information 5015˜5055 of the plurality of second electronic devices 501˜505 is the RSSI having the values −10 dBm, −20 dBm, −40 dBm, −30 dBm, −25 dBm, respectively. In the step ST253, the neighborhood quantities 5013˜5053 of the second electronic devices 501˜505 collected in the step ST21 are used as a reference. The second electronic device having the most neighborhood quantity is selected as the remote transceiver. According to the present embodiment, the plurality of neighborhood quantities 5013˜5053 of the plurality of second electronic devices 501˜505 are 2, 1, 2, 1, and 3, respectively.
If the present embodiment executes the step ST251, then the second electronic device 501 owns the best connection quality. Consequently, the second electronic device 501 is set as the remote transceiver. On the other hand, if the present embodiment executes the step ST253, then the neighborhood quantity 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 second electronic device 505 is assigned as the remote transceiver. According to the present embodiment, the step ST251 is executed. As shown in
Please refer to
Moreover, the plurality of second electronic devices having received the broadcast message will compare their own neighborhood tables with that of the remote transceiver. When their own neighborhood tables include the second electronic device not recorded in the neighborhood tables of the remote transceiver, they will transmit the received broadcast message according to their own neighborhood 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 |
201510581690.9 | Sep 2015 | CN | national |