CN103763304B - A kind of method and apparatus of submission information - Google Patents

A kind of method and apparatus of submission information Download PDF

Info

Publication number
CN103763304B
CN103763304B CN201310712550.1A CN201310712550A CN103763304B CN 103763304 B CN103763304 B CN 103763304B CN 201310712550 A CN201310712550 A CN 201310712550A CN 103763304 B CN103763304 B CN 103763304B
Authority
CN
China
Prior art keywords
information content
request
mark
cookie
public account
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
CN201310712550.1A
Other languages
Chinese (zh)
Other versions
CN103763304A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310712550.1A priority Critical patent/CN103763304B/en
Publication of CN103763304A publication Critical patent/CN103763304A/en
Application granted granted Critical
Publication of CN103763304B publication Critical patent/CN103763304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a kind of method and apparatus of submission information, wherein method includes:Reception is exempted from registration and submits the information content for asking and obtaining request submission to;A public account is selected from a number of public account, described information content is submitted to using the public account of selection, and exempt from cookie, the corresponding relation between the public account of the selection and the mark of described information content that registration submits to request to carry described in record.By the present invention in that with the mode of public account, cookie is associated with public account to realize the submission of the information content, and the corresponding relation between the mark of the information content for recording cookie, public account and submission, so that user can submit information to without register account number, and use public account in certain amount, it is to avoid the situations that a large amount of accounts are wasted using only the account for once causing.

Description

