A kind of method and device of more equipment browse documents
Technical field
The present invention relates to network communication field, in particular to a kind of method and device of more equipment browse documents.
Background technique
With the fast development of network communication technology, user can pass through the multiple users of computer, tablet computer, mobile phone etc.
The same document of equipment browse server end.For example, after user opens the document X of server end by user equipment A, also
The document can be opened again by user equipment B.
In the prior art, when user opens document X by user equipment B, first choice need to be by user equipment B with identical as A
Login account login service device end, and find document X in server end, then open the document in user equipment B.
As seen from the above, after document X of the user in user equipment A opening server end, then opening in user equipment B should
When document, user directly can not control user equipment B by user equipment A and open the document, and need to be transferred on user equipment B
The document is searched and opens manually, therefore, prior art complex steps lack convenience.
Summary of the invention
The embodiment of the invention discloses a kind of method and devices of more equipment browse documents, to simplify between multi-user installation
The step of browsing document.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of method of more equipment browse documents, the method packets
It includes:
Receive the document browsing equipment selection request of the first user equipment transmission, the document browsing equipment selection request
In, carry the mark of destination document and the mark of second user equipment;
According to the mark of the second user equipment, to second user equipment sending out notice message, in the notification message,
Carrying rapidly views information, described to rapidly view information and rapidly view mode for destination document for providing.
Preferably, described rapidly view information, comprising:
The instruction of the destination document is automatically opened for triggering second user equipment;
Or
The information of user interface is provided, the second user equipment, in the operation of the interface, opens institute according to user
State destination document.
Preferably, also carrying destination document operating parameter in the notification message;
The destination document operating parameter is used for so that second user equipment opens the target text according to the operating parameter
Shelves.
Preferably, also carrying destination document operating parameter in the browsing apparatus selection request;
The target text carried in destination document operating parameter and browsing apparatus the selection request carried in the notification message
Shelves operating parameter is identical.
Preferably, the second user equipment, comprising:
The user equipment logged in account identical with the first user equipment login account;Or
The user equipment not logged in account identical with the first user equipment login account.
Preferably, being the use logged in account identical with the first user equipment login account in the second user equipment
In the case where the equipment of family, before the document browsing equipment selection request for receiving the transmission of the first user equipment, further includes:
Obtain the identification list of the user equipment logged in account identical with the first user equipment login account;
The identification list of acquired user equipment is pushed, to the first user equipment in order to which the first user equipment determines
The mark of second user equipment.
Preferably, the destination document, comprising:
The document opened in the first user equipment;Or
The document that do not opened in the first user equipment.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of device of more equipment browse documents, described device packets
It includes:
Request receiving module, for receiving the document browsing equipment selection request of the first user equipment transmission, the document
In browsing apparatus selection request, the mark of destination document and the mark of second user equipment are carried;
Message pushing module disappears for the mark according to the second user equipment to second user equipment sending out notice
It ceases, in the notification message, carrying rapidly views information, and the information that rapidly views is for providing for the quick of destination document
Browsing mode.
Preferably, the message pushing module, comprising: rapidly view information push submodule;
It is described to rapidly view information push submodule, for the mark according to the second user equipment, to second user
What is carried in equipment sending out notice message rapidly views information;
The information that rapidly views is for triggering the instruction that second user equipment automatically opens the destination document;Or
The information of user interface is provided, the second user equipment, in the operation of the interface, opens institute according to user
State destination document.
Preferably, the message pushing module, further includes: destination document operating parameter pushes submodule;
The destination document operating parameter pushes submodule, for the mark according to the second user equipment, to second
The destination document operating parameter carried in user equipment sending out notice message;
The destination document operating parameter is used for so that second user equipment opens the target text according to the operating parameter
Shelves.
Preferably, the request receiving module, comprising: destination document operating parameter receiving submodule;
The destination document operating parameter receiving submodule, for receiving the document browsing equipment of the first user equipment transmission
The destination document operating parameter carried in selection request;
The destination document operating parameter of the destination document operating parameter push submodule push and destination document operation are joined
The number received destination document operating parameter of receiving submodule is identical.
Preferably, the message pushing module,
Specifically for disappearing to the user equipment sending out notice logged in account identical with the first user equipment login account
Breath;Or
Specifically for not with the user equipment sending out notice of account identical with the first user equipment login account login
Message.
Preferably, the device of more equipment browse documents further include: device identification list obtains module and device identification
List pushing module;
The device identification list obtains module, is used in the message pushing module to log in the first user equipment
In the case where the user equipment sending out notice message that the identical account of account logs in, the request receiving module receives the first user
Before the document browsing equipment selection request that equipment is sent, obtain with account identical with the first user equipment login account login
User equipment identification list;
The device identification list pushing module, for pushing the mark of acquired user equipment to the first user equipment
List is known, in order to which the first user equipment determines the mark of second user equipment.
Preferably, the request receiving module, comprising: the mark receiving submodule of destination document;
The mark receiving submodule of the destination document, for receiving the document browsing equipment choosing of the first user equipment transmission
Select the mark of the destination document carried in request;
The destination document, comprising:
The document opened in the first user equipment;Or
The document that do not opened in the first user equipment.
As seen from the above, in the present solution, server end is set according to the document browsing that the first user equipment received is sent
The mark of second user equipment carried in alternative request rapidly views information to the push of second user equipment, to trigger the
Two user equipmenies automatically open destination document.Compared with prior art, in the present solution, without being searched manually in second user equipment
And destination document is opened, it can be realized and browsed in second user device's document, so that more equipment browse document steps are simple, it is convenient
Operation.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the method for more equipment browse documents provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the method for the more equipment browse documents of another kind provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the device of more equipment browse documents provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the device of the more equipment browse documents of another kind provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In the prior art, user still can work as user by the same document at multiple user equipment browser servers end
After opening the document by a certain user equipment, want that the user can only be transferred to when opening the document on other user equipmenies
In equipment, and with login account login service device identical with aforementioned user equipment, the document is found in server end, then pass through
The user equipment opens the document.It is complex steps, inconvenient to use when striding equipment browsing document due in the prior art, be
This, the invention proposes a kind of method and devices of striding equipment browsing document.
Below by specific embodiment, the present invention is described in detail.
Fig. 1 is a kind of flow diagram of the method for more equipment browse documents provided in an embodiment of the present invention, this method packet
Include following steps:
Step 101: receiving the document browsing equipment that the first user equipment is sent and select request, the document browsing equipment choosing
It selects in request, carries the mark of destination document and the mark of second user equipment.
With the development of network communication technology, user can establish account in server end, and text is saved under the account
File data.When user, which needs to browse, is stored in the document under the account, set by users such as computer, tablet computer, mobile phones
Document browsing can be realized in the standby account that logs in.
Wherein, the document being stored under server end account can be text document, video documents, audio documents, picture
Document etc., the application do not limit the concrete type of document.
In the present embodiment, it is assumed that user browses by the first user equipment login service device end account C and is stored in this
Document A under account, if user, which wants to be transferred to, continues browsing document A or storage in the other users equipment such as second user equipment
When other documents under account C, according to method provided in this embodiment, user can be by the first user equipment to server
End sends the selection request of document browsing equipment, after received server-side to document browsing equipment selects request, further according to the request
Content send a notification message to respective user equipment, in order to respective user equipment open document.
User, into the document browsing equipment selection request that server end is sent, at least needs to carry by the first user equipment
The mark of destination document and the mark of second user equipment.Wherein, destination document is the text being stored under server end account C
Shelves can be the document opened in the first user equipment, for example, above-mentioned document A;It is also possible to not beat in the first user equipment
The document opened, for example, it is once opened in the first user equipment but at present not the first user equipment open document or from
Carry out document not opened in the first user equipment.The mark of destination document can be the title of destination document, destination document
Store path etc..The mark of second user equipment can be title, IP address of user equipment etc..
It will be appreciated by those skilled in the art that in addition to the second use can be carried in the selection request of document browsing equipment
Except the mark of family equipment, the mark of other users equipment can also be carried again, that is to say, that user can choose at one or
Browsing objective file on multiple non-first user equipmenies.
In addition, destination document operating parameter can also be carried in above-mentioned document browsing equipment selection request, for example,
The application program (such as: text editor, media play procedure) of opening destination document,
Browsing starting point (such as: page 5 of the start page of destination document, destination document) of destination document etc..
The destination document operating parameter is used to identify the unfolding mode of destination document, wherein unfolding mode can be with certain
The specified application program of kind opens destination document, is also possible to pass directly to specify further according to parameter jump after opening destination document
Browsing starting point etc..Such as: destination document operating parameter is the application program of above-mentioned opening destination document, and the value has
When body is text editor, then the destination document is opened with text editor;Destination document operating parameter is above-mentioned mesh
The browsing starting point of document is marked, and when the value is specially page 5 of destination document, then after opening destination document, further according to the ginseng
Number jumps directly to page 5 of destination document.
Certainly, the application is only illustrated for above-mentioned, destination document operating parameter and document in practical application
The information carried in browsing apparatus selection request is not limited only to this.
In practical application, user can by the second user equipment determined by the first user equipment to browsing objective document
To be the user equipment logged in account identical with the first user equipment login account, for example, stepping on the first user equipment
Record the user equipment at account C login service device end;Or the use not logged in account identical with the first user equipment login account
Family equipment, for example, with the user equipment at the account login service device end other than the login account C of the first user equipment, or do not have
The user equipment at login service device end.
It wherein, is the user equipment logged in account identical with the first user equipment login account in second user equipment
In the case where, since server end can acquire the customer equipment identification column currently logged in the first user equipment login account
Table, so, the first user equipment can be shown to user after acquiring the customer equipment identification list from server end, with
Just user selects second user device identification wherein.
It is the user equipment not logged in account identical with the first user equipment login account in second user equipment
In the case of, the first user equipment needs first to establish trusting relationship with second user equipment, obtains ability after the authorization of second user equipment
The selection request of document browsing equipment can be sent to server end.In specific application, what this authorization often temporarily generated, it is
Come into force number and time of commencement etc. can also be arranged in guarantee safety, this authorization.In this case, document browsing equipment is selected
The mark of the second user equipment carried in request is selected, it can be by scanning the two-dimensional code, inputting identifying code, query history record etc.
Mode obtains.
Step 102: described logical to second user equipment sending out notice message according to the mark of the second user equipment
Know in message, carrying rapidly views information, described to rapidly view information and rapidly view mode for destination document for providing.
After the document browsing equipment selection request that received server-side is sent to the first user equipment, to the solicited message into
Row parsing, obtains the identification information of the second user equipment wherein carried, and generates the notice of second user equipment to be pushed to
Message, then the notification message is pushed to second user equipment.When server end learns the selection request of document browsing equipment through parsing
In when carrying the mark of multiple user equipmenies, server end generates after the notification message pushed, need to browse and set to the document
The corresponding user equipment of mark of each user equipment carried in alternative request pushes the notification message.
Wherein, it needs to carry in above-mentioned notification message and rapidly views information.This rapidly views information and can be for triggering the
Two user equipmenies automatically open the instruction of the destination document, after second user equipment, which receives, rapidly views information, the letter
Breath triggering second user equipment opens destination document, opens the destination document manually without user.This rapidly views information also
The information of user interface can be to provide, after second user equipment receives the information, user can the interface into
Row operation, so that second user equipment opens file destination, for example, this rapidly views user interface provided by information
When information is the link information of destination document, user can click the link, then it is corresponding to open the link for second user equipment
File destination.Certainly, user is also possible to close the user interface information in the operation of the operation interface, and selection is not opened
File destination.
In addition, destination document operating parameter can also be carried in notification message other than it need to carry and rapidly view information.It is logical
Know that the destination document carried in the browsing apparatus selection request in the destination document operating parameter carried in message and step 201 is grasped
It is identical to make parameter.When carrying destination document operating parameter in notification message, second user equipment is beaten according to the operating parameter
Open destination document.
For example, the name for being identified as a total text document for page 10 of the destination document carried in browsing apparatus selection request
, destination document operating parameter be referred to as page 5 of destination document be browsing starting point, then what is carried in notification message rapidly views letter
Breath is that triggering second user equipment automatically opens the instruction of total text document of page 10, destination document operating parameter is target
Page 5 of document is browsing starting point.When the information triggering second user equipment that rapidly views carried in notification message is beaten automatically
After opening total page 10 of the text document, second user equipment automatic jumps to the of the document according to destination document operating parameter
Page 5.
Certainly, in practical application, notification message can not also carry destination document operating parameter, but remember in server end
It records and is stored in the browsing record that the first user equipment login account Documents are browsed, the content for recording browsing record can root
It is set according to concrete condition.It, can be from the browsing of each document when needing to carry destination document operating parameter in notification message
It is obtained in record.For example, be stored under server end account C total has the text documents of page 10, corresponding browsing record
Middle record has the document to be browsed to page 5 recently, then destination document operation is carried in the notification message that server end generates
When parameter, the content that can be recorded according to browsing, selection target document function parameter be that page 5 of destination document is browsing starting
Point, when the information triggering second user equipment that rapidly views carried in notification message automatically opens total text document of page 10
Afterwards, second user equipment automatic jumps to page 5 of the document according to destination document operating parameter.Certainly, server end can also
The instruction of page 5 of total text document of page 10 is automatically opened for triggering second user equipment to generate, or use is provided
It is quick clear as what is carried in notification message in the user interface information of page 5 for opening total text document of page 10
Information is look at, without carrying destination document operating parameter in an announcement message.
As seen from the above, in the present solution, server end is set according to the document browsing that the first user equipment received is sent
The mark of second user equipment carried in alternative request rapidly views information to the push of second user equipment, to trigger the
Two user equipmenies automatically open destination document.Compared with prior art, in the present solution, without being searched manually in second user equipment
And destination document is opened, it can be realized and browsed in second user device's document, so that more equipment browse document steps are simple, it is convenient
Operation.
Fig. 2 is the flow diagram of the method for the more equipment browse documents of another kind provided in an embodiment of the present invention, this implementation
Example further includes step 103 and step 104 before step 102 compared with embodiment illustrated in fig. 1.
Step 103: obtaining the identity column of the user equipment logged in account identical with the first user equipment login account
Table.
Step 104: pushing the identification list of acquired user equipment, to the first user equipment in order to the first user
Equipment determines the mark of second user equipment.
It should be noted that in the present embodiment, the document of the first user equipment transmission of received server-side in step 101
Browsing apparatus selection request in, the mark of the second user equipment of carrying only can from with the first user equipment login account phase
It is selected in the mark for the user equipment that same account logs in, i.e., it can only be from currently with the user equipment at account C login service device end
Mark in select.
As seen from the above, in the present solution, server end can provide for the first user equipment logs in account with the first user equipment
The list information of number identical user equipment is first built with the second user equipment of destination document to be opened without the first user equipment
Vertical trusting relationship, can directly obtain the mark of second user equipment, convenient for the user to operate.
Fig. 3 is a kind of structural schematic diagram of the device of more equipment browse documents provided in an embodiment of the present invention, the device packet
It includes: request receiving module 301 and message pushing module 302.
Wherein, request receiving module 301, for receiving the document browsing equipment selection request of the first user equipment transmission,
In the document browsing equipment selection request, the mark of destination document and the mark of second user equipment are carried;
Message pushing module 302, for the mark according to the second user equipment, to second user equipment sending out notice
Message, in the notification message, carrying rapidly views information, and the information that rapidly views is for providing for the fast of destination document
Prompt browsing mode.
In the present embodiment, the message pushing module 302 may include: to rapidly view information push submodule (in figure
It is not shown).Wherein, information push submodule is rapidly viewed, for the mark according to the second user equipment, to second user
What is carried in equipment sending out notice message rapidly views information;The information that rapidly views is for trigger second user equipment automatic
Open the instruction of the destination document;
Or
The information of user interface is provided, the second user equipment, in the operation of the interface, opens institute according to user
State destination document.
In another embodiment of the invention, the message pushing module 302 can also include: destination document operating parameter
Push submodule (not shown).Wherein, the destination document operating parameter pushes submodule, for using according to described second
The mark of family equipment, the destination document operating parameter carried into second user equipment sending out notice message;The destination document
Operating parameter is used for so that second user equipment opens the destination document according to the operating parameter.
In another embodiment of the invention, the request receiving module 301 can also include: destination document operating parameter
Receiving submodule (not shown).Wherein, the destination document operating parameter receiving submodule is set for receiving the first user
The destination document operating parameter carried in the document browsing equipment selection request that preparation is sent;The destination document operating parameter push
The received destination document operation of the destination document operating parameter and destination document operating parameter receiving submodule of submodule push is joined
Number is identical.
In the present embodiment, the message pushing module 302,
Specifically for disappearing to the user equipment sending out notice logged in account identical with the first user equipment login account
Breath;Or
Specifically for not with the user equipment sending out notice of account identical with the first user equipment login account login
Message.
In the present embodiment, the request receiving module 301 may include: the mark receiving submodule (figure of destination document
In be not shown).Wherein, the mark receiving submodule of the destination document, the document for receiving the transmission of the first user equipment are clear
The mark of the destination document carried in equipment of looking at selection request;The destination document, comprising:
The document opened in the first user equipment;Or
The document that do not opened in the first user equipment.
As seen from the above, in the present solution, server end is set according to the document browsing that the first user equipment received is sent
The mark of second user equipment carried in alternative request rapidly views information to the push of second user equipment, to trigger the
Two user equipmenies automatically open destination document.Compared with prior art, in the present solution, without being searched manually in second user equipment
And destination document is opened, it can be realized and browsed in second user device's document, so that more equipment browse document steps are simple, it is convenient
Operation.
Fig. 4 is the structural schematic diagram of the device of the more equipment browse documents of another kind provided in an embodiment of the present invention, this implementation
The device that example provides is compared with the device that embodiment illustrated in fig. 3 provides, the device further include: device identification list obtains module
303 and device identification list pushing module 304.
Wherein, device identification list obtain module 303, for the message pushing module to with the first user equipment
In the case where the user equipment sending out notice message that the identical account of login account logs in, the request receiving module receives first
Before the document browsing equipment selection request that user equipment is sent, obtain with account identical with the first user equipment login account
The identification list of the user equipment of login.
Device identification list pushing module 304, for pushing the mark of acquired user equipment to the first user equipment
List is known, in order to which the first user equipment determines the mark of second user equipment.
As seen from the above, in the present solution, server end can provide for the first user equipment logs in account with the first user equipment
The list information of number identical user equipment is first built with the second user equipment of destination document to be opened without the first user equipment
Vertical trusting relationship, can directly obtain the mark of second user equipment, convenient for the user to operate.
For device embodiment, since it is substantially similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization above method embodiment is can
It is completed with instructing relevant hardware by program, the program can store in computer-readable storage medium,
The storage medium designated herein obtained, such as: ROM/RAM, magnetic disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.