Specific embodiment
Fig. 1 is a kind of flow diagram of paper media's two dimensional code control method embodiment one provided by the invention.Such as Fig. 1 institute
Show, this method comprises:
S10, paper media's server receive the access request that mobile terminal is sent, and include the in paper media in the access request
The first web page interlinkage for including in one two dimensional code, first web page interlinkage are and the associated webpage chain of paper media's server
It connects.
Wherein, paper media's server is the server that paper media issues unit setting, and the first two dimensional code is the generation of paper media's server
Two dimensional code, the web page access for including in the first two dimensional code is linked as the access link of paper media's server offer.
Specifically, after paper media's distribution, user is by the first two dimensional code in mobile scanning terminal paper media, paper media's server
It can get the request that user accesses the web page interlinkage that the first two dimensional code includes.
S11, paper media's server determine the second web page interlinkage corresponding with first web page interlinkage.
Specifically, can be saved in paper media's server each first web page interlinkage for including in each two dimensional code in paper media respectively with
The mapping table of the second web page interlinkage in other network servers, then above-mentioned S11 include:
The mapping table of paper media's server inquiry the first web page interlinkage and the second web page interlinkage, it is determining and described the
Corresponding second web page interlinkage of one web page interlinkage.
I.e. when paper media's server is after receiving access request, can be inquired according to the first web page interlinkage in access request
The mapping table of web page interlinkage, so that it is determined that the second web page interlinkage corresponding with the first web page interlinkage.
Alternatively, above-mentioned S11 includes:
Paper media's server opens first web page interlinkage;
Paper media's server obtains the second web page interlinkage from the page of first web page interlinkage.
Specifically, paper media's server can distribute a page for each first web page interlinkage, and recorded in the page
There is the second web page interlinkage corresponding with first web page interlinkage.
S12, paper media's server obtain described second from the associated network server of the second web page interlinkage
Webpage information to be presented in web page interlinkage.
Wherein, the corresponding network of web page interlinkage for including in the two dimensional code that network server provides for paper media's advertisement dispensing side
Server.For example network server is Baidu's server, Sohu's server, Sina's server etc..
Specifically, paper media's server after determining the second web page interlinkage, can be determined by the second web page interlinkage of parsing
With the associated network server of the second web page interlinkage, thus by the network server send obtain the second web page interlinkage in
The form of the request of the page info of display, with from obtaining page letter to be shown in the second web page interlinkage in network server
Breath.Alternatively, paper media's server is after determining the second web page interlinkage, can also to the associated network server of the second web page interlinkage
The request for opening the corresponding webpage of the second web page interlinkage is sent, and then open webpage information is parsed, to be somebody's turn to do
Webpage information to be presented in second web page interlinkage.
S13, paper media's server judge whether the content of the webpage information meets default rule.
Specifically, paper media's server can according to the control condition to webpage information, preset some keywords or picture or
Person's voice etc., after paper media's server gets webpage information to be presented, retrieval judge in webpage information to be presented whether
Including these keywords or picture or voice etc., so that it is determined that whether the webpage information meets default rule.
S14, if not satisfied, preset webpage information is then sent to the mobile terminal, so that the mobile terminal is aobvious
Show preset webpage information.
Specifically, paper media's server can preset a public page, when paper media's server judges in webpage information
Whens keyword or picture or voice etc. including being unsatisfactory for preset rules, which can be sent to mobile terminal, it should
" sorry, the page info that you are accessed has failed " or " sorry, the page that you are accessed can be shown in the public page
The wordings such as information failure " or " sorry, the page info that you are accessed has been illegally modified ", for prompting user this time to ask
Access is asked to fail.
Paper media's two dimensional code control method provided by the invention, after paper media's server receives the access request of terminal transmission,
Corresponding second link is determined according to the first link in access request first, and then connect associated network service from second
Page info to be presented in the second link is obtained in device, judges whether page info meets default rule, when being unsatisfactory for
Preset other page infos are displayed for a user, to realize paper media after distribution, paper media publisher can also be to distribution
The associated information of two dimensional code is audited and is controlled, and the risk that paper media publisher issues two dimensional code is avoided.
Fig. 2 is the flow diagram of paper media's two dimensional code control method embodiment two provided by the invention.As shown in Fig. 2,
Before above-mentioned S10, this method further include:
S20, paper media's server obtain the second two dimensional code.
Specifically, the second two dimensional code is the two dimensional code that paper media's advertisement dispensing side provides.Before publication, each advertisement is launched for paper media
If side wishes to launch two dimensional code advertisement, need to provide the second two dimensional code to paper media first, so that paper media publisher is to the two dimensional code
In include information examined.
S21, the associated network clothes of the second web page interlinkage that paper media's server includes from second two dimensional code
The webpage information in the second web page interlinkage is obtained in business device.
Paper media's server obtains the second web page interlinkage for including in the second two dimensional code by scanning the second two dimensional code of parsing, from
And acquisition and the associated network server of the second web page interlinkage, and then paper media's server can be obtained from the network server
Page info in second web page interlinkage.
S22, paper media's server judge whether the content of the webpage information meets default rule.
S23, if satisfied, first two dimensional code corresponding with second two dimensional code is then generated, so that the paper media is sent out
Row first two dimensional code.
Specifically, paper media's server is when determining that the corresponding information of two dimensional code that advertisement dispensing side is launched meets rule, it can
Think that second two dimensional code distributes one and associated first two dimensional code of paper media's server, is used so that paper media prints distribution.I.e.
The web page interlinkage for including in first two dimensional code is associated with paper media's server, and the first two dimensional code of generation is printed on paper media
On, thus when the first two dimensional code in scanning input paper media, paper media's server can be triggered from associated with the second web page interlinkage
Advertisement dispensing side webpage information to be presented is obtained in network server, so that whether the webpage information of judgement at this time meets rule
Then.If paper media's server is by judging that the corresponding information of two dimensional code for determining that advertisement dispensing side is launched is unsatisfactory for rule, such as
When comprising invalid information, then a judging result information can be generated to the corresponding information of two dimensional code, publisher of paper media can be according to this
To refuse to launch the two dimensional code for the advertisement dispensing side.
S10, paper media's server receive the access request that mobile terminal is sent, and include the in paper media in the access request
The first web page interlinkage for including in one two dimensional code, first web page interlinkage are and the associated webpage chain of paper media's server
It connects.
S11, paper media's server determine the second web page interlinkage corresponding with first web page interlinkage.
S12, paper media's server obtain described second from the associated network server of the second web page interlinkage
Webpage information to be presented in web page interlinkage.
S13, paper media's server judge whether the content of the webpage information meets default rule, if not satisfied,
S14 is then executed, S24 is otherwise executed.
Preset webpage information is sent to the mobile terminal by S14, so that the mobile terminal shows preset webpage
Information.
Webpage information to be presented in second connection is sent to the mobile terminal by S24, so that described mobile whole
End shows the webpage information to be presented.
Further, after above-mentioned S23, before paper media prints distribution, paper media's server can also be to the first two dimensional code of generation
Validity verified, if verifying the first two dimensional code of scanning input when can smoothly obtain webpage information to be visited, if can
With, it is determined that the first two dimensional code is effective, can be used.
In a kind of possible way of realization of the present embodiment, after above-mentioned S10, this method further include:
Paper media's server updates the access log of first two dimensional code according to the access request.
Specifically, paper media's distribution unit can establish access log record, the access for each first two dimensional code in paper media
It may include access moment, the information such as access duration time and the final display page of access in log.For example, paper media publisher can
To be recorded by the access log of each first two dimensional code, to statistically analyze reader's primary interest reading content of the paper media,
To analyze the main reader groups of the paper media, or to assist each advertisement dispensing side to count the effect etc. that two dimensional code advertisement is launched
Deng.
Paper media's two dimensional code control method provided by the invention, paper media's server are raw according to the two dimensional code that the client of acquisition provides
At with after the associated two dimensional code of paper media's server, then the two dimensional code of generation issued, so that paper media's server receives end
After holding the access request sent, corresponding second link, Jin Ercong can be determined according to the first link in access request first
Connect in associated network server with second obtain second link in page info to be presented, judge whether page info expires
Sufficient default rule displays for a user preset other page infos when being unsatisfactory for, so that paper media is realized after distribution,
Paper media publisher can also audit and control to the associated information of the two dimensional code of distribution, avoid paper media publisher and issue two dimension
The risk of code.
Fig. 3 is the structural schematic diagram of paper media's server example one provided by the invention.As shown in Figure 1, the paper media services
Device 300 includes: receiving module 301, the acquisition of determining module 302, first module 303, first judgment module 304 and sending module
305。
Wherein, receiving module 301 is used to receive the access request of mobile terminal transmission, includes paper media in the access request
On the first two dimensional code in include the first web page interlinkage, first web page interlinkage be and the associated net of paper media's server
Page link;Determining module 302 is for determining the second web page interlinkage corresponding with first web page interlinkage;First obtains module
303 for obtaining net to be presented in second web page interlinkage from the associated network server of the second web page interlinkage
Page information;First judgment module 304 is for judging whether the content of the webpage information meets default rule;Sending module
305 are used for if not satisfied, preset webpage information is then sent to the mobile terminal, preset so that the mobile terminal show
Webpage information.
Specifically, paper media's server is the server that paper media issues unit setting, the first two dimensional code is the production of paper media's server
Raw two dimensional code, the web page access for including in the first two dimensional code are linked as the access link of paper media's server offer.Paper media's distribution
Afterwards, for user by the first two dimensional code in mobile scanning terminal paper media, paper media's server can be obtained the first two dimension of user's access
The request for the web page interlinkage that code includes.
Further, above-mentioned determining module 302 is specifically used for the mapping of inquiry the first web page interlinkage and the second web page interlinkage
Relation table determines the second web page interlinkage corresponding with first web page interlinkage.
In the alternatively possible way of realization of the present embodiment, above-mentioned determining module 302 is specifically used for opening described the
One web page interlinkage obtains the second web page interlinkage from the page of first web page interlinkage.
The function of each module in paper media's server provided in this embodiment and the process of paper media's two dimensional code control method can
Referring to the detailed description of above-mentioned paper media's two dimensional code control method embodiment one, details are not described herein again.
Paper media's server provided by the invention, after paper media's server receives the access request of terminal transmission, basis first
The first link in access request determines corresponding second link, and then obtains from connecting in associated network server with second
Page info to be presented, judges whether page info meets default rule in second link, aobvious for user when being unsatisfactory for
Show preset other page infos, to realize paper media after distribution, paper media publisher can also close the two dimensional code of distribution
The information of connection is audited and is controlled, and the risk that paper media publisher issues two dimensional code is avoided.
Fig. 4 is the structural schematic diagram of paper media's server example two provided by the invention.As shown in figure 4, on the basis of Fig. 3
On, paper media's server 300 further include: second obtains module 401, the second judgment module 402 and generation module 403.
Wherein, second module 401 is obtained for obtaining the second two dimensional code;It is described second acquisition module 401 be also used to from
The webpage in the second web page interlinkage is obtained in the associated network server of the second web page interlinkage for including in second two dimensional code
Information;Second judgment module 402 is for judging whether the content of the webpage information meets default rule;Generation module 403
For if satisfied, then generating first two dimensional code corresponding with second two dimensional code.
Further, paper media's server 300 further include: update module 404 is used to update institute according to the access request
State the access log of the first two dimensional code.
The function of each module in paper media's server provided in this embodiment and the process of paper media's two dimensional code control method can
Referring to the detailed description of above-mentioned paper media's two dimensional code control method embodiment two, details are not described herein again.
Paper media's server provided by the invention, paper media's server is generated according to the two dimensional code that the client of acquisition provides and paper media
After the associated two dimensional code of server, then the two dimensional code of generation issued, so that paper media's server receives terminal transmission
After access request, corresponding second link can be determined according to the first link in access request first, and then connect from second
It connects and obtains page info to be presented in the second link in associated network server, it is preset to judge whether page info meets
Rule displays for a user preset other page infos when being unsatisfactory for, so that paper media is realized after distribution, paper media's distribution
Side can also be audited and be controlled to the associated information of the two dimensional code of distribution, and the wind that paper media publisher issues two dimensional code is avoided
Danger.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.