CN104184700B - The data transmission system and data transmission method of digital publication - Google Patents
The data transmission system and data transmission method of digital publication Download PDFInfo
- Publication number
- CN104184700B CN104184700B CN201310190371.6A CN201310190371A CN104184700B CN 104184700 B CN104184700 B CN 104184700B CN 201310190371 A CN201310190371 A CN 201310190371A CN 104184700 B CN104184700 B CN 104184700B
- Authority
- CN
- China
- Prior art keywords
- data
- server
- data transmission
- client
- digital publication
- 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.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 194
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000012795 verification Methods 0.000 claims description 11
- 238000012546 transfer Methods 0.000 claims description 10
- 241000270322 Lepidosauria Species 0.000 claims 2
- 238000013480 data collection Methods 0.000 abstract description 9
- 238000012545 processing Methods 0.000 description 12
- 238000013475 authorization Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013481 data capture Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明提供了一种数字刊物的数据传输系统,包括:数据服务端和数据客户端,其中,所述数据服务端包括:数据采集服务器,用于采集需要传输的数字刊物数据;数据传输服务器,用于将数字刊物数据传输至数据客户端;数据客户端包括:至少一个数据传输客户端、至少一个展示服务器和至少一个展示终端,其中,每个数据传输客户端用于将数字刊物数据传输至对应的展示服务器;每个展示服务器用于获取数字刊物数据,以供展示终端展示所述数字刊物数据。本发明还提出了一种数字刊物的数据传输方法。通过本发明的技术方案,可以将数字刊物数据的获取和展示分离,从而使得报纸数据更新效率更高,更好地提高数字报相关产品的数据可靠性和及时性。
The present invention provides a data transmission system for digital publications, including: a data server and a data client, wherein the data server includes: a data collection server for collecting digital publication data that needs to be transmitted; a data transmission server, It is used to transmit digital publication data to a data client; the data client includes: at least one data transmission client, at least one display server and at least one display terminal, wherein each data transmission client is used to transmit digital publication data to Corresponding display servers; each display server is used to obtain digital publication data for the display terminal to display the digital publication data. The invention also provides a data transmission method for digital publications. Through the technical solution of the invention, the acquisition and display of digital publication data can be separated, so that the newspaper data update efficiency is higher, and the data reliability and timeliness of digital newspaper related products are better improved.
Description
技术领域technical field
本发明涉及信息处理技术领域,具体而言,涉及一种数字刊物的数据传输系统和一种数字刊物的数据传输方法。The present invention relates to the technical field of information processing, in particular, to a digital publication data transmission system and a digital publication data transmission method.
背景技术Background technique
在数字终端阅读数字刊物,比如数字报,尤其是使用配置有触摸屏的终端读报(以下简称“触摸屏读报”),现在已经比较普及,但没有一套完整的数据传输方案。触摸屏读报主要涉及到的就是数据传输:由于触摸屏读报要求数据具有一定的实时性,为了满足此要求,一般需要降低数据加工和处理的环节和减少数据传输量,为了保证数据的有效性,现在的方案一般都是一个触摸屏服务端(相当于图1所示的展示服务器1044,是触摸屏读报的后台系统)对应一个触摸屏终端(相当于图1所示的展示终端1046,也就是平常所看的具有触摸屏的终端),并且通过设置同一台实体服务器,以实现相当于图1所示的展示服务器1044和数据传输客户端1042的功能。这种系统的问题在于,如果部署多个触摸屏终端,会造成部署复杂,降低了效率,而且无法保证多个终端的数据的一致性(不能保证同一份报纸在其中一个触摸屏中有了,另外的触摸屏也有了)。Reading digital publications on digital terminals, such as digital newspapers, especially reading newspapers using a terminal equipped with a touch screen (hereinafter referred to as "touch screen reading newspaper") is now relatively popular, but there is no complete data transmission solution. The touch-screen newspaper reading mainly involves data transmission: since the touch-screen newspaper reading requires data to be real-time, in order to meet this requirement, it is generally necessary to reduce the data processing and processing links and reduce the amount of data transmission. In order to ensure the validity of the data, The current scheme is generally a touch screen server (equivalent to the display server 1044 shown in Figure 1, which is the background system for reading newspapers on the touch screen) corresponding to a touch screen terminal (equivalent to the display terminal 1046 shown in Figure A terminal with a touch screen), and by setting the same physical server, the functions equivalent to the display server 1044 and the data transmission client 1042 shown in FIG. 1 are realized. The problem with this system is that if multiple touch screen terminals are deployed, the deployment will be complicated, the efficiency will be reduced, and the data consistency of multiple terminals cannot be guaranteed (it cannot be guaranteed that the same newspaper is available in one of the touch screens, and the other There is also a touch screen).
因此,需要一种新的数字刊物的数据传输技术,可以将数字刊物数据的获取和展示分离,从而使得报纸数据更新效率更高,更好地提高数字报相关产品的数据可靠性和及时性。Therefore, a new data transmission technology for digital publications is needed, which can separate the acquisition and display of digital publication data, so as to make newspaper data update more efficient and better improve the data reliability and timeliness of digital newspaper related products.
发明内容Contents of the invention
本发明正是基于上述问题,提出了一种新的数字刊物的数据传输技术,可以将数字刊物数据的获取和展示分离,从而使得报纸数据更新效率更高,更好地提高数字报相关产品的数据可靠性和及时性。Based on the above problems, the present invention proposes a new data transmission technology for digital publications, which can separate the acquisition and display of digital publication data, thereby making newspaper data update more efficient and better improving digital newspaper related products. Data reliability and timeliness.
有鉴于此,本发明提出了一种数字刊物的数据传输系统,包括:数据服务端和数据客户端,其中,所述数据服务端包括:数据采集服务器,用于采集需要传输的数字刊物数据;数据传输服务器,用于将所述数据采集服务器采集到的数字刊物数据传输至所述数据客户端;所述数据客户端包括:至少一个数据传输客户端、至少一个展示服务器和至少一个展示终端,其中,每个所述数据传输客户端的一端与所述数据传输服务器连接,另一端与至少一个所述展示服务器连接,用于将来自所述数据传输服务器的所述数字刊物数据传输至对应的展示服务器;每个所述展示服务器的一端与所述数据传输客户端连接,另一端与至少一个所述展示终端连接,用于从所述数据传输客户端获取所述数字刊物数据,以供所述展示终端展示所述数字刊物数据。In view of this, the present invention proposes a data transmission system for digital publications, including: a data server and a data client, wherein the data server includes: a data collection server for collecting digital publication data to be transmitted; The data transmission server is configured to transmit the digital publication data collected by the data collection server to the data client; the data client includes: at least one data transmission client, at least one display server and at least one display terminal, Wherein, one end of each data transmission client is connected to the data transmission server, and the other end is connected to at least one of the display servers, for transmitting the digital publication data from the data transmission server to the corresponding display server; one end of each display server is connected to the data transmission client, and the other end is connected to at least one display terminal, for obtaining the digital publication data from the data transmission client for the The display terminal displays the digital publication data.
在该技术方案中,通过将数据传输客户端和展示服务器相分离,从而由单独的数据传输客户端完成对数字刊物数据的获取,由单独的展示服务器实现将数字刊物数据传输至展示终端以进行展示,降低对这两个步骤的硬件压力。同时,还在数据传输客户端、展示服务器和展示终端之间形成了两个层级,每个层级都可以设置1对多的结构,从而对于每个单独的数据传输客户端或展示服务器而言,在对应多个展示终端时,将承担更小的数据传输压力,有利于提升数据传输效率。当然,具体地,每个层级设置的单元数量,可以根据需要进行选择,满足个性化需求。In this technical solution, by separating the data transmission client and the display server, a separate data transmission client completes the acquisition of digital publication data, and a separate display server realizes the transmission of digital publication data to the display terminal for display. Shown, reduces hardware stress on these two steps. At the same time, two levels are formed between the data transmission client, the display server and the display terminal, and each level can be set with a one-to-many structure, so that for each individual data transmission client or display server, When corresponding to multiple display terminals, it will bear less pressure on data transmission, which will help improve data transmission efficiency. Of course, specifically, the number of units set at each level can be selected according to needs to meet individual needs.
根据本发明的又一方面,还提出了一种数字刊物的数据传输方法,包括:步骤202,数据服务端采集需要传输的数字刊物数据,以传输至数据客户端,其中,所述数据客户端包括至少一个数据传输客户端、至少一个展示服务器和至少一个展示终端,每个所述数据传输客户端的一端与所述数据服务端连接,另一端与至少一个所述展示服务器连接,每个所述展示服务器的一端与所述数据传输客户端连接,另一端与至少一个所述展示终端连接;步骤204,所述数据传输客户端将来自所述数据服务端的所述数字刊物数据传输至对应的展示服务器;步骤206,所述展示服务器获取所述数字刊物数据,以供所述展示终端展示所述数字刊物数据。According to yet another aspect of the present invention, a data transmission method for digital publications is also proposed, including: step 202, the data server collects digital publication data to be transmitted to the data client, wherein the data client It includes at least one data transmission client, at least one presentation server and at least one presentation terminal, one end of each data transmission client is connected to the data server, and the other end is connected to at least one presentation server, each of the One end of the display server is connected to the data transmission client, and the other end is connected to at least one of the display terminals; step 204, the data transmission client transmits the digital publication data from the data server to the corresponding display Server; step 206, the display server acquires the digital publication data for the display terminal to display the digital publication data.
在该技术方案中,通过将数据传输客户端和展示服务器相分离,从而由单独的数据传输客户端完成对数字刊物数据的获取,由单独的展示服务器实现将数字刊物数据传输至展示终端以进行展示,降低对这两个步骤的硬件压力。同时,还在数据传输客户端、展示服务器和展示终端之间形成了两个层级,每个层级都可以设置1对多的结构,从而对于每个单独的数据传输客户端或展示服务器而言,在对应多个展示终端时,将承担更小的数据传输压力,有利于提升数据传输效率。当然,具体地,每个层级设置的单元数量,可以根据需要进行选择,满足个性化需求。In this technical solution, by separating the data transmission client and the display server, a separate data transmission client completes the acquisition of digital publication data, and a separate display server realizes the transmission of digital publication data to the display terminal for display. Shown, reduces hardware stress on these two steps. At the same time, two levels are formed between the data transmission client, the display server and the display terminal, and each level can be set with a one-to-many structure, so that for each individual data transmission client or display server, When corresponding to multiple display terminals, it will bear less pressure on data transmission, which will help improve data transmission efficiency. Of course, specifically, the number of units set at each level can be selected according to needs to meet individual needs.
通过以上技术方案,可以将数字刊物数据的获取和展示分离,从而使得报纸数据更新效率更高,更好地提高数字报相关产品的数据可靠性和及时性。Through the above technical solutions, the acquisition and display of digital publication data can be separated, so that the efficiency of newspaper data update is higher, and the data reliability and timeliness of digital newspaper-related products are better improved.
附图说明Description of drawings
图1示出了根据本发明的实施例的数字刊物的数据传输系统的框图;FIG. 1 shows a block diagram of a data transmission system for digital publications according to an embodiment of the present invention;
图2示出了根据本发明的实施例的数字刊物的数据传输方法的流程图;FIG. 2 shows a flowchart of a data transmission method for a digital publication according to an embodiment of the present invention;
图3示出了根据本发明的实施例的数字刊物的数据传输系统结构示意图;Fig. 3 shows a schematic structural diagram of a data transmission system of a digital publication according to an embodiment of the present invention;
图4为图3所示实施例的数据传输系统进行数据传输的具体流程图。FIG. 4 is a specific flowchart of data transmission performed by the data transmission system of the embodiment shown in FIG. 3 .
具体实施方式Detailed ways
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明并不限于下面公开的具体实施例的限制。In the following description, many specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, therefore, the present invention is not limited to the specific embodiments disclosed below limit.
图1示出了根据本发明的实施例的数字刊物的数据传输系统的框图。FIG. 1 shows a block diagram of a data transmission system for digital publications according to an embodiment of the present invention.
如图1所示,根据本发明的实施例的数字刊物的数据传输系统100,包括:数据服务端102和数据客户端104,其中,所述数据服务端102包括:数据采集服务器1022,用于采集需要传输的数字刊物数据;数据传输服务器1024,用于将所述数据采集服务器1022采集到的数字刊物数据传输至所述数据客户端104;所述数据客户端104包括:至少一个数据传输客户端1042、至少一个展示服务器1044和至少一个展示终端1046,其中,每个所述数据传输客户端1042的一端与所述数据传输服务器1024连接,另一端与至少一个所述展示服务器1044连接,用于将来自所述数据传输服务器1024的所述数字刊物数据传输至对应的展示服务器1044;每个所述展示服务器1044的一端与所述数据传输客户端1042连接,另一端与至少一个所述展示终端1046连接,用于从所述数据传输客户端1042获取所述数字刊物数据,以供所述展示终端1046展示所述数字刊物数据。As shown in Fig. 1, the data transmission system 100 of the digital publication according to the embodiment of the present invention includes: a data server 102 and a data client 104, wherein, the data server 102 includes: a data acquisition server 1022 for Collect the digital publication data that needs to be transmitted; the data transmission server 1024 is used to transmit the digital publication data collected by the data collection server 1022 to the data client 104; the data client 104 includes: at least one data transmission client terminal 1042, at least one presentation server 1044 and at least one presentation terminal 1046, wherein, one end of each said data transmission client 1042 is connected with said data transmission server 1024, and the other end is connected with at least one said presentation server 1044, with To transmit the digital publication data from the data transmission server 1024 to the corresponding presentation server 1044; one end of each presentation server 1044 is connected to the data transmission client 1042, and the other end is connected to at least one of the presentation servers. The terminal 1046 is connected to obtain the digital publication data from the data transmission client 1042 for the presentation terminal 1046 to display the digital publication data.
在该技术方案中,通过将数据传输客户端1042和展示服务器1044相分离,从而由单独的数据传输客户端1042完成对数字刊物数据的获取,由单独的展示服务器1044实现将数字刊物数据传输至展示终端1046以进行展示,降低对这两个步骤的硬件压力。同时,还在数据传输客户端1042、展示服务器1044和展示终端1046之间形成了两个层级,每个层级都可以设置1对多的结构,从而对于每个单独的数据传输客户端1042或展示服务器1044而言,在对应多个展示终端1046时,将承担更小的数据传输压力,有利于提升数据传输效率。当然,具体地,每个层级设置的单元数量,可以根据需要进行选择,满足个性化需求。In this technical solution, by separating the data transmission client 1042 from the display server 1044, the acquisition of the digital publication data is completed by the independent data transmission client 1042, and the transmission of the digital publication data to the Exposing the terminal 1046 for presentation reduces hardware stress on these two steps. At the same time, two levels are also formed between the data transmission client 1042, the display server 1044 and the display terminal 1046, and each level can be set with a one-to-many structure, so that for each individual data transmission client 1042 or display As far as the server 1044 is concerned, when corresponding to multiple display terminals 1046, it will bear less data transmission pressure, which is beneficial to improve data transmission efficiency. Of course, specifically, the number of units set at each level can be selected according to needs to meet individual needs.
在上述技术方案中,优选地,所述数据采集服务器1022包括:权利验证单元1022A,利用已存储的授权文件向报社数据服务器进行权利验证;数据接收单元1022B,在所述权利验证单元1022A完成权利验证的情况下,基于预设协议,从报社数据服务器接收所述数字刊物数据。在该技术方案中,在一种情况下,可以通过预先与报社签订传输协议,从而根据该协议实现从报社获取相应的数字报刊数据。In the above technical solution, preferably, the data acquisition server 1022 includes: a rights verification unit 1022A, which uses the stored authorization file to verify the rights to the newspaper data server; a data receiving unit 1022B, which completes the rights In the case of verification, the digital publication data is received from the newspaper data server based on a preset protocol. In this technical solution, in one case, it is possible to sign a transmission agreement with the newspaper office in advance, so as to obtain corresponding digital newspaper periodical data from the newspaper office according to the agreement.
在上述技术方案中,优选地,所述数据采集服务器1022包括:数据抓取单元1022C,通过爬虫从报社网络服务器抓取所述数字刊物数据。在该技术方案中,在另一种情况下,可以通过爬虫从网络上直接抓取数字刊物数据。In the above technical solution, preferably, the data acquisition server 1022 includes: a data capture unit 1022C, which captures the digital publication data from the newspaper network server through a crawler. In this technical solution, in another case, the digital publication data may be directly grabbed from the Internet by a crawler.
在上述技术方案中,优选地,所述至少一个数据传输客户端1042之间相互连接,以通过端对端(P2P,Peer to Peer)模式从所述数据传输服务器1024获取所述数字刊物数据。在该技术方案中,通过采用P2P模式,可以减少数据传输服务器1024的传输压力,并且提高数据传输速度。In the above technical solution, preferably, the at least one data transmission client 1042 is connected to each other to obtain the digital publication data from the data transmission server 1024 in a peer-to-peer (P2P, Peer to Peer) mode. In this technical solution, by adopting the P2P mode, the transmission pressure of the data transmission server 1024 can be reduced and the data transmission speed can be increased.
在上述技术方案中,优选地,还包括:所述数据传输客户端1042设置在广域网中,所述展示服务器1044和所述展示终端1046设置在局域网中。在该技术方案中,通过将展示服务器1044与数据传输客户端1042分离,使得用户可以根据需要将两者分别设置在内网和外网,从而满足用户对于网络环境的隔离需求。In the above technical solution, preferably, it further includes: the data transmission client 1042 is set in a wide area network, and the display server 1044 and the display terminal 1046 are set in a local area network. In this technical solution, by separating the display server 1044 from the data transmission client 1042, the user can respectively set the two on the internal network and the external network according to needs, thereby satisfying the user's requirement for network environment isolation.
在上述技术方案中,优选地,所述数据服务端102还包括:数据加工服务器1026,所述数据加工服务器1026的一端与所述数据采集服务器1022连接,另一端与所述数据传输服务器1024连接,用于对所述数据采集服务器1022采集到的数字刊物数据进行转换,以适用于所述展示终端1046。In the above technical solution, preferably, the data server 102 further includes: a data processing server 1026, one end of the data processing server 1026 is connected to the data collection server 1022, and the other end is connected to the data transmission server 1024 , for converting the digital publication data collected by the data collection server 1022 so as to be suitable for the display terminal 1046 .
在该技术方案中,一方面,为了简化系统和处理流程,往往仅向报社获取一份授权,因而得到的每种数字刊物数据只有一份,而另一方面,展示终端1046可能包含多种情况,如个人计算机、平板电脑、触屏手机等,因此,为了能够在不同类型的设备上实现较好的显示效果,需要对数字刊物数据进行加工处理,从而得到对应每种展示终端1046的数据。In this technical solution, on the one hand, in order to simplify the system and processing flow, often only one authorization is obtained from the newspaper office, so there is only one piece of data for each digital publication; on the other hand, the display terminal 1046 may contain multiple , such as personal computers, tablet computers, touch-screen mobile phones, etc. Therefore, in order to achieve better display effects on different types of devices, it is necessary to process digital publication data to obtain data corresponding to each display terminal 1046.
图2示出了根据本发明的实施例的数字刊物的数据传输方法的流程图。Fig. 2 shows a flowchart of a data transmission method for a digital publication according to an embodiment of the present invention.
如图2所示,根据本发明的实施例的数字刊物的数据传输方法,包括:步骤202,数据服务端采集需要传输的数字刊物数据,以传输至数据客户端,其中,所述数据客户端包括至少一个数据传输客户端、至少一个展示服务器和至少一个展示终端,每个所述数据传输客户端的一端与所述数据服务端连接,另一端与至少一个所述展示服务器连接,每个所述展示服务器的一端与所述数据传输客户端连接,另一端与至少一个所述展示终端连接;步骤204,所述数据传输客户端将来自所述数据服务端的所述数字刊物数据传输至对应的展示服务器;步骤206,所述展示服务器获取所述数字刊物数据,以供所述展示终端展示所述数字刊物数据。As shown in Figure 2, the data transmission method for digital publications according to the embodiment of the present invention includes: step 202, the data server collects the digital publication data to be transmitted to the data client, wherein the data client It includes at least one data transmission client, at least one presentation server and at least one presentation terminal, one end of each data transmission client is connected to the data server, and the other end is connected to at least one presentation server, each of the One end of the display server is connected to the data transmission client, and the other end is connected to at least one of the display terminals; step 204, the data transmission client transmits the digital publication data from the data server to the corresponding display Server; step 206, the display server acquires the digital publication data for the display terminal to display the digital publication data.
在该技术方案中,通过将数据传输客户端和展示服务器相分离,从而由单独的数据传输客户端完成对数字刊物数据的获取,由单独的展示服务器实现将数字刊物数据传输至展示终端以进行展示,降低对这两个步骤的硬件压力。同时,还在数据传输客户端、展示服务器和展示终端之间形成了两个层级,每个层级都可以设置1对多的结构,从而对于每个单独的数据传输客户端或展示服务器而言,在对应多个展示终端时,将承担更小的数据传输压力,有利于提升数据传输效率。当然,具体地,每个层级设置的单元数量,可以根据需要进行选择,满足个性化需求。In this technical solution, by separating the data transmission client and the display server, a separate data transmission client completes the acquisition of digital publication data, and a separate display server realizes the transmission of digital publication data to the display terminal for display. Shown, reduces hardware stress on these two steps. At the same time, two levels are formed between the data transmission client, the display server and the display terminal, and each level can be set with a one-to-many structure, so that for each individual data transmission client or display server, When corresponding to multiple display terminals, it will bear less pressure on data transmission, which will help improve data transmission efficiency. Of course, specifically, the number of units set at each level can be selected according to needs to meet individual needs.
在上述技术方案中,优选地,所述数据服务端采集需要传输的数字刊物数据的步骤包括:利用已存储的授权文件向报社数据服务器进行权利验证,若验证成功,则基于预设协议,从报社数据服务器接收所述数字刊物数据。在该技术方案中,在一种情况下,可以通过预先与报社签订传输协议,从而根据该协议实现从报社获取相应的数字报刊数据。In the above technical solution, preferably, the step of collecting the digital publication data to be transmitted by the data server includes: using the stored authorization file to verify the rights to the newspaper data server, and if the verification is successful, based on the preset agreement, from The newspaper data server receives the digital publication data. In this technical solution, in one case, it is possible to sign a transmission agreement with the newspaper office in advance, so as to obtain corresponding digital newspaper periodical data from the newspaper office according to the agreement.
在上述技术方案中,优选地,所述数据服务端通过爬虫从报社网络服务器抓取所述数字刊物数据。在该技术方案中,在另一种情况下,可以通过爬虫从网络上直接抓取数字刊物数据。In the above technical solution, preferably, the data server fetches the digital publication data from the newspaper network server through a crawler. In this technical solution, in another case, the digital publication data may be directly grabbed from the Internet by a crawler.
在上述技术方案中,优选地,还包括:所述至少一个数据传输客户端之间相互连接,以通过端对端模式从所述数据传输服务器获取所述数字刊物数据。在该技术方案中,通过采用P2P模式,可以减少数据传输服务器的传输压力,并且提高数据传输速度。In the above technical solution, preferably, further comprising: the at least one data transmission client is connected to each other, so as to obtain the digital publication data from the data transmission server in a peer-to-peer mode. In this technical solution, by adopting the P2P mode, the transmission pressure of the data transmission server can be reduced, and the data transmission speed can be increased.
在上述技术方案中,优选地,还包括:所述数据传输客户端设置在广域网中,所述展示服务器和所述展示终端设置在局域网中。在该技术方案中,通过将展示服务器与数据传输客户端分离,使得用户可以根据需要将两者分别设置在内网和外网,从而满足用户对于网络环境的隔离需求。In the above technical solution, preferably, it further includes: the data transmission client is set in a wide area network, and the display server and the display terminal are set in a local area network. In this technical solution, by separating the display server from the data transmission client, the user can respectively set the two on the internal network and the external network according to the needs, so as to meet the user's isolation requirements for the network environment.
在上述技术方案中,优选地,所述步骤204之前,还包括:所述数据服务端对所述数字刊物数据进行转换,以适用于所述展示终端。In the above technical solution, preferably, before the step 204, it further includes: the data server converting the digital publication data so as to be suitable for the display terminal.
在该技术方案中,一方面,为了简化系统和处理流程,往往仅向报社获取一份授权,因而得到的每种数字刊物数据只有一份,而另一方面,展示终端可能包含多种情况,如个人计算机、平板电脑、触屏手机等,因此,为了能够在不同类型的设备上实现较好的显示效果,需要对数字刊物数据进行加工处理,从而得到对应每种展示终端的数据。In this technical solution, on the one hand, in order to simplify the system and processing flow, only one authorization is usually obtained from the newspaper office, so there is only one piece of data for each digital publication; on the other hand, the display terminal may contain multiple situations, Such as personal computers, tablet computers, touch-screen mobile phones, etc. Therefore, in order to achieve better display effects on different types of devices, it is necessary to process the data of digital publications to obtain data corresponding to each display terminal.
图3示出了根据本发明的实施例的数字刊物的数据传输系统结构示意图。Fig. 3 shows a schematic structural diagram of a data transmission system for digital publications according to an embodiment of the present invention.
如图3所示,根据本发明的实施例的数字刊物的数据传输系统包括三个部分:报社数据端、数据服务端和数据客户端。As shown in FIG. 3 , the data transmission system for digital publications according to the embodiment of the present invention includes three parts: a newspaper data terminal, a data server and a data client.
在报社数据端,包括报社数据服务器302和报社网络服务器304,其中,报社数据服务器302中存储有标引后的数据,以及报社网络服务器304中存储有发布到互联网上的数据。The newspaper data end includes a newspaper data server 302 and a newspaper network server 304, wherein the newspaper data server 302 stores indexed data, and the newspaper network server 304 stores data published on the Internet.
在数据服务端,包括数据采集服务器306、数据加工服务器308和数据传输服务器310,其中:At the data service end, it includes a data acquisition server 306, a data processing server 308 and a data transmission server 310, wherein:
数据采集服务器306从报社数据服务器302和/或报社网络服务器304采集数字刊物数据:a、和报社签订协议,则通过预设的传输方式从报社数据服务器302获取标引后的数据;b、和报社签订协议,通过爬虫从报社网络服务器304抓取报社以web形式发布的数据。The data acquisition server 306 collects digital publication data from the newspaper office data server 302 and/or the newspaper office network server 304: a, signs an agreement with the newspaper office, then obtains the indexed data from the newspaper office data server 302 through a preset transmission method; b, and The newspaper office signs an agreement to grab the data published by the newspaper office in web form from the newspaper office network server 304 through the crawler.
数据加工服务器308用于对数据采集服务器306采集到的数字刊物数据进行加工处理。对于相同的数字刊物数据,数据采集服务器306仅从报社数据端获取一份,然后通过后续流程分发至每个展示终端316,但直接采集到的数字刊物数据可能并不能够直接用于展示终端316的展示;并且,当展示终端316的种类发生变化时,比如对于个人计算机和平板电脑,其对于数字刊物数据的要求也不同,因而需要针对不同的展示终端316的特性,对数字刊物数据进行对应的加工处理。The data processing server 308 is used for processing the digital publication data collected by the data collection server 306 . For the same digital publication data, the data collection server 306 only obtains one copy from the newspaper data terminal, and then distributes it to each display terminal 316 through subsequent processes, but the directly collected digital publication data may not be directly used for the display terminal 316 and, when the types of display terminals 316 change, such as personal computers and tablet computers, their requirements for digital publication data are also different, so it is necessary to correspond to the digital publication data according to the characteristics of different display terminals 316 processing.
数据传输服务器310主要负责管理:1、认证“认证”。即是使用的一种认可,用来检验是否具有对该数字刊物数据的授权,若通过认证,则允许将加工后的数字刊物数据发送至数据传输客户端312。2、管理数据传输客户端312。对数据传输客户端312的管理主要包括:增、删、改连接的数据传输客户端312以及其临近或者同一个授权下的数据传输客户端312情况。The data transmission server 310 is mainly responsible for managing: 1. Authentication "authentication". It is a kind of approval used to check whether the digital publication data is authorized. If the authentication is passed, the processed digital publication data is allowed to be sent to the data transmission client 312. 2. Management data transmission client 312 . The management of the data transmission client 312 mainly includes: adding, deleting, and modifying the connected data transmission client 312 and the situation of the data transmission client 312 adjacent to it or under the same authorization.
在数据客户端,包括数据传输客户端312、展示服务器314和展示终端316,其中:In the data client, including data transmission client 312, display server 314 and display terminal 316, wherein:
数据传输客户端312主要负责从数据传输服务器310获取数字刊物数据。数据传输服务器310可以对同一个授权客户配置多个该数据传输客户端312,并且可以在这些数据传输客户端312之间实现p2p模式,实现并行传输,提高传输速度。The data transmission client 312 is mainly responsible for obtaining digital publication data from the data transmission server 310 . The data transmission server 310 can configure multiple data transmission clients 312 for the same authorized client, and can implement a p2p mode among these data transmission clients 312 to realize parallel transmission and increase transmission speed.
展示服务器314主要负责组装数字刊物数据,为展示终端316提供服务。一个数据传输客户端312可以配置多个展示服务器314。这样做目的:当展示终端316比较多的时候,防止展示服务器314压力过大。以Web的方式提供服务,这样就可以将展示服务器314和数据传输客户端312分离,比如数据传输客户端312只需要访问http://xxx即可。此外,通过将数据传输客户端312和展示服务器314分离,使得用户可以根据需要,将数据传输客户端312连接外网,将展示服务器314和展示终端316连接内网,从而满足内外网分离的需求。The display server 314 is mainly responsible for assembling digital publication data and providing services for the display terminal 316 . One data transfer client 312 can be configured with multiple presentation servers 314 . The purpose of doing this is to prevent the display server 314 from being under too much pressure when there are many display terminals 316 . The service is provided in the form of Web, so that the display server 314 and the data transmission client 312 can be separated. For example, the data transmission client 312 only needs to visit http://xxx. In addition, by separating the data transmission client 312 from the display server 314, the user can connect the data transmission client 312 to the external network and connect the display server 314 and the display terminal 316 to the internal network according to needs, thereby meeting the requirement of separating the internal and external networks .
展示终端316用于最终对数字刊物数据的展示,以供用户阅读。The display terminal 316 is used to finally display the digital publication data for users to read.
通过采用上述数字刊物的数据传输系统,在进行数字刊物数据的传输时,如图4所示,以数字刊物中较为常见的数字报为例,具体步骤如下:By adopting the above data transmission system for digital publications, when transmitting digital publication data, as shown in Figure 4, taking the more common digital newspaper in digital publications as an example, the specific steps are as follows:
步骤402,数据采集服务器306采集允许经营的报纸数据。In step 402, the data collection server 306 collects data of newspapers that are allowed to operate.
步骤404,数据加工服务器308加工报纸数据为触摸屏需要的数据并打包。In step 404, the data processing server 308 processes the newspaper data into data required by the touch screen and packs it.
步骤406通知数据传输服务器310加工完的报纸数据,数据传输服务器310记录数据信息。Step 406 notifies the data transmission server 310 of the processed newspaper data, and the data transmission server 310 records the data information.
步骤408,数据传输服务器310监听数据传输客户端312认证请求。Step 408 , the data transmission server 310 monitors the authentication request of the data transmission client 312 .
步骤410,数据传输服务器310验证数据传输客户端312的请求(验证信息包括数据传输客户端312是否被授权以及是否达到最大授权数量等),若通过验证,则记录数据传输客户端312的信息,若不通过验证,则告知数据传输客户端312具体错误信息。Step 410, the data transfer server 310 verifies the request of the data transfer client 312 (verification information includes whether the data transfer client 312 is authorized and whether the maximum number of authorizations has been reached, etc.), if the verification is passed, then record the information of the data transfer client 312, If the verification is not passed, then inform the data transmission client 312 of specific error information.
步骤412,数据传输客户端312请求最新的订单信息(其中包含对应报纸的信息)。Step 412, the data transmission client 312 requests the latest order information (including the information of the corresponding newspaper).
步骤414,数据传输服务器310如果发现有新或者删的订单信息(根据该数据传输客户端312的订单下载情况),则进入步骤418,否则进入步骤416。(该协议用于当数据传输服务器310宕机或者过忙时,从其他渠道获取信息)In step 414, if the data transmission server 310 finds that there is new or deleted order information (according to the order download status of the data transmission client 312), it will go to step 418, otherwise it will go to step 416. (This protocol is used to obtain information from other channels when the data transmission server 310 is down or too busy)
步骤416,返回无修改订单信息。然后可以返回步骤412,继续进行请求。Step 416, return no modification order information. Then it can return to step 412 to continue the request.
步骤418,返回数据传输客户端312此订单信息。Step 418, return the order information to the data transmission client 312.
步骤420,数据传输客户端312向数据传输服务器310请求最新报纸数据信息,并返回该数据传输客户端312已经下载和入库的报纸数据信息。数据传输服务器310需返回最新报纸数据信息以及数据状态更新情况,数据传输客户端312如果收到了数据状态已经更新,则从缓存中删除;如果没有返回数据状态,则记录在缓存中,以后通知。具体地,若数据传输服务器310需要对最新报纸数据信息进行返回,则进入步骤422。Step 420, the data transmission client 312 requests the latest newspaper data information from the data transmission server 310, and returns the newspaper data information that the data transmission client 312 has downloaded and put into storage. The data transmission server 310 needs to return the latest newspaper data information and the update situation of the data status. If the data transmission client 312 has received the updated data status, it will be deleted from the cache; if the data status is not returned, it will be recorded in the cache and will be notified later. Specifically, if the data transmission server 310 needs to return the latest newspaper data information, go to step 422 .
步骤422,数据传输服务器310计算下载压力是否大(通过计算正在下载的文件数量等信息)。若是,则进入步骤428,否则进入步骤424。In step 422, the data transmission server 310 calculates whether the download pressure is high (by calculating information such as the number of files being downloaded). If yes, go to step 428 , otherwise go to step 424 .
步骤424,如果数据传输服务器310的压力不大,则返回最新报纸数据信息(为了能让其他数据传输客户端也有机会获取下载机会,一次最多返回5期报纸数据信息,报纸数据信息根据期刊时间倒序返回)。Step 424, if the pressure on the data transmission server 310 is not great, then return the latest newspaper data information (in order to allow other data transmission clients to also have the opportunity to obtain download opportunities, a maximum of 5 newspaper data information can be returned at a time, and the newspaper data information is reversed according to the periodical time return).
步骤426,数据传输客户端312下载一期或几期数据完成后,根据配置的展示服务器314分别通知其入库,并定期返回并执行步骤412,来获取最新数据和返回数据的下载及入库状态。Step 426, after the data transmission client 312 downloads one or more phases of data, the display server 314 according to the configuration notifies them to enter the storage respectively, and periodically returns and executes step 412 to obtain the latest data and the download and storage of the returned data state.
步骤428,如果数据传输服务器310压力大,则返回与该数据传输客户端312逻辑距离最近的5个(具体数量可以根据实际情况进行调整)数据传输客户端的信息,并且需要确保这些数据传输客户端已下载的报纸中包含该数据传输客户端312需要下载的报纸。Step 428, if the pressure on the data transmission server 310 is high, then return the information of the 5 (the specific number can be adjusted according to the actual situation) data transmission clients with the closest logical distance to the data transmission client 312, and it is necessary to ensure that these data transmission clients The downloaded newspapers include the newspapers that the data transmission client 312 needs to download.
步骤430,数据传输客户端312记录返回的数据传输客户端的信息,并维护一个常用数据传输客户端列表(最多10个,根据数据质量和逻辑距离决定哪个进入此列表),并向这些数据传输客户端请求最新报纸数据信息(根据订单以及已经有的报纸数据信息)。Step 430, the data transmission client 312 records the information of the returned data transmission client, and maintains a common data transmission client list (up to 10, which is determined according to data quality and logical distance to enter this list), and sends these data transmission clients The terminal requests the latest newspaper data information (according to the order and existing newspaper data information).
步骤432,判断这些数据传输客户端上是否有最新报纸数据信息,若有,则进入步骤434,否则进入步骤440。Step 432, judge whether there is the latest newspaper data information on these data transmission clients, if so, go to step 434, otherwise go to step 440.
步骤434,如果被请求数据传输客户端有相应的最新数据,则判断其网路是否繁忙,若是,则进入步骤438,否则进入步骤436。Step 434 , if the requested data transmission client has the corresponding latest data, then judge whether its network is busy, if so, go to step 438 , otherwise go to step 436 .
步骤436,若网络不是很忙(按照上载的数据情况判断,一般推荐上载5个数据,就需要排队等待),则直接返回这些数据。完成下载后,进入步骤426。Step 436, if the network is not very busy (judging according to the uploaded data situation, it is generally recommended to upload 5 data, just need to wait in line), then directly return these data. After the download is completed, go to step 426.
步骤438,如果网络忙,则告知其排队情况(即在队列中的位置,当达到最大队列后,将按照无数据处理即进入步骤440,如果要从需要排队的数据传输客户端下载数据,则请求数据的数据传输客户端312需要不断请求在队列中的位置情况,当达到队列顶端后,被请求的数据传输客户端将返回数据信息)。完成下载后,进入步骤426。Step 438, if the network is busy, then inform its queuing situation (that is, the position in the queue, after reaching the maximum queue, it will proceed to step 440 according to no data processing, if download data from the data transmission client that needs to be queued, then The data transmission client 312 requesting data needs to continuously request the position in the queue, and when reaching the top of the queue, the requested data transmission client will return data information). After the download is completed, go to step 426.
步骤440,如果被请求数据传输客户端没有被请求的最新数据,则返回距离自己逻辑最近的5个数据传输客户端以及其有的数据信息。Step 440, if the requested data transmission client does not have the latest requested data, return the five data transmission clients logically closest to itself and the data information they have.
步骤442,请求数据的数据传输客户端312根据返回的数据传输客户端的逻辑距离以及数据信息,尝试连接这些数据传输客户端,并根据数据返回结果,选择最优的数据传输客户端(即已知的数据最优的数据传输客户端,优先级是:数据传输客户端无需排队、数据传输客户端排队)尝试下载数据,并更新常用数据传输客户端列表。Step 442, the data transmission client 312 requesting data tries to connect to these data transmission clients according to the logical distance and data information of the returned data transmission clients, and selects the optimal data transmission client (ie known The data transmission client with the best data, the priority is: the data transmission client does not need to queue, the data transmission client queues) try to download the data, and update the list of commonly used data transmission clients.
数据传输客户端312记录数据信息并下载,下载完成后进入步骤426。The data transmission client 312 records and downloads the data information, and proceeds to step 426 after the download is completed.
此外,在步骤412中,如果连续三次请求,数据传输服务器310无响应(一般因为服务器过忙或者已经宕机),数据传输客户端312(根据订单以及已经有的报纸数据信息)尝试从常用数据传输客户端列表中查找最新报纸数据信息,并进入步骤430。In addition, in step 412, if three consecutive requests, the data transmission server 310 has no response (generally because the server is too busy or has crashed), the data transmission client 312 (according to the order and existing newspaper data information) tries to obtain the data from the common data Find the latest newspaper data information in the transmission client list, and go to step 430.
以上结合附图详细说明了本发明的技术方案,考虑到相关技术中,通过设置同一台实体服务器,以实现相当于本发明的展示服务器和数据传输客户端的功能,会造成部署复杂,降低效率等问题,因此,本发明提供了一种数字刊物的数据传输系统和一种数字刊物的数据传输方法,可以将数字刊物数据的获取和展示分离,从而使得报纸数据更新效率更高,更好地提高数字报相关产品的数据可靠性和及时性。The above describes the technical solution of the present invention in detail in conjunction with the accompanying drawings. Considering that in related technologies, setting the same physical server to realize the functions equivalent to the display server and data transmission client of the present invention will cause complex deployment and reduce efficiency. Problem, therefore, the present invention provides a data transmission system for digital publications and a data transmission method for digital publications, which can separate the acquisition and display of digital publication data, thereby making newspaper data update more efficient and better improving Data reliability and timeliness of digital news related products.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310190371.6A CN104184700B (en) | 2013-05-21 | 2013-05-21 | The data transmission system and data transmission method of digital publication |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310190371.6A CN104184700B (en) | 2013-05-21 | 2013-05-21 | The data transmission system and data transmission method of digital publication |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104184700A CN104184700A (en) | 2014-12-03 |
| CN104184700B true CN104184700B (en) | 2018-10-09 |
Family
ID=51965454
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310190371.6A Expired - Fee Related CN104184700B (en) | 2013-05-21 | 2013-05-21 | The data transmission system and data transmission method of digital publication |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104184700B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107920124A (en) * | 2017-11-27 | 2018-04-17 | 广东南都全媒体网络科技有限公司 | A kind of datagram content delivering system, method and storage device |
| CN110647552B (en) * | 2019-08-29 | 2022-11-11 | 深圳市新系区块链技术有限公司 | Data distribution method and related product |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1851714A (en) * | 2006-05-30 | 2006-10-25 | 北京北大方正电子有限公司 | Digital newspaper content viewing method |
| CN101119582A (en) * | 2006-07-31 | 2008-02-06 | 华为技术有限公司 | Method and system for subscribing to mobile service |
| CN101383852A (en) * | 2008-10-22 | 2009-03-11 | 侯万春 | System and method for implementing personal special digital newspaper and magazine |
| CN102138788A (en) * | 2010-02-01 | 2011-08-03 | 邹海涛 | Electrocardiogram machine and electrocardiograph data detecting system |
| CN102694832A (en) * | 2011-03-25 | 2012-09-26 | 腾讯科技(深圳)有限公司 | Game system and realization method thereof, and game clients |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9811805B2 (en) * | 2002-09-18 | 2017-11-07 | eSys Technologies, Inc. | Automated work-flow management system with dynamic interface |
-
2013
- 2013-05-21 CN CN201310190371.6A patent/CN104184700B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1851714A (en) * | 2006-05-30 | 2006-10-25 | 北京北大方正电子有限公司 | Digital newspaper content viewing method |
| CN101119582A (en) * | 2006-07-31 | 2008-02-06 | 华为技术有限公司 | Method and system for subscribing to mobile service |
| CN101383852A (en) * | 2008-10-22 | 2009-03-11 | 侯万春 | System and method for implementing personal special digital newspaper and magazine |
| CN102138788A (en) * | 2010-02-01 | 2011-08-03 | 邹海涛 | Electrocardiogram machine and electrocardiograph data detecting system |
| CN102694832A (en) * | 2011-03-25 | 2012-09-26 | 腾讯科技(深圳)有限公司 | Game system and realization method thereof, and game clients |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104184700A (en) | 2014-12-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11716435B2 (en) | System and method for selectively sending, delivery and receiving of faxes | |
| US9037657B2 (en) | Systems and methods for peer-to-peer bandwidth allocation | |
| JP4975831B2 (en) | Remote data access technology for portable devices | |
| KR101729633B1 (en) | Apparatus and method for sharing contents of social network service in communicatino system | |
| JP5486590B2 (en) | System and method for managed content delivery | |
| WO2011088725A1 (en) | Method and apparatus for synchronization based on hypertext transfer protocol (http) | |
| US20080189294A1 (en) | Method and apparatus for sharing content | |
| JP4473942B2 (en) | Content distribution apparatus, content distribution method, and content distribution program | |
| CN102594862A (en) | Digital content management | |
| KR20150005708A (en) | Information sharing method and device | |
| US20150271226A1 (en) | Transport accelerator implementing a multiple interface architecture | |
| CN102904913B (en) | Management method and system for cloud storage space and gateway equipment using management method | |
| JP2013257798A (en) | Data collection system and data collection method | |
| CN102420863B (en) | Rapid file distribution system, method thereof and apparatus thereof | |
| US20160381127A1 (en) | Systems and methods for dynamic networked peer-to-peer content distribution | |
| CN101039309B (en) | Link sharing service apparatus and communication method thereof | |
| CN104184700B (en) | The data transmission system and data transmission method of digital publication | |
| CN104967642B (en) | Content distribution method and device | |
| WO2016180284A1 (en) | Service node allocation method, device, cdn management server and system | |
| EP2309390B1 (en) | Data distribution system | |
| KR20110020453A (en) | Content Delivery Network System and Its Operation Method | |
| KR20140036886A (en) | Method and apparatus for cloud service based on meta information | |
| JP7570045B2 (en) | Terminal device control program, terminal device control method, and terminal device | |
| CN100589481C (en) | A data synchronization server storage resource processing method | |
| WO2011072462A1 (en) | Method and set top box for acquiring program content |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20220620 Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031 Patentee after: New founder holdings development Co.,Ltd. Patentee after: FOUNDER APABI TECHNOLOGY Ltd. Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 floor Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd. Patentee before: FOUNDER APABI TECHNOLOGY Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181009 |