The data integration method of cross-server and systemTechnical field
The present invention relates to a kind of data integration technology, particularly relate to the data integration method and the system of a kind of cross-server (Cross-server).
Background technology
Along with the universalness of network, it is also more and more general to share content by network; But when the number of servers of sharing content was a lot, the user is often very inconvenience on browsing and searching.
Aspect browsing, existing presentation mode is that the stratum's mode with the data folder of each station server shows, the user needs the data folder of mounted server one by one, can browse its content; And because this kind presentation mode is not complied with its format classification with content, the user often can't browse to the content of required form (for example, image shelves) apace.Aspect search, when the user wants to search the content of a certain form, also need the data folder of mounted server one by one, can search.
And the content of desiring to browse or search as the user is when being stored in the server of an off-line, then can't obtain the relevant information of relevant this content.
This shows that browsing and search in method, system configuration and use of above-mentioned existing server obviously still has inconvenience and defective, and demand urgently further being improved.In order to solve the problem of above-mentioned existence, relevant manufacturer there's no one who doesn't or isn't seeks solution painstakingly, but do not see always that for a long time suitable design finished by development, and conventional method and system do not have appropriate method and structure to address the above problem, and this obviously is the problem that the anxious desire of relevant dealer solves.Therefore how to found a kind of data integration method and system of new cross-server, real one of the current important research and development problem that belongs to, also becoming the current industry utmost point needs improved target.
Because the defective of browsing and searching existence of above-mentioned existing server, the inventor is based on being engaged in this type of product design manufacturing abundant for many years practical experience and professional knowledge, and the utilization of cooperation scientific principle, actively studied innovation, in the hope of founding a kind of data integration method and system of new cross-server, can improve browsing and searching of general existing server, make it have more practicality.Through constantly research, design, and after studying repeatedly and improving, create the present invention who has practical value finally.
Summary of the invention
The objective of the invention is to, overcome the defective of browsing and searching existence of existing server, and provide a kind of data integration method of new cross-server, technical problem to be solved is it to be handled by virtual server browse requirement or search requirement, has reduced originally and need pursue the inconvenience that station server is browsed or searched; Further,, also can obtain required intermediary's data, be very suitable for practicality by database for the server of off-line state.
Another purpose of the present invention is, overcome the defective of browsing and searching existence of existing server, and provide a kind of data integrated system of cross-server, technical problem to be solved is it to be handled by virtual server browse requirement or search requirement, has reduced originally and need pursue the inconvenience that station server is browsed or searched; Further, for the server of off-line state, also can obtain required intermediary's data, thereby be suitable for practicality more by database.
The object of the invention to solve the technical problems realizes by the following technical solutions.The data integration method of a kind of cross-server that proposes according to the present invention is applicable to for user end one data content of one server is browsed and searched; The method includes the steps of: (a) provide a database at this user's end; (b) integrate intermediary's data that should data content to this database; (c) receive browse request or search request; (d) judge whether its this required data content is stored in the server that is in an off-line state; And (e) be stored in the server that is in this off-line state when this required data content, then obtain these intermediary's data of this corresponding required data content from this database.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
Preferably, the data integration method of aforesaid cross-server, wherein said step (d) comprises following substep: (d-1) the server name information by these intermediary's data obtains a server list; (d-2) find out a line server list according to a procotol; (d-3) rejecting the server that belongs to this line server list from this server list tabulates in the hope of an offline service device; (d-4) judge whether this server belongs to this offline service device tabulation; Reach (d-5) and tabulate when this server belongs to this offline service device, then this server is in this off-line state.
Preferably, the data integration method of aforesaid cross-server, this method also comprises the following step: (f) the content format information according to these intermediary's data produces an integrally browsing interface; And, show the data content that this integrally browsing interface is presented (g) according to the mode classification of this content format information.
Preferably, the data integration method of aforesaid cross-server, wherein said step (b) comprises following substep: (b-1) find this server according to a procotol; (b-2) check whether to be stored in this database to intermediary's data that should the data in server content; (b-3) be not stored in as yet in this database when these intermediary's data, then obtain these intermediary's data that should data content from this server, and with this intermediary's data storing to this database; And (b-4) be stored in this database when these intermediary's data, then upgrade this intermediary's data according to a update rule.
Preferably, the data integration method of aforesaid cross-server, in the wherein said step (b-4), this update rule is: when this user of this server notification held its data content to be modified, this user's end promptly upgraded intermediary's data of corresponding this data content that is modified.
Preferably, the data integration method of aforesaid cross-server, in the wherein said step (b-4), this update rule is: whether this user's end is made regular check on this data in server content and is modified, when data content was modified, this user's end promptly upgraded intermediary's data of corresponding this data content that is modified.
The object of the invention to solve the technical problems also realizes by the following technical solutions.The data integrated system of a kind of cross-server that proposes according to the present invention is applicable to for user end one data content of one server is browsed and searched; This system comprises: a database; One data collection module, in order to integrating this data content of this server, obtaining to intermediary's data that should data content, and with this intermediary's data storing in this database; An and virtual server, hold performed browse request or search request in order to receive this user, and judge whether its this required data content is stored in the server that is in an off-line state, if then obtain these intermediary's data of this corresponding required data content from this database.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
Preferably, the data integrated system of aforesaid cross-server, wherein said intermediary data have a server name information, virtual server judges whether this server belongs to offline service device tabulation, if, then this server is in this off-line state, the producing method of this offline service device tabulation is as follows: this server name information by these intermediary's data obtains a server list, and comply with a procotol and find out a line server list, rejecting belongs to this line server list person in this server list, in the hope of this offline service device tabulation.
Preferably, the data integrated system of aforesaid cross-server, wherein said intermediary data also have a content format information, this virtual server also produces an integrally browsing interface in order to the content format information according to these intermediary's data, and it is the mode classification demonstration of by properties format information that the data content at this integrally browsing interface presents.
Preferably, the data integrated system of aforesaid cross-server, wherein said data collection module is found this server according to a procotol, and check whether to be stored in this database to intermediary's data that should the data in server content, if, then upgrade this intermediary's data according to a update rule, otherwise this server obtains to these intermediary's data that should data content certainly, and with this intermediary's data storing to this database.
Preferably, the data integrated system of aforesaid cross-server, wherein said update rule is: when this user of this server notification held its data content to be modified, this data collection module promptly upgraded intermediary's data of this data content that correspondence is modified.
Preferably, the data integrated system of aforesaid cross-server, wherein said update rule is: whether this user's end is made regular check on this data in server content and is modified, and when data content was modified, this user's end promptly upgraded intermediary's data of corresponding this data content that is modified.
The present invention compared with prior art has tangible advantage and beneficial effect.By above technical scheme as can be known, major technique of the present invention thes contents are as follows:
For achieving the above object, the invention provides a kind of data integration method of cross-server, be applicable to for user end one data content of one server browsed and searched that this method comprises the following step: (a) provide a database at this user's end; (b) integrate intermediary's data that should data content to this database; (c) receive browse request or search request; (d) judge whether its this required data content is stored in the server that is in an off-line state; And (e) be stored in the server that is in this off-line state when this required data content, then obtain these intermediary's data of this corresponding required data content from this database.
In addition, for achieving the above object, the present invention also provides a kind of data integrated system of cross-server, is applicable to for user end one data content of one server is browsed and searched, this system comprises a database, a data collection module, and a virtual server.This data collection module is in order to integrating this data content of this server, obtaining to intermediary's data that should data content, and with this intermediary's data storing in this database.This virtual server is held performed browse request or is searched request in order to receive this user, and judge whether its this required data content is stored in the server that is in an off-line state, if then obtain these intermediary's data of this corresponding required data content from this database.
By technique scheme, the data integration method of cross-server of the present invention and system have following advantage and beneficial effect at least: the present invention handles to browse by virtual server and requires or the search requirement, has reduced originally and need pursue the inconvenience that station server is browsed or searched; Further, for the server of off-line state, also can obtain required intermediary's data by database.
In sum, the data integration method of a kind of cross-server of the present invention is applicable to for user end one data content of one server is browsed and searched that this method comprises the following step: (a) provide a database at this user's end; (b) integrate intermediary's data that should data content to this database; (c) receive browse request or search request; (d) judge whether its this required data content is stored in the server that is in an off-line state; And (e) be stored in the server that is in this off-line state when this required data content, then obtain these intermediary's data of this corresponding required data content from this database.The present invention has above-mentioned advantage and practical value, no matter it all has bigger improvement on method, system configuration or function, obvious improvement is arranged technically, and produced handy and practical effect, and more existing server browse and search outstanding effect with enhancement, thereby being suitable for practicality more, really is a new and innovative, progressive, practical new design.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, below especially exemplified by preferred embodiment, and conjunction with figs., be described in detail as follows.
Description of drawings
Fig. 1 is the system architecture diagram of preferred embodiment of the data integrated system of explanation cross-server of the present invention.
Fig. 2 is the flow chart of the step of explanation database foundation of the present invention and its content maintenance.
Fig. 3 is that an explanation the present invention handles the flow chart of browsing requirement and searching the step that requires.
Fig. 4 is the schematic diagram of the display mode at explanation integrally browsing of the present invention interface.
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, data integration method and its embodiment of system, method, step, structure, feature and the effect thereof of the cross-server that foundation the present invention is proposed, describe in detail as after.
Relevant aforementioned and other technology contents, characteristics and effect of the present invention can be known to present in the detailed description of graphic preferred embodiment is consulted in following cooperation.By the explanation of embodiment, when can being to reach technological means that predetermined purpose takes and effect to obtain one more deeply and concrete understanding to the present invention, yet appended graphic only provide with reference to the usefulness of explanation, be not to be used for the present invention is limited.
Consult shown in Figure 1ly, Fig. 1 is the system architecture diagram of preferred embodiment of the data integrated system of explanation cross-server of the present invention.The preferred embodiment of the data integrated system 1 of cross-server of the present invention comprises a database 11, a data collection module 12, and a virtual server (Virtual server) 13; The data integrated system 1 of this cross-server is applicable to for a user end data content of server 2 is browsed (Browsing) and searched (Searching).
Server 2 is for sharing the various devices (for example, notebook computer, PC, or mobile phone) of its data content by network; Its data content is various types of archives (for example, video (Video) shelves, audio frequency (Audio) shelves, or image (Image) shelves) of sharing.Though, often not only one of the server 2 that this user end can be browsed or search, and also usually not only one of stored data content in each server 2; But the data integrated system 1 of this cross-server is similar to the integration mode to the processing of each data content of each server 2.
This data collection module 12 is in order to the data content of integrated service device 2, obtaining intermediary's data (Meta data) of (Retrieve) corresponding each data content, and with intermediary's data storing in this database 11.Each intermediary's data has a server name (Server name) information, a content name (Content name) information, a content size (Size) information, a content format (Type) information, a content date information, and consistent resource addressing (Uniform ResourceLoca tor, the URL) information of a content; Server name information is in order to point out the title of the stored server of data content 2; Content name information is in order to point out the file name of data content; Content size information is in order to point out the size of data content; Content format information is in order to point out the form of data content; The time of content date information in order to point out that data content increases newly, revises or reads; The consistent resource addressing information of content is in order to point out the storage address of data content.
This virtual server 13 is held performed browse request (Request) or is searched request in order to receive this user, and judges whether its required data content is stored in the server 2 that is in an off-line (Offline) state; If then obtain intermediary's data of corresponding required data content from this database 13.The data integrated system 1 of this cross-server can software program state implement, and be installed on this user's end.
The preferred embodiment of the data integrated system 1 of corresponding above-mentioned cross-server, the data integration method of cross-server of the present invention comprises the following step.
See also Figure 1 and Figure 2, Fig. 2 is the flow chart of the step of explanation database foundation of the present invention and its content maintenance.Desire must provide this database 11 earlier before this user holds the execution browse request orsearches request user 3, the mode of setting up of this database 11 is shown in step 41-44.
Instep 41, when a certain server 2 entered a line (Online) state, this data collection module 12 was found (Discover) this server 2 according to a procotol; In this preferred embodiment, this procotol is UPnP (Universal Plug and Play, a UPnP) agreement.
Instep 42, this data collection module 12 checks whether intermediary's data of the data content of corresponding this server 2 have been stored in this database 11; If then proceedstep 43; Otherwise, proceedstep 44.
Instep 43, this data collection module 12 upgrades the intermediary's data that have been stored in this database 11 according to a update rule.
This update rule can have following dual mode.Wherein a kind of mode is: when server 2 has data content to be modified, notify this user's end, this data collection module 12 promptly upgrades intermediary's data of the corresponding data content that is modified; This kind mode is applicable to the lower server 2 of frequency that data content upgrades usually.Another kind of mode is: whether the data content that this data collection module 12 is made regular check on server 2 on one's own initiative is modified, and when data content was modified, this data collection module 12 promptly upgraded intermediary's data of corresponding this data content that is modified; This kind mode is applicable to the higher server 2 of frequency that data content upgrades usually.
Instep 44, this data collection module 12 obtains intermediary's data of corresponding data contents from server 2, and with intermediary's data storing to this database 11.
After this database 11 was set up, if find new data content, or data content originally was modified, and also is the maintenance of carrying out the content of this database 11 according to above-mentioned steps 41-44.
See also Fig. 1 and shown in Figure 3, Fig. 3 is that an explanation the present invention handles the flow chart of browsing requirement and searching the step that requires.Whenuser 3 desires to carry out the following step when this user holds the execution browse request or searches request.
Instep 51, this virtual server 13 receives browse request or searches request.
Instep 52, this virtual server 13 is judged corresponding browse request or searches the required data content of request whether be stored in the server 2 that is in off-line state; If then proceedstep 53; Otherwise, proceedstep 54.
Thisstep 52 comprises following substep: at first, obtain a server list by the server name information of the intermediary's data that store in this database 11; Then, find out and have which server 2 to be in connection state at present according to this procotol, to obtain a line server list; Then, rejecting belongs to this line server list in this server list certainly, tabulates in the hope of an offline service device; At last, judge whether server 2 belongs to this offline service device tabulation, if then server 2 is in off-line state.
Instep 53, this virtual server 13 obtains intermediary's data of corresponding required data content from this database 11.
Instep 54, this virtual server 13 obtains intermediary's data of corresponding required data content from the server 2 that is in connection state.
What deserves to be mentioned is that what hold execution this user asuser 3 is to browse when requiring, this virtual server 13 also in order to according to the intermediary's data that obtain, produces an integrally browsing interface.See also shown in Figure 4ly, Fig. 4 is the schematic diagram of the display mode at an explanation integrally browsing of the present invention interface.This integrally browsing interface comprises two kinds of display modes; Be respectively to be similar to existing one first display mode, and one second display mode.This first display mode is that the stratum's mode with the data folder of server 2 shows; This second display mode is that the content format information (for example, video format, image format, or music format) according to intermediary's data is classified, and stratum's mode of classification according to this shows.
Conclude above-mentionedly, require or search when requiring when the user holds to carry out to browse, all handle to browse requiring or search requirement by this virtual server 13, can reduce needs the inconvenience of browsing or searching by station server 2 originally; Furthermore, or even the server 2 of off-line state, the present invention also can provide mechanism to hold the intermediary's data that obtain corresponding required data content for the user, really the purpose of attainable cost invention.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, though the present invention discloses as above with preferred embodiment, yet be not in order to limit the present invention, any those skilled in the art, in not breaking away from the technical solution of the present invention scope, when the technology contents that can utilize above-mentioned announcement is made a little change or is modified to the equivalent embodiment of equivalent variations, in every case be not break away from the technical solution of the present invention content, according to technical spirit of the present invention to any simple modification that above embodiment did, equivalent variations and modification all still belong in the scope of technical solution of the present invention.