CN102447739B - Data transmission method and system - Google Patents

Data transmission method and system Download PDF

Info

Publication number
CN102447739B
CN102447739B CN201110368800.5A CN201110368800A CN102447739B CN 102447739 B CN102447739 B CN 102447739B CN 201110368800 A CN201110368800 A CN 201110368800A CN 102447739 B CN102447739 B CN 102447739B
Authority
CN
China
Prior art keywords
predetermined
gps navigation
file
type
information center
Prior art date
Application number
CN201110368800.5A
Other languages
Chinese (zh)
Other versions
CN102447739A (en
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 CN201110368800.5A priority Critical patent/CN102447739B/en
Publication of CN102447739A publication Critical patent/CN102447739A/en
Application granted granted Critical
Publication of CN102447739B publication Critical patent/CN102447739B/en

Links

Abstract

本发明公开了一种数据传输方法及系统,其中,该方法包括:信息中心将预定类型的文件按照预定的压缩格式进行压缩得到压缩包;信息中心通过HTTP协议将压缩包传输给GPS导航终端。 The present invention discloses a data transmission method and system, wherein, the method comprising: an information center for the predetermined types of files compressed according to a predetermined compression format is compressed packet; HTTP protocol information center by the compressed packets to the terminal GPS navigation. 本发明解决了现有信息中心与GPS导航终端的无线通讯过程中采用自定义的通讯协议导致的数据发送的内容有限的问题,达到了无线通讯的数据具有良好的扩展性,并且宽带利用率高的技术效果。 The present invention solves the GPS navigation information center and a terminal wireless communication employed during limited content data transmitted from the communication protocol defined cause problems, the data reaches the wireless communication has good scalability, high bandwidth utilization and technical effect.

Description

数据传输方法及系统 Data transmission method and system

技术领域 FIELD

[0001] 本发明涉及通信领域,具体而言,涉及一种数据传输方法及系统。 [0001] The present invention relates to communication field, specifically, it relates to a data transmission method and system.

背景技术 Background technique

[0002] 无线通讯作为一种重要方式在通讯领域具有广泛的应用。 [0002] As an important way wireless communications with a wide range of applications in the communications field. 在GPS导航领域中,现有的信息中心与GPS导航终端的无线通讯过程中,通常采用自定义的通讯协议,以报文的形式来发送数据。 GPS navigation in the art, conventional GPS navigation information center and a terminal of a wireless communication process, usually custom protocols to send packets of data to form. 而这种数据发送方法存在以下缺陷:I)由于自定义的通讯协议中包含的内容是有限的,传输内容的格式也是有限的,因此,这种通讯方式使得通讯内容的可扩展性方面存在较大局限性;2)采用自定义通讯协议进行数据的发送过程中,当发送的数据很少时,由于通讯协议本身内容过多,导致宽带利用率低。 The presence of more scalability I) due to the customized content contained in the communication protocols is limited, the transmission format of the content is limited, and therefore, this method makes communication content communication: data transmission method and the presence of such defects in the large limitation; 2) transmission procedure using a custom communication protocol data, when the data transmission is less, since excessive content protocol itself, resulting in low utilization of broadband.

[0003] 针对由于现有信息中心与GPS导航终端的无线通讯过程中采用自定义的通讯协议导致的传输数据的内容扩展性差、宽带利用率低的问题,目前尚未提出有效的解决方案。 [0003] Since the conventional information center for the GPS navigation wireless communication terminal during transmission of data content scalability custom protocol using difference caused, a broadband low utilization, currently no effective solutions.

发明内容 SUMMARY

[0004] 针对由于现有信息中心与GPS导航终端的无线通讯过程中采用自定义的通讯协议导致的数据发送的内容有限的问题,本发明提供了一种数据传输方法和系统,以至少解决上述问题。 [0004] For the conventional problems due to the limited GPS information center and a navigation terminal employed in a wireless communication process of transmitting the content data from the communication protocol defined due, the present invention provides a data transmission method and system, at least to solve the above problem.

[0005] 根据本发明的一个方面,提供了一种数据传输方法,包括:信息中心将预定类型的文件按照预定的压缩格式进行压缩得到压缩包;信息中心通过HTTP协议将压缩包传输给GPS导航终端。 [0005] In accordance with one aspect of the present invention, there is provided a data transmission method, comprising: an information center for a predetermined type of file according to a predetermined compression format compressed packet is compressed; HTTP protocol information center by the compressed packets to GPS navigation terminal.

[0006] 优选的,在信息中心通过HTTP协议将压缩包传输给GPS导航终端之后,数据传输方法还包括:GPS导航终端通过HTTP协议接收压缩包;GPS导航终端按照与预定的压缩格式对应的解压缩格式对压缩包进行解压得到预定类型的文件。 [0006] Preferably, after the information center to the compressed packet transmitted to the GPS navigation terminal via the HTTP protocol, data transmission method further comprising: GPS navigation terminal receives the compressed packet through the HTTP protocol; GPS navigation terminal according to the decoding of the predetermined corresponding compression format compression format to obtain a predetermined decompressing compressed file type.

[0007] 优选的,在GPS导航终端按照与预定的压缩格式对应的解压缩格式对压缩包进行解压得到预定类型的文件之后,数据传输方法还包括:GPS导航终端调用与预定类型对应的解析程序对预定类型的文件进行读取。 [0007] Preferably, after the GPS navigation terminal obtained predetermined file type according to the predetermined corresponding compression format decompression format compressed decompress data transmission method further comprising: GPS navigation terminal calls the resolver with a predetermined type corresponding to predetermined type of document reading.

[0008] 优选的,GPS导航终端调用与预定类型对应的解析程序对预定类型的文件进行读取的步骤包括:GPS导航终端根据接收压缩包时调用的不同的HTTP服务接口来选择与预定类型对应的解析程序;GPS导航终端使用选择的解析程序对预定类型的文件进行读取。 [0008] preferably, GPS navigation terminal with a calling step for reading a corresponding predetermined resolver type files of a predetermined type comprising: a different HTTP service interface called GPS navigation terminal according to the received compressed packet when the predetermined type to select the corresponding analytical procedures; the GPS navigation terminal using the selected parser to read a predetermined type of document.

