发明名称 EXI encoder and computer readable medium
摘要 An EXI encoder is based on XML schema defining an XML document that includes a head portion, a body portion which can be repeated X times or more and which contains a variable content, and a tail portion. A reading unit sequentially reads input data corresponding to the variable content as many as the number of times the body portion is repeated. A head portion encoder generates an EXI bit string corresponding to the head portion. A body portion encoder generates an EXI bit string corresponding to the body portion in which the variable is replaced with the input data each time input data is read by the reading unit. A tail portion encoder generates an EXI bit string corresponding to the tail portion. An output unit outputs an EXI stream including the EXI bit strings.
申请公布号 US8788934(B2) 申请公布日期 2014.07.22
申请号 US201113238393 申请日期 2011.09.21
申请人 Kabushiki Kaisha Toshiba 发明人 Doi Yusuke
分类号 G06F17/21 主分类号 G06F17/21
代理机构 Holtz Holtz Goodman & Chick PC 代理人 Holtz Holtz Goodman & Chick PC
主权项 1. An EXI (Efficient XML Interchange) encoder device for generating an EXI stream which can be decoded into an XML (Extensible Markup Language) document, the encoder device generating the EXI stream based on XML schema defining a construction of an XML document, the XML document as defined by the XML schema including a head portion, X body portions, and a tail portion, where X indicates a number of body portions and is an integer equal to or greater than 0, the head portion containing fixed XML content, each of the X body portions containing a variable, and XML content other than the variable in the X body portions being fixed XML content, and the tail portion containing fixed XML content, the encoder device comprising: an output unit; a head portion encoder having previously stored therein a first EXI bit string corresponding to the fixed XML content of the head portion, wherein the head portion encoder sends the stored first EXI bit string to the output unit; a reading unit configured to read-in input data X times, where the X times the input data is read-in is the X number of body portions; a body portion encoder having previously stored therein an EXI bit string corresponding to the fixed XML content in the X body portions and in which a bit string variable which corresponds to the variable in the X body portions is included, wherein the body portion encoder sends to the output unit a second EXI bit string obtained by replacing the bit string variable included in the EXI bit string with the input data read-in by the reading unit each time the input data is read-in by the reading unit; and a tail portion encoder having previously stored therein a third EXI bit string corresponding to the fixed XML content of the tail portion, wherein the tail portion encoder sends the previously stored third EXI bit string to the output unit, in accordance with an output of the body portion encoder; wherein the output unit generates an EXI stream including all of the first EXI bit string received from the head portion encoder, X second EXI bit strings received from the body portion encoder, and the third EXI bit string received from the tail portion encoder, and outputs the EXI stream; and wherein the EXI stream is generated without use of an entire initial XML document.
地址 Tokyo JP