Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, in the situation that not conflicting, the feature in the application's embodiment and embodiment can combine mutually.
Set forth in the following description a lot of details so that fully understand the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following public specific embodiment.
Fig. 1 shows the block diagram of the data transmission system of digital publication according to an embodiment of the invention.
As shown in Figure 1, the data transmission system 100 of digital publication according to an embodiment of the invention, comprising: data, services end 102 and data client 104, wherein, described data, services end 102 comprises: data acquisition server 1022, for gathering the digital publication data that need transmission; Data transfer server 1024, for the extremely described data client 104 of digital publication transfer of data that described data acquisition server 1022 is collected; Described data client 104 comprises: at least one transfer of data client 1042, at least one displaying server 1044 and at least one displaying terminal 1046, wherein, one end of each described transfer of data client 1042 is connected with described data transfer server 1024, the other end is connected with showing server 1044 described at least one, for by the described digital publication transfer of data from described data transfer server 1024 to corresponding displaying server 1044; One end of each described displaying server 1044 is connected with described transfer of data client 1042, the other end is connected with displaying terminal described at least one 1046, for obtaining described digital publication data from described transfer of data client 1042, show described digital publication data for described displaying terminal 1046.
In this technical scheme, by transfer of data client 1042 and displaying server 1044 are separated, thereby complete obtaining digital publication data by independent transfer of data client 1042, realized digital publication transfer of data to displaying terminal 1046 to show by independent displaying server 1044, reduce the hardware pressure to these two steps.Simultaneously, also between transfer of data client 1042, displaying server 1044 and displaying terminal 1046, two levels are formed, each level can arrange the structure more than 1 pair, thereby for each independent transfer of data client 1042 or displaying server 1044, in the time of the multiple displaying terminal 1046 of correspondence, by bearing less transfer of data pressure, be conducive to improving data transmission efficiency.Certainly, particularly, the element number that each level arranges, can select as required, meets individual requirements.
In technique scheme, preferably, described data acquisition server 1022 comprises: rights verification unit 1022A, utilizes the authority of having stored to carry out rights verification to newspaper office's data server; Data receiver unit 1022B, in the situation that described rights verification unit 1022A completes rights verification, based on preset protocol, receives described digital publication data from newspaper office's data server.In this technical scheme, in one case, can pass through to sign host-host protocol with newspaper office in advance, thereby realize and obtain corresponding digital newspaper data from newspaper office according to this agreement.
In technique scheme, preferably, described data acquisition server 1022 comprises: data placement unit 1022C, captures described digital publication data by reptile from newspaper office's webserver.In this technical scheme, in another case, can from network, directly capture by reptile digital publication data.
In technique scheme, preferably, between described at least one transfer of data client 1042, interconnect, to obtain described digital publication data by end-to-end (P2P, Peer to Peer) pattern from described data transfer server 1024.In this technical scheme, by adopting P2P pattern, can reduce the transmission pressure of data transfer server 1024, and improve data transmission bauds.
In technique scheme, preferably, also comprise: described transfer of data client 1042 is arranged in wide area network, described displaying server 1044 and described displaying terminal 1046 are arranged in local area network (LAN).In this technical scheme, by showing that server 1044 separates with transfer of data client 1042, make user as required both to be separately positioned on to Inside and outside network, thereby meet the isolation requirement of user for network environment.
In technique scheme, preferably, described data, services end 102 also comprises: data processing server 1026, one end of described data processing server 1026 is connected with described data acquisition server 1022, the other end and described data transfer server 1024, change for the digital publication data that described data acquisition server 1022 is collected, to be applicable to described displaying terminal 1046.
In this technical scheme, on the one hand, for simplification system and handling process, often only obtain a mandate to newspaper office, thereby every kind of digital publication data that obtain only have portion, and on the other hand, displaying terminal 1046 may comprise multiple situation, as personal computer, panel computer, touch-screen mobile phone etc., therefore, in order to realize good display effect on dissimilar equipment, need to process processing to digital publication data, thereby obtain the data of corresponding every kind of displaying terminal 1046.
Fig. 2 shows the flow chart of the data transmission method of digital publication according to an embodiment of the invention.
As shown in Figure 2, the data transmission method of digital publication according to an embodiment of the invention, comprise: step 202, the digital publication data that the collection of data, services end need to be transmitted, to transfer to data client, wherein, described data client comprises at least one transfer of data client, at least one shows server and at least one displaying terminal, one end of each described transfer of data client is connected with described data, services end, the other end is connected with showing server described at least one, one end of each described displaying server is connected with described transfer of data client, the other end is connected with displaying terminal described at least one, step 204, described transfer of data client is by extremely corresponding displaying server of the described digital publication transfer of data from described data, services end, step 206, described displaying server obtains described digital publication data, shows described digital publication data for described displaying terminal.
In this technical scheme, by transfer of data client and displaying server are separated, thereby complete obtaining digital publication data by independent transfer of data client, realized digital publication transfer of data to displaying terminal to show by independent displaying server, reduce the hardware pressure to these two steps.Simultaneously, also between transfer of data client, displaying server and displaying terminal, two levels are formed, each level can arrange the structure more than 1 pair, thereby for each independent transfer of data client or displaying server, in the time of the multiple displaying terminal of correspondence, by bearing less transfer of data pressure, be conducive to improving data transmission efficiency.Certainly, particularly, the element number that each level arranges, can select as required, meets individual requirements.
In technique scheme, preferably, the step of the digital publication data that the collection of described data, services end need to be transmitted comprises: utilize the authority of having stored to carry out rights verification to newspaper office's data server, if be proved to be successful,, based on preset protocol, receive described digital publication data from newspaper office's data server.In this technical scheme, in one case, can pass through to sign host-host protocol with newspaper office in advance, thereby realize and obtain corresponding digital newspaper data from newspaper office according to this agreement.
In technique scheme, preferably, described data, services end captures described digital publication data by reptile from newspaper office's webserver.In this technical scheme, in another case, can from network, directly capture by reptile digital publication data.
In technique scheme, preferably, also comprise: between described at least one transfer of data client, interconnect, to obtain described digital publication data by end-to-end pattern from described data transfer server.In this technical scheme, by adopting P2P pattern, can reduce the transmission pressure of data transfer server, and improve data transmission bauds.
In technique scheme, preferably, also comprise: described transfer of data client is arranged in wide area network, described displaying server and described displaying terminal are arranged in local area network (LAN).In this technical scheme, by showing that server separates with transfer of data client, make user as required both to be separately positioned on to Inside and outside network, thereby meet the isolation requirement of user for network environment.
In technique scheme, preferably, before described step 204, also comprise: described data, services end is changed described digital publication data, to be applicable to described displaying terminal.
In this technical scheme, on the one hand, for simplification system and handling process, often only obtain a mandate to newspaper office, thereby every kind of digital publication data that obtain only have portion, and on the other hand, displaying terminal may comprise multiple situation, as personal computer, panel computer, touch-screen mobile phone etc., therefore, in order to realize good display effect on dissimilar equipment, need to process processing to digital publication data, thereby obtain the data of corresponding every kind of displaying terminal.
Fig. 3 shows the data transmission system structural representation of digital publication according to an embodiment of the invention.
As shown in Figure 3, the data transmission system of digital publication comprises three parts according to an embodiment of the invention: newspaper office's data terminal, data, services end and data client.
At newspaper office's data terminal, comprise newspaper office's data server 302 and newspaper office's webserver 304, wherein, in newspaper office's data server 302, store the data after index, and in newspaper office's webserver 304, store the data that are published on the Internet.
At data, services end, comprise data acquisition server 306, data processing server 308 and data transfer server 310, wherein:
Data acquisition server 306 gathers digital publication data from newspaper office's data server 302 and/or newspaper office's webserver 304: a and newspaper office sign an agreement, and obtain the data index by default transmission means from newspaper office's data server 302; B and newspaper office sign an agreement, and capture the data that newspaper office issues with web form by reptile from newspaper office's webserver 304.
Data processing server 308 is processed processing for the digital publication data that data acquisition server 306 is collected.For identical digital publication data, data acquisition server 306 only obtains portion from newspaper office's data terminal, then be distributed to each displaying terminal 316 by follow-up flow process, but the digital publication data that directly collect may be able to not be directly used in the displaying of displaying terminal 316; And, in the time that the kind of displaying terminal 316 changes, such as for personal computer and panel computer, its requirement for digital publication data is also different, thereby need to, for the characteristic of different displaying terminal 316, carry out corresponding processing processing to digital publication data.
Data transfer server 310 is mainly in charge of: 1, certification " certification ".Be the one accreditation using, be used for checking the mandate whether having these numeral publication data, if by certification, allow the digital publication data after processing to be sent to transfer of data client 312.2, management data transmission client 312.Management to transfer of data client 312 mainly comprises: the transfer of data client 312 that increases, deletes, changes connection with and close on or same mandate under transfer of data client 312 situations.
In data client, comprise transfer of data client 312, show server 314 and displaying terminal 316, wherein:
Main being responsible for of transfer of data client 312 obtained digital publication data from data transfer server 310.Data transfer server 310 can configure multiple these transfer of data clients 312 to same authorize clients, and can between these transfer of data clients 312, realize p2p pattern, realizes parallel transmission, improves transmission speed.
Show the main digital publication data of assembling of being responsible for of server 314, for displaying terminal 316 provides service.A transfer of data client 312 can configure multiple displaying servers 314.Do like this object: in the time that displaying terminal 316 is many, prevent from showing that server 314 pressure are excessive.Mode with Web provides service, so just can be by showing that server 314 separates with transfer of data client 312, such as 312 needs of transfer of data client are accessed http://xxx.In addition, by transfer of data client 312 is separated with displaying server 314, make user as required, transfer of data client 312 to be connected to outer net, to show that server 314 is connected Intranet with displaying terminal 316, thereby meet the demand that intranet and extranet separate.
Displaying terminal 316, for the final displaying to digital publication data, is read for user.
By adopting the data transmission system of above-mentioned digital publication, in the time carrying out the transmission of digital publication data, as shown in Figure 4, taking datagram comparatively common in digital publication as example, concrete steps are as follows:
Step 402, data acquisition server 306 gathers the newspaper data that allow operation.
Step 404, it is data the packing that touch-screen needs that data processing server 308 is processed newspaper data.
The newspaper data that step 406 notification data transmission server 310 processes, data transfer server 310 recording data information.
Step 408, data transfer server 310 monitored data transmission client 312 authentication request.
Step 410, the request (authorization information comprises that whether transfer of data client 312 is authorized and whether reaches maximum authorized quantity etc.) of data transfer server 310 validate data transmissions clients 312, if by checking, the information of record data transmission client 312, if, by checking, do not inform the concrete error message of transfer of data client 312.
Step 412, transfer of data client 312 is asked up-to-date sequence information (wherein comprising the information of corresponding newspaper).
Step 414, if data transfer server 310 finds that there is sequence information new or that delete (downloading situation according to the order of this transfer of data client 312), enters step 418, otherwise enters step 416.(this agreement is for machine or the mistake busy of delaying when data transfer server 310, from other channel obtaining informations)
Step 416, returns without amendment sequence information.Then can return to step 412, proceed request.
Step 418, return data transmission client 312 these sequence informations.
Step 420, transfer of data client 312 is asked up-to-date newspaper data message to data transfer server 310, and returns to the newspaper data message that this transfer of data client 312 has been downloaded and put in storage.Data transfer server 310 need return to up-to-date newspaper data message and data mode update status, upgrades if transfer of data client 312 has been received data mode, from buffer memory, deletes; If there is no return data state, be recorded in buffer memory, later notice.Particularly, if data transfer server 310 need to return up-to-date newspaper data message, enter step 422.
Step 422, data transfer server 310 calculates downloads pressure whether large (by calculating the information such as the quantity of documents downloaded).If so, enter step 428, otherwise enter step 424.
Step 424, if the pressure of data transfer server 310 is little, return to up-to-date newspaper data message (in order to allow other transfer of data clients also have an opportunity to obtain downloading machine meeting, once return at most 5 phase newspaper data messages, newspaper data message returns according to periodical time inverted order).
Step 426, transfer of data client 312 is downloaded first phase or a few issue according to after completing, and notifies respectively its warehouse-in, and regularly return and perform step 412 according to the displaying server 314 of configuration, obtains download and the warehouse-in state of latest data and return data.
Step 428, if data transfer server 310 pressure are large, return and the information of these transfer of data client 312 logical reach nearest 5 (concrete quantity can be adjusted according to actual conditions) transfer of data clients, and need to guarantee the newspaper that comprises these transfer of data client 312 needs downloads in newspaper that these transfer of data clients have downloaded.
Step 430, transfer of data client 312 records the information of the transfer of data client of returning, and safeguard (maximum 10 of frequently-used data transmission client lists, determine according to the quality of data and logical reach which enters this list), and to the up-to-date newspaper data message of these transfer of data client-requested (according to order and the newspaper data message having had).
Step 432, judges in these transfer of data clients whether have up-to-date newspaper data message, if having, enters step 434, otherwise enters step 440.
Step 434, if requested date transmission client has corresponding latest data, judges that whether its networking is busy, if so, enters step 438, otherwise enters step 436.
Step 436, if network is not extremely busy (according to the data cases judgement of uploading, general recommendation uploaded 5 data, just need to wait in line), directly returns to these data.Complete after download, enter step 426.
Step 438, if network busy, inform its queuing situation (i.e. position in queue, when reaching after maximum queue, will be according to entering step 440 without data processing, if the transfer of data client downloads data of queuing up from needs, the transfer of data client 312 of request msg needs the constantly situation of request in queue, when reaching behind queue top, requested transfer of data client is by return data information).Complete after download, enter step 426.
Step 440, if requested date transmission client does not have requested latest data, nearest 5 the transfer of data clients of the own logic of layback with and the data message that has.
Step 442, the transfer of data client 312 of request msg is according to logical reach and the data message of the transfer of data client of returning, attempt connecting these transfer of data clients, and return results according to data, selecting optimum transfer of data client (is the transfer of data client of known data optimum, priority is: transfer of data client is queued up without queuing, transfer of data client) attempt downloading data, and upgrade the list of frequently-used data transmission client.
Transfer of data client 312 recording data information are also downloaded, and after having downloaded, enter step 426.
In addition, in step 412, if continuous three requests, data transfer server 310 is without response (general because server is crossed the busy or machine of having delayed), transfer of data client 312(according to order and the newspaper data message having had) attempt from the list of frequently-used data transmission client, searching up-to-date newspaper data message, and enter step 430.
More than be described with reference to the accompanying drawings technical scheme of the present invention, consider in correlation technique, by same property server is set, to realize the function that is equivalent to displaying server of the present invention and transfer of data client, can cause and dispose complexity, the problem such as lower efficiency, therefore, the data transmission system that the invention provides a kind of digital publication a kind of data transmission method of digital publication of unifying, obtaining with showing of digital publication data can be separated, thereby make newspaper data updating efficiency higher, improve better data reliability and the promptness of datagram Related product.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.