[0009] 优选的,GPS导航终端使用选择的解析程序对预定类型的文件进行读取之后,数据传输方法还包括:将读取出的数据在GPS导航终端中的显示装置上进行显示;和/或将读取出的数据在GPS导航终端中的存储装置上进行存储。 [0009] Preferably, after, GPS navigation terminal using the selected parser to read a predetermined type of document data transmission method further comprising: reading out the data in the GPS navigation is displayed on a display terminal device; and / or to read data stored on a GPS navigation terminal storage device.

[0010] 优选的,压缩格式包括以下至少之一:ZIP压缩格式、RAR压缩格式。 [0010] Preferably, the compression format comprising at least one of the following: ZIP compression format, RAR compression format.

[0011] 优选的,信息中心将预定类型的文件按照预定的压缩格式进行压缩得到压缩包的步骤包括:信息中心按照文件的类型对多个文件进行分类,其中,每一类文件的类型相同;信息中心按照预定的压缩格式将所有分类后的文件进行统一压缩。 [0011] Preferably, the predetermined type of the information center file compression step of compressing the obtained packet according to a predetermined compression format comprising: the information center in accordance with the type of the file to a plurality of classified documents, wherein each of the class files of the same type; information Center in accordance with a predetermined compression format files of all classifications uniform compression.

[0012] 根据本发明的另一方面,提供了一种数据传输系统,包括:信息中心和GPS导航终端,其中,信息中心用于将预定类型的文件按照预定的压缩格式进行压缩得到压缩包,并通过HTTP协议将压缩包传输给GPS导航终端;GPS导航终端用于通过HTTP协议接收信息中心传输的压缩包。 [0012] According to another aspect of the present invention, there is provided a data transmission system, comprising: an information center and a GPS navigation terminal, wherein the information center for the predetermined types of files in accordance with a predetermined compression formats resulting compressed, and compressed by the HTTP protocol packets to the GPS navigation terminal; GPS navigation terminal for receiving compressed packet information center through HTTP protocol.

[0013] 优选的,GPS导航终端包括:接收单元,用于通过HTTP协议接收压缩包;解压单元,用于按照与预定的压缩格式对应的解压缩格式对压缩包进行解压得到预定类型的文件。 [0013] preferably, GPS navigation terminal comprising: a receiving means for receiving a compressed packet by the HTTP protocol; decompression unit, for obtaining a predetermined file in accordance with the type of compression format corresponding to a predetermined decompression decompress compressed format.

[0014] 优选的,GPS导航终端还包括:读取单元,用于在解压单元按照与预定的压缩格式对应的解压缩格式对压缩包进行解压得到预定类型的文件之后,调用与预定类型对应的解析程序对预定类型的文件进行读取。 [0014] preferably, GPS navigation terminal further comprises: reading means for, after decompression unit according to a predetermined compression format and compression format corresponding to the solution to obtain a predetermined decompressing compressed file type, a predetermined type corresponding to the call resolver predetermined type of document reading.

[0015] 优选的,读取单元包括:调用模块,用于根据接收压缩包时调用的不同的HTTP服务接口来选择与预定类型对应的解析程序;读取模块,用于使用调用单元选择的解析程序对预定类型的文件进行读取。 [0015] Preferably, the reading unit comprising: a calling means for selecting a predetermined type corresponding to the resolver according to the different HTTP service interface call upon receiving the compressed packet; reading module, with a call for parsing the selected unit predetermined type of program file for reading.

[0016] 优选的,GPS导航终端还包括:显示单元,用于在读取单元对预定类型的文件进行读取之后,将读取出的数据进行显示;和/或存储单元,用于将读取出的数据进行存储。 [0016] preferably, GPS navigation terminal further comprising: a display unit for the data after the reading unit to read a predetermined type of document, read out for display; and / or storage unit, for reading the extracted data is stored.

[0017] 优选的,信息中心包括:分类单元,用于按照文件的类型对多个文件进行分类,其中,每一类文件的类型相同;压缩单元,用于按照预定的压缩格式将所有分类后的文件进行统一压缩。 [0017] Preferably, the information center comprising: a classification unit for a plurality of files classified according to the type of document, wherein each of the documents of the same type; a compression unit for all the classified according to a predetermined compression format the unified file compression.

[0018] 在本发明中,信息中心将将预定类型的文件按照预定的压缩格式进行压缩得到压缩包,通过HTTP协议将所述压缩包传输给GPS导航终端,其中,由于压缩包中的内容可以为根据需求使用任何数据格式或语言,使得在GPS导航领域的无线通讯不需要受相关技术中自定义的通讯协议的限制,解决了现有信息中心与GPS导航终端的无线通讯过程中,采用自定义的通讯协议导致传输数据的内容扩展性差的问题,进而达到了无线通讯传输数据的内容具有良好的扩展性,且宽带利用率高的技术效果。 [0018] In the present invention, the predetermined type of the information center in accordance with a predetermined file compression formats resulting compressed, compressed by the HTTP protocol packets to the GPS navigation terminal, wherein, since the compressed content package may according to the need to use any data format or language, such that wireless communications in the field of GPS navigation need not be restricted communication protocol related art custom solves GPS navigation information center and a terminal wireless communication process, self defined communication protocol causes problems of poor scalability content data transmission, thereby achieving data transmission of the wireless communication content has good scalability, high bandwidth utilization and technical effects.

附图说明 BRIEF DESCRIPTION

[0019] 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。 [0019] The drawings described herein are provided for further understanding of the present invention, constitute a part of this application, exemplary embodiments of the present invention are used to explain the present invention without unduly limiting the present invention. 在附图中: In the drawings:

[0020] 图1是根据本发明实施例的数据传输方法的一种优选的流程图; [0020] FIG. 1 is a preferred embodiment of the data transmission method of the present invention, a flow diagram embodiment;

