WO2013094036A1 - Dispositif d'extraction d'informations, procédé d'extraction d'informations et programme d'extraction d'informations - Google Patents

Dispositif d'extraction d'informations, procédé d'extraction d'informations et programme d'extraction d'informations Download PDF

Info

Publication number
WO2013094036A1
WO2013094036A1 PCT/JP2011/079678 JP2011079678W WO2013094036A1 WO 2013094036 A1 WO2013094036 A1 WO 2013094036A1 JP 2011079678 W JP2011079678 W JP 2011079678W WO 2013094036 A1 WO2013094036 A1 WO 2013094036A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
communication frame
comparison value
information
frame
Prior art date
Application number
PCT/JP2011/079678
Other languages
English (en)
Japanese (ja)
Inventor
清史 竹内
Original Assignee
三菱電機株式会社
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2011/079678 priority Critical patent/WO2013094036A1/fr
Publication of WO2013094036A1 publication Critical patent/WO2013094036A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/12Protocol engines

Definitions

  • the present invention relates to an information extraction apparatus, an information extraction method, and an information extraction program for extracting information from a communication frame, for example.
  • Control networks for FA are increasingly using Ethernet (registered trademark) technology, and there are many communication protocols based on the format of Ethernet communication frames.
  • Examples of communication protocols based on the format of Ethernet communication frames include CC-Link IE, PROFINET, EtherCAT, EtherNet / IP, and the like. These communication protocols are based on the Ethernet communication frame format, but the communication frame format differs depending on the communication protocol.
  • the FA device checks the destination address of the received communication frame in order to acquire payload data from the communication frame addressed to itself.
  • the destination address of the received communication frame is its own address
  • the FA device determines that the received communication frame is a communication frame addressed to itself, and acquires payload data from the received communication frame.
  • the FA device needs to specify the position of the destination address in the communication frame and the size of the destination address. For example, when the communication protocol is CC-Link IE, the FA device acquires a 6-byte MAC address as a destination address from the header of the Ethernet frame. When the communication protocol is EtherNet / IP, the FA device acquires a 4-byte IP address as the destination address from the payload data of the Ethernet frame.
  • FA devices used in a plurality of FA networks generally have a plurality of communication circuits in order to correspond to the communication protocols of the respective FA networks.
  • An object of the present invention is to make it possible to extract specific information from a communication frame regardless of the format of the communication frame, for example.
  • the information extraction apparatus of the present invention is Communication that receives a communication frame including specific information and outputs the received portion of the communication frame as frame data every predetermined processing period from the start of receiving the communication frame to the end of receiving the communication frame A frame receiver; A counter unit that starts counting when the communication frame receiving unit starts receiving the communication frame, and counts in the processing cycle until the communication frame receiving unit finishes receiving the communication frame; A comparison value storage unit for storing a comparison value used for comparison with the counter value counted by the counter unit; The counter value counted by the counter unit and the comparison value stored in the comparison value storage unit are compared at each processing cycle, and output from the communication frame reception unit when the counter value and the comparison value are equal An information extraction unit that extracts the frame data as data including at least a part of the specific information included in the communication frame; An information storage unit for storing the frame data extracted by the information extraction unit; Is provided.
  • FIG. 1 is a configuration diagram of a computer 100 according to Embodiment 1.
  • FIG. FIG. 6 shows a comparison value table 191 in the first embodiment.
  • FIG. 6 is a relationship diagram between the communication frame 101 and the comparison value 111 defined in the comparison value table 191 in the first embodiment.
  • 3 is a flowchart showing information extraction processing of the computer 100 according to the first embodiment.
  • 3 is a timing chart illustrating the operation of the communication circuit unit 200 according to the first embodiment.
  • FIG. 3 is a diagram illustrating an example of hardware resources of the computer 100 according to the first embodiment. The figure which shows the communication circuit part 301 corresponding to a some network.
  • FIG. 3 is a configuration diagram of a computer 100 according to a second embodiment.
  • FIG. 10 shows a comparison value table 191 in the second embodiment.
  • FIG. 6 is a timing chart illustrating the operation of the communication circuit unit 200 according to the second embodiment.
  • FIG. 6 is a configuration diagram of a computer 100 in Example 1 of Embodiment 3.
  • FIG. 11 shows a comparison value table 191 in Example 1 of Embodiment 3.
  • FIG. 10 is a configuration diagram of a computer 100 in Example 2 of the third embodiment.
  • Embodiment 1 A form of a communication circuit corresponding to a plurality of communication protocols will be described.
  • FIG. 1 is a configuration diagram of a computer 100 according to the first embodiment. The configuration of the computer 100 according to Embodiment 1 will be described with reference to FIG.
  • the computer 100 (an example of an information extraction device) is hardware incorporated in an electronic device such as an FA (Factory Automation) device, a home appliance, or a portable terminal.
  • the computer 100 may be an independent device such as a personal computer.
  • the computer 100 includes storage units such as a memory 190, a comparison value register 291 and an information register 292.
  • the memory 190 (an example of a comparison value definition information storage unit) stores a comparison value table 191 (an example of comparison value definition information) in which a network identifier and a comparison value 111 are associated, and a communication address used by the computer 100 for communication.
  • the comparison value table 191 and the communication address of the computer 100 are stored in the memory 190 in advance.
  • the comparison value register 291 (an example of the comparison value storage unit) stores the comparison value 111.
  • the comparison value register 291 is a storage unit that can update the stored value.
  • the comparison value 111 is stored in the comparison value register 291 by the comparison value setting unit 110 described later.
  • An information register 292 (an example of an information storage unit) stores the destination address 103 of the communication frame 101.
  • the information register 292 is a storage unit that can update the stored value.
  • the destination address 103 of the communication frame 101 is stored in the information register 292 by the information selector unit 240 described later.
  • the computer 100 further includes a comparison value setting unit 110, a communication frame processing unit 120, and a communication circuit unit 200.
  • the comparison value setting unit 110 acquires the comparison value 111 associated with the network identifier input (or set) to the computer 100 from the comparison value table 191, and sets the acquired comparison value 111 in the comparison value register 291.
  • the communication frame processing unit 120 acquires the destination address 103 of the communication frame 101 from the information register 292 and compares the destination address 103 of the communication frame 101 with the communication address of the computer 100.
  • the communication address of the computer 100 is stored in the memory 190 in advance.
  • the communication frame processing unit 120 processes the payload data in the communication frame 101.
  • Payload data is an IP packet in an Ethernet frame or user data in an IP packet.
  • the communication frame processing unit 120 discards the communication frame 101.
  • the communication circuit unit 200 (an information extraction device, an example of a communication device) includes a communication frame reception unit 210, an FDE counter control unit 220, and a destination address extraction unit 201.
  • the destination address extraction unit 201 (an example of an information extraction unit) includes a counter value comparison unit 230 and an information selector unit 240.
  • the communication frame receiving unit 210 receives the communication frame 101.
  • the communication frame 101 is data including a header and payload data.
  • the header includes information such as a destination address, a transmission source address, a frame type, a header length, and a data length.
  • the header length indicates the size of the header, and the data length indicates the size of the payload data.
  • the format of the communication frame 101 and the header differs depending on the network (communication protocol).
  • the communication frame receiving unit 210 outputs an FDE signal 211 (FDE: Frame Data Enable) to the FDE counter control unit 220.
  • the FDE signal 211 is a signal for causing the FDE counter control unit 220 to count.
  • the FDE signal 211 is a signal for causing the FDE counter control unit 220 to start counting, a signal for causing the FDE counter control unit 220 to continue counting, and for causing the FDE counter control unit 220 to finish counting. Signal.
  • the communication frame reception unit 210 outputs the communication frame 101 to the information selector unit 240 frame by frame 102 in a clock cycle of the clock of the computer 100 or the communication circuit unit 200 (hereinafter referred to as “operation clock”).
  • a clock cycle is also called a clock frequency (an example of a predetermined processing cycle).
  • the FDE counter control unit 220 (an example of a counter unit) performs counting in the clock cycle of the operation clock and outputs the counter value 221 to the counter value comparison unit 230 while the FDE signal 211 is output from the communication frame reception unit 210. Output.
  • the counter value comparison unit 230 compares the comparison value 111 set in the comparison value register 291 with the counter value 221 output from the FDE counter control unit 220 every clock cycle of the operation clock.
  • the counter value comparison unit 230 outputs an INE signal 231 (INE: Information Enable) to the information selector unit 240 when the comparison value 111 and the counter value 221 are equal.
  • the INE signal 231 is a signal for causing the information selector unit 240 to store the contents of the frame data 102 in the information register 292.
  • the information selector unit 240 stores the content (for example, the destination address 103) of the frame data 102 output from the communication frame reception unit 210 when the INE signal 231 is output from the counter value comparison unit 230 in the information register 292.
  • FIG. 2 is a diagram showing the comparison value table 191 in the first embodiment.
  • the comparison value table 191 in the first embodiment will be described with reference to FIG.
  • the comparison value table 191 (an example of comparison value definition information) is stored in advance in the memory 190 (an example of a comparison value definition information storage unit).
  • the comparison value table 191 is data in which “network identifier” and “comparison value” are associated with each other.
  • Network identifier is information (for example, a network name) for identifying a network to which the computer 100 is connected.
  • the network identifier also functions as a communication protocol identifier that identifies the communication protocol, and also functions as a frame format identifier that identifies the format of the communication frame 101.
  • the “comparison value” is a value to be compared with the counter value 221 counted by the FDE counter control unit 220.
  • the comparison value indicates the order of the frame data 102 including the destination address 103 (an example of specific information) among the plurality of frame data 102 constituting the communication frame 101. For example, when the destination address 103 is included in the fourth frame data 102, the comparison value is “4”.
  • the comparison value compared with the counter value 221 counted by the FDE counter control unit 220 also differs depending on the network.
  • CC-Link IE, PROFINET, EtherCAT, and EtherNet / IP are examples of network or communication protocol types.
  • FIG. 3 is a relationship diagram between the communication frame 101 and the comparison value 111 defined in the comparison value table 191 in the first embodiment.
  • the comparison value 111 defined in the comparison value table 191 in the first embodiment will be described with reference to FIG.
  • a destination address of 4 bytes (32 bits) is set to the 13th to 16th bytes. Also, it is assumed that the size of the frame data 102 (partial data of the communication frame 101) processed per cycle of the operation clock is 4 bytes.
  • “4” is defined as the comparison value 111 of the network A in the comparison value table 191.
  • the comparison value 111 is an example of timing information indicating the timing at which the destination address 103 is extracted.
  • FIG. 4 is a flowchart illustrating information extraction processing of the computer 100 according to the first embodiment. Information extraction processing of the computer 100 according to Embodiment 1 will be described with reference to FIG.
  • the comparison value setting unit 110 inputs a network identifier.
  • the computer 100 (or an electronic device incorporating the computer 100) includes a user interface unit for designating a network, such as a dip switch, a button, or a touch panel.
  • the user operates the user interface unit to specify a network
  • the user interface unit outputs a network identifier for identifying the specified network
  • the comparison value setting unit 110 inputs the network identifier output from the user interface unit.
  • the comparison value setting unit 110 acquires the comparison value 111 associated with the input network identifier from the comparison value table 191 and sets the acquired comparison value 111 in the comparison value register 291.
  • S110 is executed as a pre-process for starting communication of the communication frame 101.
  • S110 may be executed when the computer 100 is connected to the network for the first time and when the network connected to the computer 100 is switched. If it is not necessary to execute S110, the information extraction process starts from S120. It progresses to S120 after S110.
  • the communication frame reception unit 210 starts receiving the communication frame 101. It progresses to S121 after S120.
  • the communication frame reception unit 210 starts outputting the FDE signal 211 to the FDE counter control unit 220. It progresses to S130, S131, and S132 after S121.
  • the arrows in the flowchart from S121 to S130, S131, and S132 mean that S130, S131, and S132 are executed in parallel within the same cycle of the operation clock.
  • the arrows in the flowchart from S150 to S130, S131, and S132, which will be described later, indicate that S130, S131, and S132 are repeatedly executed every clock cycle of the operation clock until reception of the communication frame 101 is completed. Means.
  • the communication frame receiving unit 210 outputs the newly received partial data (frame data 102) in the communication frame 101 to the information selector unit 240.
  • the FDE counter control unit 220 starts counting the counter value 221 from the initial value “1” when the output of the FDE signal 211 from the communication frame reception unit 210 is started, and every clock cycle of the operation clock. “1” is added to the counter value 221.
  • the counter value comparison unit 230 compares the counter value 221 (or the initial value of the counter value 221) counted by the FDE counter control unit 220 with the comparison value 111 set in the comparison value register 291.
  • the counter value comparison unit 230 compares the initial value “1” of the counter value 221 with the comparison value 111 at the first comparison, and the counter value comparison unit 230 at the N ( ⁇ 2) th and subsequent comparisons.
  • the counter value “N” counted by (1) is compared with the comparison value 111.
  • the counter value comparison unit 230 outputs an INE signal 231 to the information selector unit 240.
  • the process proceeds to S140. If the counter value 221 and the comparison value 111 are different (NO), the process proceeds to S150.
  • the information selector unit 240 receives the frame data 102 from the communication frame receiving unit 210, and stores the content of the input frame data 102 in the information register 292. At this time, the content of the frame data 102 input by the information selector unit 240 is the destination address 103 (an example of specific information) of the communication frame 101. That is, the information selector unit 240 stores the destination address 103 of the communication frame 101 in the information register 292. After S140, the process proceeds to S150.
  • the communication frame receiving unit 210 ends the output of the FDE signal 211 to the FDE counter control unit 220.
  • the information extraction process ends by S151.
  • the communication frame processing unit 120 combines the plurality of frame data 102 output from the communication frame receiving unit 210 to generate the communication frame 101.
  • the communication frame processing unit 120 acquires the destination address 103 of the communication frame 101 from the information register 292 and acquires the communication address of the computer 100 from the memory 190.
  • the communication frame processing unit 120 compares the destination address 103 of the communication frame 101 with the communication address of the computer 100. When the destination address 103 of the communication frame 101 and the communication address of the computer 100 are the same, the communication frame processing unit 120 determines that the communication frame 101 is a communication frame addressed to the computer 100, and Perform predetermined information processing.
  • the communication frame processing unit 120 determines the position and size of the payload data in the communication frame 101 based on the length information (header length and data length) set in the communication frame 101, and determines the payload from the communication frame 101. Acquire data and process the acquired payload data. If the destination address 103 of the communication frame 101 is different from the communication address of the computer 100, the communication frame processing unit 120 determines that the communication frame 101 is a communication frame addressed to another computer, and discards the communication frame 101. .
  • FIG. 5 is a timing chart illustrating the operation of the communication circuit unit 200 according to the first embodiment. The operation of the communication circuit unit 200 in the first embodiment will be described with reference to FIG.
  • the FDE signal 211 starts to be output from the communication frame receiving unit 210 to the FDE counter control unit 220. While the FDE signal 211 is being output, the FDE counter control unit 220 is started. Thus, the counter value 221 is counted in the clock cycle of the operation clock.
  • the INE signal 231 is not output from the counter value comparison unit 230, and the information selector unit 240 does not set the contents of the frame data 102 in the information register 292.
  • the INE signal 231 is not output from the counter value comparison unit 230 and the information selector unit 240 does not set the contents of the frame data 102 in the information register 292.
  • the INE signal 231 is output from the counter value comparison unit 230, and the frame data 102 is output to the information register 292 by the information selector unit 240. Is set to “D 4 ”.
  • the INE signal 231 is not output from the counter value comparison unit 230 and is stored in the information register 292 by the information selector unit 240.
  • the content “D 4 ” is not updated.
  • FIG. 6 is a diagram illustrating an example of hardware resources of the computer 100 according to the first embodiment.
  • a computer 100 includes a CPU 901 (Central Processing Unit).
  • the CPU 901 is connected to hardware devices such as the ROM 903, the RAM 904, and the communication board 905 via the bus 902, and controls these hardware devices.
  • the CPU 901 includes a plurality of registers (not shown).
  • the ROM 903, the RAM 904, and the register are examples of a storage device or a storage unit.
  • the communication board 905 functions as the communication circuit unit 200, for example.
  • the ROM 903, the RAM 904, or other storage device stores an OS (operating system), a program group, and a file group.
  • the program group includes a program that executes the function described as “part” in the embodiment.
  • a program for example, an information extraction program
  • the program causes the computer to function as “to part” and causes the computer to execute the procedures and methods of “to part”.
  • the file group includes various data (input, output, determination result, calculation result, processing result, etc.) used in “-part” described in the embodiment.
  • arrows included in the configuration diagrams and flowcharts mainly indicate input and output of data and signals.
  • the processing of the embodiment described based on the flowchart and the like is executed by the CPU 901 or an electronic circuit.
  • what is described as “to part” may be “to circuit”, “to apparatus”, and “to device”, and “to step”, “to procedure”, and “to processing”. May be. That is, what is described as “ ⁇ unit” may be implemented by any of firmware, software, hardware, or a combination thereof.
  • FIG. 7 is a diagram illustrating the communication circuit unit 301 corresponding to a plurality of networks.
  • the communication circuit unit 301 includes a destination address extraction unit A330 and a destination address extraction unit B340.
  • the destination address extraction unit A330 operates only when the computer 300 is connected to the network A
  • the destination address extraction unit B340 operates only when the computer 300 is connected to the network B.
  • the comparison value A331 for the network A is registered in advance as a fixed value in the destination address extraction unit A330
  • the comparison value B341 for the network B is registered in advance as a fixed value in the destination address extraction unit B340.
  • the communication frame receiving unit 310 When the communication frame receiving unit 310 starts to receive the communication frame 101, the communication frame receiving unit 310 outputs the FDE signal 311 to the FDE counter control unit 320, and outputs the frame data 102 to the destination address extracting unit A330 and the destination address extracting unit B340.
  • the computer 300 When the computer 300 is connected to the network A, the computer 300 activates the destination address extraction unit A330.
  • the destination address extraction unit A330 compares the counter value 321 of the FDE counter control unit 320 with the comparison value A331, and when the counter value 321 and the comparison value A331 match, the contents (destination address 103) of the frame data 102 are stored in the information register. Store in 302.
  • the computer 300 When the computer 300 is connected to the network B, the computer 300 activates the destination address extraction unit B340.
  • the destination address extraction unit B340 stores the contents of the frame data 102 in the information register 302 in the same manner as the destination address extraction unit A330.
  • the communication frame processing unit 350 processes the communication frame 101 when the destination address 103 stored in the information register 302 is the same as the communication address of the computer 300.
  • the communication circuit unit 200 (see FIG. 1) described in the first embodiment corresponds to a plurality of networks with one destination address extraction unit 201, a circuit configuring the communication circuit unit 200 is illustrated in FIG.
  • the communication circuit unit 301 is small.
  • the communication circuit unit 200 is not an expensive FPGA (Field Programmable Gate Array) but an inexpensive ASIC (Application Specific Integrated Circuit). It can be implemented using
  • the communication circuit unit 200 may include an information extraction unit that extracts information other than the destination address 103 from the communication frame 101 instead of the destination address extraction unit 201 (or together with the destination address extraction unit 201). .
  • the communication circuit unit 200 may include a length information extraction unit that extracts length information of payload data from the communication frame 101.
  • the comparison value table 191 defines the order of the frame data 102 in which the length information is set as the comparison value 111, and the comparison value setting unit 110 uses the length information for the length information acquired from the comparison value table 191.
  • the comparison value 111 is set in the comparison value register 291.
  • the operation of the communication circuit unit 200 is the same as when the destination address 103 is extracted.
  • the comparison value setting unit 110 may input the comparison value 111 instead of the network identifier, and set the input comparison value 111 in the comparison value register 291. Further, the comparison value setting unit 110 and the memory 190 may be provided in the communication circuit unit 200.
  • the comparison value table 191 may be an electronic circuit corresponding to the comparison value table 191.
  • the comparison value setting unit 110 may be an electronic circuit that stores the comparison value 111 corresponding to the network identifier in the comparison value register 291.
  • the computer 100 includes a comparison value storage unit (comparison value register 291), a communication frame reception unit 210, a counter unit (FDE counter control unit 220), and an information extraction unit (destination address extraction unit 201).
  • the comparison value storage unit stores the comparison value 111.
  • the communication frame receiving unit 210 receives the communication frame 101 including specific information (for example, destination address 103).
  • the communication frame receiving unit 210 receives the received portion of the communication frame 101 as frame data every predetermined processing period (clock cycle of the operation clock) from the start of receiving the communication frame 101 until the end of receiving the communication frame 101. 102 is output.
  • the counter unit starts counting when the communication frame receiving unit 210 starts to receive the communication frame 101, and counts in a processing cycle until the communication frame receiving unit 210 finishes receiving the communication frame 101.
  • the information extraction unit compares the counter value 221 counted by the counter unit with the comparison value 111 stored in the comparison value storage unit every processing cycle, and receives the communication frame when the counter value 221 and the comparison value 111 are equal.
  • the frame data 102 output from the unit 210 is stored in the information storage unit (information register 292) as data including specific information included in the communication frame 101.
  • FIG. A mode in which information divided into a plurality of frame data 102, that is, information having a data size larger than one frame data 102 is extracted from the communication frame 101 will be described.
  • items different from the first embodiment will be mainly described. The matters whose explanation is omitted are the same as those in the first embodiment.
  • FIG. 8 is a configuration diagram of the computer 100 according to the second embodiment. The configuration of the computer 100 according to the second embodiment will be described with reference to FIG.
  • the computer 100 includes a necessary number register 293 in addition to the configuration of the first embodiment (see FIG. 1).
  • the necessary number register 293 (an example of the necessary number storage unit) stores the necessary number 112.
  • the necessary number 112 is the number of frame data 102 necessary for extracting the destination address 103 (an example of specific information).
  • the comparison value setting unit 110 (an example of the necessary number setting unit) sets the necessary number 112 in the necessary number register 293.
  • the counter value comparison unit 230 outputs the INE signal 231 to the information selector unit 240 until the same number of clock cycles as the required number 112 elapse after the counter value 221 and the comparison value 111 match.
  • the information selector unit 240 repeatedly writes the contents of the frame data 102 to the information register 292 while the INE signal 231 is output from the counter value comparison unit 230.
  • the communication frame processing unit 120 inputs information from the information register 292 every time information stored in the information register 292 is updated. For example, the communication frame processing unit 120 repeatedly reads out information from the information register 292 while the INE signal 231 is output from the counter value comparison unit 230. Then, the communication frame processing unit 120 generates a destination address 103 by combining a plurality of pieces of information input from the information register 292.
  • FIG. 9 shows a comparison value table 191 in the second embodiment.
  • the comparison value table 191 in the second embodiment will be described with reference to FIG.
  • the comparison value table 191 is data that associates “network identifier”, “comparison value”, and “necessary number”.
  • the comparison value setting unit 110 inputs a network identifier, sets a comparison value associated with the input network identifier in the comparison value register 291, and sets a necessary number associated with the input network identifier in the required number register 293. To do.
  • the information extraction process of the computer 100 is the same as that of the first embodiment (see FIG. 4). However, the counter value comparison unit 230 outputs the INE signal 231 until the same number of clock cycles as the required number 112 elapse after the counter value 221 and the comparison value 111 match (S132). The information selector unit 240 repeatedly writes the contents of the frame data 102 to the information register 292 while the INE signal 231 is output (S140).
  • FIG. 10 is a timing chart illustrating the operation of the communication circuit unit 200 according to the second embodiment. The operation of communication circuit unit 200 in the second embodiment will be described with reference to FIG.
  • the required number 112 set in the required number register 293 is set to “2”.
  • the INE signal 231 is not output from the counter value comparison unit 230, and the information The content of the frame data 102 is not set in the information register 292 by the selector unit 240.
  • the INE signal 231 is output from the counter value comparison unit 230, and the frame data 102 is output to the information register 292 by the information selector unit 240. Is set to “D 4 ”.
  • the content selector 102 sets the content “D 5 ” of the frame data 102 in the information register 292.
  • information divided into a plurality of frame data 102 that is, information having a data size larger than one frame data 102 can be extracted from the communication frame 101.
  • Embodiment 3 A mode of extracting a plurality of information from the communication frame 101 will be described.
  • items different from the first embodiment will be mainly described.
  • the matters whose explanation is omitted are the same as those in the first embodiment.
  • FIG. 11 is a configuration diagram of the computer 100 according to the first example of the third embodiment. The configuration of the computer 100 in Example 1 of the third embodiment will be described with reference to FIG.
  • the communication circuit unit 200 of the computer 100 includes a destination address extraction unit 201 that extracts a destination address 103 (an example of first specific information) and a length information extraction unit that extracts a length information 104 (an example of second specific information). 202. That is, the communication circuit unit 200 includes a plurality of information extraction units that extract different information. The communication circuit unit 200 may include three or more information extraction units in order to extract three or more pieces of information.
  • the configuration and operation of the destination address extraction unit 201 are the same as those in the first embodiment.
  • the counter value comparison unit 230 and the information selector unit 240 are not shown.
  • the configuration and operation of the length information extraction unit 202 are the same as those of the destination address extraction unit 201.
  • a comparison value 111a for the destination address is set in the comparison value register 291a of the destination address extraction unit 201
  • a comparison value 111b for the length information is set in the comparison value register 291b of the length information extraction unit 202.
  • the destination address 103 is set in the information register 292a of the destination address extraction unit 201
  • the length information 104 is set in the information register 292b of the length information extraction unit 202.
  • the communication frame processing unit 120 is based on the length information 104 (header length or data length) set in the information register 292b. Payload data is acquired from the communication frame 101, and the acquired payload data is processed.
  • FIG. 12 is a diagram illustrating the comparison value table 191 in Example 1 of the third embodiment.
  • the comparison value table 191 in Example 1 of Embodiment 3 will be described with reference to FIG.
  • the comparison value table 191 is data in which “network identifier”, “destination address comparison value”, and “length information comparison value” are associated with each other. That is, the comparison value table 191 is data including a plurality of comparison values for extracting a plurality of information.
  • the comparison value setting unit 110 inputs a network identifier, and sets a comparison value for a destination address associated with the input network identifier in the comparison value register 291a of the destination address extraction unit 201. Further, the comparison value setting unit 110 sets the comparison value for length information associated with the input network identifier in the comparison value register 291b of the length information extraction unit 202.
  • FIG. 13 is a configuration diagram of the computer 100 according to the second example of the third embodiment. The configuration of the computer 100 in Example 2 of the third embodiment will be described with reference to FIG.
  • the communication circuit unit 200 of the computer 100 includes an information extraction unit 209 that extracts a destination address 103 (an example of first specific information) and length information 104 (an example of second specific information) from the communication frame 101.
  • the configuration of the information extraction unit 209 is the same as that of the destination address extraction unit 201 in the first embodiment (see FIG. 1).
  • the information extraction unit 209 includes a comparison value register 291a for setting the comparison value 111a for the destination address, and a comparison value register 291b for setting the comparison value 111b for the length information.
  • the information extraction unit 209 may include three or more comparison value registers in order to extract three or more pieces of information.
  • the counter value comparison unit 230 compares the plurality of comparison values 111a and 111b with the counter value 221 in ascending order. For example, when the comparison value 111a is smaller than the comparison value 111b, the counter value comparison unit 230 compares the comparison value 111a with the counter value 221. Then, the counter value comparison unit 230 compares the comparison value 111b with the counter value 221 in the clock cycle after the comparison value 111a and the counter value 221 match.
  • the destination address 103 is set in the information register 292 until the comparison value 111b and the counter value 221 match after the comparison value 111a and the counter value 221 match, and the comparison value 111b and the counter value 221 match. After that, the length information 104 is set in the information register 292.
  • the communication frame processing unit 120 acquires the destination address 103 set in the information register 292 and the length information 104 set in the information register 292 after the destination address 103.
  • the communication frame processing unit 120 acquires payload data from the communication frame 101 based on the length information 104 (header length or data length), and the acquired payload data Process.
  • the configuration of the comparison value table 191 is the same as that of the first embodiment (see FIG. 12).
  • the comparison value setting unit 110 inputs a network identifier, sets a comparison value for a destination address associated with the input network identifier in the comparison value register 291a, and uses the length information for length information associated with the input network identifier.
  • the comparison value is set in the comparison value register 291b.
  • Example 3 The configurations of the computer 100 and the communication circuit unit 200 are the same as those in the first embodiment (see FIG. 1).
  • the configuration of the comparison value table 191 is the same as that of the first embodiment (see FIG. 12).
  • the comparison value setting unit 110 inputs a network identifier, and sets a plurality of comparison values 111 associated with the input network identifier in the comparison value register 291 in ascending order of values. For example, when the comparison value 111 for the destination address is smaller than the comparison value 111 for the length information, the comparison value setting unit 110 sets the comparison value 111 for the destination address in the comparison value register 291. Further, the comparison value setting unit 110 compares the length information when the INE signal 231 is output from the counter value comparison unit 230, that is, when the comparison value 111 for the destination address matches the counter value 221. The value 111 is set in the comparison value register 291.
  • the destination address 103 is set in the information register 292 until the length information comparison value 111 and the counter value 221 match after the destination address comparison value 111 and the counter value 221 match, and the length information After the comparison value 111 and the counter value 221 match, the length information 104 is set in the information register 292.
  • the communication frame processing unit 120 acquires the destination address 103 set in the information register 292 and the length information 104 set in the information register 292 after the destination address 103.
  • the communication frame processing unit 120 acquires payload data from the communication frame 101 based on the length information 104 (header length or data length), and the acquired payload data Process.
  • a plurality of pieces of information can be extracted from the communication frame 101 by any one of the first to third embodiments of the third embodiment.
  • the information extracted from the communication frame 101 may be information other than the destination address 103 or the length information 104, and the number of information extracted from the communication frame 101 may be three or more.
  • a plurality of pieces of information divided into the plurality of frame data 102 may be extracted by associating the comparison value with the required number as in the second embodiment (see FIG. 9).
  • 100 computer 101 communication frame, 102 frame data, 103 destination address, 104 length information, 110 comparison value setting unit, 111 comparison value, 112 required number, 120 communication frame processing unit, 190 memory, 191 comparison value table, 200 communication circuit Unit, 201 destination address extraction unit, 202 length information extraction unit, 209 information extraction unit, 210 communication frame reception unit, 211 FDE signal, 220 FDE counter control unit, 221 counter value, 230 counter value comparison unit, 231 INE signal, 240 Information selector section, 291 comparison value register, 292 information register, 293 required number register, 300 computer, 301 communication circuit section, 302 information register, 310 communication frame receiving section, 31 FDE signal, 320 FDE counter control unit, 321 counter value, 330 destination address extraction unit A, 331 comparison value A, 340 destination address extraction unit B 341 comparison value B, 350 communication frame processing unit, 901 CPU, 902 bus, 903 ROM , 904 RAM, 905 communication board.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Selon l'invention, une unité de réglage de valeur de comparaison (110) règle une valeur de comparaison (111) correspondant à un identificateur de réseau dans un registre de valeur de comparaison (291). Tandis qu'un récepteur de trame de communication (210) reçoit une trame de communication (101), la partie reçue durant chaque cycle d'horloge est délivrée sous la forme de données de trame (102). Tandis que la trame de communication (101) est reçue, une unité de commande de compteur FDE (220) compte des cycles d'horloge. Une unité d'extraction d'adresse de destination (201) compare une valeur de compteur (221) et une valeur de comparaison (111) à chaque cycle d'horloge, et lorsque la valeur de compteur (221) et la valeur de comparaison (111) sont égales, les données de trame (102) émises par le récepteur de trame de communication (210) sont stockées dans le registre d'informations (292) en tant qu'adresse de destination (103) de la trame de communication (101).
