WO2010081328A1 - 一种数据传输方法和传输系统、及数据发送端 - Google Patents
一种数据传输方法和传输系统、及数据发送端 Download PDFInfo
- Publication number
- WO2010081328A1 WO2010081328A1 PCT/CN2009/073526 CN2009073526W WO2010081328A1 WO 2010081328 A1 WO2010081328 A1 WO 2010081328A1 CN 2009073526 W CN2009073526 W CN 2009073526W WO 2010081328 A1 WO2010081328 A1 WO 2010081328A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- type
- structure information
- language
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0023—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
- H04L1/0028—Formatting
- H04L1/0029—Reduction of the amount of signalling, e.g. retention of useful signalling or differential signalling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
-
- 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/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
Definitions
- the present invention relates to the field of information transmission, and in particular to a data transmission method, a transmission system, and a data transmitting end suitable for the power industry.
- ASN.1 is a flexible notation that describes the representation, encoding, transmission, and decoding of data. It provides a formal, unambiguous, and precise set of rules to describe an object structure that is independent of a particular computer hardware.
- the data sender analyzes the type and structural characteristics of the data, and includes the type and structure information of the data in each data transmission process. See Figure 1 for the specific sending process.
- Step S101 The data sending end analyzes the type and structural characteristics of the data, and uses the type and the structural feature of the data as the description information of the data, and sends the data together with the data to the data receiving end.
- Step S102 The data receiving end receives the data and the description information thereof, and parses the data by using the description information.
- Step S103 The data sending end continues to analyze the type and structure feature of the next data, and uses the type and structure feature of the next data as the description information, and sends the same data to the data receiving end together with the next data.
- Step S104 The data receiving end receives the next data and its description information, and parses the next data by using the description information. In this cycle, data is transmitted and received.
- the data transmitting end analyzes each transmitted data, acquires the type and structure information of the data, and then sends the type and structure information together with the data, and the data receiving end receives each of the data.
- the data is decoded, which not only increases the amount of data transmitted each time, but also requires complicated encoding and decoding work, which affects the efficiency of data transmission.
- a large number of substations and power plants need to exchange data, requiring real-time data transmission, but the existing transmission efficiency using the ANS.1 standard is difficult to meet this requirement.
- the technical problem to be solved by the present invention is to provide a data transmission method, which can save communication resources, reduce data processing time, and improve data transmission efficiency.
- Another object of the present invention is to provide a data transmission system which can save communication resources, reduce data processing time, and improve data transmission efficiency.
- the data transmission method of the present invention comprises: when transmitting data for the first time, the data transmitting end acquires the type and structure information of the data, and the type and structure information, and the data are encoded and sent to the data receiving end, and the data receiving end decodes The type and structure information and data received; when the data is transmitted again, the data transmitting end encodes the data and sends it to the data receiving end, and the data receiving end decodes the received data according to the type and structure information.
- the method further includes: when the type and structure of the data change, the data sending end acquires the changed type and structure information, and sends the changed type and structure information, and the data is encoded and sent to the data receiving end; The received data is decoded by the changed type and structure information.
- the data transmitting end analyzes the type and structure information of the data by using an M language analyzer.
- the type and structure information includes structural information of the data, variable name, type, and length information transmitted.
- a data transmission system includes a data transmitting end and a data receiving end, wherein the data transmitting end includes a language analyzer, a language encoder, and a data transmitting unit; and the data transmitting end includes a language decoder: a language analyzer, configured to acquire data type and structure information when transmitting data for the first time; the language encoder, configured to encode the type and structure information, and the data, or only data; a unit, configured to send the encoded type and structure information, and the data to the language decoder, or only send data to the language decoder; the language decoder is configured to use a language according to the type and The structure information decodes the received data.
- a language analyzer configured to acquire data type and structure information when transmitting data for the first time
- the language encoder configured to encode the type and structure information, and the data, or only data
- a unit configured to send the encoded type and structure information, and the data to the language decoder, or only send data to the language decoder
- the data sending end further includes a data type and structure detecting unit, configured to start the language analyzer when the type and structure of the data change.
- the type and structure information includes structural information of the data, variable name, type, and length information transmitted.
- the present invention also discloses a data transmitting end, where the data sending end includes a language analyzer, a language encoder, and a data sending unit: the language analyzer is configured to acquire data type and structure information when transmitting data for the first time; The language encoder is configured to encode the type and structure information, and the data, or only the data, using the M language; the data sending unit is configured to use the encoded type and structure information, and the data Send to the data receiving end, or only send data to the data receiving end;
- the data sending end further includes a data type and structure detecting unit, configured to start the language analyzer when the type and structure of the data change.
- the type and structure information includes structural information of the data, variable name, type, and length information transmitted.
- the present invention has the following advantages:
- the data transmission end of the invention analyzes the type and structure information of the acquired data without sending each time, omits a large amount of data compilation work, saves communication resources, and reduces data processing time. And the data sent by the data receiving end does not contain the type and structure information of the data, and the transmitted data packet is relatively small, which facilitates the fast and efficient transmission of the data. At the data receiving end, it is not necessary to parse the type and structure information of the data every time. When decoding data according to the type and structure information, it is only necessary to decode the received data according to the type and structure information received for the first time, and omit a large amount of data. Compile work, save communication resources, and reduce data processing time.
- Figure 1 is a signaling diagram of an existing data transmission method
- FIG. 2 is a signaling diagram of a data transmission method according to a first embodiment of the present invention
- FIG. 3 is a signaling diagram of a data transmission method according to a second embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a data transmission system according to a first embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a data transmission system according to a second embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a data transmitting end according to a first embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a data transmitting end according to a second embodiment of the present invention.
- the M language (Message Language) is used to define the data structure and the protocol format representation method language.
- the language can transmit dynamic messages, that is, the message has self-interpreting characteristics.
- the M language is not a programming language.
- the M language only defines the structural characteristics of the transmitted data, and does not define the operation for processing the data.
- a large amount of data transmission is required, which requires that the data packets to be transmitted each time be as small as possible, and the transmission rate is high and real-time.
- the power industry has a large number of substations and power plants to exchange data, and the data structure is not identical. Therefore, the use of M-voice to define the structure of the transmitted data not only allows high-speed data transmission, but also adapts to the dynamic characteristics of the data structure.
- the M language encoding rules are used to define the data transmission format. First, define the data type and define a unique corresponding encoding for different data types. For example, Table 1 below.
- the data type encoding and data structure number defined above are unified at the data transmission end and the data receiving end.
- the invention uses the M language to define a series of M language header structures for packaging data structures, data types and the like. Processing data in M language is divided into two processes, statically preparing the data structure and sending the data. In order to ensure that the data part of the transmission is not compiled, the static preparation data structure is made into dynamic library content, and two interfaces are provided to return the content of the structure and the contents of the attributes in the structure. The send data part is made into a static library and is provided to the M language user.
- the data structure part is statically prepared, and the externally provided data structure feature is analyzed by using MP (Message Parser, M language structure analyzer), and the data structure feature is processed into an M language representation.
- Type and structure information includes structural information of the data, variable name, type, and length information transmitted.
- the sending data part provides an MP data structure using the interface and the M language using the interface
- the M language uses the interface to obtain the data structure and the type information through the ID
- the M language uses the interface to the data structure and the type information
- the data is sent using the M language code.
- FIG. 2 a data transmission method according to a first embodiment of the present invention is shown. The specific steps are as follows.
- Step S201 When the data is sent for the first time, the data sending end acquires the type and structure information of the data. The data sender obtains the type and structure information of the data through MP analysis.
- Step S202 The data sending end uses the M language to encode the type and structure information, and the data is encoded and sent to the data receiving end.
- Step S203 The data receiving end receives the type and structure information, and the data, decodes the data by using the M language decoding type and structure information, and then according to the type and structure information.
- Step S204 When the data is sent again, the data sending end directly encodes the data in the M language and sends the data to the data receiving end, and no longer analyzes the type and structure information of the data.
- Step S205 The data receiving end decodes the received data according to the type and structure information by using the M language.
- the type and structural characteristics of a batch of data transmitted between two communication points are often the same, for example, between a power plant and a power dispatch center, between a substation and a power plant, between a substation and a power dispatch center. . Therefore, the data transmitting end can acquire the type and structural features of the data only when the data is sent for the first time, and send the type and structural features of the data to the data receiving end, and the data of the same type and structure sent later is no longer acquired.
- the data is analyzed and sent directly to the data receiver.
- the data receiving end processes the subsequently received data according to the data type and structure information received for the first time.
- the type and structure information of the acquired data are analyzed without being sent every time, a large amount of data compiling work is omitted, communication resources are saved, and data processing time is reduced.
- the data sent by the data receiving end does not contain the type and structure information of the data, and the transmitted data packet is relatively small, which facilitates the fast and efficient transmission of the data.
- decoding data according to the type and structure information it is only necessary to decode the received data according to the type and structure information received for the first time, and omit a large amount of data. Compile work, save communication resources, and reduce data processing time.
- the type and structural characteristics of the data are transmitted between two communication points.
- Non-fixed sometimes it will change.
- two communication points change, for example, the communication between the original power plant and the power dispatch center becomes communication between the power plant and the substation.
- the data transmitting end reacquires the type and structural characteristics of the data, and sends it to the data receiving end, and the data receiving end processes the data according to the newly received type and structure information.
- FIG. 3 a data transmission method according to a second embodiment of the present invention is shown. The specific steps are as follows.
- Step S301 When the data is sent for the first time, the data sending end acquires the type and structure information of the data. The data sender obtains the type and structure information of the data through MP analysis.
- Step S302 The data sending end sends the type and structure information and the data to the data receiving end together with the M language.
- Step S303 The data receiving end receives the type and structure information, and the data, and decodes the data by using the M language decoding type and structure information, and then according to the type and structure information.
- Step S304 When the data is sent again, the data sending end directly encodes the data in the M language and sends the data to the data receiving end, and no longer analyzes the type and structure information of the data.
- Step S305 The data receiving end decodes the received data according to the type and structure information by using the M language.
- Step S306 When the data sending end detects that the type and structural characteristics of the data change, the data sending end acquires the changed type and structure information.
- Step S307 The data sending end sends the changed type and structure information and the data to the data receiving end together with the M language.
- Step S308 the data receiving end receives the changed type and structure information, and the data, decodes the changed type and structure information by using the M language, and decodes the data according to the changed type and structure information.
- Step S309 When the data is sent again, the data sending end directly encodes the data in the M language and sends the data to the data receiving end, and no longer analyzes the type and structure information of the data.
- Step S310 The data receiving end decodes the received data according to the changed type and structure information by using the M language.
- the data transmitting end acquires the changed type and structure information, and sends the changed type and structure information to the data receiving end, and the data receiving end decodes the subsequent type and structure information according to the changed type. Received data.
- the data transmitting end and the data connection of the present invention The receiving end can adapt to the ever-changing data transmission of the type and structure, and can also ensure the efficient transmission of data.
- the present invention also provides a data transmission system which is mainly applied to data transmission in the power industry and which can transmit data efficiently and quickly.
- the system includes a data transmitting end 40 and a data receiving end 41.
- the data transmitting end 40 includes a language analyzer 401, a language encoder 402, and a data transmitting unit 403.
- the data transmitting end 41 includes a language decoder 411.
- the language analyzer 401 acquires the type and structure information of the data, and transmits the type and structure information to the language encoder 402.
- Type and structure information includes structural information of the data, variable name, type, and length information.
- the language encoder 402 encodes the type and structure information and the data using the M language, and transmits the encoded type and structure information and the data to the data transmitting unit 403.
- the data transmitting unit 403 transmits the encoded type and structure information and the data to the language decoder 411.
- the language encoder 402 directly encodes the data and transmits it to the data transmitting unit 403.
- the data transmitting unit 403 transmits the encoded data to the language decoder 411.
- the language decoder 411 decodes the received data by the type and structure information using the M language. In this way, at the data transmitting end, the type and structure information of the acquired data are analyzed without being sent every time, a large amount of data compiling work is omitted, communication resources are saved, and data processing time is reduced. And the data sent by the data receiving end does not contain the type and structure information of the data, and the transmitted data packet is relatively small, which facilitates the fast and efficient transmission of the data. At the data receiving end, it is not necessary to parse the type and structure information of the data every time. When decoding data according to the type and structure information, it is only necessary to decode the received data according to the type and structure information received for the first time, and omit a large amount of data. Compile work, save communication resources, and reduce data processing time.
- the system includes a data transmitting end 40 and a data receiving end 41.
- the data transmitting end 40 includes a language analyzer 401, a language encoder 402, and a data sending unit 403. And a data type and structure detecting unit 404; the data transmitting end 41 includes a language decoder 411.
- the data type and structure detecting unit 404 starts the M language analyzer 401 when the type and structure of the data changes.
- the language analyzer 401, the language encoder 402, the data transmitting unit 403, and the M language decoder 411 all encode, transmit, and decode data in accordance with the changed type and structure information.
- the present invention also provides a data transmitting end, which is mainly applied to data transmission in the power industry, and can transmit data efficiently and quickly.
- a data transmitting terminal structure of a first embodiment of the present invention includes a language analyzer 401, a language encoder 402, and a data transmitting unit 403.
- the language analyzer 401 acquires the type and structure information of the data, and transmits the type and structure information to the language encoder 402.
- Type and structure information includes structural information of the data, variable name, type, and length information.
- the M language encoder 402 encodes the type and structure information and the data using the M language, and transmits the encoded type and structure information and the data to the data transmitting unit 403.
- the data transmitting unit 403 transmits the encoded type and structure information and the data to the data receiving end.
- the language encoder 402 directly encodes the data and transmits it to the data transmitting unit 403.
- the data transmitting unit 403 transmits the encoded data to the data receiving end.
- the data transmitting terminal 40 includes a language analyzer 401, a language encoder 402, a data transmitting unit 403, and a data type and structure detecting unit 404.
- the data type and structure detecting unit 404 starts the M language parser 401 when the type and structure of the data changes.
- the language analyzer 401, the language encoder 402, and the data transmitting unit 403 both encode and transmit data according to the changed type and structure information.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Communication Control (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
一种数据传输方法和传输系统、 及数据发送端 本申请要求于 2008 年 12 月 30 日提交中国专利局、 申请号为 200810241133.2、 发明名称为"一种数据传输方法和传输系统、 及数据发送端" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及信息传输领域,特别是涉及一种适用于电力行业的数据传输方 法和传输系统、 数据发送端。
背景技术
目前, 多个领域的数据传输都采用 ANS .1 ( Abstract Syntax Notation One ) 标准, ANS.1标准由 CCITT ( International Telegraph and Telephone Consultative Committee )提出, 在解决通用编码问题领域提出一整套的标准, 属于 ISO表 示层的一种协议。 ASN.1是描述数据的表示、编码、传输、解码的灵活的记法, 它提供了一套正式、无歧义和精确的规则, 以描述独立于特定计算机硬件的对 象结构。
在电力行业应用中,数据发送端分析数据的类型和结构特征, 在每次数据 发送过程中都包含该数据的类型和结构信息。 具体发送过程参阅图 1。
步骤 S101、 数据发送端分析数据的类型和结构特征, 将该数据的类型和 结构特征作为该数据的描述信息, 同该数据一起发送至数据接收端。
步骤 S102、 数据接收端接受到该数据及其描述信息, 利用描述信息解析 该数据。
步骤 S103、 数据发送端继续分析下一数据的类型和结构特征, 将该下一 数据的类型和结构特征作为描述信息, 同该下一数据一起发送至数据接收端。
步骤 S104、 数据接收端接受到该下一数据及其描述信息, 利用描述信息 解析该下一数据。 以此循环, 实现数据的发送和接收。
在上述数据传输过程中,数据发送端对每个发送的数据都要进行分析, 获 取该数据的类型和结构信息,再将该类型和结构信息同该数据一起发送,数据 接收端对接收的每个数据都解码, 这不仅增加了每次传输的数据量,还需要进 行复杂的编码、 解码工作, 影响数据传输的效率。
在电力行业应用中,有大量变电站和电厂需要交互数据,要求数据的传输 的实时性, 但现有的采用 ANS.1标准的传输效率很难满足这一要求。
发明内容
本发明所要解决的技术问题是提供一种数据传输方法,该方法可节省通信 资源, 减少数据处理时间, 提高数据传输效率。
本发明的另一个目的是提供一种数据传输系统, 该系统可节省通信资源, 减少数据处理时间, 提高数据传输效率。
本发明的又一个目的是提供一种数据发送端,该数据发送端可节省通信资 源, 减少数据处理时间, 提高数据发送效率。
本发明一种数据传输方法, 包括: 首次发送数据时, 数据发送端获取数据 的类型和结构信息,对所述类型和结构信息、及该数据编码后一同发送至数据 接收端, 数据接收端解码接收到的所述类型和结构信息、 及数据; 再次发送数 据时,数据发送端对数据编码后发送至数据接收端,数据接收端按所述类型和 结构信息解码接收到的数据。
优选的, 还包括: 数据的类型和结构发生变化时, 数据发送端获取变化后 的类型和结构信息,对变化后的类型和结构信息、及该数据编码后一同发送至 数据接收端; 数据接收端按变化后的类型和结构信息解码接收到的数据。
优选的,数据发送端通过 M语言分析器分析获得数据的类型和结构信息。 优选的, 所述类型和结构信息包括数据的结构信息、 传送的变量名、 类型 和长度信息。
本发明一种数据传输系统, 该系统包括数据发送端和数据接收端, 所述数 据发送端包括语言分析器、 语言编码器、 及数据发送单元; 所述数据发送端包 括语言解码器: 所述语言分析器, 用于首次发送数据时, 获取数据的类型和结 构信息; 所述语言编码器, 用于对所述类型和结构信息、 及该数据编码, 或只 对数据编码; 所述数据发送单元, 用于将编码后的类型和结构信息、 及该数据 发送到所述语言解码器, 或只发送数据至所述语言解码器; 所述语言解码器, 用于使用语言按所述类型和结构信息解码接收到的数据。
优选的, 所述数据发送端还包括数据类型和结构检测单元, 用于在数据的 类型和结构发生变化时, 启动所述语言分析器。
优选的, 所述类型和结构信息包括数据的结构信息、 传送的变量名、 类型 和长度信息。
本发明还公开一种数据发送端, 所述数据发送端包括语言分析器、语言编 码器、 及数据发送单元: 所述语言分析器, 用于首次发送数据时, 获取数据的 类型和结构信息; 所述语言编码器, 用于使用 M语言对所述类型和结构信息、 及该数据编码, 或只对数据编码; 所述数据发送单元, 用于将编码后的类型和 结构信息、 及该数据发送到数据接收端, 或只发送数据至数据接收端;
优选的, 所述数据发送端还包括数据类型和结构检测单元, 用于在数据的 类型和结构发生变化时, 启动所述语言分析器。
优选的, 所述类型和结构信息包括数据的结构信息、 传送的变量名、 类型 和长度信息。
与现有技术相比, 本发明具有以下优点:
本发明在数据发送端, 不需每次发送都分析获取数据的类型和结构信息, 省略大量的数据编译工作, 节省通信资源, 减少数据处理时间。 并且数据接收 端后续发送的数据不包含数据的类型和结构信息,传输的数据包相对较小,便 于数据快速、 高效的传输。 在数据接收端, 不需每次都对解析数据的类型和结 构信息,在根据该类型和结构信息解码数据, 只需根据第一次接收的类型和结 构信息解码接收的数据, 省略大量的数据编译工作, 节省通信资源, 减少数据 处理时间。
附图说明
图 1 为现有的数据传输方法信令图;
图 2 为本发明第一实施例的数据传输方法信令图;
图 3 为本发明第二实施例的数据传输方法信令图;
图 4 为本发明第一实施例的数据传输系统结构示意图;
图 5 为本发明第二实施例的数据传输系统结构示意图;
图 6 为本发明第一实施例的数据发送端结构示意图;
图 7 为本发明第二实施例的数据发送端结构示意图。
具体实施方式
为使本发明的上述目的、特征和优点能够更加明显易懂, 下面结合附图和
具体实施方式对本发明作进一步详细的说明。
M语言( Message Language )是用于定义数据结构和协议格式表示方法语 言, 该语言可以传送动态报文, 即报文具有自解释特性。 M语言不是一门编 程语言, M语言只是定义传输数据的结构特性, 没有定义处理这些数据的操 作。 在电力行业应用中, 需要大量、 频繁的传输数据, 这就要求每次传输的数 据包要尽量小, 传输速率要高, 具有实时性。 另外, 电力行业有数量庞大的变 电站和电厂要交互数据, 数据结构又不完全相同。 因此, 使用 M语音定义传 输数据的结构, 不仅可以高速传输数据, 还可适应数据结构动态变化的特性。
使用 M语言编码规则定义数据传输格式, 首先定义数据类型, 针对不同 的数据类型定义唯一对应的编码。 例如, 下表 1。
表 1 数据类型编码
再定义数据结构编码,针对每种要传输的数据结构,定义结构类型的编号。 上述定义的数据类型编码和数据结构编号, 在数据传输端和数据接收端统一。
本发明利用 M语言定义了一系列的 M语言头结构, 分别用于包装数据结 构、 数据类型等内容。 利用 M语言处理数据分为两个过程, 静态准备数据结 构和发送数据。 为了保证发送数据部分的不编译即可运行,把静态准备数据结 构做成动态库内容, 并提供两个接口, 用来返回结构体的内容和结构体中属性 的内容。 发送数据部分做成一个静态库, 提供给 M语言使用者。
其中, 静态准备数据结构部分, 使用 MP ( Message Parser, M语言结构的 分析器 )分析外部提供的数据结构特征, 将该数据结构特征处理成 M语言表 示形式。 类型和结构信息包括数据的结构信息、 传送的变量名、 类型和长度信 息。
其中, 发送数据部分, 提供 MP数据结构使用接口和 M语言使用接口, M语言使用接口通过 ID获取数据结构和类型信息, 通过属性名获取属性内容 新型, M语言使用接口将数据结构和类型信息、 及数据使用 M语言编码后发 送。
参阅图 2, 示出本发明第一实施例数据传输方法, 具体步骤如下。
步骤 S201、 首次发送数据时, 数据发送端获取数据的类型和结构信息。 数据发送端通过 MP分析获取该数据的类型和结构信息。
步骤 S202、 数据发送端使用 M语言对类型和结构信息、 及该数据编码后 一同发送至数据接收端。
步骤 S203、 数据接收端接收到类型和结构信息、 及该数据, 使用 M语言 解码类型和结构信息, 再 4艮据类型和结构信息, 解码该数据。
步骤 S204、 再次发送数据时, 数据发送端直接使用 M语言对数据编码后 发送至数据接收端, 不再分析获取该数据的类型和结构信息。
步骤 S205、 数据接收端使用 M语言按所述类型和结构信息解码接收到的 数据。
在电力行业应用中,两个通信点之间传输的一批次的数据的类型和结构特 征往往是相同的, 例如, 电厂与电力调度中心, 变电站与电厂之间, 变电站与 电力调度中心之间。 因此, 数据发送端可只在第一次发送数据时, 获取该数据 的类型和结构特征,将该数据的类型和结构特征发送到数据接收端, 以后发送 的相同类型和结构的数据不再获取分析该数据, 而是直接发送到数据接收端。 数据接收端根据第一次接收到的数据类型和结构信息处理后续接收的数据。
这样, 在数据发送端, 不需每次发送都分析获取数据的类型和结构信息, 省略大量的数据编译工作, 节省通信资源, 减少数据处理时间。 并且数据接收 端后续发送的数据不包含数据的类型和结构信息,传输的数据包相对较小,便 于数据快速、 高效的传输。 在数据接收端, 不需每次都对解析数据的类型和结 构信息,在根据该类型和结构信息解码数据, 只需根据第一次接收的类型和结 构信息解码接收的数据, 省略大量的数据编译工作, 节省通信资源, 减少数据 处理时间。
当然,在电力行业应用中, 两个通信点之间传输数据的类型和结构特征并
非固定不变的, 有时也会发生变化。 例如, 两个通信点发生变化, 如, 原来电 厂与电力调度中心的通信变为电厂与变电站之间通信。在数据的类型和结构特 征发生变化时,数据发送端重新获取该数据的类型和结构特征,发送到数据接 收端, 数据接收端根据新接收的类型和结构信息处理数据。
参阅图 3 , 示出本发明第二实施例数据传输方法, 具体步骤如下。
步骤 S301、 首次发送数据时, 数据发送端获取数据的类型和结构信息。 数据发送端通过 MP分析获取该数据的类型和结构信息。
步骤 S302、 数据发送端使用 M语言对类型和结构信息、 及该数据编码后 一同发送至数据接收端。
步骤 S303、 数据接收端接收到类型和结构信息、 及该数据, 使用 M语言 解码类型和结构信息, 再 4艮据类型和结构信息, 解码该数据。
步骤 S304、 再次发送数据时, 数据发送端直接使用 M语言对数据编码后 发送至数据接收端, 不再分析获取该数据的类型和结构信息。
步骤 S305、 数据接收端使用 M语言按所述类型和结构信息解码接收到的 数据。
步骤 S306、 数据发送端检测到数据的类型和结构特征发生变化时, 数据 发送端获取变化后的类型和结构信息。
步骤 S307、 数据发送端使用 M语言对变化后的类型和结构信息、 及该数 据编码后一同发送至数据接收端。
步骤 S308、 数据接收端接收到变化后的类型和结构信息、 及该数据, 使 用 M语言解码变化后的类型和结构信息, 再根据变化后的类型和结构信息, 解码该数据。
步骤 S309、 再次发送数据时, 数据发送端直接使用 M语言对数据编码后 发送至数据接收端, 不再分析获取该数据的类型和结构信息。
步骤 S310、 数据接收端使用 M语言按变化后的类型和结构信息解码接收 到的数据。
通过上述步骤, 本发明在数据的类型和结构特征发生变化时,数据发送端 获取变化后的类型和结构信息,发送到数据接收端,数据接收端再根据该变化 后的类型和结构信息解码后续接收的数据。这样, 本发明数据发送端和数据接
收端可适应类型和结构的不断变化数据传输, 并且还能够保证数据的高效传 输。
基于上述数据传输方法, 本发明还提供一种数据传输系统, 该数据传输系 统主要应用于电力行业的数据传输中, 并且能够高效、 快速地传输数据。
参阅图 4, 示出本发明第一实施例数据传输系统结构, 该系统包括数据发 送端 40和数据接收端 41 , 数据发送端 40包括语言分析器 401、 语言编码器 402、 及数据发送单元 403; 数据发送端 41包括语言解码器 411。
首次发送数据时,语言分析器 401获取数据的类型和结构信息,将该类型 和结构信息发送到语言编码器 402。 类型和结构信息包括数据的结构信息、 传 送的变量名、 类型和长度信息。
语言编码器 402使用 M语言对类型和结构信息、 及该数据编码, 将编码 后的类型和结构信息、 及该数据发送到数据发送单元 403。
数据发送单元 403将该编码后的类型和结构信息、及该数据发送到语言解 码器 411。
再次发送数据时,语言编码器 402直接对数据进行编码,发送到数据发送 单元 403。
数据发送单元 403将编码后的数据发送到语言解码器 411。
语言解码器 411使用 M语言按所述类型和结构信息解码接收到的数据。 这样, 在数据发送端, 不需每次发送都分析获取数据的类型和结构信息, 省略大量的数据编译工作, 节省通信资源, 减少数据处理时间。 并且数据接收 端后续发送的数据不包含数据的类型和结构信息,传输的数据包相对较小,便 于数据快速、 高效的传输。 在数据接收端, 不需每次都对解析数据的类型和结 构信息,在根据该类型和结构信息解码数据, 只需根据第一次接收的类型和结 构信息解码接收的数据, 省略大量的数据编译工作, 节省通信资源, 减少数据 处理时间。
参阅图 5 , 示出本发明第二实施例数据传输系统结构, 该系统包括数据发 送端 40和数据接收端 41 , 数据发送端 40包括语言分析器 401、 语言编码器 402、 数据发送单元 403、 及数据类型和结构检测单元 404; 数据发送端 41包 括语言解码器 411。
数据类型和结构检测单元 404在数据的类型和结构发生变化时,启动所述 M语言分析器 401。 语言分析器 401、 语言编码器 402、 数据发送单元 403、 及 M语言解码器 411均按变化后的类型和结构信息编码、 发送、 解码数据。
基于上述数据传输方法和数据传输系统, 本发明还提供一种数据发送端, 该数据发送端主要应用于电力行业的数据传输中, 并且能够高效、快速地发送 数据。
参阅图 6, 示出本发明第一实施例数据发送端结构, 数据发送端 40包括 语言分析器 401、 语言编码器 402、 及数据发送单元 403。
首次发送数据时,语言分析器 401获取数据的类型和结构信息,将该类型 和结构信息发送到语言编码器 402。 类型和结构信息包括数据的结构信息、 传 送的变量名、 类型和长度信息。
M语言编码器 402使用 M语言对类型和结构信息、 及该数据编码, 将编 码后的类型和结构信息、 及该数据发送到数据发送单元 403。
数据发送单元 403将该编码后的类型和结构信息、及该数据发送到数据接 收端。
再次发送数据时,语言编码器 402直接对数据进行编码,发送到数据发送 单元 403。
数据发送单元 403将编码后的数据发送到数据接收端。
参阅图 7, 示出本发明第二实施例数据发送端结构, 数据发送端 40包括 语言分析器 401、 语言编码器 402、 数据发送单元 403、 及数据类型和结构检 测单元 404。
数据类型和结构检测单元 404在数据的类型和结构发生变化时,启动所述 M语言分析器 401。 语言分析器 401、 语言编码器 402、 数据发送单元 403、 均按变化后的类型和结构信息编码、 发送数据。
以上对本发明所提供的一种数据传输方法和传输系统、及数据发送端, 进 述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员,依据本发明的思想, 在具体实施方式及应用范围 上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。
Claims
1、 一种数据传输方法, 其特征在于, 包括:
首次发送数据时,数据发送端获取数据的类型和结构信息,对所述类型和 结构信息、及该数据编码后一同发送至数据接收端,数据接收端解码接收到的 所述类型和结构信息、 及数据;
再次发送数据时,数据发送端对数据编码后发送至数据接收端,数据接收 端按所述类型和结构信息解码接收到的数据。
2、 如权利要求 1所述的方法, 其特征在于, 还包括:
数据的类型和结构发生变化时, 数据发送端获取变化后的类型和结构信 息, 对变化后的类型和结构信息、 及该数据编码后一同发送至数据接收端; 数据接收端按变化后的类型和结构信息解码接收到的数据。
3、 如权利要求 1所述的方法, 其特征在于, 数据发送端通过 M语言分析 器分析获得数据的类型和结构信息。
4、 如权利要求 1所述的方法, 其特征在于, 所述类型和结构信息包括数 据的结构信息、 传送的变量名、 类型和长度信息。
5、 一种数据传输系统, 该系统包括数据发送端和数据接收端, 其特征在 于, 所述数据发送端包括语言分析器、 语言编码器、 及数据发送单元; 所述数 据发送端包括语言解码器:
所述语言分析器, 用于首次发送数据时, 获取数据的类型和结构信息; 所述语言编码器, 用于对所述类型和结构信息、 及该数据编码, 或只对数 据编码;
所述数据发送单元, 用于将编码后的类型和结构信息、及该数据发送到所 述语言解码器, 或只发送数据至所述语言解码器;
所述语言解码器, 用于使用语言按所述类型和结构信息解码接收到的数 据。
6、 如权利要求 5所述的系统, 其特征在于, 所述数据发送端还包括数据 类型和结构检测单元, 用于在数据的类型和结构发生变化时, 启动所述语言分 析器。
7、 如权利要求 5所述的系统, 其特征在于, 所述类型和结构信息包括数
据的结构信息、 传送的变量名、 类型和长度信息。
8、 一种数据发送端, 其特征在于, 所述数据发送端包括语言分析器、 语 言编码器、 及数据发送单元:
所述语言分析器, 用于首次发送数据时, 获取数据的类型和结构信息; 所述语言编码器, 用于使用 M语言对所述类型和结构信息、 及该数据编 码, 或只对数据编码;
所述数据发送单元, 用于将编码后的类型和结构信息、及该数据发送到数 据接收端, 或只发送数据至数据接收端。
9、 如权利要求 8所述的数据发送端, 其特征在于, 所述数据发送端还包 括数据类型和结构检测单元, 用于在数据的类型和结构发生变化时, 启动所述 语言分析器。
10、 如权利要求 8所述的数据发送端, 其特征在于, 所述类型和结构信息 包括数据的结构信息、 传送的变量名、 类型和长度信息。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP09838115.5A EP2285029B1 (en) | 2008-12-30 | 2009-08-26 | Data transmission method, transmission system and data transmitter |
| EA201071305A EA024623B1 (ru) | 2008-12-30 | 2009-08-26 | Способ и система передачи данных и терминал передачи данных |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2008102411332A CN101459492B (zh) | 2008-12-30 | 2008-12-30 | 一种数据传输方法和传输系统、及数据发送端 |
| CN200810241133.2 | 2008-12-30 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2010081328A1 true WO2010081328A1 (zh) | 2010-07-22 |
Family
ID=40770138
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2009/073526 Ceased WO2010081328A1 (zh) | 2008-12-30 | 2009-08-26 | 一种数据传输方法和传输系统、及数据发送端 |
Country Status (4)
| Country | Link |
|---|---|
| EP (1) | EP2285029B1 (zh) |
| CN (1) | CN101459492B (zh) |
| EA (1) | EA024623B1 (zh) |
| WO (1) | WO2010081328A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104468035A (zh) * | 2014-11-13 | 2015-03-25 | 北京航空航天大学 | 一种分布式pos数据可靠性传输系统及方法 |
| CN112398780A (zh) * | 2019-08-13 | 2021-02-23 | 南京智数科技有限公司 | 一种适用于多种网络的设备自识别通讯方法 |
Families Citing this family (23)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101459492B (zh) * | 2008-12-30 | 2011-03-30 | 国家电网公司 | 一种数据传输方法和传输系统、及数据发送端 |
| CN101989270B (zh) * | 2009-07-30 | 2013-05-29 | 中国商用飞机有限责任公司 | 一种支持多点间交互式数据发送和接收的方法 |
| CN101990239A (zh) * | 2009-07-30 | 2011-03-23 | 中兴通讯股份有限公司 | 提高数据传输可靠性的方法、系统及无线通信设备 |
| CN102664705B (zh) * | 2012-04-03 | 2014-10-29 | 西北工业大学 | 一种飞行器数据链自适应编码调制方法 |
| CN102801496A (zh) * | 2012-06-29 | 2012-11-28 | 深圳市赛格导航科技股份有限公司 | 一种使用扩展透传协议进行盲区数据补传的方法及系统 |
| GB2516425B (en) * | 2013-07-17 | 2015-12-30 | Gurulogic Microsystems Oy | Encoder and decoder, and method of operation |
| CN103647625B (zh) * | 2013-11-19 | 2017-01-25 | 中国科学院计算技术研究所 | 一种基于链路的数据可靠传输方法 |
| CN103685287B (zh) * | 2013-12-19 | 2016-08-17 | 南京信息工程大学 | 土地集约调查测绘数据远程无线传输安全控制方法 |
| CN104202125B (zh) * | 2014-09-16 | 2017-06-13 | 成都天奥信息科技有限公司 | 一种卫星移动通信系统的数据处理方法 |
| CN104318739B (zh) * | 2014-10-11 | 2018-06-26 | 国网辽宁省电力有限公司鞍山供电公司 | 电力安全、质量现场监察主站-无线数据终端管理系统 |
| CN104283644B (zh) * | 2014-11-03 | 2018-06-19 | 大唐移动通信设备有限公司 | 一种上行协同多点的数据译码方法和设备 |
| CN104717203B (zh) * | 2015-02-02 | 2019-01-11 | 珠海格力电器股份有限公司 | 总线通信协议识别方法 |
| CN104820812B (zh) * | 2015-04-12 | 2017-09-05 | 浙江海康科技有限公司 | 一种副载波调制的米勒码的解码方法及解码装置 |
| CN104935566A (zh) * | 2015-04-17 | 2015-09-23 | 北京大学深圳研究院 | 一种更新数值系统的方法及装置 |
| CN104933387B (zh) * | 2015-06-24 | 2017-05-17 | 上海快仓智能科技有限公司 | 一种基于二维码解码的快速定位识别的方法 |
| CN105119785A (zh) * | 2015-07-15 | 2015-12-02 | 泰凌微电子(上海)有限公司 | 智能家居网络节点的配置方法、数据发送和接收方法 |
| CN105245470B (zh) * | 2015-11-05 | 2019-05-17 | 深圳市网心科技有限公司 | 一种数据传输方法和装置 |
| CN105391739B (zh) * | 2015-12-16 | 2019-01-18 | 浪潮(北京)电子信息产业有限公司 | 一种云灾备数据完整性校验方法 |
| CN105553617A (zh) * | 2015-12-21 | 2016-05-04 | 大连三高集团有限公司 | 一种串口通讯数据分析方法 |
| CN105704147A (zh) * | 2016-03-23 | 2016-06-22 | 中国电力科学研究院 | 一种调度主站与子站之间的数据交互方法 |
| CN107888583A (zh) * | 2017-11-07 | 2018-04-06 | 郑州轻工业学院 | 水文信息监控方法、装置及系统 |
| CN110891042A (zh) * | 2018-09-07 | 2020-03-17 | 上海擎感智能科技有限公司 | 通信系统和数据发送与接收方法 |
| CN115037796B (zh) * | 2022-06-06 | 2024-06-11 | 联通(广东)产业互联网有限公司 | 一种实时数据发送方法、接收方法及相应的设备和系统 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050181787A1 (en) * | 2004-02-18 | 2005-08-18 | Judd Tom D. | Systems and methods for encoding and decoding data messages |
| CN1764169A (zh) * | 2005-11-16 | 2006-04-26 | 中兴通讯股份有限公司 | 一种向多个终端发送信息的方法 |
| CN1858717A (zh) * | 2005-05-08 | 2006-11-08 | 中兴通讯股份有限公司 | 一种数据编解码方法及其编解码器 |
| CN101268697A (zh) * | 2005-07-20 | 2008-09-17 | 数码士有限公司 | 编码器和解码器 |
| CN101459492A (zh) * | 2008-12-30 | 2009-06-17 | 国家电网公司 | 一种数据传输方法和传输系统、及数据发送端 |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5604895A (en) * | 1994-02-22 | 1997-02-18 | Motorola Inc. | Method and apparatus for inserting computer code into a high level language (HLL) software model of an electrical circuit to monitor test coverage of the software model when exposed to test inputs |
| US8775654B2 (en) * | 2003-12-19 | 2014-07-08 | Salesforce.Com, Inc. | Apparatus and methods for mediating messages |
| WO2005099229A1 (en) * | 2004-04-09 | 2005-10-20 | Huawei Technologies Co., Ltd. | A asn.1 protocol processor |
| CN100407639C (zh) * | 2004-07-08 | 2008-07-30 | 中兴通讯股份有限公司 | 一种动态自适应的智能网网管系统及实现方法 |
| JP2006269720A (ja) * | 2005-03-24 | 2006-10-05 | Toshiba Corp | 半導体素子及びその製造方法 |
| US9083972B2 (en) * | 2005-07-20 | 2015-07-14 | Humax Holdings Co., Ltd. | Encoder and decoder |
| CN2870274Y (zh) * | 2005-10-24 | 2007-02-14 | 北京伏安电气公司 | 一种可即插即用的电气设备监测系统 |
-
2008
- 2008-12-30 CN CN2008102411332A patent/CN101459492B/zh active Active
-
2009
- 2009-08-26 EA EA201071305A patent/EA024623B1/ru not_active IP Right Cessation
- 2009-08-26 WO PCT/CN2009/073526 patent/WO2010081328A1/zh not_active Ceased
- 2009-08-26 EP EP09838115.5A patent/EP2285029B1/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050181787A1 (en) * | 2004-02-18 | 2005-08-18 | Judd Tom D. | Systems and methods for encoding and decoding data messages |
| CN1858717A (zh) * | 2005-05-08 | 2006-11-08 | 中兴通讯股份有限公司 | 一种数据编解码方法及其编解码器 |
| CN101268697A (zh) * | 2005-07-20 | 2008-09-17 | 数码士有限公司 | 编码器和解码器 |
| CN1764169A (zh) * | 2005-11-16 | 2006-04-26 | 中兴通讯股份有限公司 | 一种向多个终端发送信息的方法 |
| CN101459492A (zh) * | 2008-12-30 | 2009-06-17 | 国家电网公司 | 一种数据传输方法和传输系统、及数据发送端 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104468035A (zh) * | 2014-11-13 | 2015-03-25 | 北京航空航天大学 | 一种分布式pos数据可靠性传输系统及方法 |
| CN104468035B (zh) * | 2014-11-13 | 2018-08-17 | 北京航空航天大学 | 一种分布式pos数据可靠性传输系统及方法 |
| CN112398780A (zh) * | 2019-08-13 | 2021-02-23 | 南京智数科技有限公司 | 一种适用于多种网络的设备自识别通讯方法 |
| CN112398780B (zh) * | 2019-08-13 | 2023-08-08 | 南京智数科技有限公司 | 一种适用于多种网络的设备自识别通讯方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP2285029A1 (en) | 2011-02-16 |
| EA201071305A1 (ru) | 2011-12-30 |
| CN101459492A (zh) | 2009-06-17 |
| CN101459492B (zh) | 2011-03-30 |
| EP2285029B1 (en) | 2018-04-18 |
| EA024623B1 (ru) | 2016-10-31 |
| EP2285029A4 (en) | 2015-04-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101459492B (zh) | 一种数据传输方法和传输系统、及数据发送端 | |
| CN111683069B (zh) | 一种基于netty框架的自定义通信协议及服务方法 | |
| CN111082904B (zh) | 一种基于rtos的rpc通信方法 | |
| CN101640601B (zh) | 一种智能设备的管理方法 | |
| CN112131161B (zh) | 一种Binary协议数据流的硬件解析方法 | |
| CN109981674B (zh) | 一种远程过程调用方法、装置、设备及介质 | |
| WO2021073155A1 (zh) | 视频会议方法、装置、设备及存储介质 | |
| CN110677827B (zh) | 配网方法、装置、系统、电子设备及存储介质 | |
| WO2025016443A1 (zh) | 一种基于bulk端点无线辅流数据传输方法和设备 | |
| WO2015109500A1 (zh) | 数据传输方法和装置 | |
| TW201436533A (zh) | 資料流傳輸系統及方法 | |
| CN103856396B (zh) | 插件间的报文传递方法及装置、代理插件 | |
| CN107517202B (zh) | 一种sip信令的二进制化发送和接收方法 | |
| CN102802197A (zh) | 应用数据的传输方法及装置 | |
| CN118394540A (zh) | 一种基于Java语言的新型RPC传输方法 | |
| CN110719573A (zh) | 信息传输方法、装置、终端设备及存储介质 | |
| WO2019144619A1 (zh) | 一种rpc通讯方法、系统及装置 | |
| CN115580666A (zh) | 面向内容访问的ip-ndn互通方法、系统、设备及存储介质 | |
| CN100589358C (zh) | 处理消息的方法和系统以及消息发送端和消息接收端 | |
| CN115499523B (zh) | 一种业务交互系统、方法、电子设备及存储介质 | |
| EP4651473A1 (en) | Data transmission method and related apparatus | |
| CN101902489A (zh) | 一种消息发送方法、处理方法、客户端、路由器和系统 | |
| CN103561105A (zh) | 一种图片传送方法、发送端及接收端 | |
| CN119172371B (zh) | 基于ipc实现不占用端口的本地web接口的方法及系统 | |
| CN104320306B (zh) | 一种基于ttcn-3测试系统的mvb协议一致性测试编解码器 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 09838115 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2009838115 Country of ref document: EP Ref document number: 201071305 Country of ref document: EA |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