[0021] 图2是根据本发明实施例的数据传输系统的一种优选的结构图; [0021] FIG. 2 is a block diagram of a data transmission system according to a preferred embodiment of the present invention;

[0022] 图3是根据本发明实施例的数据传输系统的另一种优选的结构图; [0022] FIG. 3 is another preferred embodiment of the data transmission system configuration diagram according to an embodiment of the present invention;

[0023]图4是根据本发明实施例的数据传输系统的又一种优选的示意图。 [0023] FIG. 4 is a schematic view of yet another preferred embodiment of the data transmission system of the embodiment of the present invention.

具体实施方式 Detailed ways

[0024] 下文中将参考附图并结合实施例来详细说明本发明。 [0024] Hereinafter with reference to the accompanying drawings and embodiments of the present invention will be described in detail. 需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 Incidentally, in the case of no conflict, embodiments and features of the embodiments of the present application can be combined with each other.

[0025] 实施例1 [0025] Example 1

[0026] 如图1所示,本发明提供了一种数据传输方法的优选的流程图,包括如下步骤: [0026] As shown in FIG. 1, the present invention provides a preferred flowchart illustrating a data transmission method, comprising the steps of:

[0027] S102,信息中心将预定类型的文件按照预定的压缩格式进行压缩得到压缩包; [0027] S102, the information center of the predetermined type obtained by compressing files compressed according to a predetermined compression format;

[0028] S104,信息中心通过HTTP协议将压缩包传输给GPS导航终端。 [0028] S104, the information center through the HTTP protocol to the compressed packet transmitted GPS navigation terminal.

[0029] 在本优选的实施例中,由于压缩包中的内容可以为根据需求使用任何数据格式或语言,因此,采用HTTP协议传输压缩包的数据使得在GPS导航领域的无线通讯过程中,不需要受相关技术中自定义的通讯协议的限制,可以传输任何数据类型或语言,解决了现有信息中心与GPS导航终端的无线通讯过程中,采用自定义的通讯协议导致传输数据的内容扩展性差的问题,进而达到了无线通讯传输数据的内容具有良好的扩展性的技术效果。 [0029] In the present preferred embodiment, since the compressed content package may be used in any data format or language according to the requirements, therefore, the use of HTTP protocol to transmit compressed data so that the wireless communication process in the GPS navigation field, no wireless communication process requires a restricted communication protocol related art custom, may transmit any type of data or language, solves the information center and the GPS navigation terminal, using a custom communication protocol causes the contents of the extended data being transmitted difference the problem, thus achieving the contents of wireless communication data transmission technology has a good effect scalability.

[0030] 在本发明优选的实施例中,本申请还提供了一种优选的解压方案,可以解决压缩包解压的问题。 [0030] In a preferred embodiment of the invention, the present application also provides a preferred embodiment of the decompression, can solve the problem of packet compression codecs. 具体的,在信息中心通过HTTP协议将压缩包传输给GPS导航终端之后,本实施例中的数据传输方法还包括:GPS导航终端通过HTTP协议接收压缩包;GPS导航终端按照与预定的压缩格式对应的解压缩格式对压缩包进行解压得到预定类型的文件。 Specifically, after the information center to the compressed packet transmitted to the GPS navigation terminal via the HTTP protocol, the present embodiment of the data transmission method of this embodiment further comprises: GPS navigation terminal receives the compressed packet through the HTTP protocol; GPS navigation terminal according to corresponding predetermined compression format decompressing decompresses compressed format to obtain a predetermined type of document.

[0031] 在上述改进的优选实施例中,GPS导航终端将压缩包进行解压,保证了GPS导航终端接收到的数据内容与信息中心发送的数据内容相一致。 [0031] In a preferred embodiment the aforementioned improvements, the GPS navigation terminal decompress compressed, to ensure that the content data received by the terminal GPS navigation information center transmits content data coincides.

[0032] 在本发明优选的实施例中,本申请还提供了一种优选的对上述预定类型的文件进行读取的方案。 [0032] In a preferred embodiment of the invention, the present application also provides a preferred embodiment of the above-described predetermined type of file read. 具体的,在GPS导航终端按照与预定的压缩格式对应的解压缩格式对压缩包进行解压得到预定类型的文件之后,本实施例中的数据传输方法还包括:GPS导航终端调用与预定类型对应的解析程序对预定类型的文件进行读取。 Specifically, after the GPS navigation terminal compression format for compressed packets unpack predetermined type of file in the format corresponding to the solution and a predetermined compression, the data transmission method of the present embodiment further includes: GPS navigation terminal call corresponds to a predetermined type of resolver predetermined type of document reading.

[0033] 在上述改进的优选实施例中,可以将信息中心发送的数据内容直接在GPS导航终端读取,保证传输数据内容的准确性,此外,由于对数据的读取不需要第三方设备,可以节省了成本,并降低了处理的复杂度。 [0033] Examples content data, the information center may transmit the above-described embodiment is preferably modified directly read GPS navigation terminal, to ensure the accuracy of the data content transmitted, Furthermore, since the reading of the data does not require third-party equipment, you can save costs and reduce the complexity of the process.

[0034] 在本发明一种优选的实施例中,本申请还提供一种优选的读取文件的方案,具体的,上述GPS导航终端调用与预定类型对应的解析程序对预定类型的文件进行读取的步骤包括:GPS导航终端根据接收压缩包时调用的不同的HTTP服务接口来选择与预定类型对应的解析程序;GPS导航终端使用选择的解析程序对预定类型的文件进行读取。 [0034] In a preferred embodiment of the invention, the present application also provides a preferred embodiment to read the file, specifically, the above-described GPS navigation terminal calls a predetermined type of read files corresponding to a predetermined type resolver the step of taking comprises: different HTTP service interface called GPS navigation terminal according to the received compressed packet when the resolver is selected corresponding to the predetermined type; GPS navigation terminal using the selected parser to read a predetermined type of document.

