The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, there is provided one kind can allow people in time by conveniently mode
Learn Item Information based on packing box obtain advertisement method and apparatus.
A kind of advertisement acquisition method based on packing box, methods described include:
Receive the advertisement that first terminal is sent and obtain request, the advertisement obtains request and carries the packaging that first terminal obtains
Box information;
Search the target packing box information of the packing box information matches with reception to be prestored in server;
The advertising message being associated according to the target packing box information searching;
The transmitting advertisement information of lookup to the first terminal is shown.
In one embodiment, the packing box information includes the appearance profile information of packing box and the image letter of packing box
Breath;
The step with the target packing box information of the reception packing box information matches that is being prestored in the lookup server
Suddenly it is:Search the target shape profile information with the appearance profile information match to be prestored in server, and the service of searching
The target image information with described image information match to be prestored in device;
It is described according to the target packing box information searching be associated advertising message the step of be:Search and the target
The advertising message that appearance profile information homogeneously associates with the target image information.
In one embodiment, methods described also includes:When not finding the target with the appearance profile information matches
Appearance profile information and when not finding the target image information with described image information matches, by the appearance profile of reception
Information and described image information are added to server.
In one embodiment, methods described also includes:
Receive the advertising message that second terminal uploads;
Receive the profile of the packing box of server memory corresponding with the advertising message storage of second terminal user selection
Profile information and image information;
Establish the incidence relation of the advertising message and the appearance profile information and described image information of selection.
A kind of method that advertisement is obtained based on packing box, methods described are included:
Scan packing box generation scan image;
Extract the appearance profile information of packing box described in the scan image;
Obtain the image information in the packing box profile corresponding to the packing box appearance profile information;
Request is obtained according to the appearance profile information and the generation advertisement of described image information, and by the advertisement of generation
Request is obtained to send to server;
Show server return with the appearance profile information and the advertising message of described image information matches.
In one embodiment, methods described also includes:
In the appearance profile information and described image information that the displaying of image shows window obtains;
The displaying server return with the advertising message of the appearance profile information and described image information matches
Step includes:
Receive that the server returns with the appearance profile information and the advertising message of described image information matches;
The advertising message is superimposed in the appearance profile information and described image information in image shows window,
Generation augmented reality advertising message is simultaneously shown.
A kind of device that advertisement is obtained based on packing box, described device are included:
Advertisement obtains request receiving module, and the advertisement for receiving first terminal transmission obtains request, and the advertisement obtains
Request carries the packing box information that first terminal obtains;
Packing box information matches module prestoring with the reception packing box information matches for searching in server
Target packing box information;
Advertising message is searched and send module, for the advertising message being associated according to the target packing box information searching;
Transmitting advertisement information module, for the transmitting advertisement information of lookup to the first terminal to be shown.
In one embodiment, the packing box information includes the appearance profile information of packing box and the image letter of packing box
Breath;
The packing box information matches module prestoring with the appearance profile information match for searching in server
Target shape profile information, and search the target image information with described image information match to be prestored in server;
The advertising message searching modul is additionally operable to search to be believed with the target shape profile information and the target image
Cease the advertising message homogeneously associated.
In one embodiment, described device also includes:
Advertising message receiving module, for receiving the advertising message of second terminal upload;
Profile information and image information selecting module, for receive second terminal user selection with the advertising message pair
The appearance profile information and image information for the server memory storage answered;
Information association module, believe for establishing the advertising message and the appearance profile information and described image of selection
The incidence relation of breath.
A kind of device that advertisement is obtained based on packing box, described device are included:
Scan module, for scanning packing box generation scan image;
Profile information extraction module, for extracting the appearance profile information of packing box described in the scan image;
Image information generation module, for obtaining in the packing box profile corresponding to the packing box appearance profile information
Image information;
Advertisement obtains request generation module, for being obtained according to the appearance profile information and the generation advertisement of described image information
Request is taken, and the advertisement of generation is obtained into request and sent to server;
Advertising message display module, for show server return with the appearance profile information and described image information
The advertising message of matching.
The above-mentioned method and apparatus that advertisement is obtained based on packing box, the advertising message for the article having in advance in server,
And advertising message and packing box information are established into incidence relation, and after the advertisement for receiving first terminal upload obtains request, meeting
Advertising message in the packing box information searching server carried in request with packing box information matches is obtained according to advertisement, and will
The transmitting advertisement information of acquisition to terminal display enables one to understand article by watching advertising message, only needs first terminal
Packing box information is captured, you can learn the advertisement of article corresponding to packing box, people is known the mode of Item Information
It is simpler quick.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not
For limiting the present invention.
The advertisement acquisition method based on packing box provided in the embodiment of the present invention may apply to as shown in Figure 1 answer
With in environment.First terminal 102 passes through network connection with server 104.Scanned item 106 in first terminal 102 can be used for
Packing box is scanned, identifies packing box information, first terminal 102 generates advertisement according to packing box information and obtains request, advertisement is obtained
Request is taken to be sent by network to server 104.Server 104 receives advertisement and obtains request, is obtained in request and taken according to advertisement
Advertising message corresponding to the packing box acquisition of information of band, and advertising message is back to first terminal 102.First terminal 102 is opened up
Show ad content.
In one embodiment, as shown in Figure 2, there is provided it is a kind of based on packing box obtain advertisement method, this method with
Illustrate, specifically include exemplified by applying in server 104 as shown in Figure 1:
Step S202:Receive the advertisement that first terminal is sent and obtain request, advertisement acquisition request carries first terminal and obtained
Packing box information.
Packing box is used for packing article, and contour structures are various, and word, pattern and thing are typically printed with the outside of packing box
The information such as product label.The information of printing is generally used for introducing the article in packing box on the outside of packing box, but due to the chi of packing box
It is very little limited, it is insufficient to allow people to be fully understood by article by the information on packing box.
First terminal is mounted with Advertising application, can be by this as people it should be understood that during the details of article
The scanned item that Advertising application starts first terminal is scanned to packing box, obtains packing box information, and pass through advertisement
Application program generates advertisement according to packing box information and obtains request, and the advertisement of generation is obtained into request and sent to server.
In one embodiment, can also used camera device shooting packing box, obtained by shooting obtained packing box picture
Take packing box information.In another embodiment, the packing box information of acquisition can include packing box appearance profile information and
The image information of packing box.
Step 204:Search the target packing box information of the packing box information matches with reception to be prestored in server.
Specifically, having prestored various the packing box information and advertising message of collection in the database of server, and build
Found incidence relation of the advertising message with corresponding packing box information.Server receives the advertisement that first terminal uploads and obtains request,
The packing box information carried in request is obtained according to advertisement, whether search has and the upload in the packing box information of server storage
Packing box information match, the packing box information with being stored in the server of the packing box information match of upload is target
Packing box information.
In one embodiment, the matching of packing box information can be the matching of packing box appearance profile information, can also
It is the matching of a certain angular image information of packing box, can also be matching (the stereo image information bag of packaging stereo image information
Include the image information of packing box all angles), naturally it is also possible to it is the matching of above-mentioned any combination information.
Step S206:The advertising message being associated according to target packing box information searching.
Step S208:The transmitting advertisement information of lookup to first terminal is shown.
Because the packing box information to be prestored in server has incidence relation with advertising message, therefore, target bag can be passed through
For mounted box information searching to advertising message associated therewith, the advertising message is thing corresponding to the packing box of first terminal scanning
The advertising message of product.Wherein, advertising message can include video information, image information, audio-frequency information etc..
In the present embodiment, the advertising message for the article having in advance in server, and by advertising message and packing box information
Incidence relation is established, after the advertisement for receiving first terminal upload obtains request, can obtain what is carried in request according to advertisement
Advertising message in packing box information searching server with packing box information matches, and by the transmitting advertisement information of acquisition to terminal
Displaying enables one to understand article by watching advertising message, only needs first terminal to capture packing box information, i.e.,
The advertisement of article corresponding to packing box can be learned, people is known that the mode of Item Information is simpler quick.
In one embodiment, in step S206:The step for the advertising message being associated according to target packing box information searching
After rapid, include the keyword message of extraction advertising message, and the keyword message of extraction is sent to first terminal.First
Terminal user checks the keyword message, and judges whether to be consistent with the article in the packing box to be searched, if it is, the
One terminal to server sends the download request of advertising message corresponding to the keyword, and server is by corresponding transmitting advertisement information
Shown to first terminal.Here keyword message is that the ad content in advertising message extracts, and can be institute's advertisement
Article title.
In one embodiment, packing box information includes the appearance profile information of packing box and the image information of packing box.
The appearance profile information of packing box is the method extraction of first terminal application rim detection and can reflect packaging
The appearance information of box 3D shape, such as packing box are polyhedron-shaped, cylindrical shape.The image information of packing box is packing box
Image information at scanning visual angle.The image information includes scanning the text information of packing box lateral surface in visual angle, image letter
Breath etc..
In the present embodiment, step S204, the target bag of the packing box information matches with reception to be prestored in server is searched
Mounted box information is:The target shape profile information with appearance profile information match to be prestored in server is searched, and searches clothes
The target image information to match with image information to be prestored in business device.
Specifically, gray value has the point of significant change in subrange in the extraction of appearance profile substantially extraction image
(singular point), the set for having the singular point necessarily associated in image are the appearance profile of image.The appearance profile letter of packing box
Breath extraction carries out rim detection using edge detection algorithm, and one of matching way is:Appearance profile image data are converted
For point sequence data, point sequence data are made up of an information, and its midpoint information is included with the position relationship of consecutive points, gradient etc.
Information.By the contrast of an information, obtain the packing box of first terminal upload appearance profile information and server storage it is outer
The matching degree of shape profile information, it is target shape wheel that matching degree, which is more than the appearance profile information to be prestored in the server of predetermined threshold value,
Wide information.
The matching of packing box image information is the matching of pixel in image, calculates the image information and server of packing box
The matching degree of the image information of storage, it is target figure that matching degree, which is more than the appearance profile information to be prestored in the server of predetermined threshold value,
As information.
In the present embodiment, step S206, it is according to the advertising message that target packing box information searching is associated:Lookup and mesh
The advertising message that mark appearance profile information homogeneously associates with target image information.
Specifically, whether the target shape profile information and target image information of match query are associated with advertisement letter simultaneously
Breath, first terminal is back to by the advertising message of inquiry.
In the present embodiment, by appearance profile information and image information collectively as the index tab of advertising message, clothes can be made
Be engaged in device in packing box tagsort it is finer, i.e., by the packing box that image information is similar but shape difference is larger distinguish with
And distinguish the packing box that shape is similar but image information is different, the advertising message degree of accuracy for identifying to obtain is higher.
In one embodiment, do not search when the target shape profile information not found with appearance profile information matches and
During to the target image information matched with image information, the appearance profile information and image information of reception are added to server.
Specifically, having shape database and image data base in server, appearance profile information and image information do not match
Success, the shape database and image data base for illustrating server do not store corresponding data, now, can be on first terminal
The appearance profile information and image information of the packing box of biography, which are respectively stored into shape database and image data base, is used as data
Expand.
When appearance profile information and image information, the match is successful, but is not stored with server and the appearance profile information
During the advertising message associated with image information, server can send advertising message to the terminal for having permission upload advertising message and upload
Prompting message, remind the terminal having permission carry out to should appearance profile information and image information advertising message.Here
The information having permission can be the enterprise terminal of registrar upload function.
In one embodiment, as shown in figure 3, the advertisement acquisition method based on packing box also comprises the following steps:
Step S302:Receive the advertising message that second terminal uploads.
Step S304:Receive the packing box of server memory corresponding with the advertising message storage of second terminal user selection
Appearance profile information and image information.
Step S306:Establish the appearance profile information of advertising message and selection and the incidence relation of image information.
Specifically, the user such as article manufacturer or operator can be uploaded the advertising message of article by second terminal
To server.Second terminal can be uploaded onto the server advertising message by application program.Second terminal by server registration,
The appearance profile information and image information for the packing box that can be prestored in display server, second terminal user selection are wide with upload
The appearance profile information and image information of packing box corresponding to the article of information institute advertisement are accused, and selection information is sent to service
Device, server establish the appearance profile information of selection, image information associates with the advertising message of upload according to the selection of user
Relation, believe so that the user such as consumer can find related advertisement according to the appearance profile information of packing box to image information
Breath.
In the present embodiment, using existing appearance profile information and image information issuing advertisement information, advertising message can be made
Issue is more quick.
In one embodiment, when the profile wheel for not having storage packing box corresponding with the advertising message uploaded in server
When wide information and image information, second terminal can voluntarily upload the appearance profile information and image information of corresponding packing box.Tool
Body, second terminal can scan packing box, and generate scan image after captured, sampling, filtering, then be adopted according to scan image
The edge contour information of packing box is extracted with edge detection method, and contoured interior is obtained on the basis of edge contour information is gathered
Pixel Information generation image information.
In one embodiment, the outer of the packing box under multiple scanning angles can be uploaded for a packing box second terminal
Shape profile information and image information, to provide multiple comparison angle-datas in information matches, improve the success rate of matching.
In one embodiment, the advertising message that server uploads second terminal generates advertising message list.Advertisement is believed
Breath list includes advertisement and identifier, Item Title and advertisement brief introduction etc..User can upload ad content to second terminal and enter place
Reason, including issue, delete, change and edit.User sends advertising inquiry to server by second terminal and asked, server
According to advertising inquiry acquisition request advertising message list.
Advertising message list is back to second terminal by server.User can pass through advertising message list in second terminal
Identified corresponding to the middle pending advertisement of selection, i.e., pending advertisement and identifier, and pending advertisement and identifier is uploaded onto the server.
Server pending advertisement according to corresponding to obtaining pending advertisement and identifier, corresponding processing operation is carried out to pending advertisement.
Asked for example, user sends advertising inquiry by second terminal to server, server is asked according to advertising inquiry
Advertising message list is obtained, and advertising message list is back to second terminal.User is arranged by advertising message in second terminal
Advertisement to be deleted is selected in table, and advertisement and identifier to be deleted is uploaded onto the server.Server is according to advertisement and identifier to be deleted
Advertisement to be deleted is obtained, and deletion action is carried out to advertisement to be deleted.
By selecting pending advertisement and identifier in advertising message list, so as to be issued to pending advertisement,
The operations such as deletion, modification or editor, thus facilitate user to need to handle ad content according to itself.
In one embodiment, as shown in Figure 4, there is provided it is a kind of based on packing box obtain advertisement method, this method with
Illustrate, specifically include exemplified by applying in first terminal 102 as shown in Figure 1:
Step S402:Scan packing box generation scan image.
Specifically, the scanning figure of packing box can be obtained by terminal scanning packing box by wanting to know about the user of Item Information
Picture.In order to make in obtained scan image comprising background parts as few as possible (except package exterior point is background portion
Point), when terminal carries out packing box scanning, after carrying out picture catching, sampling, filtering to the image scanned, generation is available for follow-up
The scan image of contrast.
Step S404:Extract the appearance profile information of packing box in scan image.
Extracting gray value in scan image using edge detection method has the singular point of significant change, has related singular point
Set be packing box appearance profile information.The appearance profile information of acquisition has a consistency, no matter when light or face
Color change is all without its shape edges of change.
Step S406:Obtain the image information in the packing box profile corresponding to packing box appearance profile information.
Pixel information in appearance profile information extraction scan image based on acquisition in the profile, in appearance profile
Pixel information be packing box image information.
Step S408:Request is obtained according to appearance profile information and image information generation advertisement, and the advertisement of generation is obtained
Request is taken to send to server.
Step S410:Show the advertising message matched with appearance profile information and image information that server returns.
Terminal, which sends the appearance profile information and image information of acquisition to server, server, will carry out appearance profile letter
The matching of breath and image information, searches the advertising message of correlation, and the advertising message of lookup is returned into terminal, and terminal can pass through
Advertising application shows advertising message.Advertising message can with when static advertising, can also when dynamic advertising, wherein, it is static wide
Announcement includes copy and display advertising etc..Dynamic advertising includes two-dimensional video advertisement, 3 D video advertisement and AR
(Augmented Reality Technique, augmented reality) advertisement etc..
In one embodiment, as shown in figure 5, in step S406:Obtain the bag corresponding to packing box appearance profile information
After image information in mounted box profile, in addition to:
Step S407:In the appearance profile information and image information that the displaying of image shows window obtains.
In the present embodiment, step S410:What displaying server returned matches with appearance profile information and image information
Advertising message is:The advertising message matched with appearance profile information and image information that the reception server returns;In image shows
Advertising message is superimposed in appearance profile information and image information in window, augmented reality advertising message is generated and shows.
In the present embodiment, the appearance profile information and image information of the packing box of acquisition are displayed on the advertisement applications of terminal
The image shows window of program, after server returning advertising information, terminal believes the advertising message of return and the image of display
Breath is overlapped generation augmented reality advertising message, i.e. AR advertisements, by virtual Information application to the real world, to user with
The sensory experience of exceeding reality.
In addition, the mode of above-mentioned generation augmented reality advertisement, on the one hand can reduce the advertisement letter stored in the server
The data volume of breath, the information of the packing box of terminal acquisition is taken full advantage of, on the other hand, the exhibition of advertisement is carried out at existing interface
Show, relative to redirecting for advertising display interface, make the displaying of advertisement more succinct, it is smooth.
In one embodiment, in step S410:Show server return with appearance profile information and image information
After the advertising message matched somebody with somebody, in addition to:Obtain user's triggering shares request to advertising message, shares request and carries third party
User's mark of application.Share link in response to sharing request generation advertising message.Third-party application interface is called to share
Chain is received and sent to terminal corresponding to user's mark.
Specifically, advertisement is provided with the advertising display page of terminal shares button, terminal user triggers the advertisement eventually
That shares that button can generate advertising message shares request, and this is shared request and carries user's mark, and user mark can be that this is wide
Accuse local user's mark of server or user's mark of third-party application.
Specifically, when user triggers advertisement and shares button, terminal shares link according to advertising message generation, when user marks
When knowing user's mark for third-party application, by way of calling interface this is shared into chain receives and sends to the use of third-party application
In terminal corresponding to the mark of family;When the user shared is identified as local user's mark, chain will be shared and received and sent to local service
Device, home server will share chain and receive and send to terminal corresponding to user's mark.
In one embodiment, as shown in Figure 6, there is provided a kind of device that advertisement is obtained based on packing box, the device bag
Include:
Advertisement obtains request receiving module 502, and the advertisement for receiving first terminal transmission obtains request, and advertisement obtains please
Ask and carry the packing box information that first terminal obtains;
Packing box information matches module 504 prestoring with reception packing box information matches for searching in server
Target packing box information;
Advertising message is searched and send module 506, for the advertising message being associated according to target packing box information searching;
Transmitting advertisement information module 508, for the transmitting advertisement information of lookup to first terminal to be shown.
In one embodiment, packing box information includes the appearance profile information of packing box and the image information of packing box;
Packing box information matches module 504, for searching the mesh with appearance profile information match to be prestored in server
Appearance profile information is marked, and searches the target image information to match with image information to be prestored in server;
Advertising message searching modul 506 is additionally operable to search and homogeneously associated with target shape profile information and target image information
Advertising message.
In one embodiment, as shown in fig. 7, the advertisement acquisition method based on packing box also includes:Information add module
510, for ought not find the target shape profile information with appearance profile information matches and not find and image information
During the target image information matched somebody with somebody, the appearance profile information and image information of reception are added to server.
In one embodiment, as shown in figure 8, the advertisement acquisition device based on packing box also includes:
Advertising message receiving module 602, for receiving the advertising message of second terminal upload;
Profile information and image information selecting module 604, for receive second terminal user selection with advertising message pair
The appearance profile information and image information for the server memory storage answered;
Information association module 606, for establishing the appearance profile information of advertising message and selection and associating for image information
Relation.
In one embodiment, as shown in Figure 9, there is provided a kind of device that advertisement is obtained based on packing box, the device bag
Include:
Scan module 702, for scanning packing box generation scan image;
Profile information extraction module 704, for extracting the appearance profile information of packing box in scan image;
Image information generation module 706, for obtaining in the packing box profile corresponding to packing box appearance profile information
Image information;
Advertisement obtains request generation module 708, please for being obtained according to appearance profile information and image information generation advertisement
Ask, and the advertisement of generation is obtained into request and sent to server;
Advertising message display module 710, for showing being matched with appearance profile information and image information for server return
Advertising message.
In one embodiment, as shown in Figure 10, the advertisement acquisition method based on packing box also includes:
Packing box information display module 707, for the appearance profile information and image obtained in the displaying of image shows window
Information;
Advertising message display module 710 is additionally operable to being matched with appearance profile information and image information for the reception server return
Advertising message;Advertising message is superimposed in appearance profile information and image information in image shows window, generation enhancing
Real advertising message is simultaneously shown.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.