The present invention relates to a wireless digital communication system and method thereof, and more particularly, to a wireless digital communication system and method thereof capable of using a simplified communication protocol stack by designing the same on a pairing mechanism.
A network consists of two or more computers (such as PCs, MACs, UNIX workstations, etc.) that are linked by common transmission media in order to share resources (such as printers and CD-ROMs), exchange files, or allow electronic communications. The computers on a network may be linked through cables, telephone lines, radio waves, satellites, or infrared light beams.
In a network, when a computer A intends to communicate with a computer B for resource sharing, e.g. the computer A wants to send a “request” or “data” to the computer B through cables or telephone lines, the computer A is required to be enabled for the sending operation and the computer B is required to be able to acknowledge the request or data sent from the computer A and send a feedback to the computer A.
By the same principle, a computer can communicate with any computer in the world using one or more application software with specific function or I/O management capability. A network protocol is a set of predetermined rules that allow two entities to communicate. Two computers set up to use the same protocol will know what messages to expect and how to respond. But two computers set up to use two different protocols will not be able to communicate even if they are on the same physical network and use the same cabling scheme.
The Open Systems Interconnect (OSI) reference model is the International Standards Organization (ISO) structure for the “ideal” network architecture. This Model outlines seven areas, or layers, for the network and defines the data format, i.e. packet format, transmitting between computers in the network. Please refer to
The establishment of the OSI reference model facilitates multi-vendor equipment interoperability and thus enables communication between hardware and software systems despite differences in underlying architectures.
Up until recently, wireless technology was a patchwork of incompatible systems from a variety of vendors. The technology was slow, expensive and reserved for mobile situations or hostile environments where cabling was impractical or impossible. With the maturing of wireless networking standard cooperating wireless datagram protocol (WDP) with the foregoing communication protocol, wireless technology has produced a number of affordable wireless solutions that are growing in popularity with our daily life. For instance, a wireless network can use an access point acted like a hub, providing connectivity for the wireless computers. It can connect (or “bridge”) the wireless LAN to a wired LAN, allowing wireless computer access to LAN resources, such as file servers or existing Internet Connectivity.
Please refer to
In this regard, the wireless enabled notebook computer 210 is linked with the server 220 on the other side of the internet 215 using the wireless networking architecture of
However, the more layers the communication protocol has, the more payload the wireless network is required to process and thus the network will require to be equipped with more sophisticated devices for handling such massive payload.
When the wireless network using a multi-layer communication protocol similar to the TCP/IP model is being applied on a certain wireless communication product, such as a monitoring system consisted of video cameras and monitors, even the monitoring system is a simple wireless product comparing to the other wireless communication products, there is still a massive data payload required to be processed. In reality, the certain simple wireless product only uses a portion of the services provided by the multi-layer protocol, such as the TCP/IP model. Hence, if the certain simple wireless product applies the multi-layer protocol similar to the TCP/IP model, some extra cost will be spent on handling those redundant services came with the multi-layer protocol.
In view of the above description, the present invention provides a wireless digital communication system and method thereof, requiring no multi-layer protocol similar to the TCP/IP model, capable of being applied on those simple wireless products for reducing the manufacturing cost.
The primary object of the invention is to provide a wireless digital communication method using a first protocol layer, a second protocol and a third protocol layer for constructing a packet, wherein the first protocol layer is used to convert the packet into signals transmitted by a transmission medium, and the second protocol layer having addressing capability provides routing and switching functions necessary to move data from any two nodes in a network, and the third protocol layer is used to build a pairing mechanism between intermediary nodes in the network and between the original network with an external system on the packet.
In a preferred embodiment of the present invention, the network comprising a host and at least a device implements a pairing mechanism as following: sending a request from the host to the device; sending a response from the device to the host; sending a packet from the device to the host; sending an update from the host to the device.
Both the second protocol layer and the third protocol layer will build headers on the transmitted packet. The header built by the second protocol layer includes a Preamble field, a Net ID field, a Node ID field, a PacketSize field, etc., and the header built by the third protocol layer includes a Category field, a Command/Response field, a Sequence ID/Flag field and a Length field, etc. In addition, the category is used for identify the category of the packet, and there are four categories: CONFIG, CTRL, DATA, FIRMWARE.
The third protocol layer uses the least significant 2 bits to clarify command and response, representing meanings of the following: the command is being processed, the command is successfully processed, the data payload is wrong, and the command cannot be recognized (which are referred respectively as CMD, ACK, NAK, and REJ hereinafter). If the category field is belonged to DATA, a flag of most significant 2 bits will be used to specify the begin of data and the end of data. On the other hand, if the category field is belonged to firmware, the most significant 2 bits will be used to specify begin/end, and the remaining 6 bits will be used for the sequence ID.
Another object of the present invention is to provide a wireless digital communication system, comprising a host and at least a device, wherein the host is configured in a network having at least a device paired with the host by a pairing mechanism such that a packet is being transmitted between the host and the device using a three-layer protocol.
In a preferred embodiment of the present invention, the host is a monitor and the device is a video camera.
To sum up, the present invention provides a wireless digital communication system and method thereof capable of using a three-layer protocol by designing the same on a pairing mechanism so as to reduce the cost required for data processing.
In a simple wireless product, such as a monitoring system consisted of video cameras and monitors, the communication between the host and the device is based on a pairing mechanism. Therefore, if a simplified protocol instead of the complicated multi-layer TCP/IP model can be defined according to the pairing mechanism for the simple wireless communication product, such as the monitoring system, the extra cost spent on handling those redundant protocol came with the multi-layer communication model can be minimized.
Accordingly, the present invention provides a wireless digital communication method using a first protocol layer, a second protocol and a third protocol layer for constructing a packet, wherein the first protocol layer is used to convert the packet into signals transmitted by a transmission medium, and the second protocol layer having addressing capability provides routing and switching functions necessary to move data from any two nodes in a network, and the third protocol layer is used to build a pairing mechanism between intermediary nodes in the network and between the original network with an external system on the packet.
When the present invention is being implemented onto a network whose host communicates with a device thereof according to a pairing mechanism, such as a monitoring system with a monitor as the host and a video camera as the device, the layers of the communication protocol used in the network can be simplified and reduced such the complicated multi-layer TCP/IP model is not required.
To make the esteemed review committee can further understand and recognize the present invention, a detailed description in accordance with several accompanying diagrams are presented as following.
Please refer to
Following, the monitor 310 can start the procedure of receiving images from the scanned video camera 320. First, the monitor 310 will send a file-attach request, i.e. Ctr_attach_req 333, to the specific video camera 320, and the video camera 320 after receiving the Ctr_attach_req 333 and finishing all the corresponding actions will return an ACK 334 to inform the monitor 310 that it is ready for the image transmission.
After the ACK 334 is received by the monitor 310, a recording command, i.e. Ctr_record_cmd 335 will be sent from the monitor 310 to the specific video camera 320 for instructing the same to start the image transmission. When video camera 320 receives the Ctr_record_cmd 335, it will issue an ACK first to the monitor 310 and than start transmitting image data 337 to the monitor 310.
Hence, by the aforementioned pairing mechanism, the monitor 310 is capable of acquiring image data 337 taken by the video camera 320.
Intuitively, while comparing the data transmission between the monitor 310 and the video camera 320 with that between the notebook computer 210 and the server 220, the major difference between the foregoing monitoring system with pairing mechanism and the system shown in
Please refer to
Wherein, the Preamble field is used for synchronization, and the Net ID field is used for specifying the network (host) ID the packet 400 belongs to, and the Node ID field is used for specifying the device ID the packet 400 originated or destinated, and the PacketSize field is used for specifying the length of the packet 400.
The category field of the header 430 is used for identifying the category of the packet 400, and there can be four categories: CONFIG, CTRL, DATA, FIRMWARE.
The Command/Response field of the header 430 carries the command or response required by the category filed, such as the Scan_req 331, the Scan_rsp 332, and Ctr_attach_req 333, etc. of
Moreover, the Command/Response field can be configured as following:
In general, the Command/Response field uses the least significant 2 bits to clarify the command and response, such as ACK, NAK and REJ, or uses the most significant bit to clarify a receiving and transmitting.
The Sequence ID/Flag field of the header 430 is used for specifying the sequence of a plurality of packets. For instance, if the category is belonged to DATA, the flag will be used for specifying the packet, and if the category is belonged to the categories other than DATA, the sequence ID will be use specifying the sequence of a plurality of packets, in this regard, the host will generate the sequence ID and increase the value by 1 for next command. As for the length field of the header 430 is only to describe the length of payload 410.
In most case, the header built by the third protocol layer of the present invention as seen in
Hence, the present invention provides a wireless digital communication method capable of using a simplified communication protocol stack by designing the same on a pairing mechanism, moreover, the simplified protocol stack is formed by integrating communication protocols needed for the pairing mechanism on the third protocol layer and deleting the layers beyond the third layer, such that the system using the pairing mechanism can implement a simplified communication protocol stack for achieving wireless communication. In addition, the payload of the system can be reduced since redundant protocols are deleted and the protocols corresponding to the pairing mechanism are integrated into a layer. In this regard, a certain lower level devices can be used in the wireless system for implementing the simplified protocol stack corresponding to the pairing mechanism, and the overall production cost of the wireless system, e.g. household wireless device, such as baby monitor system, is greatly reduced. To sum up, the present invention provides a wireless digital communication system and method thereof capable of using a simplified communication protocol stack by designing the same on a pairing mechanism, wherein the simplified communication protocol stack is formed with a MAC layer, a physical layer, and a third protocol layer built by integrating and simplifying the layers beyond the third layer of a conventional communication protocol stack according to the pairing mechanism. Comparing to the convention multi-layer protocol model, the packet size of the present invention is much smaller than that of prior art since the communication protocol stack of the present invention only has three layers. Thus, the wireless system using the present invention can have lighter payload and is capable of using lower cost device for handling the packet transmission.
While the preferred embodiment of the invention has been set forth for the purpose of disclosure, modifications of the disclosed embodiment of the invention as well as other embodiments thereof may occur to those skilled in the art. Accordingly, the appended claims are intended to cover all embodiments which do not depart from the spirit and scope of the invention.