[0035] 在上述改进的优选实施例中,选择对应的解析程序对预定类型的文件进行读取,无需人工识别,可以增加读取所需传输数据内容的速度,进而增加数据传输的速度。 [0035] In the modified preferred embodiment, analysis program selects a corresponding predetermined type of read files without manual identification, may increase the speed of data transfer required to read the contents, thereby increasing the data transmission speed.

[0036] 在本发明一种优选的实施例中,还提供了一种读取预定类型的文件后显示和存储的方案,具体的,GPS导航终端使用选择的解析程序对预定类型的文件进行读取之后,本实施例中的数据传输方法还包括:将读取出的数据在GPS导航终端中的显示装置上进行显示;和/或将读取出的数据在GPS导航终端中的存储装置上进行存储。 [0036] In a preferred embodiment of the invention, there is also provided the latter type of document reading predetermined programs stored and displayed specific, GPS navigation terminal using the selected parser to read a predetermined type of document after extraction, the data transmission method of the present embodiment in further comprising: read-out data in the GPS navigation is displayed on a display terminal device; upper and / or data read out from the storage means in the GPS navigation terminal for storage.

[0037] 在上述改进的优选实施例中,将读取出的数据在显示装置上直接进行显示,可以使在GPS导航终端上直接读取到接收到的数据内容,增加了文件传输的灵活性;同时,将读取出的数据进行存储,可以保证对传输的数据进行更好的管理。 Flexibility [0037] In the modified preferred embodiment, the read out data directly displayed on the display device, the data can be read directly on the contents of the received GPS navigation terminal, adds file transfer ; Meanwhile, the read out data is stored, the data transmission can be guaranteed better management.

[0038] 优选的,本申请的数据传输方法中压缩格式包括以下至少之一:ZIP压缩格式、RAR压缩格式,保证传输的数据可以多种类型,进而使得无线通讯的数据具有良好的扩展性,也保证了传输数据的效率。 [0038] Preferably, the data transmission method of the present application comprises at least one of compression formats: ZIP compression format, RAR compression format, the data transmission can be guaranteed more types, thus making the wireless communication data having a good scalability, but also to ensure the efficiency of data transmission. 当然,上述两种压缩格式只是本发明的一种示例,本发明不仅限于此,本发明还可以包括其他按照预定格式进行压缩的方式。 Of course, only an exemplary form of the present invention, the two compression, the present invention is not limited thereto, the present invention may further comprise other means according to a predetermined compression format.

[0039] 在本发明一种优选的实施例中,还提供了一种对信息中心将预定类型的文件按照预定的压缩格式进行压缩得到压缩包的优选的方案,具体的,包括:信息中心按照文件的类型对多个文件进行分类,其中,每一类文件的类型相同;信息中心按照预定的压缩格式将所有分类后的文件进行统一压缩。 [0039] In a preferred embodiment of the invention, there is also provided a scheme for the dashboard of a predetermined type compressed file compression is preferably obtained according to a predetermined compression format, specifically, comprising: an information center in accordance with type file for classifying the plurality of files, wherein each of the documents of the same type; the information center in accordance with a predetermined compressed file format uniform compression of all classification.

[0040] 在上述实施例中,在GPS导航终端,可以通过解压缩得到一类文件,这种传输方式,增加了文件传输的灵活性,并提高了效率。 [0040] In the above embodiment, the GPS navigation terminal, may be obtained by decompressing a class file, this transmission mode, increase the flexibility of file transfer, and increase efficiency.

[0041] 实施例2 [0041] Example 2

[0042] 如图2所示,本发明提供了一种数据传输系统的优选的结构图,包括:信息中心202和GPS导航终端204,其中,信息中心用于将预定类型的文件按照预定的压缩格式进行压缩得到压缩包,并通过HTTP协议将压缩包传输给GPS导航终端204 ;GPS导航终端204用于通过HTTP协议接收信息中心202传输的压缩包。 [0042] As shown, the present invention provides a preferred configuration diagram of a data transmission system 2, comprising: a GPS navigation information center 202 and terminal 204, wherein the information center for the predetermined types of files according to a predetermined compression compressed format obtained by compressing and compressed by the HTTP protocol packets to the GPS navigation terminal 204; GPS navigation terminal 204 for receiving compressed information center 202 through the HTTP protocol transmitted.

[0043] 在本优选的实施例中,由于压缩包中的内容可以为根据需求使用任何数据格式或语言,因此,采用HTTP协议传输压缩包的数据使得在GPS导航领域的无线通讯过程中,不需要受相关技术中自定义的通讯协议的限制,可以传输任何数据类型或语言,解决了现有信息中心与GPS导航终端的无线通讯过程中,采用自定义的通讯协议导致传输数据的内容扩展性差的问题,进而达到了无线通讯传输数据的内容具有良好的扩展性的技术效果。 [0043] In the present preferred embodiment, since the compressed content package may be used in any data format or language according to the requirements, therefore, the use of HTTP protocol to transmit compressed data so that the wireless communication process in the GPS navigation field, no wireless communication process requires a restricted communication protocol related art custom, may transmit any type of data or language, solves the information center and the GPS navigation terminal, using a custom communication protocol causes the contents of the extended data being transmitted difference the problem, thus achieving the contents of wireless communication data transmission technology has a good effect scalability.

[0044] 在本发明优选的实施例中本申请还提供了一种优选的解压方案,可以解决压缩包解压的问题。 [0044] In the present invention, a preferred embodiment of the present application also provides a preferred embodiment of the decompression, can solve the problem of packet compression codecs. 具体的,如图3所示,GPS导航终端204包括:接收单元2041,用于通过HTTP协议接收压缩包;解压单元2042,用于按照与预定的压缩格式对应的解压缩格式对压缩包进行解压得到预定类型的文件。 Specifically, as shown in FIG, GPS navigation terminal 2043 includes: a receiving unit 2041 for receiving the compressed packet through the HTTP protocol; decompression unit 2042, according to a predetermined compression format and compression format corresponding to decompress the compressed solution of to obtain a predetermined type of file.

