KR101689670B1 - Method for controlling transmitting and receiving data between one device and the other device in real-time - Google Patents
Method for controlling transmitting and receiving data between one device and the other device in real-time Download PDFInfo
- Publication number
- KR101689670B1 KR101689670B1 KR1020150107914A KR20150107914A KR101689670B1 KR 101689670 B1 KR101689670 B1 KR 101689670B1 KR 1020150107914 A KR1020150107914 A KR 1020150107914A KR 20150107914 A KR20150107914 A KR 20150107914A KR 101689670 B1 KR101689670 B1 KR 101689670B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- real
- identification information
- time
- real time
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1059—End-user terminal functionalities specially adapted for real-time communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
Abstract
The present invention proposes a device for real-time data transmission / reception control between devices. In particular, the present invention proposes a method of relaying data in real time after interworking with each device based on identification information of each device. The method includes obtaining first identification information of a first device and second identification information of a second device; Obtaining data in real time based on the first identification information when data is input to the first device or data is generated by the first device; Transmitting data to the second device in real time based on the second identification information; And displaying whether the data is successfully transmitted in real time.
Description
The present invention relates to a method for controlling data transmission and reception in real time. More particularly, the present invention relates to a method for controlling data transmission and reception in real time between two different devices.
In order to guarantee real-time property and periodicity, it is necessary to implement SW using real-time OS such as Vxworks or real-time kernel module using Windows. However, these problems have the following problems.
First, real-time OS and real-time kernel modules cost hundreds to tens of thousands of dollars and are very expensive. Second, the SW implemented in a non-real-time operating system such as Windows can not be used as it is and needs to be re-implemented. Third, considerable burden is imposed from the viewpoint of cost and implementation time.
Korean Patent Publication No. 2010-0129672 proposes a real-time image data transmission / reception system. However, this system can not solve the above problem because it is not intended for a device equipped with a non-real-time operating system such as Windows.
It is an object of the present invention to provide a real-time data transmission / reception control method for relaying data in real time after being interlocked with each device based on identification information of each device.
However, the objects of the present invention are not limited to those mentioned above, and other objects not mentioned can be clearly understood by those skilled in the art from the following description.
According to an aspect of the present invention, there is provided an information processing apparatus including: an identification information obtaining unit that obtains first identification information of a first device and second identification information of a second device; A data acquiring unit that acquires data in real time based on the first identification information when data is input to the first device or when the data is generated by the first device; And a data processor for transmitting the data to the second device in real time based on the second identification information.
Preferably, the data acquiring unit uses the second identification information as identification information of the first device when acquiring the data from the first device, and the data processing unit, when transmitting the data to the second device, And uses the first identification information as information.
Preferably, the identification information obtaining unit obtains the first identification information and the second identification information using a serial communication, and the data obtaining unit and the data processing unit use Ethernet communication And relays the data.
Preferably, the real-time data transmission / reception control apparatus operates when the first device is a device not equipped with an RTOS (Real Time Operating System).
Preferably, the data obtaining unit obtains the data in real time based on the second identification information when the data is input to the second device or the data is generated by the second device, and the data processing unit Wherein the data processing unit transmits the data to the first device in real time based on the first identification information, and the data processing unit transmits the data to the first device using the period longer than the reference period when the first device is a device that does not mount the RTOS. To the first device.
Preferably, the data processing unit transmits a data amount larger than a reference amount to the first device when the data is transmitted using a period longer than the reference period.
Advantageously, the data processing unit determines an amount of data to be transmitted based on an extended period.
Preferably, the data processing unit transmits the data to the second device using a period longer than the reference period when the second device is a device not equipped with the RTOS.
Preferably, the data processing unit transmits a data amount larger than a reference amount to the second device when the data is transmitted using a period longer than the reference period.
Preferably, the real-time data transmission / reception control device includes: a first device monitoring unit for determining whether the first device is powered ON; And a first device determination unit for determining whether the data input to the first device exists or whether the data generated by the first device exists if it is determined that the power of the first device is turned on do.
Preferably, the first device determination unit transmits a query message to the first device at predetermined time intervals when it is determined that the power of the first device is on, and transmits a response message of the first device to the inquiry message Whether there is the data input to the first device or whether the data generated by the first device exists.
The present invention also provides a method of controlling a device, comprising: obtaining first identification information of a first device and second identification information of a second device; Obtaining data in real time based on the first identification information when data is input to the first device or when the data is generated by the first device; Transmitting the data to the second device in real time based on the second identification information; And displaying whether the data is successfully transmitted in real time.
Preferably, the acquiring in real time uses the second identification information as its identification information when acquiring the data from the first device, and the transmitting step transmits the data to the second device And uses the first identification information as its identification information.
Advantageously, the step of acquiring the information comprises obtaining the first identification information and the second identification information using serial communication, and the step of acquiring in real time and the transmitting step may comprise the steps of: Ethernet communication) to relay the data.
Preferably, the real time data transmission / reception control method is performed when the first device is a device not equipped with an RTOS (Real Time Operating System).
Preferably, the acquiring in real time may include acquiring the data in real time based on the second identification information when the data is input to the second device or the data is generated by the second device, Wherein the transmitting step transmits the data to the first device in real time on the basis of the first identification information, and the transmitting step uses a period longer than the reference period when the first device is a device that does not mount the RTOS And transmits the data to the first device.
Advantageously, the transmitting step transmits the amount of data larger than the reference amount to the first device when the data is transmitted using the period longer than the reference period.
Advantageously, said transmitting step determines an amount of data to be transmitted based on an extended period.
Preferably, the transmitting step transmits the data to the second device using a period longer than the reference period when the second device is a device that does not include the RTOS.
Advantageously, the transmitting step transmits the amount of data larger than the reference amount to the second device when the data is transmitted using the period longer than the reference period.
Determining whether the power of the first device is ON between the step of acquiring the information and the step of acquiring in real time; And determining whether the data input to the first device exists or whether the data generated by the first device exists if it is determined that the power of the first device is turned on.
Preferably, the step of determining whether the first device transmits the inquiry message includes transmitting the inquiry message to the first device at predetermined time intervals when it is determined that the first device is powered on, Determines whether there is the data input to the first device or whether there is the data generated by the first device based on the response message.
Further, the present invention proposes a recording medium on which the above-described method is recorded.
The present invention can achieve the following effects through the above-described configurations.
First, it enables convenient connection to a general non-real-time system and real-time transmission / reception even if an expensive real-time OS or system is purchased and the system is not regenerated.
Second, non-periodic transmission data can be periodically transmitted.
Third, data can be stored on a non-real-time operating system without missing periodically received data.
Fourth, it can replace some functions of real-time OS at a very low price.
1 is a conceptual diagram of a real-time data transmission / reception system according to an embodiment of the present invention.
2 is an internal configuration diagram of a real-time data transmitting and receiving apparatus according to an embodiment of the present invention.
3 is a flowchart illustrating a method of operating a real-time data transmitting / receiving apparatus according to an embodiment of the present invention.
4 is a flowchart illustrating a method of operating a real-time data transmitting / receiving apparatus according to an embodiment of the present invention.
5 is a conceptual diagram schematically showing a real-time data transmission / reception control apparatus according to a preferred embodiment of the present invention.
6 is a flowchart schematically illustrating a method for controlling real-time data transmission / reception according to a preferred embodiment of the present invention.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used to designate the same or similar components throughout the drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. In addition, the preferred embodiments of the present invention will be described below, but it is needless to say that the technical idea of the present invention is not limited thereto and can be variously modified by those skilled in the art.
In a non-realtime operating system such as Microsoft's MS Windows, it is virtually impossible to guarantee the periodicity of data exchange within a short period of a few milliseconds. Therefore, an expensive Real Time OS such as Vxworks for real- use. Recently, a real-time kernel module that can be inserted and used in a Windows operating system is also commercially available, but this is also a high price.
If only the simple data transmission / reception on the network is desired, it is possible to use a dongle type data exchange device which can guarantee the real time periodicity easily and conveniently without constructing an expensive real time system. Hereinafter, the present invention proposes such a dongle-type data exchange apparatus.
1 is a conceptual diagram of a real-time data transmission / reception system according to an embodiment of the present invention.
Referring to FIG. 1, a real-time data transmission /
The
In the following description, the
The real-time data transmission /
The internal configuration of the above-mentioned real-time data transmission /
2 is an internal configuration diagram of a real-time data transmitting and receiving apparatus according to an embodiment of the present invention.
The
The
The
The
The
The
The real-time processor 134 controls data transmission between the
Next, an operation method of the real-time data transmission /
Hereinafter, the operation principle when data is periodically transmitted in an aperiodic system (ex. Windows system) will be described with reference to FIG. In the embodiment according to FIG. 3, the
First, the
(1) The
(2) The
Then, it is set to recognize that the
(1) The
(2) The address information of the
Then, when the
If it is determined that the received data is as large as possible for temporary storage, the real-time processor 134 temporarily stores the data in the form of a message queue. Then, the real-time processor 134 converts the header information of the packet containing data after buffering for a predetermined time (e.g., 0.8 ms to 1.2 ms) (S250). The reason that the real-time processor 134 converts the header information of the packet is to set the
On the other hand, if it is determined that the received data is a size that is not possible for temporary storage, the real-time processor 134 stores the whole data in the
4 is a flowchart illustrating a method of operating a real-time data transmitting / receiving apparatus according to an embodiment of the present invention.
The operation principle of storing data in an aperiodic system when data is periodically transmitted from a real time system to an irregular system (Windows system) will be described with reference to FIG. In the embodiment according to FIG. 4, the
The real time data transmission /
In addition, the real-time data transmission /
For example, when the
According to the above, the
Reference is now made to Fig.
First, the
(1) The
(2) The
Then, the
(1) The
(2) The address information of the
Then, the
Thereafter, the real-time processor 134 transforms the transmission period so that the
Thereafter, the real-time processor 134 converts the header information of the packet containing the data (S370). The reason that the real-time processor 134 converts the header information of the packet is to set the
The present invention described above can be applied when periodic data transmission is guaranteed within several milliseconds in an environment such as a general PC operating in a window. In addition, the present invention is also applicable to a case where data is periodically received within a few milliseconds in an environment such as a general PC operating in a window, without fail to store the data.
The present invention described above can be applied to a missile. The inertial navigation system mounted on the missile must be subjected to an alignment process before the launch, in which case the alignment data must be periodically transmitted to the inertial navigation system. For this function, it is necessary to construct a system using a real-time OS or a kernel, and the present invention can be used in place of the system described above.
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention has been described with reference to Figs. Best Mode for Carrying Out the Invention Hereinafter, preferred forms of the present invention that can be inferred from the above embodiment will be described.
5 is a conceptual diagram schematically showing a real-time data transmission / reception control apparatus according to a preferred embodiment of the present invention.
5, the real-time data transmission /
The power supply unit 440 performs a function of supplying power to each configuration of the real-time data transmission /
The
The identification
The data acquisition unit 420 acquires data in real time based on the first identification information when data is input to the first device or when data is generated by the first device. The data acquisition unit 420 may use the second identification information as its identification information when acquiring data from the first device.
The
The data acquisition unit 420 and the
The real-time data transmission /
Meanwhile, when data is input to the second device or data is generated by the second device, the data acquisition unit 420 acquires data in real time based on the second identification information, and the
In this case, the
In addition, the
The
Meanwhile, the real-time data transmission /
The first device monitoring unit 460 performs a function of determining whether the power of the first device is ON.
The first device determination unit 470 determines whether there is data input to the first device if the first device monitoring unit 460 determines that the power of the first device is turned on. The first device determination unit 470 may also determine whether there is data generated by the first device.
If the first device monitoring unit 460 determines that the first device is powered on by the first device monitoring unit 460, the first device determining unit 470 transmits a query message to the first device at predetermined time intervals, Based on the response message of the first device, whether there is data input to the first device or whether there is data generated by the first device. The inquiry message includes inquiring whether there is data input to the first device or whether there is data generated by the first device. And a response message to this may be prepared and provided by a person connected to the first device.
Next, an operation method of the real-time data transmission /
First, the identification
Thereafter, when data is input to the first device or data is generated by the first device, the data acquisition unit 420 acquires data in real time based on the first identification information (S520).
Thereafter, the
Thereafter, the display control unit (not shown) displays whether data is successfully transmitted in real time (S540). The
The first device monitoring unit 460 determines whether the power of the first device is turned on between S510 and S520. Then, the first device determination unit 470 determines whether the power of the first device is on It is possible to determine whether there is data input to the first device or whether there is data generated by the first device.
It is to be understood that the present invention is not limited to these embodiments, and all elements constituting the embodiment of the present invention described above are described as being combined or operated in one operation. That is, within the scope of the present invention, all of the components may be selectively coupled to one or more of them. In addition, although all of the components may be implemented as one independent hardware, some or all of the components may be selectively combined to perform a part or all of the functions in one or a plurality of hardware. As shown in FIG. In addition, such a computer program may be stored in a computer readable medium such as a USB memory, a CD disk, a flash memory, etc., and read and executed by a computer to implement an embodiment of the present invention. As the recording medium of the computer program, a magnetic recording medium, an optical recording medium, a carrier wave medium, and the like can be included.
Furthermore, all terms including technical or scientific terms have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined in the Detailed Description. Commonly used terms, such as predefined terms, should be interpreted to be consistent with the contextual meanings of the related art, and are not to be construed as ideal or overly formal, unless expressly defined to the contrary.
It will be apparent to those skilled in the art that various modifications, substitutions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims. will be. Therefore, the embodiments disclosed in the present invention and the accompanying drawings are intended to illustrate and not to limit the technical spirit of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments and the accompanying drawings . The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.
Claims (10)
Acquiring the first data or the second data in real time based on the first identification information if it is determined that the first data is input to the first device or the second data is generated by the first device And acquires the third data or the fourth data in real time based on the second identification information when the third data is input to the second device or the fourth data is generated by the second device, 1 data or the second data by using the second identification information as its identification information and acquiring the third data or the fourth data by using the first identification information as its identification information step;
Transmitting the first data or the second data to the second device in real time based on the second identification information, and transmitting the third data or the fourth data to the first device For transmitting the third data or the fourth data when the first device is a device not equipped with an RTOS (Real Time Operating System) and the second device is a device equipped with the RTOS, Extending the transmission period; And
Displaying whether the data is successfully transmitted in real time
Wherein the real-time data transmission / reception control method comprises:
Wherein the extending step uses the first identification information as its identification information when transmitting the third data or the fourth data to the second device.
Wherein the acquiring step acquires the first identification information and the second identification information using serial communication,
Wherein the using step and the extending step relate the first data, the second data, the third data, and the fourth data using an Ethernet communication.
Wherein the extending step transmits the amount of data larger than a reference amount to the first device when transmitting the third data or the fourth data using a period longer than the transmission period.
Wherein the extending step determines the amount of data to be transmitted based on the extended period.
Determining whether the power of the first device is ON; And
Determining whether the first data input to the first device exists or whether the second data generated by the first device is present if it is determined that the first device is powered on
Wherein the real time data transmission / reception control method further comprises:
Wherein the step of determining whether or not the first device transmits the inquiry message to the first device at a predetermined time interval is determined when the first device is powered on, Wherein the first device determines whether the first data input to the first device exists or whether the second data generated by the first device exists.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150107914A KR101689670B1 (en) | 2015-07-30 | 2015-07-30 | Method for controlling transmitting and receiving data between one device and the other device in real-time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150107914A KR101689670B1 (en) | 2015-07-30 | 2015-07-30 | Method for controlling transmitting and receiving data between one device and the other device in real-time |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101689670B1 true KR101689670B1 (en) | 2016-12-26 |
Family
ID=57733642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150107914A KR101689670B1 (en) | 2015-07-30 | 2015-07-30 | Method for controlling transmitting and receiving data between one device and the other device in real-time |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101689670B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003122704A (en) * | 2001-10-18 | 2003-04-25 | Fuji Xerox Co Ltd | Data processor |
KR100692653B1 (en) * | 2005-11-15 | 2007-03-13 | 주식회사 케이티프리텔 | Wireless internet data releay method and access gateway system for wireless internet data using the same |
KR100701298B1 (en) * | 2006-07-07 | 2007-03-29 | 주식회사 실버크리너 | Ubiquitous automatic meter reading and cutting system using home automation system, and method thereof |
KR101021541B1 (en) * | 2008-11-20 | 2011-03-16 | 한양대학교 산학협력단 | Efficient transmitting method of data to end device in zigbee network and device thereof |
-
2015
- 2015-07-30 KR KR1020150107914A patent/KR101689670B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003122704A (en) * | 2001-10-18 | 2003-04-25 | Fuji Xerox Co Ltd | Data processor |
KR100692653B1 (en) * | 2005-11-15 | 2007-03-13 | 주식회사 케이티프리텔 | Wireless internet data releay method and access gateway system for wireless internet data using the same |
KR100701298B1 (en) * | 2006-07-07 | 2007-03-29 | 주식회사 실버크리너 | Ubiquitous automatic meter reading and cutting system using home automation system, and method thereof |
KR101021541B1 (en) * | 2008-11-20 | 2011-03-16 | 한양대학교 산학협력단 | Efficient transmitting method of data to end device in zigbee network and device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9398080B2 (en) | Control device, image processing device, control method, computer-readable recording medium, and program | |
CN107592238B (en) | Automatic test method and system of interface, service terminal and memory | |
CN105677469B (en) | Timed task execution method and device | |
US9270481B2 (en) | Communication system and method for isochronous data transmission in real time | |
KR102030012B1 (en) | Communication Interface Apparatus and Interface Method Using the Same | |
JP5233770B2 (en) | GATEWAY DEVICE, ITS CONTROL METHOD, SYSTEM, PROGRAM FOR EXECUTING CONTROL METHOD, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
CN110166557A (en) | Car networking data processing equipment, vehicle termination and storage medium | |
US11740997B2 (en) | Method and apparatus for debugging a device | |
CN113158116A (en) | Unmanned aerial vehicle control platform based on mobile internet | |
Pocovi et al. | Measurement framework for assessing reliable real-time capabilities of wireless networks | |
CN108401454B (en) | Transaction scheduling method, processor, distributed system and unmanned aerial vehicle | |
CN110636603A (en) | Aircraft time synchronization system and method | |
WO2019000822A1 (en) | Communication method and apparatus for radio frequency device, remote controller and unmanned aerial vehicle | |
CN111279637B (en) | Information synchronization method, unmanned aerial vehicle, load equipment, system and storage medium | |
US20150227330A1 (en) | System and method for the pairing of components of a printer-related data reporting system | |
KR101689670B1 (en) | Method for controlling transmitting and receiving data between one device and the other device in real-time | |
KR101651237B1 (en) | Apparatus for controlling transmitting and receiving data in real-time | |
US20220394438A1 (en) | Sensor System, Wireless Cooperative Receiving System, and Wireless Cooperative Receiving Method | |
CN104793533A (en) | Distributed type synchronous underwater sound collection and real-time display analysis system | |
CN109819026B (en) | Method and device for transmitting information | |
WO2019100245A1 (en) | Communication system for unmanned aerial vehicle, device, method, and computing device | |
CN113204249B (en) | Unmanned aerial vehicle near-remote combined control system and method and unmanned aerial vehicle | |
JP6407118B2 (en) | Communication base station and terminal device | |
CN109737975B (en) | Map data acquisition monitoring method, device and system | |
KR102146613B1 (en) | Method for monitoring material location using low-power infrared beacon and speed camera and system using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20191125 Year of fee payment: 4 |