A kind of method and apparatus of submission information
【Technical field】
The present invention relates to network technique field, more particularly to a kind of method and apparatus of submission information.
【Background technology】
It is nearly all at present to be related to the website that user submits information to, microblogging, forum, question and answer class website etc., it is both needed to Can be submitted to after logging in the website account.By taking Baidu's mhkc as an example, can be ejected before posting or commenting on as shown in Figure 1 Login frame, it is necessary to be that registered user can proceed to post or comment on.This mode running cost is higher, Yong Hubi Must register and log in can submit information to, and many users can be allowed to abandon using the website because of trouble.
Also number of site can automatically help the random account of user's registration one when submitting to, and as shown in Figure 2 asks Must answer net, but this mode is due to being random account, and its username and password is difficult to remember that many accounts are registered out and only can Wasted using a large amount of accounts once, are caused.
【The content of the invention】
In view of this, the invention provides a kind of method and apparatus of submission information so that user is without register account number Information can be submitted to, and avoid a large amount of accounts using only the situation of the account waste for once causing.
Concrete technical scheme is as follows:
The invention provides a kind of method of submission information, the method includes:
Reception is exempted from registration and submits the information content for asking and obtaining request submission to;
Described information content is submitted to using default public account, and exempt from registration described in record submit what request was carried to Corresponding relation between cookie, the public account and the mark of described information content.
It is described to be included using default public account submission described information content according to a preferred embodiment of the invention:
A public account is selected from a number of public account, described information is submitted to using the public account of selection Content.
According to a preferred embodiment of the invention, a public account is selected from a number of public account described Before, the method also includes:
Judge whether to have been recorded with the public account exempted from corresponding to the cookie that registration submits to request to carry, if It is no, continue executing with one public account of selection from a number of public account;If it is, using recorded institute State the public account exempted from corresponding to the cookie that registration submits to request to carry and submit described information content to, and by described information content Mark added to the recorded mark for exempting from cookie, public account and the information content that registration submits to request to carry Between corresponding relation in.
According to a preferred embodiment of the invention, before described information content is submitted to, also include:
If the mark for exempting to carry the information content associated by the information content that request is submitted to during registration submission is asked, Then judge whether to have been recorded with the mark for exempting to register the cookie and associated information content for submitting to request to carry The corresponding relation of knowledge, if it is, continue executing with submission described information content, and record request submit to the information content mark with Incidence relation between the mark of the associated information content;Otherwise, refusal submits described information content to.
According to a preferred embodiment of the invention, the method also includes:
Reception exempts to register browse request, and this exempts to register the instruction that browse request carries cookie and solicited message list;
Return to the recorded mark for exempting to register the corresponding information contents of cookie that browse request is carried.
According to a preferred embodiment of the invention, the method also includes:
Reception exempts to register browse request, and this exempts to register the mark that browse request carries the information content that cookie and request are browsed Know;
If between having been recorded with the cookie and the mark of the information content for exempting from registration browse request carrying Corresponding relation, then exempt to register the corresponding information content of mark of the information content carried in browse request described in return.
According to a preferred embodiment of the invention, the method also includes:
If record has the information content for exempting to register associated by the mark of the information content that browse request is carried to identify, Then further return to the associated information content and identify the corresponding information content.
According to a preferred embodiment of the invention, reception exempt from after request is submitted in registration to and submit to described information content it It is preceding also to include:
Verification code information is returned to, the verification code information of the user input to receiving is verified, if the verification passes, then Submit described information content to;Otherwise refusal submits described information content to or again returns to other verification code informations.
According to a preferred embodiment of the invention, if public account is used the submission information content within a certain period of time Number of times exceed predetermined threshold value, then close exempt from registration submit to function.
Present invention also offers the method for another submission information, the method includes:
Sent to server and exempt from registration submission request;
Record the described of the server return and exempt from the information that registration submits to the cookie entrained by request to be submitted to request Corresponding relation between the mark of content;
When the triggering of identification list of submitted to information is browsed by user's request, if record has currently used The mark of the corresponding information contents of cookie, then utilize the mark generation of the corresponding information contents of the currently used cookie The page simultaneously shows user.
Present invention also offers a kind of device of submission information, server end is arranged at, the device includes:
Receiving unit, the information content that registration submission asks and obtain request to be submitted to is exempted from for receiving;
Unit is submitted to, for submitting described information content to using default public account;
Recording unit, for recording the cookie, the public account that registration submits to request to carry and described of exempting from Corresponding relation between the mark of the information content.
According to a preferred embodiment of the invention, the submission unit, specifically for from a number of public account One public account of selection, described information content is submitted to using the public account of selection.
According to a preferred embodiment of the invention, the device also includes:Judging unit, for judging that the recording unit is It is no to have been recorded with the public account exempted from corresponding to the cookie that registration submits to request to carry, if not, being carried described in triggering Presentate unit performs one operation of public account of selection from a number of public account;If it is, being carried described in triggering Presentate unit submits the letter to using the recorded public account exempted from corresponding to the cookie that registration submits to request to carry Breath content, and trigger the recording unit by the mark of described information content added to exempt from that registration submits to described in recorded please In seeking cookie, the corresponding relation between public account and the mark of the information content of carrying;
The submission unit, is additionally operable under the triggering of the judging unit, is carried using registration is exempted from described in recorded The public account corresponding to the cookie of request carrying is handed over to submit described information content to;
The recording unit, is additionally operable under the triggering of the judging unit, and the mark of described information content is added to The recorded cookie for exempting from registration submission request carrying, the correspondence pass between public account and the mark of the information content In system.
According to a preferred embodiment of the invention, the submission unit before described information content is submitted to, be additionally operable to as Exempt from the mark of the information content associated by the information content that carrying request is submitted to during registration submission is asked described in fruit, then further sentence Whether the recording unit of breaking exempts from cookie and the associated information that registration submission request is carried described in having been recorded with The corresponding relation of the mark of content, if it is, continuing executing with the operation for submitting described information content to, and further triggers the note Identifying and associating between the mark of the associated information content for the information content submitted to is asked described in record unit record Relation;Otherwise refusal submits described information content to;
The recording unit, is additionally operable under the triggering of the judging unit, records the information content that the request is submitted to Mark and the mark of the associated information content between incidence relation.
According to a preferred embodiment of the invention, the device also includes:Transmitting element;
The receiving unit, is additionally operable to reception and exempts to register browse request, and this is exempted from registration browse request and carries cookie and ask Ask the instruction of information list;
The transmitting element, for return the recording unit it is recorded described in exempt from register browse request carry The mark of the corresponding information contents of cookie.
According to a preferred embodiment of the invention, the receiving unit is additionally operable to receive carrying cookie and request is browsed The information content mark exempt from register browse request;
The transmitting element, if be additionally operable to the recording unit to have been recorded with described exempting to register what browse request was carried Corresponding relation between cookie and the mark of the information content, then exempt to register in the information carried in browse request described in return The corresponding information content of mark of appearance.
According to a preferred embodiment of the invention, the transmitting element, if being additionally operable to the recording unit records State the information content for exempting to register associated by the mark of the information content that browse request is carried to identify, then further return to described being closed The information content of connection identifies the corresponding information content.
According to a preferred embodiment of the invention, the device also includes:Authentication unit, for being submitted in the submission unit Before described information content, verification code information is returned to, the verification code information of the user input to receiving is verified, if tested Card passes through, then trigger the submission unit and submit described information content to;The submission unit is otherwise forbidden to submit in described information Hold or again return to other verification code informations.
According to a preferred embodiment of the invention, account monitoring unit, for if public account within a certain period of time By using submitting to the number of times of the information content to exceed predetermined threshold value, then close to exempt to register and submit function to.
Present invention also offers the device of another submission information, browser is arranged at, the device includes:
Transmitting element, registration submission request is exempted from for being sent to server;
Recording unit, submits the cookie entrained by asking to and asks for recording to exempt to register described in the server return Ask submission the information content mark between corresponding relation;
Display unit, when the triggering of identification list of submitted to information is browsed for the browser by user's request, If the recording unit records have the mark of the corresponding information contents of the currently used cookie of browser, worked as using described Preceding the mark using the corresponding information contents of cookie generates the page and shows user.
As can be seen from the above technical solutions, by the present invention in that with the mode of public account, by cookie and public account Number be associated to realize the submission of the information content, and record cookie, public account and the information content submitted to mark it Between corresponding relation so that user can submit information to without register account number, and use the public account in certain amount, Avoid the situation that a large amount of accounts are wasted using only the account for once causing.
【Brief description of the drawings】
Fig. 1 is to need registered user to log in the instance graph that could submit information in the prior art;
Fig. 2 is the instance graph for submitting information to using random account in the prior art;
Fig. 3 is the method flow diagram of the submission information that the embodiment of the present invention one is provided;
Fig. 4 is the instance graph that the information that the embodiment of the present invention one is provided submits the page to;
Fig. 5 is the instance graph of the user's request browsing pages that the embodiment of the present invention one is provided;
Fig. 6 is another instance graph for the user's request browsing pages that the embodiment of the present invention one is provided;
Fig. 7 is the instance graph of the information submission page of the offer identifying code function that the embodiment of the present invention one is provided;
Fig. 8 is the structure drawing of device of the submission information that the embodiment of the present invention two is provided;
Fig. 9 is the structure drawing of device of the submission information that the embodiment of the present invention three is provided.
【Specific embodiment】
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings with specific embodiment pair The present invention is described in detail.
Core concept of the invention is that registered in advance to get well a number of public account, the certain amount can be many Individual public account(" multiple " involved by the embodiment of the present invention is referred to more than 1), it is also possible to an only public account, Receive when exempting from registration and submitting request to, carry out the submission of the information content using public account, and by the cookie entrained by request, Public account and the information content of submission are associated.Retouched in detail below by the method for a pair of submission information of embodiment State.
Embodiment one,
Fig. 3 is the method flow diagram of the submission information that the embodiment of the present invention one is provided, as shown in figure 3, the method can be wrapped Include following steps:
301:Reception is exempted from registration and submits request to, obtains the letter for exempting to register the submission request cookie for carrying and ask submission Breath content.
In embodiments of the present invention, server receive exempt from registration submit to request may come from but be not limited to following two fields Scape:
The first scene:With exempt from registration submit to function website on can provide exempt from registration submit to function option or by Key, when user selects the option or clicks the button, illustrates that user's request carries out exempting from the registration submission information content.As in Fig. 4 Shown, on question and answer class website, user can click on website the option of " skipping login, directly submit to " in the information of submission to. When user submits the information content on website, if selecting the option, illustrate that user's request exempt from registration submission information Hold, then browser can exempt to register to submit to and ask to server transmission, exempt to carry cookie during registration submission is asked and ask at this Seek the information content of submission, it is assumed that the cookie of browser is cookie1, ask the information content submitted to include " blowing sky recently Tune is caught a cold, and may I ask that to have some what medicine good", in addition, will also include age, the sex that user fills in the information of request submission Etc. information.
Second scene:User using have exempt from registration submit to function website when, if user is in non-Entered state Under carry out the submission of the information content, then just directly explanation user asks the submission information content, such case under unregistered state Under, the differentiation that website can not be logged in and be not logged on the page to the button for submitting information to, if user is being not logged in The submission of the information content is carried out under state, then browser to server send exempt from registration submit to request in will not carry user's Register account number, but carry the information content that cookie and request are submitted to.
302:Judge whether server end has been recorded with the public account corresponding to the cookie, if not, performing 303;If it is, performing 304.
If server end has been recorded with the public account corresponding to the cookie, illustrate to use the use of the browser Family is not to submit the information content to for the first time, is assigned with public account to him before, therefore perform 304.If server End not yet records the public account corresponding to the cookie, illustrates that using the user of the browser be in first time submission information Hold, therefore perform 303.
303:A public account is selected from good public account registered in advance, is submitted to using the public account of selection The information content that request is submitted to is stated, and is recorded between the cookie, the public account of selection and the id of submitted to the information content Corresponding relation, terminate flow.
In embodiments of the present invention, in server end good a number of public account registered in advance, public account here Number form is determined that more typical form is the combination of username and password by the account form of website itself.
When the selection of public account is carried out, a public account can be therefrom randomly choosed, it is also possible to according to default Order selects a public account, it is also possible to which selection is by a minimum public account of access times.Latter two mode can Preferably ensure the probability that each public account is used.In embodiments of the present invention, different cookie can share a public affairs Common account.But under normal circumstances, the combination of cookie and public account in the server just being capable of one user of unique mark.
Why to distribute public account mainly has two reasons:One, for server, the data with itself Storehouse rule, for most of fixed users, still can select to log in the mode for submitting the information content to, be submitted to for exempting from registration It is its public account of distribution, it becomes possible to merge existing database association rule for the user of information.Secondly, conveniently carry out big model The monitoring of cheating risk is enclosed, the contents of the section will subsequently be described in detail.
Continue upper example, it is assumed that the cookie of browser is cookie1, asks the information content submitted to include " blowing sky recently Tune is caught a cold, and may I ask that to have some what medicine good", for the id of information content distribution is content1, the content1 points to specific The information content, for the cookie distribution public account be account1, then in database record corresponding relation such as table 1 Shown in:
Table 1
cookie Public account The id of the information content
cookie1 account1 content1
304:Submit the information content of above-mentioned request submission to using the public account corresponding to the recorded cookie, And the id of the information content is closed added to the recorded cookie, the correspondence between public account and the id of the information content In system.
This step mainly includes two kinds of situations:
A kind of situation be this information content submission be user submit to the independent information content, the information content is therewith Before the information content that has been filed in the absence of association.
For example, submitted content shown in Fig. 4 before user to, and existed in database it is right shown in table 1 Should be related to.Now user have submitted a new problem again on same website, such as the problem content this time submitted to is:" north Capital North 4th Ring Road is nearby either with or without benz 4S shops", server is received when exempting from registration and submitting request to, in determining the request Cookie is cookie1, by inquiring about existing corresponding relation, it is determined that being in the presence of the corresponding public accounts of the cookie1 account1.Still submit the content of the problem to using account1, it is assumed that for its id for distributing is content2, then should Content2 is stored in the corresponding relation of cookie1, account1, and as shown in table 2, the information content that content2 is pointed to is " Beijing North 4th Ring Road is nearby either with or without benz 4S shops”.
Table 2
Another situation is that the submission of this information content is the related to the information content having been filed on before of user's submission The information content of connection.For example submitted content shown in Fig. 4 before user to, and existed shown in table 1 in database Corresponding relation, then user questioned closely for the enquirement in Fig. 4 again, such as user accesses the problem institute in Fig. 4 again The page, " being in person pregnant woman, the medicine wishes not producing fetus influence " is questioned closely on this page, accessed again in user and carried When asking the page, browser can get the id putd question on the enquirement page from server(content1).In this case, This registration of exempting from is submitted in request in addition to carrying cookie1 and the above-mentioned content questioned closely, and can also be carried and be questioned closely institute with this The mark content1 of the information content of association.Server receive this exempt from registration submit to request after, it is determined that having been recorded with this The request corresponding public accounts of entrained cookie, are still issued this and are questioned closely, in data using public account, the i.e. account1 Corresponding relation of the record between cookie1, account1 and content3 in storehouse, content3 is the above-mentioned id for questioning closely, and is pointed to The particular content questioned closely, in addition, the incidence relation between also storing content1 and content3 in database, such as Shown in table 3.The present invention is not any limitation as to how incidence relation between two information contents represents in database.
Table 3
Operation of the user on website in addition to submitting the information content to, also it is a kind of it is more common be exactly to browse.This hair Browsing for being related in bright embodiment mainly includes following two scenes:
The first scene:User's request browses the id lists for oneself submitting information to.For example, user clicks on website The option of " having issued enquirement ", it is desirable to browse oneself issued enquirement list.Under this scene, browser can be to server Transmission exempts to register browse request, and this exempts from the instruction comprising cookie and solicited message list in registration browse request;Server connects Receive this exempt from registration browse request after, inquire about record corresponding relation, the id of the corresponding information contents of the cookie is returned to Browser, submits the list of information in the website before so just can showing the user on a web browser.Under this scene also The displaying of specifying information content is not directed to, is second if user wants to browse above-mentioned list certain specifying information content Plant scene.
Second scene:User's request browses certain specific information content, and now browser can send to server and wrap The id of the information content browsed containing cookie and request.If server receives exempting from from browser and registers browse request, Determine whether to have been recorded with the corresponding relation entrained by the request between cookie and the id of the information content, if do not had Have, then user haves no right to browse the information content;If it has, then return to the corresponding information contents of the id of the information content browsing Device.
Such as user's request browses the announced enquirement corresponding information contents of i.e. content1 before, then browser is to clothes Business device sends exempts to register browse request, and the content1 that cookie1 and request are browsed is carried in the request, and server receives this After request, it is determined that the corresponding relation being locally stored between cookie1 and content1, then return to content1 pairs to browser The information content answered, as shown in Figure 5.
If user asks the id of the information content for browsing to there is information content id associated there, judging Record have this exempt to register browse request carry the cookie and id of the information content between corresponding relation when, except to browsing Device is returned outside the information content corresponding to the id of the information content, can also further return to the information content of asking to browse The id associated corresponding information contents of information content id.For example, it is assumed that user's request is browsed corresponding to content1 Subject of question, then what server was received exempts from registration browse request carrying cookie1 and content1, by judging as in table 3 Shown record, it is determined that there is the corresponding relation between cookie1 and content1, and has what is be associated with content1 Content3, then in addition to the corresponding subject of question of content1 is returned into browser, can also be corresponding by content3 Question closely content and return to browser, so, the content that user puts question to before can not only browsing to oneself is directed to while can be appreciated that Content is questioned closely in the enquirement.
If other users have submitted the new information content for certain information content, but the information content is targeted with it The information content is not same submitter, and a kind of typical application scenarios are, it is assumed that user A have submitted an enquirement, it is assumed that It is the content1 in table 1, user B have submitted the answer for the enquirement, then corresponding to the answer that the user B is submitted to Cookie is distinct from cookie1, and account may be also different from account1, and the user B is probably a registered user, also may be used Can be one and exempt from registered user.By taking registered user as an example, it is assumed that its account is account2, the id of the answer of submission is Content4, then the content4 also exists with content1 and associate, then in database, also can by the content4 and Content1 is associated.If user A requests browse the content of content1, because content4 is also related to content1 Connection, as shown in table 4.Therefore server also can simultaneously return to the corresponding contents of content4, and so, user passes through browser not The enquirement of oneself issue is only may browse through, if the enquirement has answer, the answer for the enquirement also can be simultaneously browsed to. As shown in Figure 6.
Table 4
Personal account The id of the information content
account2 content4(It is associated with content1, is the answer of content1)
When browsing of specifying information content in website is carried out using aforesaid way, above-mentioned the first scene will be first experienced again The list of the first id to the server request information content of second scene, i.e. browser is experienced, then to certain letter of server request Cease the corresponding specifying information contents of id of content.Because the safe operation risk that user browses web sites is very low, therefore in order to reduce The occupancy of Internet resources, browser is exempted from after registration submits request in transmission, and server, can be by after the submission for carrying out the information content Corresponding relation between the id of cookie and submitted to the information content is sent to browser, and browser is being locally stored a this pair Should be related to.When user's request browses the id lists for oneself submitting information to, browser can be triggered, if browser is local Store the corresponding relation between the currently used cookie of browser and the id of submitted to the information content, then need not be to server Transmission exempt from register browse request, directly using be locally stored submit to the information content id generation page presentation to user i.e. Can.Eliminate interacting between browser and server in above-mentioned the first scene.
Cheating risk higher will necessarily be brought due to exempting from registration submission, in embodiments of the present invention, in order to prevent big model The cheating enclosed, server receive exempt from registration submit to request after, can to browser return verification code information, as shown in Figure 7; User is by the way that after browser input validation code information, server can be verified to the verification code information of user input, if tested Card failure, then refusal submission user's request is submitted to the information content or again return to other verification code informations.
Also prevent the mode practised fraud on a large scale, the i.e. information content for public account from submitting to the frequency to enter in the presence of another Row control, if public account is within a certain period of time by using submitting to the number of times of the information content to exceed predetermined threshold value, then illustrates There is exception, function is submitted in the registration of exempting from that can close the website to, is reopened again after cheating problem to be solved.
Above is the detailed description carried out to method provided by the present invention, below by embodiment two and embodiment three pairs The device that the present invention is provided is described in detail.
Embodiment two,
Fig. 8 is the structure drawing of device of the submission information that the embodiment of the present invention two is provided, and the device can be arranged at server End, as shown in figure 8, the device mainly includes:Receiving unit 81, submission unit 82 and recording unit 83, can also further wrap Include judging unit 84, transmitting element 85, authentication unit 86 and account monitoring unit 87.
Wherein, receiving unit 81 is responsible for receiving and exempts to register the information content submitted to and ask and obtain and ask to submit to, the registration Submit carrying cookie and the information content for asking to submit in request to.Then unit 82 is submitted to be submitted to using default public account The information content, default public account can be one, or multiple, if one, then exempt from registration for all Submit to the user of request to be used in conjunction with the public account, if multiple, then one is selected from a number of public account Public account, the information content is submitted to using the public account of selection.Recording unit 83 is responsible for record and exempts from registration submission request carrying Cookie, the corresponding relation between public account and the mark of the information content.
Further, submitting unit 82 to before the operation is performed, recording unit first can judged by judging unit 84 Whether 83 have been recorded with exempting from the public account corresponding to the cookie that registration submission request is carried, if not, explanation sends being somebody's turn to do Exempting from registration submits to the user of request to submit the information content to for the first time, can now trigger submission unit 82 and start to perform from a fixed number An operation for public account is selected in the public account of amount;If it is, explanation sends this to exempt to register the user for submitting request to simultaneously Non-first time submits the information content on the web site, before for it is assigned with public account, can now trigger submission single Unit 82 submits letter to using the recorded public account exempted from corresponding to the cookie that registration submits to request to carry of recording unit 83 Breath content, and trigger recording unit 83 submits the mark of the information content to request is carried added to recorded registration of exempting from In corresponding relation between cookie, public account and the mark of the information content.
Correspondingly, submit to unit 82 to be additionally operable under the triggering of judging unit 84, submitted to using recorded registration of exempting from The public account corresponding to the cookie for carrying is asked to submit the information content to.Recording unit 83 is additionally operable to touching in judging unit 84 Give, by the mark of the information content added to recorded cookie, public account and the letter that registration submits to request to carry of exempting from In corresponding relation between the mark of breath content.
Because user submits to the information content to there are two kinds of situations, a kind of situation is to submit the independent information content, the information to With the information content having been filed on before in the absence of associating, also a kind of situation is that the information content submitted to is directed to before to content The information content of submission, i.e., exist with the information content having been filed on before and associate, such as the enquirement for before is questioned closely. For latter event, unit 84 was submitted to before the information content is submitted to, if carry request in exempting from registration submission request submitted to The information content associated by the information content mark, then determine whether whether recording unit 83 has been recorded with exempting from registration carrying The corresponding relation of the cookie of request carrying and the mark of the associated information content is handed over, if it is, continuing executing with submission information The operation of content, and further trigger recording unit 83 is recorded in the mark of the information content that request is submitted to and associated information Incidence relation between the mark of appearance;Can otherwise refuse to submit the information content to.
Correspondingly, recording unit 83 is additionally operable under the triggering of judging unit 84, the information content that record request is submitted to Incidence relation between the mark of mark and the associated information content.
Specifically, submit to unit 82 when a public account is selected from a number of public account, can use But it is not limited in the following manner:A public account is randomly choosed from a number of public account;Or, according to default suitable Sequence selects a public account from a number of public account;Or, select to be made from a number of public account With a public account of least number of times.Wherein latter two mode can preferably ensure the probability that each public account is used, In embodiments of the present invention, different cookie can share a public account.
Operation of the user on website in addition to submitting the information content to, also it is a kind of it is more common be exactly to browse.This hair Browsing for being related in bright embodiment mainly includes following two scenes:
The first scene:User's request browses the id lists for oneself submitting information to.For example, user clicks on website The option of " having issued enquirement ", it is desirable to browse oneself issued enquirement list.
Under this scene, receiving unit 81 receive exempts from register browse request, this exempt from registration browse request carry cookie and The instruction of solicited message list.The return recording unit 83 of transmitting element 85 it is recorded exempt from register browse request carry The mark of the corresponding information contents of cookie, information is submitted to before so just can showing the user on a web browser in the website List.
The displaying of specifying information content is also not directed under this scene, if user wants to browse above-mentioned list certain tool The body information content, then be second scene.
Second scene:User's request browses certain specific information content, and now browser can send to server and wrap The id of the information content browsed containing cookie and request.
The reception of receiving unit 81 carrying cookie exempts from registration browse request with the mark of the information content for asking to browse;Such as Fruit recording unit 83 has been recorded with exempting from the correspondence between the cookie and the mark of the information content that register browse request carrying Relation, the then return of transmitting element 85 exempts to register the corresponding information content of mark of the information content carried in browse request.
Further, the mark for exempting to register the information content that browse request is carried is closed if recording unit 83 is recorded The information content mark of connection, then further the associated information content of return identifies the corresponding information content to transmitting element 85.This In exempt from register browse request carry the information content mark associated by the information content be probably send this exempt from registration browse please What the user for asking submitted to, it is also possible to what other users were submitted to.
Cheating risk higher will necessarily be brought due to exempting from registration submission, in embodiments of the present invention, in order to prevent big model The cheating enclosed, authentication unit 86 can return to verification code information, to what is received before submitting to unit 82 to submit the information content to The verification code information of user input is verified that if the verification passes, then triggering submits to unit 82 to submit the information content to;Otherwise prohibit Unit 82 is only submitted to submit the information content to or again return to other verification code informations.
Also the mode practised fraud on a large scale, i.e. account monitoring unit 87 are prevented for the information of public account in the presence of another Content submits to the frequency to be monitored, if public account is exceeded in advance using the number of times of the submission information content within a certain period of time If threshold value, then close and exempt from registration submission function.
Embodiment three,
The compatible browser of the prior art of the device for being arranged at server end shown in embodiment two, but because user is clear Look at website safe operation risk it is very low, in order to reduce the occupancy of Internet resources, browser is exempted from after registration submits request in transmission, Server can send the corresponding relation between the id of cookie and submitted to the information content after the submission for carrying out the information content To browser.Mode is preferably carried out in order to adapt to this, is provided in the present embodiment three and a kind of new is arranged at browser In device, Fig. 9 be the embodiment of the present invention three provide submission information structure drawing of device, as shown in figure 9, the device is mainly wrapped Include:Transmitting element 91, recording unit 92 and display unit 93.
Transmitting element 91 is responsible for sending to exempt to register to submit to server asking, and recording unit 92 is responsible for record server return Exempt from registration submit to request entrained by cookie and request submit to the information content mark between corresponding relation, that is, Say, the corresponding relation can be locally cached in browser.If then browser is browsed submitted to information and is marked by user's request When knowing the triggering of list, if recording unit 92 records the mark for having the corresponding information contents of the currently used cookie of browser Know, then display unit 93 generates the page and shows user using the mark of the corresponding information contents of currently used cookie. So there is no need to browser to server send browse the submitted information content identification list exempt from registration browse request, Do not need server to return to corresponding identification list, solve the occupancy to Internet resources.
By above description as can be seen that the method and apparatus that the present invention is provided possess advantages below:
1)By the present invention in that with the mode of public account, cookie is associated with public account to realize in information Corresponding relation between the submission of appearance, and the id of the information content for recording cookie, public account and submission so that user need not Register account number can submit information to, and use the public account in certain amount, it is to avoid a large amount of accounts are using only once The situation that the account for causing is wasted.
2)Although user can enjoy the general service of registered user using exempting to register way of submission, user can Very aspect ground browses the information content of oneself submission at any time, and with submitter's identity subsequently question closely, evaluates etc. and operate.
3)The mode that the frequency can be submitted to be monitored by way of identifying code or to the information content of public account, Prevent cheating on a large scale.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can be by it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can store and be deposited in an embodied on computer readable In storage media.Above-mentioned SFU software functional unit storage is in a storage medium, including some instructions are used to so that a computer Equipment(Can be personal computer, server, or network equipment etc.)Or processor(processor)Perform the present invention each The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(Read- Only Memory, ROM), random access memory(Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (18)

1. a kind of method of submission information, it is characterised in that the method includes:
Reception is exempted from registration and submits the information content for asking and obtaining request submission to;
Submit described information content to using default public account, and record it is described exempt from registration submit to request carrying cookie, Corresponding relation between the public account and the mark of described information content;
Reception exempts to register browse request, and this exempts to register the instruction that browse request carries cookie and solicited message list;Return The recorded mark for exempting to register the corresponding information contents of cookie that browse request is carried.
2. method according to claim 1, it is characterised in that described to be submitted in described information using default public account Appearance includes:
A public account is selected from a number of public account, is submitted in described information using the public account of selection Hold.
3. method according to claim 2, it is characterised in that is selected from a number of public account described Before public account, the method also includes:
Judge whether to have been recorded with the public account exempted from corresponding to the cookie that registration submits to request to carry, if not, Continue executing with one public account of selection from a number of public account;If it is, using described in recorded Exempt from the public account corresponding to the cookie that registration submits to request to carry and submit described information content to, and by described information content Mark added to the recorded mark for exempting from cookie, public account and the information content that registration submits to request to carry it Between corresponding relation in.
4. the method according to claim 1,2 or 3, it is characterised in that before described information content is submitted to, also include:
If the mark for exempting to carry the information content associated by the information content that request is submitted to during registration submission is asked, sentences Break and exempt from the mark for registering the cookie and associated information content for submitting request carrying to described in whether having been recorded with Corresponding relation, if it is, continue executing with submission described information content, and record request submit to the information content mark with it is described Incidence relation between the mark of the associated information content;Otherwise, refusal submits described information content to.
5. method according to claim 1, it is characterised in that the method also includes:
Reception exempts to register browse request, and this exempts to register the mark that browse request carries the information content that cookie and request are browsed;
If having been recorded with the correspondence for exempting to register between the cookie and the mark of the information content of browse request carrying Relation, then exempt to register the corresponding information content of mark of the information content carried in browse request described in return.
6. method according to claim 5, it is characterised in that the method also includes:
If record has the information content for exempting to register associated by the mark of the information content that browse request is carried to identify, enter One step returns to the associated information content and identifies the corresponding information content.
7. the method according to claim 1,2 or 3, it is characterised in that exempt from after request is submitted in registration to and submit in reception Also include before described information content:
Verification code information is returned to, the verification code information of the user input to receiving is verified, if the verification passes, then submitted to Described information content;Otherwise refusal submits described information content to or again returns to other verification code informations.
8. the method according to claim 1,2 or 3, it is characterised in that if public account is made within a certain period of time With submitting to the number of times of the information content to exceed predetermined threshold value, then close and exempt from registration submission function.
9. a kind of method of submission information, it is characterised in that the method includes:
Sent to server and exempt from registration submission request;
Record the described of the server return and exempt from the information content that registration submits to the cookie entrained by request to be submitted to request Mark between corresponding relation;
When the triggering of identification list of submitted to information is browsed by user's request, if record has currently used cookie pairs The mark of the information content answered, then using the corresponding information contents of the currently used cookie the mark generation page and open up Show to user.
10. a kind of device of submission information, is arranged at server end, it is characterised in that the device includes:
Receiving unit, the information content that registration submission asks and obtain request to be submitted to is exempted from for receiving;
Unit is submitted to, for submitting described information content to using default public account;
Recording unit, for recording the cookie for exempting from registration submission request carrying, the public account and described information Corresponding relation between the mark of content;
The receiving unit, is additionally operable to reception and exempts to register browse request, and this is exempted from, and registration browse request carries cookie and request is believed Cease the instruction of list;
Transmitting element, for return the recording unit it is recorded described in exempt from register browse request carry cookie correspondence The information content mark.
11. devices according to claim 10, it is characterised in that the submission unit, specifically for from a number of A public account is selected in public account, described information content is submitted to using the public account of selection.
12. devices according to claim 11, it is characterised in that the device also includes:Judging unit, it is described for judging Whether recording unit has been recorded with the public account exempted from corresponding to the cookie that registration submits to request to carry, if not, The triggering submission unit performs one operation of public account of selection from a number of public account;If it is, Triggering is described to submit unit to using the recorded public account exempted from corresponding to the cookie that registration submits to request to carry Submit described information content to, and trigger the recording unit by the mark of described information content added to exempting from described in recorded Registration is submitted in cookie, the corresponding relation between public account and the mark of the information content that request is carried;
The submission unit, is additionally operable under the triggering of the judging unit, please using exempting from that registration submits to described in recorded The public account corresponding to the cookie of carrying is asked to submit described information content to;
The recording unit, is additionally operable under the triggering of the judging unit, by the mark of described information content added to The described of record exempts from cookie, the corresponding relation between public account and the mark of the information content that registration submits to request to carry In.
13. device according to claim 10,11 or 12, it is characterised in that the submission unit is submitting described information to Before content, if being additionally operable to the information content exempted from associated by the information content that carrying request is submitted to during registration submission is asked Mark, then determine whether the recording unit whether have been recorded with it is described exempt from cookie that registration submits to request to carry and The corresponding relation of the mark of the associated information content, if it is, the operation for submitting described information content to is continued executing with, and Further trigger the mark and the associated information content of the information content for asking to submit to described in the recording unit records Mark between incidence relation;Otherwise refusal submits described information content to;
The recording unit, is additionally operable under the triggering of the judging unit, records the mark of the information content that the request is submitted to Know and the incidence relation between the mark of the associated information content.
14. devices according to claim 10, it is characterised in that the receiving unit, are additionally operable to receive carrying cookie The exempting from of the mark of the information content browsed with request registers browse request;
The transmitting element, if be additionally operable to the recording unit to have been recorded with described exempting to register what browse request was carried Corresponding relation between cookie and the mark of the information content, then exempt to register in the information carried in browse request described in return The corresponding information content of mark of appearance.
15. devices according to claim 14, it is characterised in that the transmitting element, if being additionally operable to the record Unit's record has the information content for exempting to register associated by the mark of the information content that browse request is carried to identify, then further return Return the associated information content and identify the corresponding information content.
16. device according to claim 10,11 or 12, it is characterised in that the device also includes:Authentication unit, is used for Before the submission unit submits described information content to, verification code information, the identifying code of the user input to receiving are returned Information is verified, if the verification passes, then triggers the submission unit and submit described information content to;Otherwise forbid the submission Unit submits described information content to or again returns to other verification code informations.
17. device according to claim 10,11 or 12, it is characterised in that account monitoring unit, for if public Account by using submitting to the number of times of the information content to exceed predetermined threshold value, is then closed to exempt to register and submits function within a certain period of time.
A kind of 18. devices of submission information, are arranged at browser, it is characterised in that the device includes:
Transmitting element, registration submission request is exempted from for being sent to server;
Recording unit, submits to the cookie entrained by asking and request to carry for recording to exempt to register described in the server return Corresponding relation between the mark of the information content of friendship;
Display unit, when the triggering of identification list of submitted to information is browsed for the browser by user's request, if The recording unit records have the mark of the corresponding information contents of the currently used cookie of browser, then using the current institute The page is generated using the mark of the corresponding information contents of cookie and show user.
CN201310712550.1A 2013-12-20 2013-12-20 A kind of method and apparatus of submission information Active CN103763304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310712550.1A CN103763304B (en) 2013-12-20 2013-12-20 A kind of method and apparatus of submission information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310712550.1A CN103763304B (en) 2013-12-20 2013-12-20 A kind of method and apparatus of submission information

Publications (2)

Publication Number Publication Date
CN103763304A CN103763304A (en) 2014-04-30
CN103763304B true CN103763304B (en) 2017-07-04

Family

ID=50530464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310712550.1A Active CN103763304B (en) 2013-12-20 2013-12-20 A kind of method and apparatus of submission information

Country Status (1)

Country Link
CN (1) CN103763304B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106600275B (en) * 2015-10-14 2020-08-21 阿里巴巴集团控股有限公司 Risk identification method and device
CN106372174A (en) * 2016-08-31 2017-02-01 东软集团股份有限公司 Method and device for preventing repeated submission of form
CN108153775A (en) * 2016-12-05 2018-06-12 北大方正集团有限公司 META Search Engine high frequency accesses the method and META Search Engine of single website
CN107017946B (en) * 2017-02-15 2019-04-23 金钱猫科技股份有限公司 A kind of method and system that ONU equipment is registered automatically
CN108881190B (en) * 2018-05-31 2020-12-18 联想(北京)有限公司 Information processing method and device
CN110297995B (en) * 2019-07-04 2022-06-14 百度在线网络技术(北京)有限公司 Method and device for collecting information
CN114928637A (en) * 2022-05-20 2022-08-19 南京一盏神灯网络信息科技有限公司 Cross-platform information acquisition method and system for improving user experience and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222348A (en) * 2007-01-10 2008-07-16 阿里巴巴公司 Method and system for calculating number of website real user
CN101635010A (en) * 2009-08-21 2010-01-27 腾讯科技(深圳)有限公司 Dialogue processing method and dialogue system in dialogue community
CN102054042A (en) * 2010-12-30 2011-05-11 百度在线网络技术(北京)有限公司 Service method and site for exchanging knowledge information and question and answer exchange platform
US20110225310A1 (en) * 2008-11-18 2011-09-15 Eiji Takahashi Content delivery system
CN102843357A (en) * 2012-07-30 2012-12-26 北京网蜜在线网络有限公司 Network accessing method, application server and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222348A (en) * 2007-01-10 2008-07-16 阿里巴巴公司 Method and system for calculating number of website real user
US20110225310A1 (en) * 2008-11-18 2011-09-15 Eiji Takahashi Content delivery system
CN101635010A (en) * 2009-08-21 2010-01-27 腾讯科技(深圳)有限公司 Dialogue processing method and dialogue system in dialogue community
CN102054042A (en) * 2010-12-30 2011-05-11 百度在线网络技术(北京)有限公司 Service method and site for exchanging knowledge information and question and answer exchange platform
CN102843357A (en) * 2012-07-30 2012-12-26 北京网蜜在线网络有限公司 Network accessing method, application server and system

Also Published As

Publication number Publication date
CN103763304A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN103763304B (en) A kind of method and apparatus of submission information
US5848412A (en) User controlled browser identification disclosing mechanism
US8572756B2 (en) Captcha method and system
US9311679B2 (en) Enterprise social media management platform with single sign-on
US6195698B1 (en) Method for selectively restricting access to computer systems
CN104135365B (en) Method, server and the client that access request is verified
US8060524B2 (en) History answer for re-finding search results
CN101771676B (en) Setting and authentication method for cross-domain authorization and relevant device and system
US8955066B1 (en) Knowledge based authentication using recent user internet activity
EP2783319A1 (en) Providing verification of user identification information
US8667566B2 (en) Audio based human-interaction proof
JP2014532219A (en) Generate processed web address information
CN105939326A (en) Message processing method and device
EP2255316A2 (en) Method and apparatus for enhanced age verification and activity management of internet users
Jakobsson et al. Spoofkiller: You can teach people how to pay, but not how to pay attention
CN108605037A (en) The method for sending digital information
CN107196811A (en) Video website door chain control system and method
KR100406757B1 (en) Method and system for providing web service with automatic management of plurality of identities and homepages
US20190268323A1 (en) On demand multifactor authentication
CN111385313B (en) Method and system for verifying object request validity
JP2004185502A (en) Information collecting/providing method
WO2016180229A1 (en) Terminal data processing method and device
US10764283B1 (en) Monitoring to trigger on demand multifactor authentication
KR20180020977A (en) Message delivery and evaluation system
CN106651441A (en) Incentive request effectiveness detection method, device and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant