Summary of the invention
In view of this, the one kind that is designed to provide of the embodiment of the present invention gets method, apparatus and server ready, it is low to improve
The incompatible problem of the mode that the client of version is got ready on the server.
In a first aspect, the embodiment of the invention provides one kind to get method ready, applied to be in communication with each other the client of connection with
Server, which comprises
Client issues the request for obtaining and promoting resource;
Server customer in response end issues the request for obtaining and promoting resource, by the promotion message and label for promoting resource
The address URL of picture is spliced, and the splicing address URL is obtained;
The address splicing URL and the popularization resource are sent to client by server;
After client shows the popularization resource, server is accessed according to the address splicing URL;
Server extracts the promotion message from the address splicing URL, completes to get ready.
Second aspect, the embodiment of the invention also provides one kind to get method ready, is applied to server, which comprises
Customer in response end issues the request for obtaining and promoting resource, by the promotion message for promoting resource and label picture
URL is spliced address, and the splicing address URL is obtained;
The address splicing URL and the popularization resource are sent to client;
Access of the customer in response end to the splicing address URL, extracts the popularization letter from the address splicing URL
Breath, completes to get ready.
The third aspect, the embodiment of the invention also provides a kind of device for dotting, the device for dotting includes:
Splicing module issues the request of acquisition promotion message for responding the client, and promotion message and label are schemed
The address URL of piece is spliced, and the splicing address URL is obtained;
Sending module, for the address splicing URL to be sent to the client;
It gets module ready, accesses the address splicing URL for responding the client, mentioned from the address splicing URL
The promotion message is taken, completes to get ready.
Fourth aspect, the embodiment of the invention also provides a kind of server, the server is connect with client communication, institute
Stating server includes: memory;Processor;And
Device for dotting, the device for dotting are installed in the memory and are held including one or more by the processor
Capable software function module, the device for dotting include:
Splicing module issues for customer in response end and obtains the request for promoting resource, and the popularization for promoting resource is believed
It ceases and is spliced with the address URL of label picture, obtain the splicing address URL;
Sending module, for the address splicing URL and the popularization resource to be sent to the client;
It gets module ready, accesses the address splicing URL for responding the client, mentioned from the address splicing URL
The promotion message is taken, completes to get ready.
Compared with prior art, of the invention to get method and device ready, server can will label picture and promotion message
The splicing address URL is obtained after being stitched together, and the splicing address URL and popularization resource are issued to client together, provided when promoting
After source is really showed on the client, client can access the splicing address URL, and server is to the popularization in the splicing address URL
After information extracts decryption, it can know which item is promoted resource and is demonstrated in client, can be promoted to corresponding
Resource carries out data statistics, and method is simple for of the invention getting ready, can be adapted for the application program of the different editions of client, nothing
Corresponding server is needed individually to customize new application version, compatibility is higher.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Getting method and system provided by the embodiment of the present invention ready can be applied in application environment as shown in Figure 1.Such as Fig. 1
Shown, client 100, server 200 are located in network 300, and client 100 is counted with server 200 by the network 300
According to interaction.
Server 200 may be, but not limited to, network server, database server, cloud server etc..The visitor
Family end 100 may be, but not limited to, smart phone, PC (personal computer, PC), tablet computer, a number
Word assistant (personal digital assistant, PDA), mobile internet surfing equipment (mobile Internet device,
MID) etc..The operating system of the client 100 may be, but not limited to, Android (Android) system, IOS (iPhone
Operating system) system, Windows phone system, Windows system etc..
In the embodiment of the present invention, browser is installed in the client 100, it is corresponding with server 200, it is mentioned for user
For service, this, which gets method and system ready, to implement between the browser and server 200 of client 100, and in the service
The completion of device 200 is got ready.It should be noted that be also equipped in the client 100 other applications (Application,
APP), such as client of leading a cow, Taobao's client, the method and system of getting ready of the embodiment of the present invention can also be in client 100
It is run between other applications and server 200.
As shown in Fig. 2, being the structural block diagram of server 200 provided in an embodiment of the present invention.The server 200 includes beating
Point device 400, memory 201, storage control 202 and processor 203.
The memory 201, storage control 202 and processor 203, each element are directly or indirectly electrical between each other
Connection, to realize the transmission or interaction of data.For example, these elements can pass through one or more communication bus or letter between each other
Number line, which is realized, to be electrically connected.The device for dotting 400 includes that at least one can be deposited in the form of software or firmware (firmware)
It is stored in the memory 201 or is solidificated in and is in the operating system (operating system, OS) of the client 100 soft
Part functional module.The processor 203 is for executing the executable module stored in memory 201, for example, the device for dotting
400 software function modules or computer program for including.
Wherein, memory 201 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only memory Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memory 201 is for storing program, and the processor 203 executes described program after receiving and executing instruction, aforementioned
Method performed by the server 200 that the stream process that any embodiment of the embodiment of the present invention discloses defines can be applied to processor
In 203, or realized by processor 203.
Processor 203 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 203 can
To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit
(Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), specific integrated circuit (ASIC),
Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard
Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor
It can be microprocessor or the processor 203 be also possible to any conventional processor etc..
First embodiment
Fig. 3 shows the structural block diagram of the device for dotting 400 of first embodiment of the invention offer, referring to Fig. 3, this implementation
Device for dotting 400 in example including splicing module 401, sending module 402 and gets module 403 ready.
The splicing module 401 issues the request that resource is promoted in acquisition for responding the client 100, believes promoting
Spliced, spelled in address uniform resource locator (Uniform Resource Locator, URL) of breath and label picture
Connect the address URL.
Client 100, which issues, to be obtained the mode of request for promoting resource and can be, the browser of client 100 be opened or
Glide refresh page after person's browser opening, can send out and request to server 200.Wherein, the promotion message can be table
Sign promotes the information of the attribute of resource, for example, the promotion message can be the impression information for promoting resource, pattern letter
Breath, media side's information, ad spot information etc..
The popularization resource of the present embodiment can be advertisement, and advertisement, which refers to, can be transmitted by network 300 and can be filled by computer
A kind of transmitting carrier setting (server 200 or interruption) processing and presenting, may include figure, text, video, sound, animation
Deng any one or more, to realize the purpose for transmitting certain specific information to user.Certainly, in other specific embodiments
In, the popularization resource can also include other, such as news.
Label picture can be used as network picture and be issued to client 100 by server 200, for different clients
The 100 label pictures issued, there is the different addresses URL, and the address URL and the promotion message that mark picture are stitched together
Afterwards, the splicing address URL can be obtained, therefore, for different clients 100, the splicing URL of the generation of splicing module 401
Address is different.
The sending module 402, for the address splicing URL and the popularization resource to be sent to the client
100。
It is described to get module 403 ready, the address splicing URL is accessed for responding the client 100, from the splicing
The promotion message is extracted in the address URL, completes to get ready.
Behind the address splicing URL and popularization resource that the client 100 is collected, the popularization resource is in the client
After obtaining display on end 100, the client 100 can access the address splicing URL that the sending module 402 issues, and thus visit
Ask server 200.At this point, server 200 extracts the promotion message in the splicing address URL, foundation is extracted
Promotion message, server 200 can know which item is promoted resource and obtained in client 100 from the splicing address URL
Really show, then recorded in memory 201, completes to get ready.
Second embodiment
Fig. 4 shows the structural block diagram of the device for dotting 400 of second embodiment of the invention offer, is different from the first embodiment
, second embodiment of the invention provide device for dotting 400 obtain client 100 request while, can also obtain
Client 100 issue user information, wherein user information may include the regional information of user, client 100 webpage go through
History, the type of client 100 and User IP etc..After server 200 receives the request and user information of client 100, clothes
Business device 200 can distribute automatically corresponding popularization resource according to the user information of client 100, for example, can be according to client
100 web-page histories, User IP etc. distribute corresponding popularization resource.
The device for dotting 400 that second embodiment of the invention provides further includes encrypting module 404, and the encrypting module 404 is used
In the promotion message is spliced into character string, naturally it is also possible to which promotion message and the user information are spliced into character together
String, and the character string that splicing obtains is encrypted, obtain encrypted characters string.Due to may include client in the character string
100 user information is arranged the encrypting module 404 and is not only able to that user information is protected not to be leaked, and can also believe promoting
Breath is protected.
For example, the encrypted characters string can be with are as follows:
ALoAACwBAAAyWRMk-8Miv37Td10aSH68VCrfd_lXxgLtIwqEg4VmvB5fyYdVNBHaDRtm
jg9sNydWeWK_EwCUV-UQAZPPoBBCD0zWeKWbHhv12g0Ge7ApeR1ddO3-
pz0JkJPwz5JUUsRZscUHq_DJ8NVMkzyfK5j37lTjF-6n0bclLHkRRhufbnHfl-xPMmjC_mzeh175
HUAnz2BoDotKVTiGJ1D8lFJPUs-ThRhsp4_f4svZdyFazr7RALTK_bXVncAK4WSRpJ2U8OKnxglo
mFriSvSLjpQvGi1_NN6_ZbXztZSBbTuT_8SsOJvH5eQ7qvqSPutJYsJZVV-
u1dXCFCou32DyAmGhH-fNxYnSCnLfPN0xnxJZeoRi-OGde91Lr47SrPnzKWFijn1QLMyCJpY6X9o:
The splicing module 401 is also used to splice the address URL of the encrypted characters string and the label picture,
Obtain the address splicing URL.
For example, the address URL of the label picture can be with are as follows:
Http:// huichuan.sm.cn/adrealshow_&stm={ TS }.
It is stitched together the address URL of the label picture and the encrypted characters string to obtain the address of splicing URL,
Are as follows:
http://huichuan.sm.cn/adrealshow_ALoAACwBAAAyWRMk-
8Miv37Td10aSH68VCrfd_lXxgLtIwqEg4VmvB5fyYdVNBHaDRtmjg9sNydWeWK_EwCUV-UQAZPPo
BBCD0zWeKWbHhv12g0Ge7ApeR1ddO3-pz0JkJPwz5JUUsRZscUHq_DJ8NVMkzyfK5j37lTjF-
6n0bclLHkRRhufbnHfl-xPMmjC_mzeh175HUAnz2BoDotKVTiGJ1D8lFJPUs-ThRhsp4_
f4svZdyFazr7RALTK_bXVncAK4WSRpJ2U8OKnxglomFriSvSLjpQvGi1_NN6_ZbXztZSBbTuT_
8SsOJvH5eQ7qvqSPutJYsJZVV-u1dXCFCou32DyAmGhH-fNxYnSCnLfPN0xnxJZeoRi-OGde91Lr
47SrPnzKWFijn1QLMyCJpY6X9o:&stm={ TS }.
The sending module 402, for the address splicing URL and the popularization resource to be sent to the client
100。
It is described to get module 403 ready, the address splicing URL is accessed for responding the client 100, from the splicing
The promotion message is extracted in the address URL, completes to get ready.Specifically, working as the address splicing URL that the client 100 is collected
After promoting resource, after the popularization resource obtains display in the client 100, the client 100 can access described
The address splicing URL that sending module 402 issues, is thus accessed server 200.At this point, server 200 is by the splicing URL
Promotion message and user information in address extract, and are according to the promotion message and user information, server 200 extracted
May know that it is which item popularization resource has obtained really showing in the client 100 of which user, then in memory 201
It is recorded, completes to get ready.
In the present embodiment, the sending module 402 be also used to it is described get ready module 403 completion get ready after, will store
The label picture that device 201 stores is sent to client 100.
In the present embodiment, label picture can be issued to client 100 by server 200 and be shown, label picture can
To make marks to the popularization resource shown in client 100, for example, showing the label in the advertisement that client 100 is shown
Picture promotes resource for prompting the advertisement shown on a client 100.Preferably, the label picture is ICON format
Picture, the picture of ICON format is chiefly used in system icon, software icon etc..
3rd embodiment
Referring to FIG. 5, being the structural block diagram for getting system 10 ready that third embodiment of the invention provides.It is described to get system 10 ready
Server 200 and client 100 including being in communication with each other connection, the server 200 include splicing module 401, sending module
402, module 403 and encrypting module 404 are got ready;The client 100 includes request module 101, display module 102 and visits
Ask module 103.
The request module 101 obtains the request for promoting resource for issuing to the server 200.When client 100
Browser be opened or the page that browser is opened is when being refreshed, issue and request to server 200.Need it is to be noted that
When the client 100 issues request, the user information of the client 100 can be sent to service with the request together
Device 200.
The encrypting module 404 is for the request according to the request module 101, by promotion message to be sent and user
Information is spliced into character string, and the character string is encrypted, and obtains encrypted characters string.
The splicing module 401 is used to respond the client 100 and issues the request for obtaining and promoting resource, will promote resource
Promotion message and mark picture the address URL spliced.Specifically, splicing module 401 is used for will be described in the present embodiment
Encrypted characters string and the address URL of the label picture are spliced, and the address splicing URL is obtained.
The sending module 402, for splicing the URL of encrypted characters string and label picture in the splicing module 401
After good, the address splicing URL and popularization resource are sent to the client 100 together.The sending module 402 is also used to
It is described get ready module 403 completion get ready after, the label picture is sent to the client 100.
The display module 102, for showing the popularization resource, and the label figure that display sending module 402 is sent
Piece.The display module 102 provided between the client 100 and user an interactive interface for display image data to
User's reference.In the present embodiment, the display module 102 can be liquid crystal display or touch control display.
The access modules 103, for after the popularization resource is really showed on display module 102, according to
The server 200 is accessed according to the address splicing URL.
It is described to get module 403 ready, the address splicing URL is accessed for responding the client 100, from the splicing
The promotion message is extracted in the address URL, completes to get ready.When the client 100 accesses the splicing in the server 200
Behind the address URL, server 200 can know which item is promoted resource and obtained in the client 100 from the splicing address URL
Really show, is then recorded in memory 201, complete to get ready.
Fourth embodiment
Fig. 6 shows the flow diagram for getting method ready of fourth embodiment of the invention offer.It should be noted that this hair
Method is got ready not with Fig. 6 and specific order as described below described in bright as limitation.It should be appreciated that in other embodiments
In, the sequence of the present invention for getting method part step ready can be exchanged with each other or therein according to actual needs
Part steps also can be omitted or delete.The method of getting ready is applied to be in communication with each other the client 100 and server of connection
200.Detailed process shown in fig. 6 will be described in detail below.Referring to Fig. 6, the method for getting ready includes:
Step S101, client 100 issue the request for obtaining and promoting resource.
Client 100 is issued to server 200 to be obtained the mode of request for promoting resource and can be, client 100 it is clear
When the page that device of looking at is opened or browser is opened is refreshed, i.e., issues and request to server 200.In the embodiment of the present invention,
Step S101 can be executed by request module 101.
Step S102,200 customer in response end 100 of server issue the request for obtaining and promoting resource, by promotion message and mark
The address URL of note picture is spliced, and the splicing address URL is obtained;In the embodiment of the present invention, step S102 can be by splicing module
401 execute.
The address splicing URL and popularization resource are sent to client 100 by step S103, server 200;
In the embodiment of the present invention, step S103 can be executed by sending module 402.
Step S104 after 100 client of client shows the popularization resource, is visited according to the address splicing URL
Ask server 200;
It promotes resource to be revealed on display module 102, i.e., after really being showed, access modules 103 can be visited
Ask client 100 the received address splicing URL.This step is to can be used for counting user in client 100 as the foundation got ready
The information such as the number of the upper viewing promotion message, are convenient for Information Statistics.In the embodiment of the present invention, step S104 can be by showing
Module 102 and access modules 103 execute jointly.
Step S105, server 200 extract the promotion message from the address splicing URL, complete to get ready.
After the client 100 accesses the splicing address URL in the server 200, server 200 is by the splicing
Promotion message in the address URL extracts, and according to the promotion message extracted, server 200 may know that it is which item pushes away
Wide resource has obtained really showing in the client 100, is then recorded in memory 201, completes to get ready.The present invention
In embodiment, step S105 can be executed by getting module 403 ready.
5th embodiment
Fig. 7 shows the flow diagram for getting method ready of fifth embodiment of the invention offer, not with fourth embodiment
With one kind that fifth embodiment of the invention provides gets method ready further include:
Step S106, executes after step slol.In the present embodiment, in the step S101, sent out in client 100
While obtaining the request for promoting resource out, the user information of client 100 is sent to service.Step S106 are as follows: server
The promotion message and user information are spliced into character string by 200, and the character string is encrypted, and obtain encrypted characters
String.The step S106 is executed after the request and user information that server 200 receives client 100.The present invention is real
It applies in example, step S106 can be executed by encrypting module 404.
Step S102, executes after step s 106.In the present embodiment, step S102 are as follows: by the encrypted characters string
Spliced with the address URL of label picture, obtains the splicing address URL.
Fifth embodiment of the invention further include: step S107 is executed after step S105.Step S107 are as follows: clothes
The label picture is sent to client 100 by business device 200, and client 100 shows the label picture.
This step can be the demand according to client 100, the label picture is sent to client 100, and in visitor
Showed on family end 100 by display module 102.In the embodiment of the present invention, step S107 can be by sending module 402 and aobvious
Show that module 102 executes jointly.
Sixth embodiment
Fig. 8 shows the flow diagram for getting method ready of fifth embodiment of the invention offer, described to get method application ready
In server 200.Detailed process shown in Fig. 8 will be described in detail below.Referring to Fig. 8, the method for getting ready includes:
The user information that the promotion message and client 100 issue is spliced into character string by step S110, and will be described
Character string is encrypted, and encrypted characters string is obtained.
In the request at 200 customer in response end 100 of server, the user information of the client equally can receive,
In, user information may include the regional information of user, the web-page histories of client 100, the type of client 100 and user
IP etc..According to the user information of client 100, corresponding promotion message is distributed automatically, and by promotion message and client 100
User information is spliced into character string together, and encrypts to the character string, obtains encrypted characters string.The embodiment of the present invention
In, step S110 can be executed by encrypting module 404.
Step S111 splices the address URL of the encrypted characters string and label picture, obtains the splicing address URL.
In the embodiment of the present invention, step S111 can be executed by splicing module 401.
The address splicing URL and the popularization resource are sent to client 100 by step S112.It is incited somebody to action in step S111
After the URL of encrypted characters string and label picture splices well, the address splicing URL and popularization resource are sent to the visitor together
Family end 100.In the embodiment of the present invention, step S112 can be executed by sending module 402.
Step S113, access of the customer in response end to the splicing address URL, pushes away described in extraction from the splicing address URL
Guangxin breath, completes to get ready.
After the address splicing URL in the server 200 is accessed by client 100, server 200 is by the splicing
Promotion message in the address URL extracts, and according to the promotion message extracted, server 200 may know that it is which item pushes away
Wide resource has obtained really showing in the client 100, is then recorded in memory 201, completes to get ready.The present invention
In embodiment, step S113 can be executed by getting module 403 ready.
The label picture is sent to client by step S114.
This step can be the demand according to client 100, and the label picture is sent to client 100, client
100 can be shown the label picture by display module 102.In the embodiment of the present invention, step S114 can be by transmission mould
Block.
In conclusion of the invention gets method and device ready, applied to the server and client side for being in communication with each other connection, clothes
Business device can be stored using label picture as network picture, and each label picture has the corresponding address URL, will mark
After remembering that the address URL of picture and promotion message are stitched together, obtains the splicing address URL and be issued to client, provided when promoting
After source is really showed on the client, client can access the splicing address URL, and server is to the popularization in the splicing address URL
After information extracts decryption, it can know which item is promoted resource and is demonstrated in client, can be promoted to corresponding
Resource carries out data statistics, completes to get ready.Server can also obtain the user information of client simultaneously, analyze convenient for data.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement
It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.It needs
Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with
Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities
The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.