CN104637509B - A kind of method of content collection, server and terminal - Google Patents
A kind of method of content collection, server and terminal Download PDFInfo
- Publication number
- CN104637509B CN104637509B CN201310565582.3A CN201310565582A CN104637509B CN 104637509 B CN104637509 B CN 104637509B CN 201310565582 A CN201310565582 A CN 201310565582A CN 104637509 B CN104637509 B CN 104637509B
- Authority
- CN
- China
- Prior art keywords
- collection
- index
- user
- content
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/93—Document management systems
Abstract
The embodiment of the invention discloses a kind of method of content collection, server and terminal, the realization of wherein method include:Receive after the collection request that terminal request performs that the collection to content collection object operates, the interim collection index of increase in the corresponding collection index of the user, by the interim collection index record to handle state, send collection success message to the terminal and perform content collection processing;In content collection after treatment by the interim index modification of collecting for processing completion status.The program need not install special APP in terminal, reduce the use technical threshold of content collection function.After the foundation of server collection index can feedback collect successful message to terminal, the step of being established as two and separate of content collection processing and collection index so that whether server can rapidly inform that terminal is collected and succeed.The collection result synchronization seen in multiple terminals is allowed users to, improves the no-load speed of collection record.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of method of content collection, server and terminal.
Background technology
Based on content collection, generally customer end A pp is all used at present(Application, application program)To realize, scheme
It is as follows:
1st, user collects the URL of an article by the private client APP operated installed in terminal(Uniform
Resource Locator, universal resource locator).
2nd, client increases a collection record for the user's the favorites list automatically, and collection action is reported to backstage
Server.
3rd, after background server extracts successfully article cleaning, clean extraction result is returned to client, client is more
The content for the collection record being newly locally stored.
More than completing after three steps, article content that user can be clean after terminal is seen and being extracted.
Since above scheme is realized using customer end A pp, user open App every time i.e. it can be seen that before collection it is interior
Hold, easy to locally be stored in client to user data.However, have the disadvantage that:
If user want to check the content of collection on multi-platform, it is necessary to first install the platform support App, cause to use
Family is higher using threshold(Impression notes must be installed, impression notes must be also installed when browsing collection record to look into when collecting
See).Also, when user adds a collection record, synchronous relatively slow and inconsistency between each terminal, it may appear that user passes through
See collection record after A platforms App collections, do not view the situation for the record just collected yet from B platforms App.
The content of the invention
An embodiment of the present invention provides a kind of method of content collection, server and terminal, for reducing content collection
The use technical threshold of function, and improve the no-load speed of collection record.
A kind of method of content collection, including:
Server receives the collection request for performing the collection to content collection object from terminal request and operating;
Server is received after the collection request that terminal request performs that the collection to content collection object operates, in institute
The interim collection index of increase in the corresponding collection index of user is stated, by the interim collection index record to handle state,
Collection success message is sent to the terminal and performs content collection processing;
In content collection after treatment by the interim index modification of collecting for processing completion status.
A kind of method of content collection, including:
Terminal receives collection instruction input by user, and the collection instruction is assigned with content collection object;
Terminal to server sends collection request, and request performs the collection operation to the content collection object;
After the collection success message for receiving server, successfully prompt message is collected in displaying;
After content synchronization instruction input by user is received, the synchronization request of request results data is sent to server;
Receive the result data corresponding with the content collection object sent from server.
A kind of server, including:
Request reception unit, the collection for performing the collection operation to content collection object from terminal request for receiving please
Ask;
Control unit is indexed, is performed for being received in the request reception unit from terminal request to content collection pair
After the collection request of the collection operation of elephant, the interim collection index of increase, faces described in the corresponding collection index of the user
When collect index record to handle state, content collection after treatment will the interim collection index modification to handle
Completion status;
Be successfully transmitted unit, in the index control unit by the interim collection index record to handle shape
After state, collection success message is sent to the terminal;
Processing unit is collected, for starting to perform content collection in described be successfully transmitted when unit sends collection success message
Processing.
A kind of terminal, including:
Instruction reception unit, for receiving collection instruction input by user, the collection instruction is assigned with content collection pair
As;After content synchronization instruction input by user is received, the synchronization request of request results data is sent to server;
Request transmitting unit, for sending collection request to server, request, which performs, receives described instruction receiving unit
The collection operation of the content collection object arrived;
Display unit is prompted, for after the collection success message of server is received, successfully prompt message to be collected in displaying;
As a result receiving unit, for receiving the number of results corresponding with the content collection object sent from server
According to.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:The program need not pacify in terminal
Special APP is filled, reduces the use technical threshold of content collection function.Can feedback collection after the foundation of server collection index
Successful message is to terminal, and what content collection processing and collection indexed be established as two the step of separating so that server can be with
Rapidly inform whether terminal collection succeeds.The collection result synchronization seen in multiple terminals is allowed users to, improves collection
The no-load speed of record.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is present invention method flow diagram;
Fig. 2 is present invention method flow diagram;
Fig. 3 is present invention method flow diagram;
Fig. 4 is server architecture schematic diagram of the embodiment of the present invention;
Fig. 5 is server architecture schematic diagram of the embodiment of the present invention;
Fig. 6 is server architecture schematic diagram of the embodiment of the present invention;
Fig. 7 is server architecture schematic diagram of the embodiment of the present invention;
Fig. 8 is terminal structure schematic diagram of the embodiment of the present invention;
Fig. 9 is server architecture schematic diagram of the embodiment of the present invention;
Figure 10 is terminal structure schematic diagram of the embodiment of the present invention;
Figure 11 is terminal structure schematic diagram of the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, the present invention is made below in conjunction with attached drawing into
One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work
All other embodiment, belongs to the scope of protection of the invention.
An embodiment of the present invention provides a kind of method of content collection, as shown in Figure 1, including:
101A:Server receives the collection request for performing the collection to content collection object from terminal request and operating;
Collection request above, can be that user is sent in terminal by operating the general APP such as browser, specific to send out
The mode embodiment of the present invention is sent not to limit.
102A:Server receives the collection request for performing the collection to content collection object from terminal request and operating
Afterwards, increase collection index temporarily in the corresponding collection index of above-mentioned user, be to locate by above-mentioned interim index record of collecting
Reason state, sends collection success message to above-mentioned terminal and performs content collection processing;
In above example, interim collection index can directly transmit collection success message to terminal after establishing, this
Sample can make terminal collection need not be waited to be disposed, and can so improve speed of response of server.In addition also by the clothes on backstage
Business device processing collection request is separated with performing the process of content collection processing so that the process for performing content collection processing can be different
Step carries out.It is specific as follows:Alternatively, above-mentioned execution content collection processing includes:The collection of the above collection object will be grasped
The medium pending content collection processing in asynchronous process pond is sent to as instruction.
Further, may also need to carry out identity to the user of terminal before the server on backstage performs collection processing
Verification, it can be because of the verification that the purpose of authority is verified or identity determines, specifically such as to carry out proof of identity here
Under:Above-mentioned server also wraps after receiving the collection request that the collection operation to content collection object is performed from terminal request
Include:
Proof of identity is carried out to the user of above-mentioned terminal, if verification passes through, in the corresponding collection index of above-mentioned user
The interim collection index of increase.
Further, since proof of identity can sometimes cause verification to fail because of reasons such as user's input errors, in order to keep away
Exempt from once to verify unsuccessfully caused collection request refusal, an embodiment of the present invention provides following solution:If verification failure,
Carry out re-graduation to test, if still failing, refuse above-mentioned collection request.
Separately it should be noted that, the embodiment of the present invention carries out the number that re-graduation is tested, and can empirically be worth and be set, such as
Setting re-graduation is tested three times, is failed, and just breaks off relations collection request.Specific number, does not influence the realization of the embodiment of the present invention, the present invention
Embodiment not limits this.
Further, since the collection that user may repeat same content object, the embodiment of the present invention also carry
Following solution is supplied:It is above-mentioned to be further included in the corresponding collection index of above-mentioned user before the interim collection index of increase:
If verification pass through, it is determined that the above collection object whether be above-mentioned user repetition collection, if so, then upward
State terminal and send collection success message;If it is not, then increase interim collection index in the corresponding collection index of above-mentioned user.
Above scheme can be performed to avoid server repeat collection caused by unnecessary content collection process flow, can be with
Save system resource.In addition, in the case where duplicating collection, once it is to repeat to collect to confirm, then can be directly to end
The user at end returns to collection successfully as a result, the corresponding speed of so server also can be quickly.
103A:In content collection after treatment by above-mentioned interim index modification of collecting for processing completion status.
Above example, the program need not install special APP in terminal, reduce the use technology of content collection function
Threshold.After the foundation of server collection index can feedback collect successful message to terminal, content collection processing and collection rope
Draw be established as two separation the step of so that server can rapidly inform terminal collection whether succeed.Allow users to
It is synchronous in the collection result that multiple terminals are seen, improve the no-load speed of collection record.
Further, the embodiment of the present invention additionally provides, and collects the follow-up operational version of result, it is necessary to which explanation, interior
The use for holding the result data of collection is the step of user's synchronized result data are checked, is not what content collection post-processed
Steps necessary, should not be construed as solving the necessary technology scheme of technical solution of the embodiment of the present invention, specific as follows:The above method,
Further include:
If receiving the synchronization request of the user of above-mentioned terminal, the result data of content collection processing is sent to above-mentioned
Terminal.
Above example be on the content asynchronous refresh scheme based on content collection, can after user collects a record
See collection record in browser rapidly, and by asynchronous processing method, improve the entrance disposal ability of background server, at the same time
Triggering synchronous service is moved by using householder, asynchronous process result is synchronized to front end page displaying.Competing product with respect to customer end A pp
For, check that collection record threshold is low, and can check in time, asynchronous refresh front end page content.
The method that the embodiment of the present invention additionally provides another content collection, as shown in Fig. 2, including:
101B:Terminal receives collection instruction input by user, and above-mentioned collection is assigned with content collection object;
Collection instruction above, can be that user is sent in terminal by operating the general APP such as browser, specific to send out
The mode embodiment of the present invention is sent not to limit.
102B:Terminal to server sends collection request, and the collection that request performs to the above collection object operates;
So corresponding collection request above, can be that user passes through operation general APP hairs such as browser in terminal
Go out, the specific sending method embodiment of the present invention not limits.
In server-side, server receives the receipts for performing the collection to content collection object from terminal request and operating
After hiding request, the interim collection index of increase in the corresponding collection index of above-mentioned user, is by above-mentioned interim collection index record
State is being handled, collection success message is being sent to above-mentioned terminal and performs content collection processing;Terminate in content collection processing
It is afterwards processing completion status by above-mentioned interim collection index modification.
103B:After the collection success message for receiving server, successfully prompt message is collected in displaying;
104B:After content synchronization instruction input by user is received, the synchronization of request results data is sent to server
Request;
It should be noted that since the process of the processing and content collection processing of collection request is two flows, eventually
The user at end, which receives, collects successfully prompt message, is also not meant to that background server necessarily performs the content collection processing that is over
Whole flow process, therefore after this step sends synchronization request, might have two results:1st, collection index record is just temporarily
Processing state, then will receive background server be carrying out content collection processing process, the prompting that please be bear with,
2nd, collection index record is processing completion status temporarily, then server will collect the corresponding knot of object to terminal returned content
Fruit data.
105B:Receive the result data corresponding with the above collection object sent from server.
Above example, the program need not install special APP in terminal, reduce the use technology of content collection function
Threshold.After the foundation of server collection index can feedback collect successful message to terminal, content collection processing and collection rope
Draw be established as two separation the step of so that server can rapidly inform terminal collection whether succeed.Allow users to
It is synchronous in the collection result that multiple terminals are seen, improve the no-load speed of collection record.
The embodiment of the present invention can give Html5(Hypertext Markup Language, hypertext markup language)'s
WebApp(Webpage APP), user can be in any browser(Including mobile phone browser, Pad browsers, PC((personal
Computer, personal computer)Browser)Deng access http://sc.qq.com/ can view the note that user once collected
Record.
The embodiment of the present invention is the content asynchronous refresh scheme based on content collection, is one based on browser content collection
A backstage technical solution, realizes that user collects in the browser of any platform, can view user at the same time in any browser
Collection record.It is very low to browse threshold, as long as there is browser.
It is a set of client and the close knot in backstage as shown in Fig. 2, can be realized based on the apparatus bound scheme of Quick Response Code
The scheme of conjunction, is specifically described by example of browser below.Include the following steps:
201:The browser that user passes through any platform(Or other account numbers)Send the collection request of one article of collection.
202:User's collection request is sent to background server by browser client.
203:After background server receives collection request, proof of identity is carried out.
In this step, micro- collection can be based on instant messaging account, if proof of identity fails, prompt user to step on again
Record.If authentication is successfully entered in next step.
204:Pull the upper collection record of user with judge user whether repeat collect, if repeat collect, return bag to
Client, informs that user collects successfully.If without repeating to collect, into next step.
205:Index Cache is collected toward user(Cache memory)Increase by one temporarily for above-mentioned instant messaging account
Collection index(During state is wherein extracted to extract, bag is returned to client, informs that user collects successfully(It should be noted that:Herein
Increase collection record is that the instant messaging account is inserted into a record, and success rate almost 100%, takes within 10ms).Visitor
After bag is collected back at family end, Tips is played(Prompting)Inform that user collects successfully.
206:For background server while returning bag and being responded to client, by user this request, to be sent to event different
Handled in step processing pond.Mainly the Url of user's collection is extracted(Take higher, almost 1s), picture captures in advance(Effect is pre-
Picture after grabbing is placed in picture Cache, is hit Cache when user accesses picture, can be seen picture quickly), preserve extract
The interim index that content, renewal are write in step 205 for user(For example extraction state is set to and extracts successfully/failure).It is above-mentioned whole
A asynchronous process process total processing time is more than 1s.
If user by the collection content of the micro- collection of browser access, and pulls receipts during step 206 is performed and do not completed
Hide index.Then an index of newest collection can show in front of the user, while inform that user is being handled in this article.
After step 206 has been handled(It is general at most to wait 1-2 seconds)As long as user is in micro- collection page triggering synchronization request(Such as to
On pull it is more), the handling result of step 206 is just handed down to front end page by background server, and front end browser then updates use
The body matter that family has just been collected.
Separately refer to shown in Fig. 3, above procedure is divided into two parts, a part is request processing procedure, and a part is
Server background collects processing procedure, includes the following steps:
301:Server receives the collection request for carrying out self terminal, the object of request processing collection.
302:Server carries out proof of identity to the user of terminal.
303:Whether definite verification succeeds, and is then to enter 310, otherwise into 304.
304:Determine whether user is to specify user, be then to enter 305, otherwise for example whether being the collection of wechat/PC
Into 306;
305:Bookmark is read and write, subsequently into 306.
306:Pull index.This step establishes an interim index.
307:Determine whether to pull success, be then 308, otherwise into 310.
308:Determine whether URL is consistent, if so, into 310, if not, into 309.
This step determines whether identical collection.
309:Write index.This step is in the case of no identical collection, writes content in the index, and index is write herein
The content entered, original state are that extraction state is to handle.Then asynchronous triggering carries out server background collection processing procedure,
I.e. asynchronous triggering enters 311.
310:Return response bag.This step is whether the user of background server reply terminal collects success.
311:Determine collection type, then enter 312 if webpage URL, then enter 316 if picture URL.
312:Extraction operation is performed to webpage URL.
313:Determine to extract whether content is picture, if into 316, otherwise into 314.
314:Determine the need for retrying, if so, into 315, otherwise into 317.
315:Calling retries thread, subsequently into 312.
316:Picture processing is performed, into 318.
317:Carry out treatment of details.
318:Renewal index, written document content.This step need update step 309 in extraction state for extract successfully/
Failure, in addition will extract result(File content)Store.
From foregoing description it can be seen that the obvious advantage of the program, as follows:
1st, can be the interim index of user's addition from the background after user collects successfully, no matter user opens in what browser
Micro- collection, can see the record that he has just collected at once(Collection record background process is no more than 10ms), be not in that A is browsed
Device, which is opened, can be seen, and B browsers open the inconsistent situation that can't see.Meanwhile the processing time no more than 10ms allows from the background
User opens at once to be seen, will not be with for collection failure(Html5App, which is different from customer end A pp, to protect user data
There are local, Html5App is the implementation in full high in the clouds).
As long as the 2nd, after the completion of the processing of background server step 206, user triggers synchronous network request in the Html5 pages,
Handling result can be synchronized to front end page.
3rd, using asynchronous process pond, by time-consuming high processing(Extraction, picture processing etc.)Queuing in pond is all dropped into handle,
The disposal ability of background service entrance is improved, will not be extracted because of a request time-consuming too high and block processing thread, reduce industry
Business disposal ability.(This method is only applicable to the network request of undesired high real-time)
An embodiment of the present invention provides a kind of server, as shown in figure 4, including:
Request reception unit 401, for receiving the receipts for performing the collection to content collection object from terminal request and operating
Hide request;
Collection request above, can be that user is sent in terminal by operating the general APP such as browser, specific to send out
The mode embodiment of the present invention is sent not to limit.
Control unit 402 is indexed, is performed for being received in above-mentioned request reception unit 401 from terminal request to content
After the collection request for collecting the collection operation of object, the interim collection index of increase in the corresponding collection index of above-mentioned user will
Above-mentioned interim collection index record collects index modification temporarily to handle state, in content collection after treatment by above-mentioned
To handle completion status;
Be successfully transmitted unit 403, in above-mentioned index control unit 402 by above-mentioned interim collection index record for
After processing state, collection success message is sent to above-mentioned terminal;
Processing unit 404 is collected, for starting in above-mentioned be successfully transmitted when unit 403 sends collection success message in execution
Hold collection processing.
The program need not install special APP in terminal, reduce the use technical threshold of content collection function.Server
Collect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processing
The step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminals
The collection result arrived is synchronous, improves the no-load speed of collection record.
In above example, interim collection index can directly transmit collection success message to terminal after establishing, this
Sample can make terminal collection need not be waited to be disposed, and can so improve speed of response of server.In addition also by the clothes on backstage
Business device processing collection request is separated with performing the process of content collection processing so that the process for performing content collection processing can be different
Step carries out.It is specific as follows:Alternatively, above-mentioned collection processing unit 404, for sending collection in the above-mentioned unit 403 that is successfully transmitted
The medium pending content in asynchronous process pond will be sent to during success message to the collection operational order of the above collection object to receive
Tibetan is handled.
Further, may also need to carry out identity to the user of terminal before the server on backstage performs collection processing
Verification, it can be because of the verification that the purpose of authority is verified or identity determines, specifically such as to carry out proof of identity here
Under:As shown in figure 5, above-mentioned server further includes:
Verification unit 501, performs to content collection for being received in above-mentioned request reception unit 401 from terminal request
After the collection request of the collection operation of object, proof of identity is carried out to the user of above-mentioned terminal;
Above-mentioned index control unit 402, if passing through for the verification of above-mentioned verification unit, in the corresponding collection of above-mentioned user
The interim collection index of increase in index.
Further, since proof of identity can sometimes cause verification to fail because of reasons such as user's input errors, in order to keep away
Exempt from once to verify unsuccessfully caused collection request refusal, an embodiment of the present invention provides following solution:Above-mentioned verification unit
501, if being additionally operable to verification failure, carry out re-graduation and test, if still failing, refuse above-mentioned collection request.
Separately it should be noted that, the embodiment of the present invention carries out the number that re-graduation is tested, and can empirically be worth and be set, such as
Setting re-graduation is tested three times, is failed, and just breaks off relations collection request.Specific number, does not influence the realization of the embodiment of the present invention, the present invention
Embodiment not limits this.
Further, since the collection that user may repeat same content object, the embodiment of the present invention also carry
Following solution is supplied:As shown in fig. 6, above-mentioned server further includes:
Determination unit 601 is repeated, if passing through for the verification of above-mentioned verification unit, in above-mentioned index control unit 402 upper
State before increasing interim collection index in the corresponding collection index of user, determine whether the above collection object is above-mentioned user
Repetition collection;
It is above-mentioned to be successfully transmitted unit 403, if it is yes to be additionally operable to above-mentioned 601 definitive result of determination unit that repeats, to above-mentioned
Terminal sends collection success message;
Above-mentioned index control unit 402, if being no for above-mentioned 601 definitive result of determination unit that repeats, in above-mentioned use
The interim collection index of increase in the corresponding collection index in family.
Above scheme can be performed to avoid server repeat collection caused by unnecessary content collection process flow, can be with
Save system resource.In addition, in the case where duplicating collection, once it is to repeat to collect to confirm, then can be directly to end
The user at end returns to collection successfully as a result, the corresponding speed of so server also can be quickly.
Further, the embodiment of the present invention additionally provides, and collects the follow-up operational version of result, it is necessary to which explanation, interior
The use for holding the result data of collection is the step of user's synchronized result data are checked, is not what content collection post-processed
Steps necessary, should not be construed as solving the necessary technology scheme of technical solution of the embodiment of the present invention, specific as follows:As shown in fig. 7,
Above-mentioned server further includes:
Result data transmitting element 701, if the synchronization request of the user for receiving above-mentioned terminal, by content collection
The result data of processing is sent to above-mentioned terminal.
The embodiment of the present invention additionally provides a kind of terminal, as shown in figure 8, including:
Instruction reception unit 801, for receiving collection instruction input by user, above-mentioned collection is assigned with content collection
Object;After content synchronization instruction input by user is received, the synchronization request of request results data is sent to server;
Request transmitting unit 802, for sending collection request to server, request is performed to above-metioned instruction receiving unit
The collection operation of the 801 content collection objects received;
Display unit 803 is prompted, for after the collection success message of server is received, successfully prompting letter to be collected in displaying
Breath;
As a result receiving unit 804, for receiving the result corresponding with the above collection object sent from server
Data.
The program need not install special APP in terminal, reduce the use technical threshold of content collection function.Server
Collect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processing
The step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminals
The collection result arrived is synchronous, improves the no-load speed of collection record.
In server-side, server receives the receipts for performing the collection to content collection object from terminal request and operating
After hiding request, the interim collection index of increase in the corresponding collection index of above-mentioned user, is by above-mentioned interim collection index record
State is being handled, collection success message is being sent to above-mentioned terminal and performs content collection processing;Terminate in content collection processing
It is afterwards processing completion status by above-mentioned interim collection index modification.
It should be noted that since the process of the processing and content collection processing of collection request is two flows, eventually
The user at end, which receives, collects successfully prompt message, is also not meant to that background server necessarily performs the content collection processing that is over
Whole flow process, therefore after this step sends synchronization request, might have two results:1st, collection index record is just temporarily
Processing state, then will receive background server be carrying out content collection processing process, the prompting that please be bear with,
2nd, collection index record is processing completion status temporarily, then server will collect the corresponding knot of object to terminal returned content
Fruit data.
The embodiment of the present invention additionally provides another server, as shown in figure 9, including:Receiver 901, transmitter 902,
Processor 903 and memory 904;
Wherein, above-mentioned processor 904, receives content for receiving to perform from terminal request by above-mentioned receiver 901
Hide the collection request of the collection operation of object;What is operated is collected to content collection object receiving to perform from terminal request
After collection request, the interim collection index of increase in the corresponding collection index of above-mentioned user, by above-mentioned interim collection index record
To handle state, indicate that above-mentioned transmitter 902 sends collection success message to above-mentioned terminal and performs content collection processing;
In content collection after treatment by above-mentioned interim index modification of collecting for processing completion status.
Collection request above, can be that user is sent in terminal by operating the general APP such as browser, specific to send out
The mode embodiment of the present invention is sent not to limit.
The program need not install special APP in terminal, reduce the use technical threshold of content collection function.Server
Collect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processing
The step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminals
The collection result arrived is synchronous, improves the no-load speed of collection record.
In above example, interim collection index can directly transmit collection success message to terminal after establishing, this
Sample can make terminal collection need not be waited to be disposed, and can so improve speed of response of server.In addition also by the clothes on backstage
Business device processing collection request is separated with performing the process of content collection processing so that the process for performing content collection processing can be different
Step carries out.It is specific as follows:Alternatively, above-mentioned processor 904, includes for performing content collection processing:For will be to above-mentioned interior
The collection operational order for holding collection object is sent to the medium pending content collection processing in asynchronous process pond.
Alternatively, may also need to carry out identity school to the user of terminal before the server on backstage performs collection processing
Test, it can be because of the verification that the purpose of authority is verified or identity determines, specifically such as to carry out proof of identity here
Under:Above-mentioned processor 904, is additionally operable to receive and is asked from the collect collection that operates of the terminal request execution to content collection object
After asking, proof of identity is carried out to the user of above-mentioned terminal, if verification passes through, the increase in the corresponding collection index of above-mentioned user
Interim collection index.
Alternatively, since proof of identity can sometimes cause verification to fail because of reasons such as user's input errors, in order to avoid
Once collection request refusal caused by verification failure, an embodiment of the present invention provides following solution:Above-mentioned processor 904,
If being additionally operable to verification failure, carry out re-graduation and test, if still failing, refuse above-mentioned collection request.
Separately it should be noted that, the embodiment of the present invention carries out the number that re-graduation is tested, and can empirically be worth and be set, such as
Setting re-graduation is tested three times, is failed, and just breaks off relations collection request.Specific number, does not influence the realization of the embodiment of the present invention, the present invention
Embodiment not limits this.
Alternatively, since the collection that user may repeat same content object, the embodiment of the present invention also provide
Following solution:Above-mentioned processor 904, is additionally operable to the interim collection index of increase in the corresponding collection index of above-mentioned user
Before, if verification pass through, it is determined that the above collection object whether be above-mentioned user repetition collection, if, it indicates that on
State transmitter 902 and send collection success message to above-mentioned terminal;If it is not, then increase is faced in the corresponding collection index of above-mentioned user
When collection index.
Above scheme can be performed to avoid server repeat collection caused by unnecessary content collection process flow, can be with
Save system resource.In addition, in the case where duplicating collection, once it is to repeat to collect to confirm, then can be directly to end
The user at end returns to collection successfully as a result, the corresponding speed of so server also can be quickly.
Alternatively, the embodiment of the present invention additionally provides, and collects the follow-up operational version of result, it is necessary to explanation, content
The use of the result data of collection is the step of user's synchronized result data are checked, be not content collection post processing must
Step is wanted, should not be construed as solving the necessary technology scheme of technical solution of the embodiment of the present invention, it is specific as follows:Above-mentioned processor
904, if being additionally operable to receive the synchronization request of the user of above-mentioned terminal, the result data of content collection processing is sent to
State terminal.
The embodiment of the present invention additionally provides another terminal, as shown in Figure 10, including:Receiver 1001, transmitter 1002,
Processor 1003 and memory 1004;
Wherein, above-mentioned processor 1003, for receiving collection instruction input by user, above-mentioned collection is assigned with content
Collect object;Indicate that transmitter 1002 sends collection request to server, request performs the collection to the above collection object
Operation;After the collection success message of server is received by receiver 1101, successfully prompt message is collected in displaying;Receiving
After being instructed to content synchronization input by user, instruction transmitter 1002 sends the synchronization request of request results data to server;
The result data corresponding with the above collection object sent from server is received by receiver 1101.
The program need not install special APP in terminal, reduce the use technical threshold of content collection function.Server
Collect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processing
The step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminals
The collection result arrived is synchronous, improves the no-load speed of collection record.
In server-side, server receives the receipts for performing the collection to content collection object from terminal request and operating
After hiding request, the interim collection index of increase in the corresponding collection index of above-mentioned user, is by above-mentioned interim collection index record
State is being handled, collection success message is being sent to above-mentioned terminal and performs content collection processing;Terminate in content collection processing
It is afterwards processing completion status by above-mentioned interim collection index modification.
It should be noted that since the process of the processing and content collection processing of collection request is two flows, eventually
The user at end, which receives, collects successfully prompt message, is also not meant to that background server necessarily performs the content collection processing that is over
Whole flow process, therefore after this step sends synchronization request, might have two results:1st, collection index record is just temporarily
Processing state, then will receive background server be carrying out content collection processing process, the prompting that please be bear with,
2nd, collection index record is processing completion status temporarily, then server will collect the corresponding knot of object to terminal returned content
Fruit data.
The embodiment of the present invention additionally provides another terminal, as shown in figure 11, for convenience of description, illustrate only and this hair
The bright relevant part of embodiment, particular technique details do not disclose, refer to present invention method part.The terminal can be with
It is to include mobile phone, tablet computer, PDA(Personal Digital Assistant, personal digital assistant)、POS(Point of
Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, by taking terminal is mobile phone as an example:
Figure 11 is illustrated that the block diagram with the part-structure of the relevant mobile phone of terminal provided in an embodiment of the present invention.Reference chart
11, mobile phone includes:Radio frequency(Radio Frequency, RF)Circuit 1110, memory 1120, input unit 1130, display unit
1140th, sensor 1150, voicefrequency circuit 1160, Wireless Fidelity(Wireless fidelity, WiFi)Module 1170, processor
The component such as 1180 and power supply 1190.It will be understood by those skilled in the art that the handset structure shown in Figure 11 is not formed pair
The restriction of mobile phone, can include than illustrating more or fewer components, either combine some components or different component cloth
Put.
Each component parts of mobile phone is specifically introduced with reference to Figure 11:
RF circuits 1110 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information receives, handled to processor 1180;In addition, the data sending of uplink will be designed to base station.In general, RF circuits
1110 include but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier(Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuits 1110 can also be led to by wireless communication and network and other equipment
Letter.Above-mentioned wireless communication can use any communication standard or agreement, include but not limited to global system for mobile communications(Global
System of Mobile communication, GSM), general packet radio service(General Packet Radio
Service, GPRS), CDMA(Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access,WCDMA), Long Term Evolution(Long Term Evolution,
LTE), Email, Short Message Service(Short Messaging Service, SMS)Deng.
Memory 1120 can be used for storage software program and module, and processor 1180 is stored in memory by operation
1120 software program and module, so as to perform various function application and the data processing of mobile phone.Memory 1120 can be led
To include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function
Application program(Such as sound-playing function, image player function etc.)Deng;Storage data field can be stored uses institute according to mobile phone
The data of establishment(Such as voice data, phone directory etc.)Deng.Stored in addition, memory 1120 can include high random access
Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are consolidated
State memory device.
Input unit 1130 can be used for the numeral or character information for receiving input, and produce with the user setting of mobile phone with
And the key signals input that function control is related.Specifically, input unit 1130 may include contact panel 1131 and other inputs
Equipment 1132.Contact panel 1131, also referred to as touch-screen, collect user on it or neighbouring touch operation(Such as user
Use the behaviour of any suitable object such as finger, stylus or annex on contact panel 1131 or near contact panel 1131
Make), and corresponding attachment device is driven according to formula set in advance.Optionally, contact panel 1131 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 1180, and the order that processor 1180 is sent can be received and performed.In addition,
The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 1131.Except touch surface
Plate 1131, input unit 1130 can also include other input equipments 1132.Specifically, other input equipments 1132 can include
But it is not limited to physical keyboard, function key(Such as volume control button, switch key etc.), trace ball, mouse, in operation lever etc.
It is one or more.
Display unit 1140 is each available for the information and mobile phone for showing by information input by user or being supplied to user
Kind menu.Display unit 1140 may include display panel 1141, optionally, can use liquid crystal display(Liquid
Crystal Display, LCD), Organic Light Emitting Diode(Organic Light-Emitting Diode,OLED)Etc. form
To configure display panel 1141.Further, contact panel 1131 can cover display panel 1141, when contact panel 1131 detects
To processor 1180 on it or after neighbouring touch operation, is sent to determine the type of touch event, device is followed by subsequent processing
1180 provide corresponding visual output according to the type of touch event on display panel 1141.Although in fig. 11, touch surface
Plate 1131 and display panel 1141 are the components independent as two to realize the input of mobile phone and input function, but some
In embodiment, can be integrated by contact panel 1131 and display panel 1141 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1150, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 1141, proximity sensor can close display panel when mobile phone is moved in one's ear
1141 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions(Generally three axis)Add
The size of speed, can detect that size and the direction of gravity when static, the application available for identification mobile phone posture(Such as horizontal/vertical screen
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, percussion)Deng;As for mobile phone also
The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, details are not described herein.
Voicefrequency circuit 1160, loudspeaker 1161, microphone 1162 can provide the audio interface between user and mobile phone.Audio
The transformed electric signal of the voice data received can be transferred to loudspeaker 1161, is changed by loudspeaker 1161 by circuit 1160
Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 1162, by voicefrequency circuit 1160
Voice data is converted to after reception, then after voice data output processor 1180 is handled, through RF circuits 1110 to be sent to ratio
Such as another mobile phone, or voice data is exported to memory 1120 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1170
Part, browse webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 11 is shown
WiFi module 1170, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Become in the essential scope of invention and omit.
Processor 1180 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone,
By running or performing the software program and/or module that are stored in memory 1120, and call and be stored in memory 1120
Interior data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor
1180 may include one or more processing units;Preferably, processor 1180 can integrate application processor and modulation /demodulation processing
Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located
Manage wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1180.
Mobile phone further includes the power supply 1190 to all parts power supply(Such as battery), it is preferred that power supply can pass through power supply
Management system and processor 1180 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system
The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, the processor 1180 included by the terminal also has following functions:
Above-mentioned processor 1180, for receiving collection instruction input by user, above-mentioned collection is assigned with content collection
Object;Indicate to send collection request to server, the collection that request performs to the above collection object operates;Receiving clothes
It is engaged in after the collection success message of device, successfully prompt message is collected in displaying;After content synchronization instruction input by user is received, refer to
Show the synchronization request that request results data are sent to server;Receive and collect object pair with the above from server transmission
The result data answered.
The program need not install special APP in terminal, reduce the use technical threshold of content collection function.Server
Collect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processing
The step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminals
The collection result arrived is synchronous, improves the no-load speed of collection record.
It is worth noting that, in above-mentioned server and terminal embodiment, included unit is simply patrolled according to function
Collect what is divided, but be not limited to above-mentioned division, as long as corresponding function can be realized;In addition, each function list
The specific name of member is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
In addition, one of ordinary skill in the art will appreciate that realize all or part of step in above-mentioned each method embodiment
It is that relevant hardware can be instructed to complete by program, corresponding program can be stored in a kind of computer-readable recording medium
In, storage medium mentioned above can be read-only storage, disk or CD etc..
It these are only the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, it is any
Those familiar with the art the change that can readily occur in or replaces in the technical scope that the embodiment of the present invention discloses
Change, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim
Subject to enclosing.
Claims (9)
- A kind of 1. method of content collection, it is characterised in that including:Server receives the collection request for performing the collection to content collection object from terminal request and operating;Server is received after the collection request that terminal request performs that the collection to content collection object operates, and pulls user A upper collection record is to judge whether user repeats to collect, if repeating to collect, returns bag to the terminal, informs that user collects Success;If without repeating to collect, server interim collection index of increase in the corresponding collection index of the user, faces described When collect index record to handle state, send collection success message to the terminal and perform content collection processing;In content collection after treatment by the interim index modification of collecting for processing completion status;The method further includes:If receiving the synchronization request of the user of the terminal, the result data of content collection processing is sent to the end End;The execution content collection processing includes:The medium pending content collection processing in asynchronous process pond will be sent to the collection operational order of the content collection object;The URL collected to user is extracted, picture captures in advance, preserve extraction content and is updated to the interim receipts that the user writes Hide index;Determine whether the URL of user's collection is consistent, if it is not, then writing content in the index.
- 2. method according to claim 1, it is characterised in that the server is received to be performed to content from terminal request Further included after the collection request of the collection operation of collection object:Proof of identity is carried out to the user of the terminal, if verification passes through, the increase in the corresponding collection index of the user Interim collection index.
- 3. method according to claim 2, it is characterised in that further include:If verification failure, carries out re-graduation and test, if still failing, refuse the collection request.
- 4. according to Claims 2 or 3 the method, it is characterised in that the increase in the corresponding collection index of the user Further included before interim collection index:If verification pass through, it is determined that the content collection object whether be the user repetition collection, if so, then to the end End sends collection success message;If it is not, then increase interim collection index in the corresponding collection index of the user.
- A kind of 5. server, it is characterised in that including:Request reception unit, for receiving the collection request for performing the collection to content collection object from terminal request and operating;Control unit is indexed, is performed for being received in the request reception unit from terminal request to content collection object After the collection request of collection operation, the upper collection record of user is pulled to judge whether user repeats to collect, if repeating to collect, Bag is then returned to the terminal, informs that user collects successfully;If without repeating to collect, index the interim collection of interior increase in the corresponding collection of the user and index, by the collection temporarily The interim collection index modification is completed shape by index record to handle state, in content collection after treatment for processing State;Be successfully transmitted unit, in the index control unit by the interim collection index record to handle state Afterwards, collection success message is sent to the terminal;If receiving the synchronization request of the user of the terminal, the result data of content collection processing is sent to the end End;Processing unit is collected, for starting to perform at content collection in described be successfully transmitted when unit sends collection success message Reason;The collection processing unit, for it is described be successfully transmitted unit send collection success message when will be to the content collection The collection operational order of object is sent to the medium pending content collection processing in asynchronous process pond;The collection processing unit, specifically for being extracted to the URL that user collects, picture captures in advance, preserve extract content with And it is updated to the interim collection index that the user writes;Determine whether the URL of user's collection is consistent, if it is not, then writing content in the index.
- 6. server according to claim 5, it is characterised in that further include:Verification unit, for receiving the collection performed from terminal request to content collection object in the request reception unit After the collection request of operation, proof of identity is carried out to the user of the terminal;The index control unit, if passing through for verification unit verification, in the corresponding collection index of the user The interim collection index of increase.
- 7. server according to claim 6, it is characterised in thatThe verification unit, if being additionally operable to verification failure, carries out re-graduation and tests, if still failing, refuses the collection request.
- 8. according to the server of claim 6 or 7, it is characterised in that further include:Determination unit is repeated, if passing through for verification unit verification, is corresponded in the index control unit in the user Collection index in before the interim collection index of increase, determine whether the content collection object is that the repetition of the user is received Hide;It is described to be successfully transmitted unit, if it is yes to be additionally operable to the determination unit definitive result that repeats, sends and receive to the terminal Hide success message;The index control unit, if being no for the determination unit definitive result that repeats, in the corresponding receipts of the user Hide the interim collection index of increase in index.
- 9. according to the server of claim 6 or 7, it is characterised in that further include:Result data transmitting element, if the synchronization request of the user for receiving the terminal, by content collection processing Result data is sent to the terminal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310565582.3A CN104637509B (en) | 2013-11-13 | 2013-11-13 | A kind of method of content collection, server and terminal |
PCT/CN2014/089563 WO2015070698A1 (en) | 2013-11-13 | 2014-10-27 | Content collecting method, server and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310565582.3A CN104637509B (en) | 2013-11-13 | 2013-11-13 | A kind of method of content collection, server and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104637509A CN104637509A (en) | 2015-05-20 |
CN104637509B true CN104637509B (en) | 2018-04-27 |
Family
ID=53056749
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310565582.3A Active CN104637509B (en) | 2013-11-13 | 2013-11-13 | A kind of method of content collection, server and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104637509B (en) |
WO (1) | WO2015070698A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104899270A (en) * | 2015-05-26 | 2015-09-09 | 惠州Tcl移动通信有限公司 | Intelligent terminal and information storage method for same |
CN105930343A (en) * | 2016-04-03 | 2016-09-07 | 北京设集约科技有限公司 | Method and system for quoting favorited APP content |
CN109683786A (en) * | 2018-12-25 | 2019-04-26 | 北京微播视界科技有限公司 | Update method, electronic equipment and the computer storage medium of user interface information |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080056A (en) * | 2006-12-21 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A management method and system of network browser collection folder of mobile terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184302A (en) * | 2007-12-27 | 2008-05-21 | 中兴通讯股份有限公司 | Method for implementing favorite of Java virtual machine in mobile phone |
JP5416023B2 (en) * | 2010-04-15 | 2014-02-12 | ヤフー株式会社 | Reading terminal and method |
CN106126630B (en) * | 2011-03-29 | 2019-11-05 | 阿里巴巴集团控股有限公司 | A kind of collection of business object, searching method and device |
-
2013
- 2013-11-13 CN CN201310565582.3A patent/CN104637509B/en active Active
-
2014
- 2014-10-27 WO PCT/CN2014/089563 patent/WO2015070698A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080056A (en) * | 2006-12-21 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A management method and system of network browser collection folder of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104637509A (en) | 2015-05-20 |
WO2015070698A1 (en) | 2015-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109462692A (en) | Split screen display available operating method, mobile terminal and computer readable storage medium | |
CN104159140B (en) | A kind of methods, devices and systems of Video processing | |
CN103501485B (en) | Push the method, apparatus and terminal device of application | |
US10956653B2 (en) | Method and apparatus for displaying page and a computer storage medium | |
CN106022060B (en) | A kind of unlocked by fingerprint control method and equipment | |
CN108965587A (en) | A kind of message prompt method, device and equipment | |
CN109408150A (en) | It is a kind of to apply loading method and mobile terminal fastly | |
CN103336838B (en) | A kind of processing method of webpage, device and terminal device | |
WO2014194688A1 (en) | Webpage processing method and terminal device | |
CN109656827A (en) | A kind of control tree generation method and terminal device | |
CN104699501B (en) | A kind of method and device for running application program | |
CN107370670A (en) | Unread message extracts methods of exhibiting and device | |
CN109871358A (en) | A kind of management method and terminal device | |
CN107817988A (en) | The management method and Related product of PUSH message | |
CN107766358A (en) | The method and relevant apparatus that a kind of page is shared | |
CN105868319B (en) | Webpage loading method and device | |
CN109656510A (en) | The method and terminal of voice input in a kind of webpage | |
CN104637509B (en) | A kind of method of content collection, server and terminal | |
CN109145088A (en) | A kind of searching method and private tutor's machine based on private tutor's machine | |
CN109491670A (en) | A kind of page display method and terminal device | |
CN109710338A (en) | A kind of searching method of mobile terminal, mobile terminal and storage medium | |
CN105187944B (en) | A kind of method and apparatus to Show Status Bar | |
CN110069458A (en) | Method, equipment and the storage medium of invalid resource in a kind of deletion Android system | |
CN105094872B (en) | A kind of method and apparatus showing web application | |
CN107993300A (en) | A kind of Work attendance method and device based on intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |