Movatterモバイル変換


[0]ホーム

URL:


CN104637509B - A kind of method of content collection, server and terminal - Google Patents

A kind of method of content collection, server and terminal
Download PDF

Info

Publication number
CN104637509B
CN104637509BCN201310565582.3ACN201310565582ACN104637509BCN 104637509 BCN104637509 BCN 104637509BCN 201310565582 ACN201310565582 ACN 201310565582ACN 104637509 BCN104637509 BCN 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
Application number
CN201310565582.3A
Other languages
Chinese (zh)
Other versions
CN104637509A (en
Inventor
林婕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201310565582.3ApriorityCriticalpatent/CN104637509B/en
Priority to PCT/CN2014/089563prioritypatent/WO2015070698A1/en
Publication of CN104637509ApublicationCriticalpatent/CN104637509A/en
Application grantedgrantedCritical
Publication of CN104637509BpublicationCriticalpatent/CN104637509B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

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

A kind of method of content collection, server and terminal
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, schemeIt is as follows:
1st, user collects the URL of an article by the private client APP operated installed in terminal(UniformResource Locator, universal resource locator).
2nd, client increases a collection record for the user's the favorites list automatically, and collection action is reported to backstageServer.
3rd, after background server extracts successfully article cleaning, clean extraction result is returned to client, client is moreThe 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 interiorHold, 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 useFamily is higher using threshold(Impression notes must be installed, impression notes must be also installed when browsing collection record to look into when collectingSee).Also, when user adds a collection record, synchronous relatively slow and inconsistency between each terminal, it may appear that user passes throughSee 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 collectionThe 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 instituteThe 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 pleaseAsk;
Control unit is indexed, is performed for being received in the request reception unit from terminal request to content collection pairAfter the collection request of the collection operation of elephant, the interim collection index of increase, faces described in the corresponding collection index of the userWhen collect index record to handle state, content collection after treatment will the interim collection index modification to handleCompletion status;
Be successfully transmitted unit, in the index control unit by the interim collection index record to handle shapeAfter 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 messageProcessing.
A kind of terminal, including:
Instruction reception unit, for receiving collection instruction input by user, the collection instruction is assigned with content collection pairAs;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 unitThe 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 serverAccording 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 terminalSpecial APP is filled, reduces the use technical threshold of content collection function.Can feedback collection after the foundation of server collection indexSuccessful 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 withRapidly inform whether terminal collection succeeds.The collection result synchronization seen in multiple terminals is allowed users to, improves collectionThe 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 embodimentAttached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for thisFor the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawingsHis 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 intoOne 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 implementationExample.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative workAll 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 outThe 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 operatingAfterwards, increase collection index temporarily in the corresponding collection index of above-mentioned user, be to locate by above-mentioned interim index record of collectingReason 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, thisSample 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 backstageBusiness 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 differentStep carries out.It is specific as follows:Alternatively, above-mentioned execution content collection processing includes:The collection of the above collection object will be graspedThe 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 processingVerification, 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 hereUnder:Above-mentioned server also wraps after receiving the collection request that the collection operation to content collection object is performed from terminal requestInclude:
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 userThe 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 awayExempt 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 asSetting 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 inventionEmbodiment not limits this.
Further, since the collection that user may repeat same content object, the embodiment of the present invention also carryFollowing 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 upwardState 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 withSave system resource.In addition, in the case where duplicating collection, once it is to repeat to collect to confirm, then can be directly to endThe 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 functionThreshold.After the foundation of server collection index can feedback collect successful message to terminal, content collection processing and collection ropeDraw be established as two separation the step of so that server can rapidly inform terminal collection whether succeed.Allow users toIt 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, interiorThe 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-processedSteps 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-mentionedTerminal.
Above example be on the content asynchronous refresh scheme based on content collection, can after user collects a recordSee collection record in browser rapidly, and by asynchronous processing method, improve the entrance disposal ability of background server, at the same timeTriggering 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 ppFor, 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 outThe 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 terminalGo 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 operatingAfter hiding request, the interim collection index of increase in the corresponding collection index of above-mentioned user, is by above-mentioned interim collection index recordState is being handled, collection success message is being sent to above-mentioned terminal and performs content collection processing;Terminate in content collection processingIt 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 serverRequest;
It should be noted that since the process of the processing and content collection processing of collection request is two flows, eventuallyThe 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 overWhole flow process, therefore after this step sends synchronization request, might have two results:1st, collection index record is just temporarilyProcessing 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 contentFruit 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 functionThreshold.After the foundation of server collection index can feedback collect successful message to terminal, content collection processing and collection ropeDraw be established as two separation the step of so that server can rapidly inform terminal collection whether succeed.Allow users toIt 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)'sWebApp(Webpage APP), user can be in any browser(Including mobile phone browser, Pad browsers, PC((personalComputer, personal computer)Browser)Deng access http://sc.qq.com/ can view the note that user once collectedRecord.
The embodiment of the present invention is the content asynchronous refresh scheme based on content collection, is one based on browser content collectionA backstage technical solution, realizes that user collects in the browser of any platform, can view user at the same time in any browserCollection 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 CodeThe 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 againRecord.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 toClient, 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 accountCollection index(During state is wherein extracted to extract, bag is returned to client, informs that user collects successfully(It should be noted that:HereinIncrease collection record is that the instant messaging account is inserted into a record, and success rate almost 100%, takes within 10ms).VisitorAfter 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 differentHandled 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 extractThe 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 wholeA 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 completedHide 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 toOn 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 useThe 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 isServer 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/PCInto 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 hereinThe 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 browserMicro- 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 browsedDevice, 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 backgroundUser 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 dataThere 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 industryBusiness 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 operatingHide request;
Collection request above, can be that user is sent in terminal by operating the general APP such as browser, specific to send outThe 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 contentAfter 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 willAbove-mentioned interim collection index record collects index modification temporarily to handle state, in content collection after treatment by above-mentionedTo handle completion status;
Be successfully transmitted unit 403, in above-mentioned index control unit 402 by above-mentioned interim collection index record forAfter 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 executionHold collection processing.
The program need not install special APP in terminal, reduce the use technical threshold of content collection function.ServerCollect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processingThe step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminalsThe 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, thisSample 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 backstageBusiness 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 differentStep 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 transmittedThe 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 receiveTibetan is handled.
Further, may also need to carry out identity to the user of terminal before the server on backstage performs collection processingVerification, 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 hereUnder: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 requestAfter 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 userThe 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 awayExempt from once to verify unsuccessfully caused collection request refusal, an embodiment of the present invention provides following solution:Above-mentioned verification unit501, 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 asSetting 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 inventionEmbodiment not limits this.
Further, since the collection that user may repeat same content object, the embodiment of the present invention also carryFollowing 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 upperState before increasing interim collection index in the corresponding collection index of user, determine whether the above collection object is above-mentioned userRepetition 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-mentionedTerminal 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 useThe 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 withSave system resource.In addition, in the case where duplicating collection, once it is to repeat to collect to confirm, then can be directly to endThe 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, interiorThe 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-processedSteps 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 collectionThe 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 collectionObject;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 unitThe 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 displayingBreath;
As a result receiving unit 804, for receiving the result corresponding with the above collection object sent from serverData.
The program need not install special APP in terminal, reduce the use technical threshold of content collection function.ServerCollect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processingThe step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminalsThe 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 operatingAfter hiding request, the interim collection index of increase in the corresponding collection index of above-mentioned user, is by above-mentioned interim collection index recordState is being handled, collection success message is being sent to above-mentioned terminal and performs content collection processing;Terminate in content collection processingIt 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, eventuallyThe 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 overWhole flow process, therefore after this step sends synchronization request, might have two results:1st, collection index record is just temporarilyProcessing 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 contentFruit 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 901Hide the collection request of the collection operation of object;What is operated is collected to content collection object receiving to perform from terminal requestAfter collection request, the interim collection index of increase in the corresponding collection index of above-mentioned user, by above-mentioned interim collection index recordTo 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 outThe 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.ServerCollect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processingThe step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminalsThe 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, thisSample 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 backstageBusiness 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 differentStep carries out.It is specific as follows:Alternatively, above-mentioned processor 904, includes for performing content collection processing:For will be to above-mentioned interiorThe 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 processingTest, 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 hereUnder: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 objectAfter 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 userInterim 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 avoidOnce 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 asSetting 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 inventionEmbodiment not limits this.
Alternatively, since the collection that user may repeat same content object, the embodiment of the present invention also provideFollowing solution:Above-mentioned processor 904, is additionally operable to the interim collection index of increase in the corresponding collection index of above-mentioned userBefore, if verification pass through, it is determined that the above collection object whether be above-mentioned user repetition collection, if, it indicates that onState 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 userWhen collection index.
Above scheme can be performed to avoid server repeat collection caused by unnecessary content collection process flow, can be withSave system resource.In addition, in the case where duplicating collection, once it is to repeat to collect to confirm, then can be directly to endThe 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, contentThe use of the result data of collection is the step of user's synchronized result data are checked, be not content collection post processing mustStep 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 processor904, 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 toState 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 contentCollect object;Indicate that transmitter 1002 sends collection request to server, request performs the collection to the above collection objectOperation;After the collection success message of server is received by receiver 1101, successfully prompt message is collected in displaying;ReceivingAfter 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.ServerCollect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processingThe step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminalsThe 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 operatingAfter hiding request, the interim collection index of increase in the corresponding collection index of above-mentioned user, is by above-mentioned interim collection index recordState is being handled, collection success message is being sent to above-mentioned terminal and performs content collection processing;Terminate in content collection processingIt 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, eventuallyThe 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 overWhole flow process, therefore after this step sends synchronization request, might have two results:1st, collection index record is just temporarilyProcessing 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 contentFruit data.
The embodiment of the present invention additionally provides another terminal, as shown in figure 11, for convenience of description, illustrate only and this hairThe bright relevant part of embodiment, particular technique details do not disclose, refer to present invention method part.The terminal can be withIt is to include mobile phone, tablet computer, PDA(Personal Digital Assistant, personal digital assistant)、POS(Point ofSales, 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 chart11, mobile phone includes:Radio frequency(Radio Frequency, RF)Circuit 1110, memory 1120, input unit 1130, display unit1140th, sensor 1150, voicefrequency circuit 1160, Wireless Fidelity(Wireless fidelity, WiFi)Module 1170, processorThe 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 pairThe restriction of mobile phone, can include than illustrating more or fewer components, either combine some components or different component clothPut.
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 stationAfter downlink information receives, handled to processor 1180;In addition, the data sending of uplink will be designed to base station.In general, RF circuits1110 include but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier(Low NoiseAmplifier, LNA), duplexer etc..In addition, RF circuits 1110 can also be led to by wireless communication and network and other equipmentLetter.Above-mentioned wireless communication can use any communication standard or agreement, include but not limited to global system for mobile communications(GlobalSystem of Mobile communication, GSM), general packet radio service(General Packet RadioService, 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 operation1120 software program and module, so as to perform various function application and the data processing of mobile phone.Memory 1120 can be ledTo include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one functionApplication program(Such as sound-playing function, image player function etc.)Deng;Storage data field can be stored uses institute according to mobile phoneThe data of establishment(Such as voice data, phone directory etc.)Deng.Stored in addition, memory 1120 can include high random accessDevice, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are consolidatedState 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 withAnd the key signals input that function control is related.Specifically, input unit 1130 may include contact panel 1131 and other inputsEquipment 1132.Contact panel 1131, also referred to as touch-screen, collect user on it or neighbouring touch operation(Such as userUse the behaviour of any suitable object such as finger, stylus or annex on contact panel 1131 or near contact panel 1131Make), and corresponding attachment device is driven according to formula set in advance.Optionally, contact panel 1131 may include touch detectionTwo parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bandThe signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by itContact 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 surfacePlate 1131, input unit 1130 can also include other input equipments 1132.Specifically, other input equipments 1132 can includeBut 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 userKind menu.Display unit 1140 may include display panel 1141, optionally, can use liquid crystal display(LiquidCrystal Display, LCD), Organic Light Emitting Diode(Organic Light-Emitting Diode,OLED)Etc. formTo configure display panel 1141.Further, contact panel 1131 can cover display panel 1141, when contact panel 1131 detectsTo processor 1180 on it or after neighbouring touch operation, is sent to determine the type of touch event, device is followed by subsequent processing1180 provide corresponding visual output according to the type of touch event on display panel 1141.Although in fig. 11, touch surfacePlate 1131 and display panel 1141 are the components independent as two to realize the input of mobile phone and input function, but someIn 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 lightLight and shade adjust the brightness of display panel 1141, proximity sensor can close display panel when mobile phone is moved in one's ear1141 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions(Generally three axis)AddThe 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 screenSwitching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, percussion)Deng;As for mobile phone alsoThe 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.AudioThe transformed electric signal of the voice data received can be transferred to loudspeaker 1161, is changed by loudspeaker 1161 by circuit 1160Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 1162, by voicefrequency circuit 1160Voice data is converted to after reception, then after voice data output processor 1180 is handled, through RF circuits 1110 to be sent to ratioSuch 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 1170Part, browse webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 11 is shownWiFi 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 completelyBecome 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 1120Interior data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor1180 may include one or more processing units;Preferably, processor 1180 can integrate application processor and modulation /demodulation processingDevice, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly locatedManage 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 supplyManagement system and processor 1180 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management systemThe 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 collectionObject;Indicate to send collection request to server, the collection that request performs to the above collection object operates;Receiving clothesIt 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 toShow the synchronization request that request results data are sent to server;Receive and collect object pair with the above from server transmissionThe result data answered.
The program need not install special APP in terminal, reduce the use technical threshold of content collection function.ServerCollect after the foundation of index can feedback collect successful message and be established as two with collection index to terminal, content collection processingThe step of a separation so that server can rapidly inform whether terminal collection succeeds.Allow users to see in multiple terminalsThe 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 functionCollect what is divided, but be not limited to above-mentioned division, as long as corresponding function can be realized;In addition, each function listThe 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 embodimentIt is that relevant hardware can be instructed to complete by program, corresponding program can be stored in a kind of computer-readable recording mediumIn, 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 anyThose familiar with the art the change that can readily occur in or replaces in the technical scope that the embodiment of the present invention disclosesChange, 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 claimSubject to enclosing.

Claims (9)

CN201310565582.3A2013-11-132013-11-13A kind of method of content collection, server and terminalActiveCN104637509B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201310565582.3ACN104637509B (en)2013-11-132013-11-13A kind of method of content collection, server and terminal
PCT/CN2014/089563WO2015070698A1 (en)2013-11-132014-10-27Content collecting method, server and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310565582.3ACN104637509B (en)2013-11-132013-11-13A kind of method of content collection, server and terminal

Publications (2)

Publication NumberPublication Date
CN104637509A CN104637509A (en)2015-05-20
CN104637509Btrue CN104637509B (en)2018-04-27

Family

ID=53056749

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310565582.3AActiveCN104637509B (en)2013-11-132013-11-13A kind of method of content collection, server and terminal

Country Status (2)

CountryLink
CN (1)CN104637509B (en)
WO (1)WO2015070698A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104899270A (en)*2015-05-262015-09-09惠州Tcl移动通信有限公司Intelligent terminal and information storage method for same
CN105930343A (en)*2016-04-032016-09-07北京设集约科技有限公司Method and system for quoting favorited APP content
CN109683786A (en)*2018-12-252019-04-26北京微播视界科技有限公司Update method, electronic equipment and the computer storage medium of user interface information
CN115599266B (en)*2022-10-262025-04-08抖音视界有限公司Collection management method, device, equipment and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101080056A (en)*2006-12-212007-11-28腾讯科技(深圳)有限公司A management method and system of network browser collection folder of mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101184302A (en)*2007-12-272008-05-21中兴通讯股份有限公司Method for implementing favorite of Java virtual machine in mobile phone
JP5416023B2 (en)*2010-04-152014-02-12ヤフー株式会社 Reading terminal and method
CN106126630B (en)*2011-03-292019-11-05阿里巴巴集团控股有限公司A kind of collection of business object, searching method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101080056A (en)*2006-12-212007-11-28腾讯科技(深圳)有限公司A management method and system of network browser collection folder of mobile terminal

Also Published As

Publication numberPublication date
WO2015070698A1 (en)2015-05-21
CN104637509A (en)2015-05-20

Similar Documents

PublicationPublication DateTitle
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
CN104519404B (en)The player method and device of graphic interchange format file
US10956653B2 (en)Method and apparatus for displaying page and a computer storage medium
CN104093123B (en)The information-pushing method of application program, device and system, mobile terminal
CN104519262B (en)Obtain the method, apparatus and terminal of video data
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
CN104699501B (en)A kind of method and device for running application program
CN106022060B (en)Fingerprint unlocking control method and equipment
CN108920926A (en)shortcut operation method and mobile terminal
WO2014194688A1 (en)Webpage processing method and terminal device
CN103336838B (en)A kind of processing method of webpage, device and terminal device
CN104637509B (en)A kind of method of content collection, server and terminal
CN105868319B (en)Webpage loading method and device
CN107766358A (en)The method and relevant apparatus that a kind of page is shared
CN104573437B (en)Information authentication method and device and terminal
CN109871358A (en) A management method and terminal device
CN109656510A (en)The method and terminal of voice input in a kind of webpage
CN107404422A (en)A kind of Internet of Things remote control command filter method, controlled terminal and storage medium
CN110069458A (en)Method, equipment and the storage medium of invalid resource in a kind of deletion Android system
CN109726121A (en) A verification code acquisition method and terminal device
CN108055383A (en)Acquisition methods, device and the mobile terminal of screenshot picture
CN109710338A (en)A kind of searching method of mobile terminal, mobile terminal and storage medium
CN109309762A (en)Message treatment method, device, mobile terminal and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
EXSBDecision made by sipo to initiate substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp