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.
Below by specific embodiment, the present invention is described in detail.
The process flow diagram of the method for a kind of sharing document that Fig. 1 provides for the embodiment of the present invention, the method comprises the following steps:
S101: receive the destination document that user uploads.
The webserver receives destination document that user uploads, that need to be shared with other users, such as, before a conference, conference speech person needs the electronic document of speech to be shared with other participants, this electronic document can be uploaded to the webserver by conference speech person, and the webserver receives this electronic document.
Wherein, described destination document can be text document, form document, photo-document, audio documents, video documents, or presentation file, and the embodiment of the present invention is not restricted this.
S102: the URL(uniform resource locator) generating corresponding described destination document.
The webserver, after receiving the destination document that user uploads, generates the URL(uniform resource locator) of corresponding described destination document.URL(uniform resource locator) (Uniform Resource Locator, URL) is a kind of expression succinctly of position to the resource that can obtain from internet and access method, is the address of standard resource on internet.Each document on internet has corresponding URL, its information of comprising of this URL not only can indicate the position of document, the equipment of this URL of access can also be indicated further to open corresponding document in which way, such as open with window/full-screen mode, open from a certain ad-hoc location (certain one page of text document, certain time point of media file) of document, etc.
Destination document share object, this URL(uniform resource locator) can be utilized to access the webserver at this destination document place, obtain destination document.Such as, the object of sharing of destination document uses the intelligent mobile terminal with network access functions, by the webserver at this URL(uniform resource locator) access destination document place, downloads or browse this destination document.
S103: generate the Quick Response Code mated with described URL(uniform resource locator).
The webserver utilizes Quick Response Code generation technique, the URL(uniform resource locator) generated in S102 is converted into the Quick Response Code mated with described URL(uniform resource locator), the present invention can adopt in prior art that URL(uniform resource locator) can be converted into the Quick Response Code generation technique of the Quick Response Code mated with URL(uniform resource locator) by any one, here, repeat no more.
S104: after the scan operation of subscriber equipment for described Quick Response Code being detected, provides the quick access mode of this destination document to described subscriber equipment.
After there is the Quick Response Code generated in the user equipment scans S103 of Quick Response Code scan function, the browser triggering described subscriber equipment utilizes the webserver at the URL(uniform resource locator) access destination document place of mating with described Quick Response Code, after this webserver detects the access action of browser, push the quick access mode of this destination document to described subscriber equipment.
In one embodiment of the present of invention, after the webserver detects the access action of browser, the quick access mode of this destination document is pushed to described subscriber equipment, specifically can comprise: the Download Info that destination document is provided to described subscriber equipment, or, the browsing information of destination document is provided to described subscriber equipment.
Wherein, the Download Info of destination document is provided to be specifically as follows to subscriber equipment: to provide the resource link downloading this destination document to subscriber equipment, sharing object by clicking this resource link, obtaining the downloading page downloading this destination document, or directly obtaining destination document.
There is provided the browsing information of this destination document to be specifically as follows to subscriber equipment: to provide the resource link browsing this destination document to subscriber equipment, sharing object by clicking this resource link, browsing the content of this destination document.
Wherein, described browsing content can be: the instruction of automatically opening described destination document for triggering described subscriber equipment.After subscriber equipment receives the instruction of automatically opening described destination document for triggering described subscriber equipment, directly open this destination document for sharing object.Such as, destination document be text document or video documents time, after user equipment scans Quick Response Code, sharing object does not need to do any operation again, can directly browse text document or video documents.
Described browsing content also can be: for providing the information of operation-interface, and described subscriber equipment, according to the operation of user at this interface, opens described destination document.Subscriber equipment, according to the information of user in the input of operation-interface, opens this destination document for sharing object.Said process is specially: after user equipment scans Quick Response Code, subscriber equipment can eject an interface for user operation, sharing object can according to the demand of oneself, the operating parameter that input is corresponding, server according to share the operating parameter determination destination document that object inputs unfolding mode, open content.
Such as, when destination document is text document, shares the corresponding operational parameter information opening text document the 5th page of object input, share the 5th page that object just directly can browse text document on a user device;
When destination document is video documents, share the corresponding operational parameter information playing video documents from the 5th minute of object input, share object and just can directly on a user device watch from the 5th minute of video documents.
As can be seen here, in this programme, by receiving the destination document that user uploads, generate the URL(uniform resource locator) of corresponding described destination document, generate the Quick Response Code mated with described URL(uniform resource locator), after the scan operation of subscriber equipment for described Quick Response Code being detected, provide the quick access mode of this destination document to described subscriber equipment.Compared with prior art, share object only need utilize there is Quick Response Code scan function user equipment scans described in Quick Response Code, can successfully obtain this destination document, operating process is simple, convenient.
The process flow diagram of the method for the another kind of sharing document that Fig. 2 provides for the embodiment of the present invention, the method comprises the following steps:
S101, S102 and S103 introduce in an embodiment before this invention, and here, the present embodiment repeats no more.
The present embodiment is the concrete expansion to previous embodiment, and S104a, S104b in the present embodiment are to the further refinement of the S104 in previous embodiment.
S104a: when Quick Response Code described in user equipment scans being detected, sends the information for pointing out user's input reference password to described subscriber equipment.
After there is the Quick Response Code generated in the user equipment scans S103 of Quick Response Code scan function, the browser triggering described subscriber equipment utilizes the webserver at the URL(uniform resource locator) access destination document place of mating with described Quick Response Code, after the webserver detects the access action of browser, push a user message to described subscriber equipment, this user message is for pointing out user's input reference password.
S104b: monitor the input content of user, if the input content of user is consistent with the access code preset, then provides the quick access mode of this destination document further to described subscriber equipment.
Wherein, described default access code can be: the password that the user uploading destination document is arranged.
Such as, when intra-company personnel share confidential document, when this confidential document is uploaded to the webserver by the uploader of confidential document, preset an access code, what access code notice was shared this confidential document by the uploader of confidential document shares object, the content sharing object input is consistent with the password preset, and can successfully obtain this confidential document.
As can be seen here, in this programme, increase the operation of a prompting user input reference password, share the access code of object input consistent with the password that the user uploading destination document is arranged time, ability is to sharing this destination document of Object Push.When destination document confidentiality requirement is higher, the present invention can meet the confidentiality requirement of destination document well.
The structural representation of the device of a kind of sharing document that Fig. 3 provides for the embodiment of the present invention, this device comprises: receiver module 301, first generation module 302, second generation module 303 and pushing module 304,
Wherein, receiver module 301, for receiving the destination document that user uploads;
First generation module 302, for generating the URL(uniform resource locator) of corresponding described destination document;
Second generation module 303, for generating the Quick Response Code mated with described URL(uniform resource locator);
Pushing module 304, after the scan operation of subscriber equipment for described Quick Response Code being detected, provides the quick access mode of this destination document to described subscriber equipment.
In embodiments of the present invention, described pushing module 304 provides the quick access mode of this destination document to described subscriber equipment, is specially:
The Download Info of this destination document is provided to described subscriber equipment,
Or,
The browsing information of this destination document is provided to described subscriber equipment.
Wherein, described browsing information comprises:
Automatically the instruction of described destination document is opened for triggering described subscriber equipment;
Or,
For providing the information of operation-interface, described subscriber equipment, according to the operation of user at this interface, opens described destination document.
Described destination document comprises: text document, form document, photo-document, audio documents, video documents, or presentation file.
As can be seen here, in this programme, by receiving the destination document that user uploads, generate the URL(uniform resource locator) of corresponding described destination document, generate the Quick Response Code mated with described URL(uniform resource locator), after the scan operation of subscriber equipment for described Quick Response Code being detected, provide the quick access mode of this destination document to described subscriber equipment.Compared with prior art, share object only need utilize there is Quick Response Code scan function user equipment scans described in Quick Response Code, can successfully obtain this destination document, operating process is simple, convenient.
In another embodiment, described pushing module 304, specifically for: when Quick Response Code described in user equipment scans being detected, send the information for pointing out user's input reference password to described subscriber equipment;
The input content of user is monitored, if the input content of user is consistent with the access code preset, then provides to described subscriber equipment the shortcut obtaining this destination document further.
Wherein, described preset password is the password that the user uploading destination document to server is arranged.
Described destination document comprises: text document, form document, photo-document, audio documents, video documents, or presentation file.
As can be seen here, in this programme, increase the operation of a prompting user input reference password, share the access code of object input consistent with the password that the user uploading destination document is arranged time, ability is to sharing this destination document of Object Push.When destination document confidentiality requirement is higher, the present invention can meet the requirement of destination document to confidentiality well.
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.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, 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.
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.