[0045] 在上述改进的优选实施例中,GPS导航终端204将压缩包进行解压,保证了GPS导航终端204接收到的数据内容与信息中心202发送的数据内容相一致。 [0045] In the modified preferred embodiment, the GPS navigation terminal 204 decompress compressed, to ensure that the GPS navigation terminal 204 receives the content data and the information center 202 transmits the content data is consistent.

[0046] 在本发明优选的实施例中,本申请还提供了一种优选的对上述预定类型的文件进行读取的方案,具体的,如图3所示,GPS导航终端204包括:读取单元2043,用于在解压单元2042按照与预定的压缩格式对应的解压缩格式对压缩包进行解压得到预定类型的文件之后,调用与预定类型对应的解析程序对预定类型的文件进行读取。 [0046] In a preferred embodiment of the invention, the present application also provides a preferred embodiment of the above-described predetermined type of the file for reading, particularly, 3, GPS navigation terminal 204 comprises: reading unit 2043, after a decompression unit 2042 in accordance with a predetermined compression format corresponding to the compression format of the compressed packet decompression solution obtained predetermined file type, a predetermined type of call to read the files corresponding to a predetermined type resolver.

[0047] 在上述改进的优选实施例中,可以将信息中心202发送的数据内容直接在GPS导航终端204读取,保证传输数据内容的准确性。 [0047] In the modified preferred embodiment, the content data may be transmitted from the information center 202 read directly GPS navigation terminal 204, to ensure the accuracy of the content data transmission. 此外,由于对数据的读取不需要第三方设备,节省了成本,并降低了处理的复杂度。 Further, since the reading of the data does not require third-party equipment, cost savings, and reduce the complexity of the process.

[0048] 在本发明一种优选的实施例中,本申请还提供一种上述读取单元2043读取的优选的方案,具体的,读取单元2043包括:调用模块,根据接收压缩包时调用的不同的HTTP服务接口来选择与预定类型对应的解析程序;读取模块,使用调用单元选择的解析程序对预定类型的文件进行读取。 [0048] In a preferred embodiment of the invention, the present application also provides one of the above preferred embodiment of the read unit 2043 reads, in particular, the reading unit 2043 comprises: calling module, according to the received compressed packet when the call different HTTP interface to select predetermined services corresponding to the type of resolver; reading module, with a call analysis unit selects a predetermined program reads the file type.

[0049] 在上述改进的优选实施例中,选择对应的解析程序对预定类型的文件进行读取,无需人工识别,可以增加读取所需传输数据内容的速度,进而增加数据传输的速度。 [0049] In the modified preferred embodiment, analysis program selects a corresponding predetermined type of read files without manual identification, may increase the speed of data transfer required to read the contents, thereby increasing the data transmission speed.

[0050] 在本发明一种优选的实施例中,还提供了一种读取预定类型的文件后显示和存储的方案,具体的,如图3所示,GPS导航终端204包括:显示单元2044,用于在读取单元2043对预定类型的文件进行读取之后,将读取出的数据在GPS导航终端204中的显示装置上进行显示;和/或存储单元2045,用于将读取出的数据在GPS导航终端204中的存储装置上进存储。 [0050] In a preferred embodiment of the invention, there is also provided the latter type of document reading predetermined programs stored in the display and, particularly, 3, GPS navigation terminal 204 comprises: a display unit 2044 , after the data reading unit 2043 for reading a file of a predetermined type, the read-out for display GPS navigation terminal 204 on the display device; and / or storage unit 2045, configured to read data storage means stores progress in the GPS navigation terminal 204.

[0051] 在上述改进的优选实施例中,将读取出的数据在显示装置上直接进行显示,可以使在GPS导航终端上直接看到接收到的数据内容,增加了文件传输的灵活性;将读取出的数据进行存储,可以保证对传输的数据进行更好的管理。 [0051] In the modified preferred embodiment, the read-out data is displayed directly on the display device, you can directly see the content data received at the GPS navigation terminal, increase the flexibility of the file transfer; the read out data is stored, the data transmission can be guaranteed better management.

[0052] 优选的,在本申请各个优选实施例的数据传输系统中,压缩格式可以包括以下至少之一:ZIP压缩格式、RAR压缩格式,保证传输的数据可以多种类型,进而使得无线通讯的数据具有良好的扩展性,也保证了传输数据的效率。 [0052] Preferably, the data transmission system according to the present embodiment in various preferred application, the compression format may include at least one of the following: ZIP compression format, RAR compression format, the data transmission can be guaranteed more types, thus making the wireless communication data has good scalability, but also to ensure the efficiency of the data transmission. 当然,上述两种压缩格式只是本发明的一种示例,本发明不仅限于此,本发明还可以包括其他按照预定格式进行压缩的方式。 Of course, only an exemplary form of the present invention, the two compression, the present invention is not limited thereto, the present invention may further comprise other means according to a predetermined compression format.

[0053] 在本发明一种优选的实施例中,还提供了一种对信息中心将预定类型的文件按照预定的压缩格式进行压缩得到压缩包的优选的方案,具体的,信息中心202包括:分类单元2021,按照文件的类型对多个文件进行分类,其中,每一类文件的类型相同;压缩单元2022,按照预定的压缩格式将所有分类后的文件进行统一压缩。 [0053] In a preferred embodiment of the invention, there is also provided a scheme for the dashboard of a predetermined type compressed file compression is preferably obtained according to a predetermined compression format, specifically, the information center 202 comprises: classification unit 2021, in accordance with the type of the file to a plurality of classified documents, wherein each of the documents of the same type; compression unit 2022, the classification of all files compressed according to a unified predetermined compression format.

[0054] 在上述实施例中,在GPS导航终端,可以通过解压缩得到一类文件,这种传输方式,增加了文件传输的灵活性,并提高了效率。 [0054] In the above embodiment, the GPS navigation terminal, may be obtained by decompressing a class file, this transmission mode, increase the flexibility of file transfer, and increase efficiency.