PCT/JP2011/079678 2011-12-21 2011-12-21 Dispositif d'extraction d'informations, procédé d'extraction d'informations et programme d'extraction d'informations WO2013094036A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/079678 WO2013094036A1 (fr) 2011-12-21 2011-12-21 Dispositif d'extraction d'informations, procédé d'extraction d'informations et programme d'extraction d'informations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/079678 WO2013094036A1 (fr) 2011-12-21 2011-12-21 Dispositif d'extraction d'informations, procédé d'extraction d'informations et programme d'extraction d'informations

Publications (1)

Publication Number Publication Date
WO2013094036A1 true WO2013094036A1 (fr) 2013-06-27

Family

ID=48667960

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/079678 WO2013094036A1 (fr) 2011-12-21 2011-12-21 Dispositif d'extraction d'informations, procédé d'extraction d'informations et programme d'extraction d'informations

Country Status (1)

Country Link
WO (1) WO2013094036A1 (fr)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0479547A (ja) * 1990-07-19 1992-03-12 Fujitsu Ltd ディジタル伝送方式
JP2000029849A (ja) * 1998-07-15 2000-01-28 Hitachi Ltd 分散制御システム、及び分散制御システムにおけるフィルタリング方法
JP2000196672A (ja) * 1998-12-28 2000-07-14 Toshiba Corp ネットワ―ク間中継装置
JP2001069173A (ja) * 1999-08-31 2001-03-16 Hitachi Cable Ltd パケットフィルタ機構
JP2002354009A (ja) * 2001-05-30 2002-12-06 Nippon Telegr & Teleph Corp <Ntt> ネットワークノード装置とパケット処理方法およびプログラム
WO2005036834A1 (fr) * 2003-10-10 2005-04-21 Fujitsu Limited Procede et dispositif de collecte de donnees statistiques
JP2010177849A (ja) * 2009-01-28 2010-08-12 Hitachi Ltd フレーム送受信装置及び通信データ処理方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0479547A (ja) * 1990-07-19 1992-03-12 Fujitsu Ltd ディジタル伝送方式
JP2000029849A (ja) * 1998-07-15 2000-01-28 Hitachi Ltd 分散制御システム、及び分散制御システムにおけるフィルタリング方法
JP2000196672A (ja) * 1998-12-28 2000-07-14 Toshiba Corp ネットワ―ク間中継装置
JP2001069173A (ja) * 1999-08-31 2001-03-16 Hitachi Cable Ltd パケットフィルタ機構
JP2002354009A (ja) * 2001-05-30 2002-12-06 Nippon Telegr & Teleph Corp <Ntt> ネットワークノード装置とパケット処理方法およびプログラム
WO2005036834A1 (fr) * 2003-10-10 2005-04-21 Fujitsu Limited Procede et dispositif de collecte de donnees statistiques
JP2010177849A (ja) * 2009-01-28 2010-08-12 Hitachi Ltd フレーム送受信装置及び通信データ処理方法

