A kind of method of many equipment browses document and device
Technical field
The present invention relates to network communication field, particularly a kind of method of many equipment browses document and device.
Background technology
Along with the fast development of the network communications technology, user is by the same document of computing machine, panel computer, mobile phone etc. multiple subscriber equipment browser server end.Such as, after user to open the document X of server end by subscriber equipment A, the document can also be opened again by subscriber equipment B.
In prior art, when user is by subscriber equipment B opening document X, first-selection by subscriber equipment B with the login account logon server end identical with A, and need find document X at server end, then opens the document in subscriber equipment B.
As seen from the above, when user is after subscriber equipment A opens the document X of server end, again when subscriber equipment B opens the document, user directly cannot control subscriber equipment B by subscriber equipment A and open the document, and need transfer to and subscriber equipment B manually searches and opens the document, therefore, prior art complex steps, lack convenience.
Summary of the invention
The embodiment of the invention discloses a kind of method and device of many equipment browses document, to be reduced at the step of browsing document between multi-user installation.
For achieving the above object, the embodiment of the invention discloses a kind of method of many equipment browses document, described method comprises:
Receive the document browsing equipment choice request that first user equipment sends, in the request of described document browsing equipment choice, carry the mark of destination document and the mark of the second subscriber equipment;
According to the mark of described second subscriber equipment, to the second subscriber equipment sending out notice message, in described notification message, carry quick browsing information, described quick browsing information is for providing the quick browsing mode for destination document.
Preferably, described quick browsing information, comprising:
Automatically the instruction of described destination document is opened for triggering the second subscriber equipment;
Or
There is provided the information of user interface, described second subscriber equipment, according to the operation of user at this interface, opens described destination document.
Preferably, in described notification message, also carry destination document operating parameter;
Described destination document operating parameter, is provided for the second subscriber equipment and opens described destination document according to this operating parameter.
Preferably, described browsing apparatus is selected, in request, also to carry destination document operating parameter;
The destination document operating parameter that the destination document operating parameter carried in described notification message and browsing apparatus carry in selecting to ask is identical.
Preferably, described second subscriber equipment, comprising:
With the subscriber equipment that the account identical with first user device logs account logs in; Or
Not with the subscriber equipment that the account identical with first user device logs account logs in.
Preferably, when described second subscriber equipment is the subscriber equipment logged in the account identical with first user device logs account, before receiving the document browsing equipment choice request that first user equipment sends, also comprise:
The identification list of the subscriber equipment that acquisition logs in the account identical with first user device logs account;
The identification list of the subscriber equipment acquired is pushed, so that first user equipment determines the mark of the second subscriber equipment to first user equipment.
Preferably, described destination document, comprising:
At the document that first user equipment is opened; Or
Not at the document that first user equipment is opened.
For achieving the above object, the embodiment of the invention discloses a kind of device of many equipment browses document, described device comprises:
Request receiving module, for receiving the document browsing equipment choice request that first user equipment sends, in the request of described document browsing equipment choice, carries the mark of destination document and the mark of the second subscriber equipment;
Message push module, for the mark according to described second subscriber equipment, to the second subscriber equipment sending out notice message, in described notification message, carry quick browsing information, described quick browsing information is for providing the quick browsing mode for destination document.
Preferably, described message push module, comprising: quick browsing information pushes submodule;
Described quick browsing information pushes submodule, for the mark according to described second subscriber equipment, and the quick browsing information carried in the second subscriber equipment sending out notice message;
Described quick browsing information opens the instruction of described destination document automatically for triggering the second subscriber equipment; Or
There is provided the information of user interface, described second subscriber equipment, according to the operation of user at this interface, opens described destination document.
Preferably, described message push module, also comprises: destination document operating parameter pushes submodule;
Described destination document operating parameter pushes submodule, for the mark according to described second subscriber equipment, and the destination document operating parameter carried in the second subscriber equipment sending out notice message;
Described destination document operating parameter, is provided for the second subscriber equipment and opens described destination document according to this operating parameter.
Preferably, described request receiver module, comprising: destination document operating parameter receives submodule;
Described destination document operating parameter receives submodule, for receiving the destination document operating parameter carried in the document browsing equipment choice request of first user equipment transmission;
Described destination document operating parameter pushes destination document operating parameter that submodule pushes and destination document operating parameter, and to receive the destination document operating parameter that submodule receives identical.
Preferably, described message push module,
Specifically for the subscriber equipment sending out notice message logged in the account identical with first user device logs account; Or
Specifically for not with the subscriber equipment sending out notice message that the account identical with first user device logs account logs in.
Preferably, the device of described many equipment browses document also comprises: device identification list obtains module and device identification list pushing module;
Described device identification list obtains module, for when described message push module is to the subscriber equipment sending out notice message logged in the account identical with first user device logs account, before described request receiver module receives the document browsing equipment choice request that first user equipment sends, obtain the identification list of the subscriber equipment logged in the account identical with first user device logs account;
Described device identification list pushing module, for pushing the identification list of the subscriber equipment acquired to first user equipment, so that first user equipment determines the mark of the second subscriber equipment.
Preferably, described request receiver module, comprising: the mark of destination document receives submodule;
The mark of described destination document receives submodule, for receiving the mark of the destination document carried in the document browsing equipment choice request of first user equipment transmission;
Described destination document, comprising:
At the document that first user equipment is opened; Or
Not at the document that first user equipment is opened.
As seen from the above, in this programme, server end, according to the mark of the second subscriber equipment carried in the document browsing equipment choice request of the first user equipment transmission received, pushes quick browsing information to the second subscriber equipment, automatically opens destination document to trigger the second subscriber equipment.Compared with prior art, in this programme, without the need to manually searching at the second subscriber equipment and opening destination document, can realize at the second subscriber equipment document browsing, make many equipment browses document step simple, handled easily.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the method for a kind of many equipment browses document that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the method for another kind many equipment browses document that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the device of a kind of many equipment browses document that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the device of another kind many equipment browses document that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In prior art, user can by the same document of multiple subscriber equipment browser server end, but, after user opens the document by a certain subscriber equipment, when wanting to open the document on other subscriber equipment, can only transfer on this subscriber equipment, and with the login account logon server identical with aforementioned subscriber equipment, find the document at server end, then open the document by this subscriber equipment.Due in prior art, during striding equipment browsing document, complex steps, use inconvenience, for this reason, the present invention proposes a kind of method and device of striding equipment browsing document.
Below by specific embodiment, the present invention is described in detail.
The schematic flow sheet of the method for a kind of many equipment browses document that Fig. 1 provides for the embodiment of the present invention, the method comprises the following steps:
Step 101: receive the document browsing equipment choice request that first user equipment sends, in the request of described document browsing equipment choice, carry the mark of destination document and the mark of the second subscriber equipment.
Along with the development of the network communications technology, user can set up account at server end, and preserves document data under this account.When user needs to browse the document be stored under this account, log in this account by subscriber equipmenies such as computing machine, panel computer, mobile phones and can realize document browsing.
Wherein, the document be stored under server end account can be text document, video documents, audio documents, photo-document etc., and the application does not limit the particular type of document.
In the present embodiment, suppose, user is by first user device logs server end account C, and browse the document A be stored under this account, if user wants to transfer to when other subscriber equipmenies such as the second subscriber equipment continue browsing document A or other documents under being stored in account C, according to the method that the present embodiment provides, user can send the request of document browsing equipment choice by first user device-to-server end, after received server-side to document browsing equipment choice request, send a notification message to respective user equipment according to the content of this request again, so that respective user equipment opening document.
In the document browsing equipment choice request of user by the transmission of first user device-to-server end, at least need to carry the mark of destination document and the mark of the second subscriber equipment.Wherein, destination document is the document be stored under server end account C, can be at the document that first user equipment is opened, such as, and above-mentioned document A; Also can be not at the document that first user equipment is opened, such as, but once at the opened document do not opened at first user equipment at present of first user equipment or always not at the document that first user equipment is opened.The mark of destination document can be the title of destination document, the store path of destination document etc.The mark of the second subscriber equipment can be the title, IP address etc. of subscriber equipment.
What it will be appreciated by those skilled in the art that is, in the request of document browsing equipment choice except can carrying the mark of the second subscriber equipment, the mark of other subscriber equipmenies can also be carried again, that is, user can select browsing objective file on one or more non-first user equipment.
In addition, in above-mentioned document browsing equipment choice request, destination document operating parameter can also be carried, such as,
Open the application program (as: text editor, media play procedure etc.) of destination document,
Destination document browse starting point (as: start page of destination document, the 5th of destination document the page etc.) etc.
This destination document operating parameter is for identifying the unfolding mode of destination document, wherein, unfolding mode can be that the application program of specifying with certain opens destination document, also can be after opening destination document again according to this parameter jump directly forward to specify browse starting point etc.Such as: destination document operating parameter is the above-mentioned application program opening destination document, and when this value is specially text editor, then this destination document is opened with text editor; Destination document operating parameter be above-mentioned destination document browse starting point, and when this value is specially the 5th page of destination document, then after opening destination document, more directly jump to the 5th page of destination document according to this parameter.
Certainly, the application is just described for above-mentioned, and the information of carrying in destination document operating parameter and the request of document browsing equipment choice in practical application is not limited only to this.
In practical application, by first user equipment is determined, user treats that the second subscriber equipment of browsing objective document can be the subscriber equipment logged in the account identical with first user device logs account, such as, with the subscriber equipment of the login account C logon server end of first user equipment; Or not with the subscriber equipment that the account identical with first user device logs account logs in, such as, with the subscriber equipment of the account logon server end beyond the login account C of first user equipment, or there is no the subscriber equipment of logon server end.
Wherein, when the second subscriber equipment is the subscriber equipment logged in the account identical with first user device logs account, because server end can acquire the current customer equipment identification list logged in first user device logs account, so, first user equipment can after acquiring this customer equipment identification list from server end, be shown to user, so that user selects the second customer equipment identification wherein.
When the second subscriber equipment is the subscriber equipment do not logged in the account identical with first user device logs account, first user equipment needs the relation that first breaks the wall of mistrust with the second subscriber equipment, could send the request of document browsing equipment choice after obtaining the mandate of the second subscriber equipment to server end.In concrete application, this mandate generates often temporarily, and in order to ensure security, this mandate can also arrange come into force number of times and time of commencement etc.In this case, the mark of the second subscriber equipment carried in the request of document browsing equipment choice, can be obtained by modes such as scanning Quick Response Code, input validation code, query history records.
Step 102: according to the mark of described second subscriber equipment, to the second subscriber equipment sending out notice message, in described notification message, carries quick browsing information, and described quick browsing information is for providing the quick browsing mode for destination document.
After the document browsing equipment choice request that received server-side sends to first user equipment, this solicited message is resolved, obtain the identification information of the second subscriber equipment wherein carried, and generate the notification message waiting to be pushed to the second subscriber equipment, then push this notification message to the second subscriber equipment.When server end through resolve learn carry the mark of multiple subscriber equipment in the request of document browsing equipment choice time, server end generates after the notification message pushed, and the subscriber equipment of the mark correspondence of each subscriber equipment carried in request need be selected to push this notification message to the document browsing apparatus.
Wherein, need in above-mentioned notification message to carry quick browsing information.This quick browsing information can be the instruction of automatically opening described destination document for triggering the second subscriber equipment, after the second subscriber equipment receives quick browsing information, this information triggers the second subscriber equipment and opens destination document, and without the need to this destination document of user's manual unlocking.This quick browsing information can also be to provide the information of user interface, after the second subscriber equipment receives this information, user can operate at this interface, thus file destination opened by the second subscriber equipment, such as, when the information of the user interface that this quick browsing information provides is the link information of destination document, user can click this link, then the file destination of this link correspondence opened by the second subscriber equipment.Certainly, user also can be close this user interface information in the operation of this operation-interface, selects not open file destination.
In addition, in notification message except need carrying quick browsing information, destination document operating parameter can also be carried.The destination document operating parameter that the destination document operating parameter carried in notification message and the browsing apparatus in step 201 carry in selecting to ask is identical.When carrying destination document operating parameter in notification message, the second subscriber equipment opens destination document according to this operating parameter.
Such as, browsing apparatus select the destination document carried in request be designated a title amounting to the text document of 10 pages, destination document operating parameter be the 5th page of destination document for browsing starting point, then the quick browsing information carried in notification message to be instruction, destination document operating parameter that triggering second subscriber equipment is automatically opened this and amounted to the text document of 10 pages be the 5th page of destination document for browsing starting point.Automatically open after this amounts to the text document of 10 pages when the quick browsing information carried in notification message triggers the second subscriber equipment, the second subscriber equipment jumps to the 5th page of the document automatically according to destination document operating parameter.
Certainly, in practical application, notification message also can not carry destination document operating parameter, but server end record be stored in first user device logs account Documents viewed browse record, record the content browsing record and can set as the case may be.When needing in notification message to carry destination document operating parameter, can obtain from browsing record of each document.Such as, be stored in the text document having 10 pages altogether under server end account C, it is viewed to the 5th page recently that the browsing in record of its correspondence records the document, when carrying destination document operating parameter in the notification message that then server end generates, can according to the content browsing record, select target document function parameter be the 5th page of destination document for browsing starting point, automatically open after this amounts to the text document of 10 pages when the quick browsing information carried in notification message triggers the second subscriber equipment, second subscriber equipment jumps to the 5th page of the document automatically according to destination document operating parameter.Certainly, server end also can generate opens this instruction of the 5th page amounting to the text document of 10 pages automatically for triggering the second subscriber equipment, or be provided for opening this user interface information of the 5th page amounting to the text document of 10 pages as the quick browsing information carried in notification message, and without the need to carrying destination document operating parameter in an announcement message.
As seen from the above, in this programme, server end, according to the mark of the second subscriber equipment carried in the document browsing equipment choice request of the first user equipment transmission received, pushes quick browsing information to the second subscriber equipment, automatically opens destination document to trigger the second subscriber equipment.Compared with prior art, in this programme, without the need to manually searching at the second subscriber equipment and opening destination document, can realize at the second subscriber equipment document browsing, make many equipment browses document step simple, handled easily.
The schematic flow sheet of the method for another kind many equipment browses document that Fig. 2 provides for the embodiment of the present invention, the present embodiment, compared with embodiment illustrated in fig. 1, also comprised step 103 and step 104 before step 102.
Step 103: the identification list obtaining the subscriber equipment logged in the account identical with first user device logs account.
Step 104: the identification list pushing the subscriber equipment acquired to first user equipment, so that first user equipment determines the mark of the second subscriber equipment.
It should be noted that, in the present embodiment, in the document browsing equipment choice request that in step 101, the first user equipment of received server-side sends, the mark of the second subscriber equipment carried only can be selected from the mark of the subscriber equipment logged in the account identical with first user device logs account, namely can only from current to select the mark of the subscriber equipment of account C logon server end.
As seen from the above, in this programme, server end can be the list information that first user equipment provides the subscriber equipment identical with first user device logs account, first to break the wall of mistrust with the second subscriber equipment of destination document to be opened relation without the need to first user equipment, directly can obtain the mark of the second subscriber equipment, be convenient to user operation.
The structural representation of the device of a kind of many equipment browses document that Fig. 3 provides for the embodiment of the present invention, this device comprises: request receiving module 301 and message push module 302.
Wherein, request receiving module 301, for receiving the document browsing equipment choice request that first user equipment sends, in the request of described document browsing equipment choice, carries the mark of destination document and the mark of the second subscriber equipment;
Message push module 302, for the mark according to described second subscriber equipment, to the second subscriber equipment sending out notice message, in described notification message, carry quick browsing information, described quick browsing information is for providing the quick browsing mode for destination document.
In the present embodiment, described message push module 302 can comprise: quick browsing information pushes submodule (not shown).Wherein, quick browsing information pushes submodule, for the mark according to described second subscriber equipment, and the quick browsing information carried in the second subscriber equipment sending out notice message; Described quick browsing information opens the instruction of described destination document automatically for triggering the second subscriber equipment;
Or
There is provided the information of user interface, described second subscriber equipment, according to the operation of user at this interface, opens described destination document.
In another embodiment of the invention, described message push module 302 can also comprise: destination document operating parameter pushes submodule (not shown).Wherein, described destination document operating parameter pushes submodule, for the mark according to described second subscriber equipment, and the destination document operating parameter carried in the second subscriber equipment sending out notice message; Described destination document operating parameter, is provided for the second subscriber equipment and opens described destination document according to this operating parameter.
In another embodiment of the invention, described request receiver module 301 can also comprise: destination document operating parameter receives submodule (not shown).Wherein, described destination document operating parameter receives submodule, for receiving the destination document operating parameter carried in the document browsing equipment choice request of first user equipment transmission; Described destination document operating parameter pushes destination document operating parameter that submodule pushes and destination document operating parameter, and to receive the destination document operating parameter that submodule receives identical.
In the present embodiment, described message push module 302,
Specifically for the subscriber equipment sending out notice message logged in the account identical with first user device logs account; Or
Specifically for not with the subscriber equipment sending out notice message that the account identical with first user device logs account logs in.
In the present embodiment, described request receiver module 301 can comprise: the mark of destination document receives submodule (not shown).Wherein, the mark of described destination document receives submodule, for receiving the mark of the destination document carried in the document browsing equipment choice request of first user equipment transmission; Described destination document, comprising:
At the document that first user equipment is opened; Or
Not at the document that first user equipment is opened.
As seen from the above, in this programme, server end, according to the mark of the second subscriber equipment carried in the document browsing equipment choice request of the first user equipment transmission received, pushes quick browsing information to the second subscriber equipment, automatically opens destination document to trigger the second subscriber equipment.Compared with prior art, in this programme, without the need to manually searching at the second subscriber equipment and opening destination document, can realize at the second subscriber equipment document browsing, make many equipment browses document step simple, handled easily.
The structural representation of the device of another kind many equipment browses document that Fig. 4 provides for the embodiment of the present invention, the device that the present embodiment provides is compared with the device provided embodiment illustrated in fig. 3, and this device also comprises: device identification list obtains module 303 and device identification list pushing module 304.
Wherein, device identification list obtains module 303, for when described message push module is to the subscriber equipment sending out notice message logged in the account identical with first user device logs account, before described request receiver module receives the document browsing equipment choice request that first user equipment sends, obtain the identification list of the subscriber equipment logged in the account identical with first user device logs account.
Device identification list pushing module 304, for pushing the identification list of the subscriber equipment acquired to first user equipment, so that first user equipment determines the mark of the second subscriber equipment.
As seen from the above, in this programme, server end can be the list information that first user equipment provides the subscriber equipment identical with first user device logs account, first to break the wall of mistrust with the second subscriber equipment of destination document to be opened relation without the need to first user equipment, directly can obtain the mark of the second subscriber equipment, be convenient to user operation.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.