[0055] 实施例3 [0055] Example 3

[0056]图4是根据本发明实施例的数据传输系统的又一种优选的示意图,其中,处于互联网下的信息中心402,为GPS导航终端404提供HTTP服务,所有数据发送都是使用ZIP包的无线传输方式。 [0056] FIG. 4 is a schematic diagram of yet another preferred embodiment of the data transmission system of the present invention, wherein, in the Internet information center 402, the HTTP service providing terminal 404 to GPS navigation, all transmitted packets are used ZIP the wireless transmission. 此处需要说明的是,上述ZIP压缩格式只是本发明的一种示例,本发明不仅限于此,本发明还可以包括其他的压缩格式(如RAR)。 It should be noted here that the above is only a ZIP compression format example of the present invention, the present invention is not limited thereto, the present invention may further comprise other compression formats (e.g., RAR). 如图4所示,根据本发明实施例的数据传输方法具体包括如下步骤: As shown, a data transmission method according to an embodiment of the present invention specifically includes the following four steps:

[0057] SI,信息中心402把待发送的数据存入文件中,并打成ZIP包。 [0057] SI, data center 402 is stored in a file to be transmitted, and labeled ZIP package.

[0058] 具体的,此处以发送一条新闻为例,信息中心402中的处理程序把此条新闻存为格式为txt的文件,并将该格式为txt的文件压缩成ZIP包。 [0058] Specifically, here an example in a news transmission, the program information processing center 402 of the entry information stored txt file format, and the format of txt files in a ZIP package. 优选的,格式为txt的文件中的内容可以包括但不限于:新闻标题、新闻发布时间以及新闻正文。 Preferably, the format of the content of txt file may include, but are not limited to: news headlines, press releases and news text time.

[0059] 优选的,可将文件内容按照GPS导航终端要求显示的形式设置,以方便GPS导航终端显示,例如:在格式为txt的文件中,按如下方式进行设置: [0059] Preferably, according to the contents of the file can be required to display GPS navigation terminal provided in the form, to facilitate the GPS navigation terminal, for example: the file format of txt, be set as follows:

[0060] I)第一行为新闻标题; [0060] I) of the first acts of headlines;

[0061] 2)第二行为新闻发布时间; [0061] 2) The second line news release time;

[0062] 3)其余内容为新闻正文。 [0062] 3) the rest of the body for news.

[0063] 需要说明的是,此处以新闻作为待发数据、且以txt作为文件格式,都只是本申请优选实施例的一种,并不对本申请构成不当的限定,待发数据可以是其他任意数据,文件也可以是其他格式。 [0063] Incidentally, here, as to press outgoing data, and to as txt file format embodiment is just a preferred embodiment of the present application, without unduly limit this application, the outgoing data may be any other data, files may be another format.

[0064] S2,GPS导航终端404通过无线网络使用信息中心402提供的HTTP服务,接收信息中心402传输的ZIP包,并将此ZIP包存储在GPS导航终端的存储空间中。 [0064] S2, GPS navigation terminal 404 over the wireless network using HTTP service information providing center 402, the received packet ZIP transmitted information center 402, and the storage space of the GPS navigation terminal is stored in this ZIP package.

[0065] S3,GPS导航终端404中的解压程序对接收到的ZIP包进行解压。 [0065] S3, decompressor GPS navigation terminal 404 in the received packet extracting ZIP. 具体的,GPS导航终端404将ZIP包解压为格式为txt的文件。 Specifically, GPS navigation terminal 404 will unpack ZIP format of txt file.

[0066] S4,GPS导航终端404中的处理程序读取解压得到的文件。 [0066] S4, GPS navigation terminal handler 404 reads file decompression obtained.

[0067] 优选的,GPS导航终端404可以根据调用的不同的HTTP服务接口来选择相应的解析程序对解压得到的文件进行读取。 [0067] preferably, GPS navigation terminal 404 may be selected depending on the appropriate resolver HTTP service interface calls to unpack the file read.

[0068] 优选的,读取出来的内容可以显示在GPS导航终端404中的IXD上,也可以保存到GPS导航终端404中的存储空间中,以供以后使用。 [0068] Preferably, the read out contents may be displayed on the IXD 404 GPS navigation terminal, may be stored in the storage space 404 GPS navigation terminal, for later use.

[0069] 具体的,GPS导航终端404选择记事本程序作为处理程序来读取解压得到的格式为txt的文件,将新闻标题、新闻发布时间、新闻正文读取出来,并在GPS导航终端404中的IXD上显示此新闻。 [0069] Specifically, the terminal 404 selects the GPS navigation Notepad program as a processing program to read the format of txt unpack the files, news headlines, the press releases, news text is read out, and the GPS navigation terminal 404 show this news on the IXD.

[0070] 从以上的描述中可以看出,本发明实现了如下技术效果:信息中心将将预定类型的文件按照预定的压缩格式进行压缩得到压缩包,通过HTTP协议将压缩包传输给GPS导航终端,其中,由于压缩包中的内容可以为根据需求使用任何数据格式或语言,使得在GPS导航领域的无线通讯不需要受相关技术中自定义的通讯协议的限制,解决了现有信息中心与GPS导航终端的无线通讯过程中,采用自定义的通讯协议导致传输数据的内容扩展性差的问题,进而达到了无线通讯传输数据的内容具有良好的扩展性,且宽带利用率高的技术效果O [0070] As can be seen from the above description, the present invention achieves the following technical effects: the information center of the predetermined type in accordance with a predetermined file compression formats been compressed, the compressed packet by the HTTP protocol transmitted to the GPS navigation terminal wherein, due to the compressed content package may be any data format or language used on demand, so that the field of wireless communications in the GPS navigation related art need not be limited by the customized communications protocol, and to solve the existing GPS information center wireless process communication navigation terminal, using a custom communication protocol causes problems of poor scalability content data transmission, thereby achieving data transmission of the wireless communication content has good scalability and high bandwidth utilization technical effect O