Similar Documents

Publication Publication Date Title
US9118571B2 (en) Methods of operating load balancing switches and controllers using matching patterns with unrestricted characters
JP2011528193A (ja) 通信ネットワークの直列データバスを介して当該ネットワークの加入者に到着したメッセージをフィルタリングするための方法及びフィルタ構成
US20170033992A1 (en) METHOD FOR PROCESSING VxLAN DATA UNITS
US20120147892A1 (en) Analysis of network packets using a generated hash code
JP6590546B2 (ja) パケットのコンテンツからハッシュ入力を形成する方法およびその装置
JP6537823B2 (ja) ソフトウェア・デファインド・ネットワーク処理エンジンにおける並行かつ条件付きのデータ操作の方法および装置
US20220393908A1 (en) Message Encapsulation Method and Apparatus, and Message Decapsulation Method and Apparatus
US20150295729A1 (en) Hardware accelerator for tunnel processing
CN115883681B (zh) 报文解析方法、装置、电子设备及存储介质
US9203758B2 (en) Network system, packet processing method and recording medium
CN109032704B (zh) 一种数据处理的方法和设备
JP6590545B2 (ja) パケットからデータを抽出する方法およびその装置
WO2013094036A1 (fr) Dispositif d&#39;extraction d&#39;informations, procédé d&#39;extraction d&#39;informations et programme d&#39;extraction d&#39;informations
EP3687123A1 (fr) Procédé de traitement de paquets et élément de transfert
WO2014125636A1 (fr) Dispositif de communication ou procédé de transfert de paquets
US7644190B2 (en) Method and apparatus for pipelined processing of data packets
TW201618516A (zh) 處理大協定層以供層資訊可配置擷取方法及裝置
CN106453144B (zh) 软件定义网络中的报文处理方法和设备
CN114237928A (zh) 容器间通信方法及装置、电子设备、计算机可读存储介质
JP2017108247A (ja) 通信システム
CN109729026B (zh) 一种sdn网络的控制方法和sdn控制器
KR101469244B1 (ko) 수신된 데이터에서의 불필요한 패킷 제거 장치 및 방법
US20190044911A1 (en) Communication device, control method for communication device, and storage medium
CN111262713A (zh) 一种报文组播的处理方法、处理装置、可读介质和系统
CN105450527A (zh) 处理报文、发送信息、接收信息的方法及装置

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: 11878200

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11878200

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP