US20150268912A1 - Packet generation device and non-transitory computer readable medium - Google Patents
Packet generation device and non-transitory computer readable medium Download PDFInfo
- Publication number
- US20150268912A1 US20150268912A1 US14/333,100 US201414333100A US2015268912A1 US 20150268912 A1 US20150268912 A1 US 20150268912A1 US 201414333100 A US201414333100 A US 201414333100A US 2015268912 A1 US2015268912 A1 US 2015268912A1
- Authority
- US
- United States
- Prior art keywords
- packet
- image information
- pixels
- data
- sets
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 description 35
- 230000005540 biological transmission Effects 0.000 description 16
- 238000012545 processing Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000012986 modification Methods 0.000 description 10
- 230000004048 modification Effects 0.000 description 10
- 238000006243 chemical reaction Methods 0.000 description 9
- 101150013335 img1 gene Proteins 0.000 description 7
- 238000000034 method Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 101150071665 img2 gene Proteins 0.000 description 3
- 238000012937 correction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1293—Printer information exchange with computer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1236—Connection management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1297—Printer code translation, conversion, emulation, compression; Configuration of printer parameters
- G06F3/1298—Printer language recognition, e.g. programme control language, page description language
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/02—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
- G06K15/18—Conditioning data for presenting it to the physical printing elements
- G06K15/1835—Transforming generic data
- G06K15/1836—Rasterization
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
Definitions
- the present invention relates to a packet generation device and a non-transitory computer readable medium.
- a packet generation device including:
- a first generation unit that generates a packet having a b-byte payload including plural sets of first data corresponding to a pixels from the first data having m-bit image information for each pixel;
- b is defined based on a least common multiple of the number of bytes of sets of the first data corresponding to a pixels and the number of bytes of sets of the second data corresponding to a pixels.
- FIG. 1 is a diagram illustrating an entire configuration of an exemplary embodiment
- FIG. 2 is a diagram illustrating a hardware configuration of a communication device
- FIG. 3 is a diagram illustrating a format of a packet in a first mode
- FIG. 4 is a diagram illustrating a format of a packet in a second mode.
- FIG. 5 is a diagram illustrating a configuration of IMG 1 - 4 .
- FIG. 1 is a diagram illustrating an entire configuration of the exemplary embodiment.
- An image processing apparatus 100 includes a communication device 10 A, and an image forming apparatus 200 includes a communication device 10 B.
- the communication device 10 A and the communication device 10 B have the same configuration.
- the communication device 10 A and the communication device 10 B are connected to each other via a transmission path 16 .
- the communication device 10 A and the communication device 10 B are collectively referred to as a communication device 10 .
- the image processing apparatus 100 includes an image processing unit 101 which converts, for example, data which is described in a page description language into image information with a raster format and performs various image processes on the image information.
- the communication device 10 A transmits the image information having undergone the image processes in the image processing unit 101 , to the communication device 10 B via the transmission path 16 .
- the image forming apparatus 200 includes an image forming unit 201 which forms an image based on the image information received by the communication device 10 B on a recording medium.
- FIG. 2 is a diagram illustrating a hardware configuration of the communication device 10 .
- the communication device 10 includes a controller 20 and a communication processing unit 22 .
- the controller 20 includes a calculation unit such as a central processing unit (CPU), and a memory such as a read only memory (ROM) or a random access memory (RAM) (none illustrated).
- An operating system (OS) is stored in the ROM.
- the RAM is used to store information when the CPU performs calculation.
- the controller 20 outputs control information for controlling an operation of the communication device 10 to the communication processing unit 22 .
- the communication processing unit 22 includes a control information interface (I/F) 24 , an image information I/F 26 , an information memory 30 , a packet generation portion 40 , an 8 B/ 10 B encoder 42 , a parallel/serial (P/S) converter 44 , a transmission portion 46 , a reception portion 50 , an S/P converter 52 , a 10 B/ 8 B decoder 54 , and a packet conversion portion 56 .
- I/F control information interface
- I/F image information I/F 26
- information memory 30 includes a packet generation portion 40 , an 8 B/ 10 B encoder 42 , a parallel/serial (P/S) converter 44 , a transmission portion 46 , a reception portion 50 , an S/P converter 52 , a 10 B/ 8 B decoder 54 , and a packet conversion portion 56 .
- P/S parallel/serial
- the control information I/F 24 is an interface which transmits and receives control information to and from the controller 20 and the information memory 30 .
- the image information I/F 26 of the communication device 10 A is an interface which transmits and receives image information to and from the image processing unit 101 and the information memory 30 .
- the image information I/F 26 of the communication device 10 B is an interface which transmits and receives image information to and from the information memory 30 and the image forming unit 201 .
- the information memory 30 includes a control information buffer 32 , an image information buffer 34 , and a control register group 36 .
- Control information which is output from the controller 20 is written to the control information buffer 32 via the control information I/F 24 .
- Image information which has undergone image processes by the image processing unit 101 is written to the image information buffer 34 of the communication device 10 A via the image information I/F 26 of the communication device 10 A.
- the image information written to the image information buffer 34 of the communication device 10 A is output to the image forming unit 201 via the image information I/F 26 of the communication device 10 B.
- the control register group 36 is used to temporarily store a calculation result, to store addresses when reading or writing is performed on the control information buffer 32 or the image information buffer 34 , to store an operation state of the communication processing unit 22 , or the like.
- the packet generation portion 40 is an example of a packet generation device related to the exemplary embodiment of the invention, and generates a packet based on the image information read from the image information buffer 34 .
- the packet generation portion 40 outputs the generated packet to the 8 B/ 10 B encoder 42 . Details of the packet generation portion 40 will be described later.
- the 8 B/ 10 B encoder 42 coverts data included in the packet which is output from the packet generation portion 40 , into 10-bit data every 8 bits from a leading part by using an 8 B/ 10 B coding method, and outputs the converted packet to the P/S converter 44 .
- the P/S converter 44 outputs data of 1 bit sequentially from a leading part of the packet which is output from the 8 B/ 10 B encoder 42 , to the transmission portion 46 .
- the transmission portion 46 converts the data which is output from the P/S converter 44 into a differential signal which is sent to the transmission path 16 .
- the transmission path 16 is a cable which serially transmits differential signals.
- the reception portion 50 receives the differential signal which is transmitted from the transmission portion 46 via the transmission path 16 , and converts the received differential signal into 1-bit data which is output to the S/P converter 52 .
- the S/P converter 52 converts the data which is output from the reception portion 50 , into a packet, and outputs the converted packet to the 10 B/ 8 B decoder 54 .
- the 10 B/ 8 B decoder 54 inversely converts data included in the packet which is output from the S/P converter 52 , into 8-bit data every 10 bits from a leading part by using an 8 B/ 10 B coding method, and outputs the inversely converted packet to the packet conversion portion 56 .
- the packet conversion portion 56 analyzes the packet which is output from the 10 B/ 8 B decoder 54 so as to convert the packet into image information, and writes the converted image information to the image information buffer 34 . Details of the packet conversion portion 56 will be described later.
- the packet generation portion 40 generates a packet in either a first mode or a second mode.
- the first mode is a mode in which image information with a resolution of 8 bits (image information in which a grayscale of a pixel is represented in binary numbers of 8 bits and which is hereinafter referred to as 8-bit data) is converted into a packet.
- the second mode is a mode in which image information with a resolution of 10 bits (image information in which a grayscale of a pixel is represented in binary numbers of 10 bits and which is hereinafter referred to as 10-bit data) is converted into a packet.
- the packet generation portion 40 determines whether the image information read from the image information buffer 34 is 8-bit data or 10-bit data, generates a packet in the first mode if the image information is 8-bit data, and generates a packet in the second mode if the image information is 10-bit data.
- Information indicating a resolution of the image information may be included in the image information, and information indicating a resolution of the image information may be transmitted from the controller 20 to the packet generation portion 40 .
- the additional information includes information or the like indicating the type of image information (for example, text, a picture, or the like).
- FIG. 3 is a diagram illustrating a format of a packet in the first mode.
- Each of IMG 1 to IMG 4 indicates image information (8 bits) corresponding to one pixel in order from a leading part (left end) of the packet.
- TAG 1 - 2 indicates additional information (4 bits) added to the image information IMG 1 and additional information (4 bits) added to the image information IMG 2 .
- TAG 3 - 4 indicates additional information (4 bits) added to the image information IMG 3 and additional information (4 bits) added to the image information IMG 4 .
- the packet generation portion 40 generates a packet having a payload of 84 bytes (14 sets corresponding to 56 pixels), and 1 set is formed by data of a total of 6 bytes including image information (a total of 4 bytes) corresponding to 4 pixels and additional information (a total of 2 bytes) added to the 4 pixels (first generation unit).
- FIG. 4 is a diagram illustrating a format of a packet in the second mode.
- Each of IMG 1 to IMG 4 indicates image information of lower 8 bits among image information (10 bits) corresponding to 1 pixel in order from a leading part (left end) of the packet.
- IMG 1 - 4 indicates image information of upper 2 bits in the image information of pixels corresponding to the image information IMG 1 to IMG 4 .
- FIG. 5 is a diagram illustrating a configuration of the image information IMG 1 - 4 .
- the image information IMG 1 - 4 is generated by arranging image information pieces of upper 2 bits corresponding to the image information IMG 1 to IMG 4 in a defined order. In this example, the image information pieces of upper 2 bits are arranged in an order of the image information IMG 4 , IMG 3 , IMG 2 , and IMG 1 .
- TAG 1 - 2 indicates additional information (4 bits) added to the image information IMG 1 and additional information (4 bits) added to the image information IMG 2 .
- TAG 3 - 4 indicates additional information (4 bits) added to the image information IMG 3 and additional information (4 bits) added to the image information IMG 4 .
- the packet generation portion 40 generates a packet having a payload of 84 bytes (12 sets corresponding to 48 pixels), and 1 set is formed by data of a total of 7 bytes including image information (a total of 4 bytes) of lower 8 bits corresponding to 4 pixels, image information (a total of 1 byte) of upper bits corresponding to the 4 pixels, and additional information (a total of 2 bytes) added to the 4 pixels (second generation unit).
- a payload length is common to the first mode and the second mode.
- 1 set is formed by data of 6 bytes
- 1 set is formed by data of 7 bytes.
- the least common multiple of 6 and 7 is 42, but, in the present exemplary embodiment, 84 bytes which is double of 42 is defined as a payload length. The reason is as follows.
- SOP Start of Packet
- a payload length is required to be defined in consideration of balance between transmission efficiency and a 2-bit error occurrence probability, and, as an example thereof, in the present exemplary embodiment, a payload length is defined as 84 bytes.
- the packet generated by the packet generation portion 40 undergoes processes in the 8 B/ 10 B encoder 42 and the P/S converter 44 as described above, and is transmitted from the communication device 10 A to the communication device 10 B.
- packet configuration information indicating a configuration of the packet which is transmitted from the communication device 10 A, is transmitted to the communication device 10 B.
- the packet configuration information is, for example, information for determining whether a packet is generated from 8-bit data or 10-bit data.
- the packet configuration information may be transmitted only once before a packet is transmitted, and may be included in each packet.
- the transmitted packet undergoes processes in the S/P converter 52 and the 10 B/ 8 B decoder 54 , so as to be output to the packet conversion portion 56 .
- the packet conversion portion 56 determines whether the received packet is generated from 8-bit data or 10-bit data based on the packet configuration information, and converts the packet into image information in accordance with a result of the determination. In other words, in a case where the packet is generated from 10-bit data, upper 2 bits and lower 8 bits of image information are extracted from the packet for each pixel, and are joined together so as to be converted into 10-bit image information. The converted image information is written to the image information buffer 34 .
- data whose resolution is 10 bits is transmitted without reducing transmission efficiency by using a packet format of a fixed length (84 bytes) common to one used for transmission of data whose resolution is 8 bits.
- the exemplary embodiment may be modified as follows.
- plural modification examples may be combined with each other.
- the exemplary embodiment of the invention may be applied to data with other resolutions.
- a function of the packet generation portion 40 is described as follows when the number of bits of data is generalized.
- the packet generation portion 40 In the first mode, the packet generation portion 40 generates a packet having a b-byte payload including plural sets of first data corresponding to a pixels from the first data having m-bit image information and p-bit additional information for each pixel (first generation unit). In addition, in the second mode, the packet generation portion 40 generates a packet having a b-byte payload including plural sets of second data corresponding to a pixels from the second data having n-bit image information and p-bit additional information for each pixel (second generation unit).
- p ⁇ m ⁇ n is satisfied.
- a is defined so that (n ⁇ m) ⁇ a becomes multiples of 8.
- b is defined based on the least common multiple of the number of bytes of sets of the first data corresponding to a pixels and the number of bytes of sets of the second data corresponding to a pixels.
- a payload length is defined from values of integer multiples of the least common multiple in consideration of transmission efficiency and a 2-bit error occurrence probability.
- a function of the packet conversion portion 56 is described as follows when the number of bits of data is generalized.
- the packet conversion portion 56 converts a packet having a b-byte payload including plural sets of first data corresponding to a pixels into the first data having m-bit image information and p-bit additional information for each pixel.
- the packet conversion portion 56 converts a packet having a b-byte payload including plural sets of second data corresponding to a pixels into the second data having n-bit image information and p-bit additional information for each pixel.
- p ⁇ m ⁇ n is satisfied.
- a is defined so that (n ⁇ m) ⁇ a becomes multiples of 8.
- b is defined based on the least common multiple of the number of bytes of sets of the first data corresponding to a pixels and the number of bytes of sets of the second data corresponding to a pixels.
- 1 set is formed by image information corresponding to 4 pixels and additional information, but, in this case, the image information I/F 26 may write image information and additional information to the image information buffer 34 every 4 pixels.
- the data items are arranged in the packet as illustrated in FIGS. 3 to 5 , but image information or additional information may be arbitrarily arranged in a set of data (corresponding to 4 pixels in the exemplary embodiment) as long as the arrangement is predefined.
- the communication device 10 may be configured to realize the above-described function by the controller 20 executing a program, and the above-described function may be mounted in a hardware circuit.
- the program may be recorded on a computer readable recording medium such as an optical recording medium or a semiconductor memory so as to be provided, and the program may be read from the recording medium so as to be installed in the communication device 10 . Further, the program may be provided via an electric communication line.
Abstract
Description
- This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2014-057807 filed Mar. 20, 2014.
- The present invention relates to a packet generation device and a non-transitory computer readable medium.
- According to an aspect of the invention, there is provided a packet generation device including:
- a first generation unit that generates a packet having a b-byte payload including plural sets of first data corresponding to a pixels from the first data having m-bit image information for each pixel; and
-
- a second generation unit that generates a packet having a b-byte payload including plural sets of second data corresponding to a pixels from the second data having n-bit image information for each pixel (where m<n),
- wherein a is defined so that (n−m)×a becomes multiples of 8, and
- wherein b is defined based on a least common multiple of the number of bytes of sets of the first data corresponding to a pixels and the number of bytes of sets of the second data corresponding to a pixels.
- Exemplary embodiments of the invention will be described in detail based on the following figures, wherein:
-
FIG. 1 is a diagram illustrating an entire configuration of an exemplary embodiment; -
FIG. 2 is a diagram illustrating a hardware configuration of a communication device; -
FIG. 3 is a diagram illustrating a format of a packet in a first mode; -
FIG. 4 is a diagram illustrating a format of a packet in a second mode; and -
FIG. 5 is a diagram illustrating a configuration of IMG1-4. - An exemplary embodiment of the invention will be described.
-
FIG. 1 is a diagram illustrating an entire configuration of the exemplary embodiment. Animage processing apparatus 100 includes acommunication device 10A, and animage forming apparatus 200 includes acommunication device 10B. Thecommunication device 10A and thecommunication device 10B have the same configuration. Thecommunication device 10A and thecommunication device 10B are connected to each other via atransmission path 16. In the following description, in a case where thecommunication device 10A and thecommunication device 10B are not differentiated from each other, thecommunication device 10A and thecommunication device 10B are collectively referred to as acommunication device 10. - The
image processing apparatus 100 includes animage processing unit 101 which converts, for example, data which is described in a page description language into image information with a raster format and performs various image processes on the image information. Thecommunication device 10A transmits the image information having undergone the image processes in theimage processing unit 101, to thecommunication device 10B via thetransmission path 16. Theimage forming apparatus 200 includes animage forming unit 201 which forms an image based on the image information received by thecommunication device 10B on a recording medium. -
FIG. 2 is a diagram illustrating a hardware configuration of thecommunication device 10. Thecommunication device 10 includes acontroller 20 and acommunication processing unit 22. Thecontroller 20 includes a calculation unit such as a central processing unit (CPU), and a memory such as a read only memory (ROM) or a random access memory (RAM) (none illustrated). An operating system (OS) is stored in the ROM. The RAM is used to store information when the CPU performs calculation. Thecontroller 20 outputs control information for controlling an operation of thecommunication device 10 to thecommunication processing unit 22. - The
communication processing unit 22 includes a control information interface (I/F) 24, an image information I/F 26, aninformation memory 30, apacket generation portion 40, an 8B/10 B encoder 42, a parallel/serial (P/S)converter 44, atransmission portion 46, areception portion 50, an S/P converter 52, a 10B/8 B decoder 54, and apacket conversion portion 56. - The control information I/
F 24 is an interface which transmits and receives control information to and from thecontroller 20 and theinformation memory 30. The image information I/F 26 of thecommunication device 10A is an interface which transmits and receives image information to and from theimage processing unit 101 and theinformation memory 30. The image information I/F 26 of thecommunication device 10B is an interface which transmits and receives image information to and from theinformation memory 30 and theimage forming unit 201. - The
information memory 30 includes acontrol information buffer 32, animage information buffer 34, and acontrol register group 36. Control information which is output from thecontroller 20 is written to thecontrol information buffer 32 via the control information I/F 24. Image information which has undergone image processes by theimage processing unit 101 is written to theimage information buffer 34 of thecommunication device 10A via the image information I/F 26 of thecommunication device 10A. The image information written to theimage information buffer 34 of thecommunication device 10A is output to theimage forming unit 201 via the image information I/F 26 of thecommunication device 10B. - The
control register group 36 is used to temporarily store a calculation result, to store addresses when reading or writing is performed on thecontrol information buffer 32 or theimage information buffer 34, to store an operation state of thecommunication processing unit 22, or the like. - The
packet generation portion 40 is an example of a packet generation device related to the exemplary embodiment of the invention, and generates a packet based on the image information read from theimage information buffer 34. The packet has an 84-byte (1 byte=8 bits) payload. Thepacket generation portion 40 outputs the generated packet to the 8B/10 B encoder 42. Details of thepacket generation portion 40 will be described later. - The 8B/
10 B encoder 42 coverts data included in the packet which is output from thepacket generation portion 40, into 10-bit data every 8 bits from a leading part by using an 8B/10B coding method, and outputs the converted packet to the P/S converter 44. The P/S converter 44 outputs data of 1 bit sequentially from a leading part of the packet which is output from the 8B/10 B encoder 42, to thetransmission portion 46. Thetransmission portion 46 converts the data which is output from the P/S converter 44 into a differential signal which is sent to thetransmission path 16. Thetransmission path 16 is a cable which serially transmits differential signals. - The
reception portion 50 receives the differential signal which is transmitted from thetransmission portion 46 via thetransmission path 16, and converts the received differential signal into 1-bit data which is output to the S/P converter 52. The S/P converter 52 converts the data which is output from thereception portion 50, into a packet, and outputs the converted packet to the 10B/8 B decoder 54. The 10B/8 B decoder 54 inversely converts data included in the packet which is output from the S/P converter 52, into 8-bit data every 10 bits from a leading part by using an 8B/10B coding method, and outputs the inversely converted packet to thepacket conversion portion 56. - The
packet conversion portion 56 analyzes the packet which is output from the 10B/8 B decoder 54 so as to convert the packet into image information, and writes the converted image information to theimage information buffer 34. Details of thepacket conversion portion 56 will be described later. - Next, the
packet generation portion 40 will be described in detail. Thepacket generation portion 40 generates a packet in either a first mode or a second mode. The first mode is a mode in which image information with a resolution of 8 bits (image information in which a grayscale of a pixel is represented in binary numbers of 8 bits and which is hereinafter referred to as 8-bit data) is converted into a packet. The second mode is a mode in which image information with a resolution of 10 bits (image information in which a grayscale of a pixel is represented in binary numbers of 10 bits and which is hereinafter referred to as 10-bit data) is converted into a packet. Thepacket generation portion 40 determines whether the image information read from theimage information buffer 34 is 8-bit data or 10-bit data, generates a packet in the first mode if the image information is 8-bit data, and generates a packet in the second mode if the image information is 10-bit data. Information indicating a resolution of the image information may be included in the image information, and information indicating a resolution of the image information may be transmitted from thecontroller 20 to thepacket generation portion 40. - In both cases of the 8-bit data and the 10-bit data, 4-bit additional information is added to image information for each pixel. The additional information includes information or the like indicating the type of image information (for example, text, a picture, or the like).
-
FIG. 3 is a diagram illustrating a format of a packet in the first mode. Each of IMG1 to IMG4 indicates image information (8 bits) corresponding to one pixel in order from a leading part (left end) of the packet. TAG1-2 indicates additional information (4 bits) added to the image information IMG1 and additional information (4 bits) added to the image information IMG2. TAG3-4 indicates additional information (4 bits) added to the image information IMG3 and additional information (4 bits) added to the image information IMG4. As mentioned above, in the first mode, thepacket generation portion 40 generates a packet having a payload of 84 bytes (14 sets corresponding to 56 pixels), and 1 set is formed by data of a total of 6 bytes including image information (a total of 4 bytes) corresponding to 4 pixels and additional information (a total of 2 bytes) added to the 4 pixels (first generation unit). -
FIG. 4 is a diagram illustrating a format of a packet in the second mode. Each of IMG1 to IMG4 indicates image information of lower 8 bits among image information (10 bits) corresponding to 1 pixel in order from a leading part (left end) of the packet. IMG1-4 indicates image information of upper 2 bits in the image information of pixels corresponding to the image information IMG1 to IMG4.FIG. 5 is a diagram illustrating a configuration of the image information IMG1-4. The image information IMG1-4 is generated by arranging image information pieces of upper 2 bits corresponding to the image information IMG1 to IMG4 in a defined order. In this example, the image information pieces of upper 2 bits are arranged in an order of the image information IMG4, IMG3, IMG2, and IMG1. - The description will be made referring to
FIG. 4 again. TAG1-2 indicates additional information (4 bits) added to the image information IMG1 and additional information (4 bits) added to the image information IMG2. TAG3-4 indicates additional information (4 bits) added to the image information IMG3 and additional information (4 bits) added to the image information IMG4. As mentioned above, in the second mode, thepacket generation portion 40 generates a packet having a payload of 84 bytes (12 sets corresponding to 48 pixels), and 1 set is formed by data of a total of 7 bytes including image information (a total of 4 bytes) of lower 8 bits corresponding to 4 pixels, image information (a total of 1 byte) of upper bits corresponding to the 4 pixels, and additional information (a total of 2 bytes) added to the 4 pixels (second generation unit). - In the present exemplary embodiment, a payload length is common to the first mode and the second mode. In the first mode, 1 set is formed by data of 6 bytes, and, in the second mode, 1 set is formed by data of 7 bytes. The least common multiple of 6 and 7 is 42, but, in the present exemplary embodiment, 84 bytes which is double of 42 is defined as a payload length. The reason is as follows.
- Information such as Start of Packet (SOP), an address of a transmission destination of a packet, and an address of a transmission source thereof is appended to each packet. Since this information has a specific data amount regardless of a payload length, transmission is performed more efficiently as a payload length is increased. On the other hand, a 1-bit correction code is added to each packet, but if a payload length is increased too much, there is a high probability that 2-bit errors may occur. Therefore, a payload length is required to be defined in consideration of balance between transmission efficiency and a 2-bit error occurrence probability, and, as an example thereof, in the present exemplary embodiment, a payload length is defined as 84 bytes.
- The packet generated by the
packet generation portion 40 undergoes processes in the 8B/10 B encoder 42 and the P/S converter 44 as described above, and is transmitted from thecommunication device 10A to thecommunication device 10B. Here, packet configuration information indicating a configuration of the packet which is transmitted from thecommunication device 10A, is transmitted to thecommunication device 10B. The packet configuration information is, for example, information for determining whether a packet is generated from 8-bit data or 10-bit data. The packet configuration information may be transmitted only once before a packet is transmitted, and may be included in each packet. The transmitted packet undergoes processes in the S/P converter 52 and the 10B/8 B decoder 54, so as to be output to thepacket conversion portion 56. - The
packet conversion portion 56 determines whether the received packet is generated from 8-bit data or 10-bit data based on the packet configuration information, and converts the packet into image information in accordance with a result of the determination. In other words, in a case where the packet is generated from 10-bit data, upper 2 bits and lower 8 bits of image information are extracted from the packet for each pixel, and are joined together so as to be converted into 10-bit image information. The converted image information is written to theimage information buffer 34. - According to the present exemplary embodiment, data whose resolution is 10 bits is transmitted without reducing transmission efficiency by using a packet format of a fixed length (84 bytes) common to one used for transmission of data whose resolution is 8 bits.
- The exemplary embodiment may be modified as follows. In addition, plural modification examples may be combined with each other.
- Although, in the above-described exemplary embodiment, an example of using a packet format common to data whose resolution is 8 bits and data whose resolution is 10 bits has been described, the exemplary embodiment of the invention may be applied to data with other resolutions. A function of the
packet generation portion 40 is described as follows when the number of bits of data is generalized. - In the first mode, the
packet generation portion 40 generates a packet having a b-byte payload including plural sets of first data corresponding to a pixels from the first data having m-bit image information and p-bit additional information for each pixel (first generation unit). In addition, in the second mode, thepacket generation portion 40 generates a packet having a b-byte payload including plural sets of second data corresponding to a pixels from the second data having n-bit image information and p-bit additional information for each pixel (second generation unit). Here, p<m<n is satisfied. In addition, a is defined so that (n−m)×a becomes multiples of 8. Further, b is defined based on the least common multiple of the number of bytes of sets of the first data corresponding to a pixels and the number of bytes of sets of the second data corresponding to a pixels. - The example described in the exemplary embodiment corresponds to a case of m=8, n=10, and p=4, and, in this case, a minimum value of a is 4. Then, since the number of bytes of sets of the first data corresponding to a pixels is 6 bytes, and the number of bytes of sets of the second data corresponding to a pixels is 7 bytes, the least common multiple thereof is 42.
- As another example, for example, if m=8, n=12, and p=4, a becomes 2. Then, since the number of bytes of sets of the first data corresponding to a pixels is 3 bytes, and the number of bytes of sets of the second data corresponding to a pixels is 4 bytes, the least common multiple thereof is 12. As described in the exemplary embodiment, a payload length is defined from values of integer multiples of the least common multiple in consideration of transmission efficiency and a 2-bit error occurrence probability.
- A function of the
packet conversion portion 56 is described as follows when the number of bits of data is generalized. In the first mode, thepacket conversion portion 56 converts a packet having a b-byte payload including plural sets of first data corresponding to a pixels into the first data having m-bit image information and p-bit additional information for each pixel. In addition, in the second mode, thepacket conversion portion 56 converts a packet having a b-byte payload including plural sets of second data corresponding to a pixels into the second data having n-bit image information and p-bit additional information for each pixel. Here, p<m<n is satisfied. In addition, a is defined so that (n−m)×a becomes multiples of 8. Further, b is defined based on the least common multiple of the number of bytes of sets of the first data corresponding to a pixels and the number of bytes of sets of the second data corresponding to a pixels. - The exemplary embodiment of the invention may be applied to a case where additional information is not added to image information. For example, if m=8, n=10, and p=0, and, in this case, a minimum value of a is 4. Then, since the number of bytes of sets of the first data corresponding to a pixels is 4 bytes, and the number of bytes of sets of the second data corresponding to a pixels is 5 bytes, the least common multiple thereof is 20.
- In the exemplary embodiment, an example has been described in which 1 set is formed by image information corresponding to 4 pixels and additional information, but, in this case, the image information I/
F 26 may write image information and additional information to theimage information buffer 34 every 4 pixels. - In the exemplary embodiment, the data items are arranged in the packet as illustrated in
FIGS. 3 to 5 , but image information or additional information may be arbitrarily arranged in a set of data (corresponding to 4 pixels in the exemplary embodiment) as long as the arrangement is predefined. - The
communication device 10 may be configured to realize the above-described function by thecontroller 20 executing a program, and the above-described function may be mounted in a hardware circuit. In addition, the program may be recorded on a computer readable recording medium such as an optical recording medium or a semiconductor memory so as to be provided, and the program may be read from the recording medium so as to be installed in thecommunication device 10. Further, the program may be provided via an electric communication line. - The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Claims (3)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014-057807 | 2014-03-20 | ||
JP2014057807A JP6398241B2 (en) | 2014-03-20 | 2014-03-20 | Packet generating apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
US9141327B1 US9141327B1 (en) | 2015-09-22 |
US20150268912A1 true US20150268912A1 (en) | 2015-09-24 |
Family
ID=54107031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/333,100 Expired - Fee Related US9141327B1 (en) | 2014-03-20 | 2014-07-16 | Packet generation device and non-transitory computer readable medium |
Country Status (2)
Country | Link |
---|---|
US (1) | US9141327B1 (en) |
JP (1) | JP6398241B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10402355B2 (en) * | 2017-02-08 | 2019-09-03 | Texas Instruments Incorporated | Apparatus and mechanism to bypass PCIe address translation by using alternative routing |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3216277B2 (en) * | 1992-11-26 | 2001-10-09 | ソニー株式会社 | High-efficiency coding device and decoding device |
EP0859326A3 (en) * | 1997-02-14 | 1999-05-12 | Canon Kabushiki Kaisha | Data transmission apparatus, system and method, and image processing apparatus |
JPH10304230A (en) * | 1997-05-01 | 1998-11-13 | Canon Inc | Image pickup system and storage medium |
JP2004040637A (en) * | 2002-07-05 | 2004-02-05 | Canon Inc | Packet communication device and packet communication control method |
JP2005192031A (en) * | 2003-12-26 | 2005-07-14 | Hitachi Kokusai Electric Inc | Packet conversion method |
JP2006033496A (en) * | 2004-07-16 | 2006-02-02 | Ricoh Co Ltd | Variable data width imaging device, and imaging method |
JP4111192B2 (en) * | 2004-12-28 | 2008-07-02 | セイコーエプソン株式会社 | Memory controller, display controller, and memory control method |
JP4207912B2 (en) | 2005-03-24 | 2009-01-14 | セイコーエプソン株式会社 | Data transfer control device and electronic device |
JP4581955B2 (en) * | 2005-10-04 | 2010-11-17 | ソニー株式会社 | Content transmission apparatus, content transmission method, and computer program |
CN101331771B (en) * | 2006-05-16 | 2010-07-28 | 索尼株式会社 | Communication system, transmission device, reception device, communication method |
CN102893602B (en) * | 2010-02-22 | 2016-08-10 | 杜比实验室特许公司 | Have and use the video presenting control embedding metadata in the bitstream to show |
US8929290B2 (en) * | 2011-08-26 | 2015-01-06 | Qualcomm Incorporated | In-band signaling to indicate end of data stream and update user context |
-
2014
- 2014-03-20 JP JP2014057807A patent/JP6398241B2/en active Active
- 2014-07-16 US US14/333,100 patent/US9141327B1/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
US9141327B1 (en) | 2015-09-22 |
JP2015185866A (en) | 2015-10-22 |
JP6398241B2 (en) | 2018-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9898230B2 (en) | Information processing apparatus, system, and information processing method | |
US20190245906A1 (en) | Methods and devices for encoding and decoding binary data | |
JP4795264B2 (en) | Scan conversion device and scan conversion method | |
JP4648255B2 (en) | Information processing apparatus and information processing method | |
US9819363B2 (en) | Decoding device and method, information transmission system, and non-transitory computer readable medium | |
CN111295885A (en) | Transmitter | |
US20070076966A1 (en) | Image forming system and method | |
JP2015146525A (en) | Communication device, image forming apparatus, communication method, and program | |
CN111221746B (en) | Data storage system and related method thereof | |
US9141327B1 (en) | Packet generation device and non-transitory computer readable medium | |
US10643573B2 (en) | Technologies for end-to-end display integrity verification for functional safety | |
US8621314B2 (en) | Transmitting and receiving system and method, and non-transitory computer readable medium | |
US10158784B2 (en) | System and method for adaptively compressing data having noisy images using lossless compression | |
US8280177B2 (en) | Encoding device using parallelized encoding, decoding device using parallelized decoding, and image forming device, method, and program storage medium including the same | |
US9872035B2 (en) | System and method for transcoding data | |
US8750423B2 (en) | Receiving apparatus, data transfer apparatus, data receiving method and non-transitory computer readable recording medium | |
JP5157059B2 (en) | Display device and display method | |
CN109213710B (en) | High-speed serial interface device and data transmission method thereof | |
JP4863681B2 (en) | Semiconductor memory device and memory controller | |
US20140292547A1 (en) | Decompression circuit and associated compression method and decompression method | |
TW202024907A (en) | Processing of data | |
US9319314B2 (en) | Apparatus and method for using link-tail of link list to store data pattern which is indicative of end of link list and auxiliary information | |
US11758030B2 (en) | Encoder generating data packet, operation method thereof, and operation method of electronic device including encoder | |
US9785368B1 (en) | System and method for mapping control and user data | |
JP2006217318A (en) | Data communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: FUJI XEROX CO., LTD., JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:UGAJIN, ATSUSHI;ISHIZAKI, TOMOYA;KITAGAWARA, ATSUSHI;AND OTHERS;REEL/FRAME:033326/0877 Effective date: 20140709 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
AS | Assignment |
Owner name: FUJIFILM BUSINESS INNOVATION CORP., JAPAN Free format text: CHANGE OF NAME;ASSIGNOR:FUJI XEROX CO., LTD.;REEL/FRAME:058287/0056 Effective date: 20210401 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20230922 |