[0071] 显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 [0071] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be used general-purpose computing device, they can be integrated in a single computing device or distributed across multiple computing devices available on the Internet, optionally, they can be implemented with program codes executable by a computing device, so that, to be performed by a computing device stored in a storage means, and in some cases, may be different from this at step sequence shown or described, or they are made into integrated circuit modules, or by making them of a plurality of modules or steps in a single integrated circuit module. 这样,本发明不限制于任何特定的硬件和软件结合。 Thus, the present invention is not limited to any particular hardware and software combination.

[0072] 以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0072] The above description is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (5)

1.一种数据传输方法,其特征在于,包括: 信息中心将预定类型的文件按照预定的压缩格式进行压缩得到压缩包; 所述信息中心通过HTTP协议将所述压缩包传输给GPS导航终端; 其中,所述信息中心将预定类型的文件按照预定的压缩格式进行压缩得到压缩包的步骤包括:所述信息中心按照文件的类型对多个文件进行分类,其中,每一类文件的类型相同;所述信息中心按照所述预定的压缩格式将所有分类后的文件进行统一压缩; 其中,在所述信息中心通过HTTP协议将所述压缩包传输给GPS导航终端之后,还包括:所述GPS导航终端通过所述HTTP协议接收所述压缩包;所述GPS导航终端按照与所述预定的压缩格式对应的解压缩格式对所述压缩包进行解压得到所述预定类型的文件; 其中,在所述GPS导航终端按照与所述预定的压缩格式对应的解压缩格式对所述压缩包进行 1. A data transmission method, comprising: the information center of a predetermined type compressed file obtained by compressing a predetermined compressing format; the information center through the HTTP protocol of the compressed packet transmitted to the GPS navigation terminal; wherein the predetermined type of the information center file compression step of compressing the obtained packet according to a predetermined compression format comprising: the information center in accordance with the type of the file to a plurality of classified documents, wherein each of the class files of the same type; the information center in accordance with said predetermined compression format file after all the unified classification compress; wherein, after the information center through the HTTP protocol of the compressed packet transmitted to the GPS navigation terminal, further comprising: a GPS navigation the terminal receives the compressed packet by the HTTP protocol; terminal according to the format of the GPS navigation solution corresponding to the predetermined compression format of the compressed packet unpack the predetermined type of document; wherein, in the GPS navigation terminal according to the predetermined compression format corresponding to the format of decompressing the compressed packet 解压得到所述预定类型的文件之后,还包括:所述GPS导航终端调用与所述预定类型对应的解析程序对所述预定类型的文件进行读取; 其中,所述GPS导航终端调用与所述预定类型对应的解析程序对所述预定类型的文件进行读取的步骤包括:所述GPS导航终端根据接收所述压缩包时调用的不同的HTTP服务接口来选择与所述预定类型对应的解析程序;所述GPS导航终端使用选择的解析程序对所述预定类型的文件进行读取。 After decompression to obtain the predetermined type of document, further comprising: a GPS navigation terminal calls of the predetermined type and for reading a file corresponding to the predetermined type resolver; wherein the calling terminal and the GPS navigation predetermined step corresponding to the type of analytical procedures for the predetermined type of the file for reading comprises: a GPS navigation terminal of said different compression HTTP service interface call when receiving packets in accordance with the predetermined selected corresponding to the type of resolver ; said GPS navigation terminal using the selected analytical procedure of the predetermined type of document reading.
2.根据权利要求1所述的数据传输方法,其特征在于,所述GPS导航终端使用选择的解析程序对所述预定类型的文件进行读取之后,还包括: 将读取出的数据在所述GPS导航终端中的显示装置上进行显示;和/或将读取出的数据在所述GPS导航终端中的存储装置上进行存储。 The data transmission method according to claim 1, wherein, after said GPS navigation terminal using the selected analytical procedure of the predetermined type of file for reading, further comprising: read-out data in the GPS navigation device on said display terminal for display; the read-out data and / or stored on a storage device in said GPS navigation terminals.
3.根据权利要求1所述的数据传输方法,其特征在于,所述压缩格式包括以下至少之一:ZIP压缩格式、RAR压缩格式。 3. The data transmission method according to claim 1, wherein the compression format comprises at least one of the following: ZIP compression format, RAR compression format.
4.一种数据传输系统,其特征在于,包括:信息中心和GPS导航终端,其中, 所述信息中心用于将预定类型的文件按照预定的压缩格式进行压缩得到压缩包,并通过HTTP协议将所述压缩包传输给所述GPS导航终端; 所述GPS导航终端用于通过HTTP协议接收所述信息中心传输的所述压缩包; 其中,所述信息中心包括:分类单元,用于按照文件的类型对多个文件进行分类,其中,每一类文件的类型相同;压缩单元,用于按照所述预定的压缩格式将所有分类后的文件进行统一压缩; 其中,所述GPS导航终端包括:接收单元,用于通过所述HTTP协议接收所述压缩包;解压单元,用于按照与所述预定的压缩格式对应的解压缩格式对所述压缩包进行解压得到所述预定类型的文件; 其中,所述GPS导航终端还包括:读取单元,用于在所述解压单元按照与所述预定的压缩格式对应的 4. A data transmission system, characterized by comprising: an information center and a GPS navigation terminal, wherein the information center for a predetermined type of file according to a predetermined compression format compressed packet is compressed, and the HTTP protocol through the compressed packet is transmitted to the GPS navigation terminal; said GPS navigation terminal for receiving the compressed packet transmitted to the information center via the HTTP protocol; wherein, said information center comprising: a classification unit configured in accordance with the file classifying a plurality of types of files, wherein each of the documents of the same type; a compression unit configured in accordance with said predetermined compression format file after all unified classification compress; wherein said GPS navigation terminal comprises: receiving means for receiving through the HTTP protocol of the compressed packet; decompression unit, for compression and decompression in accordance with said predetermined compression format corresponding to the format of the compressed packet unpack the predetermined type of document; wherein, the GPS navigation terminal further comprising: a reading unit for the decompression unit corresponding to a predetermined compression format and the 压缩格式对所述压缩包进行解压得到所述预定类型的文件之后,调用与所述预定类型对应的解析程序对所述预定类型的文件进行读取; 其中,所述读取单元包括:调用模块,用于根据接收所述压缩包时调用的不同的HTTP服务接口来选择与所述预定类型对应的解析程序;读取模块,用于使用所述调用模块选择的解析程序对所述预定类型的文件进行读取。 After compression format decompressing the compressed packet to obtain the predetermined type of file, and calls the file for reading predetermined type corresponding to the predetermined type resolver; wherein the reading unit includes: an invoking module for selecting said predetermined resolver according to the received call type corresponding to the compressed packet when different HTTP service interface; reading module, the calling module for using the selected parser to said predetermined type file for reading.
5.根据权利要求4所述的数据传输系统,其特征在于,所述GPS导航终端还包括: 显示单元,用于在所述读取单元对所述预定类型的文件进行读取之后,将读取出的数据进行显示;和/或存储单元,用于将读取出的数据进行存储。 The data transmission system according to claim 4, wherein said GPS navigation terminal further comprises: a display unit, after said reading unit for said predetermined type of file for reading, the read displaying extracted data; and / or storage unit, for reading out the data stored.
CN201110368800.5A 2011-11-18 2011-11-18 Data transmission method and system CN102447739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110368800.5A CN102447739B (en) 2011-11-18 2011-11-18 Data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110368800.5A CN102447739B (en) 2011-11-18 2011-11-18 Data transmission method and system

Publications (2)

Publication Number Publication Date
CN102447739A CN102447739A (en) 2012-05-09
CN102447739B true CN102447739B (en) 2015-07-29

Family

ID=46009823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110368800.5A CN102447739B (en) 2011-11-18 2011-11-18 Data transmission method and system

Country Status (1)

Country Link
CN (1) CN102447739B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1482763A (en) * 2003-07-24 2004-03-17 武汉奥发科技工程有限公司 Location service network based on wireless interconnection
CN101086806A (en) * 2006-06-06 2007-12-12 同济大学 A system and method for onboard terminal based on traffic information grid platform
CN101677479A (en) * 2008-09-19 2010-03-24 中国移动通信集团辽宁有限公司 Long-distance navigation system and method
CN102216894A (en) * 2008-11-14 2011-10-12 诺基亚公司 Method and apparatus for transmitting and receiving data

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1027665A1 (en) * 1997-09-02 2000-08-16 Damon C. Torres Automated content scheduler and displayer
US20070067362A1 (en) * 2005-09-22 2007-03-22 International Business Machines Corporation Undo function for unzipped files
CN101043522B (en) * 2006-03-22 2013-11-13 腾讯科技(深圳)有限公司 Web server based communication method and system
CN101008902A (en) * 2007-01-12 2007-08-01 成都金山互动娱乐科技有限公司 Method of game update
US20080248834A1 (en) * 2007-04-03 2008-10-09 Palm, Inc. System and methods for providing access to a desktop and applications of a mobile device
US8200009B2 (en) * 2007-04-22 2012-06-12 Bo-In Lin Control of optical character recognition (OCR) processes to generate user controllable final output documents
CN106445608A (en) * 2010-01-27 2017-02-22 中兴通讯股份有限公司 Software installation pack installing method and installing device
CN102075566A (en) * 2010-12-24 2011-05-25 华为技术有限公司 Business shunting processing method, communication equipment and network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1482763A (en) * 2003-07-24 2004-03-17 武汉奥发科技工程有限公司 Location service network based on wireless interconnection
CN101086806A (en) * 2006-06-06 2007-12-12 同济大学 A system and method for onboard terminal based on traffic information grid platform
CN101677479A (en) * 2008-09-19 2010-03-24 中国移动通信集团辽宁有限公司 Long-distance navigation system and method
CN102216894A (en) * 2008-11-14 2011-10-12 诺基亚公司 Method and apparatus for transmitting and receiving data

Also Published As

Publication number Publication date
CN102447739A (en) 2012-05-09

Similar Documents

Publication Publication Date Title
CN104137563B (en) In a wireless display system customized based cache application awareness of the sink device
CN1751492B (en) System and method of compact messaging in network communications
US7437478B2 (en) Priority control device
EP2482235A2 (en) Smart card-based browsing system and method thereof, and smart card applied thereto
US20060047844A1 (en) One step approach to deliver multimedia from local PC to mobile devices
US20050267972A1 (en) Lightweight remote display protocol
CN1236618C (en) Consistent digital item adaptation method and system
US7333801B2 (en) Method and apparatus for translating resource names in a wireless environment
CN101778168B (en) Method and system for optimization display of wed pages on browser of mobile terminal
CN101296255B (en) Web page browsing method, system, proxy server and mobile phone browser
CN1656789A (en) System for adaptation of sip messages based on recipient's terminal capabilities and preferences
JP4511240B2 (en) Scalable service provision to the vehicle entertainment and information processing device
CN1182746C (en) Radio terminal, information processing system and external process terminal
WO2011088640A1 (en) Method for mobile terminal to browse multimedia resource and corresponding system and communication system
WO2014015738A1 (en) Method, device and system for playing streamed media
US8667179B2 (en) Dynamic utilization of condensing metadata
CN1460351B (en) Device for generating multimedia file addressed to telecommunications terminal and related method
US20010039194A1 (en) Mobile terminal
CN101661459A (en) Method for providing network document resources, platform thereof and system thereof
CN100403812C (en) Cascade point to multi-point broadcasting information for displaying display information in cell phone
CN102325188A (en) Method for realizing webpage browsing on a mobile terminal and system thereof
CN100452656C (en) Arrangement for application message decompression
CN102033944A (en) Mobile terminal-based web page display system and method
US8935424B2 (en) Method and apparatus for signaling presentation description updates in HTTP streaming
CN103942225B (en) Resource types of hybrid applications call the method of the client, and the client system

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted