Specific implementation mode
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this
Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described
Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,
The every other embodiment that those of ordinary skill in the art are obtained, should all belong to the range of protection.
In order to identify the abnormal behaviour in marketing process, contribute to marketing money that can accurately launch target group,
This specification embodiment provides a kind of marketing abnormal behaviour method, and shown in Figure 1, this method may comprise steps of:
S101 receives the preferential of the side of getting and gets request, and preferential get carries provider's information in request;
In marketing process, preferential provider will be provided first to the side of getting get it is preferential by way of.
For example, the businessmans such as sight spot, retail shop, can display Quick Response Code, and be arranged and identify or by staff in specific position
Customer is prompted, scans the two-dimensional code that can to get red packet, discount coupon etc. preferential;Or the clothes of businessman are searched in client by customer
Business number can receive the preferential of service number offer and get link after concern;In another example the tour guide of tourist party, can register visitor
The related service at family end obtains scanning for tourist in group, gets preferential Quick Response Code, and shows the Quick Response Code to tourist;Etc..
The side of getting by provider provided by way of can initiate preferential get to server-side.
For scanning the two-dimensional code, the users such as customer, tourist can use the client scan Quick Response Code in mobile phone, complete
After scanning, client will initiate Quick Response Code analysis request to server-side, and server-side obtains information therein after parsing the Quick Response Code,
Such as can be marketing message, provider's information, etc..
The information that server-side obtains parsing returns to client, and is showed from client to tourist.It is understood that solution
It analyses in obtained information, including needs the information showed to user, also include the information for subsequently interacting, therefore client is simultaneously
All information need not be showed, such as can only show marketing message without showing provider's information, in addition, rendering work can be with
It is carried out by server-side, can also be carried out by client, this specification is to 2 points described above without limiting.
After client shows, user can get preferential according to operation instruction, such as click and get button etc., triggering visitor
Initiate the preferential provider's information got request, carrying aforementioned service end is returned in the request in family end to server-side.
Server-side receive the side of getting it is preferential get request after, will check that this preferential gets behavior according to location information
It is whether abnormal.
It is understood that the so-called server-side of this specification, is the client relative to the mobile device for being installed on user
It for end, can specifically be made of, can also be made of one or more systems, and by each one or multiple servers
A system is responsible for different business.For example, be responsible for receiving the request of client, to photos and sending messages under client etc. from service system,
And be responsible for carrying out the air controls business such as abnormal behaviour identification by air control system, this specification to the concrete composition situation of server-side and
Specific interaction between each server or system is not defined.
S102, the real-time position information of the side of getting described in acquisition, and according to provider's information, obtain corresponding provider
Location information;
The scheme that this specification provides is identified different in favorable sale according to the position of preferential provider and the side of getting
Often get behavior.
Specifically, can the location information of this preferential provider be obtained in several ways, it is illustrated below:
In a kind of specific implementation mode of this specification, corresponding offer can be determined according to provider's information
Side;The pre-registered location information of provider determined by obtaining.
As previously described, the side's of getting client initiated to server-side it is preferential get in request, carry provider's information,
Specifically can the ID of the side of being to provide, account name, etc. be determined for the information of provider, determined by obtaining
The pre-registered location information of provider.
For example, the businessmans such as tour guide, administration of travel agencies personnel or sight spot, retail shop, it can be in advance in client registers account
Family, or it is further based on registered regular account, open related service.In login account or when activating the service, will fill out
Tour guide is write with location informations such as a region, businessman region, businessman's specific addresses.Server-side is by account name, traffic ID, registration
Location information, even belonging to the storage of the information associations such as travel agency or supervision department, later can be according to account name, traffic ID
Etc. information, inquire pre-registered location information.
Provider's login account or after activating the service, can be to generate corresponding unique Quick Response Code for it or create only
One service number, etc., in order to provide side when promoting preferential to the side's of getting offer.Further, it is also possible to by the operation personnel to market
For different providers, marketing offers are pointedly designed, and marketing message is recorded in Quick Response Code, service number or storage phase
In the database for closing information.
In another specific implementation mode of this specification, corresponding carry can be determined according to provider's information
Supplier;And the real-time positioning information uploaded according to identified provider, obtain corresponding real-time position information.
Due to the providers such as such as tour guide, mobile shop, real time position may change, and more preferably be sought to realize
Effect is sold, enterprise may wish to provider can be preferential to the side's of getting popularization Face to face, in order to realize the purpose, service
End can receive the real-time positioning information of provider's upload, to obtain corresponding real-time position information.
For example, tour guide to tourist before showing Quick Response Code, it is necessary first to client is logged in, after logging in successfully, client
LBS (Location Based Service are based on mobile location-based service) information of user can be periodically sent to server-side,
It is recorded by server-side, and when needing to obtain location information, according to the newest LBS information recorded, directly or indirectly
Obtain corresponding real-time position information, such as the higher location point of accuracy, latitude and longitude information or regional extent.
It is understood that in the marketing abnormal behaviour identifying schemes that this specification provides, the position of corresponding provider is obtained
The concrete mode of confidence breath, however it is not limited to 2 kinds of modes listed above.For example, it is also possible to by provider's input position, and be based on
After the position of input carries out position range verification, the location information verified is obtained;It is clapped in real time according to specific mode by provider
According to or record a video and upload, server-side obtains location information after carrying out scene location identification;Etc. mode.
In addition, be also not necessarily limited to be used alone a certain mode in this programme, various modes can arrange in pairs or groups use, to improve
Obtain the accuracy of position and identification.For example, the pre-registered location information of provider can be obtained not only, but also obtain provider's
Real-time position information, i.e. collocation use 2 kinds of modes, even with aforementioned 2 kinds of location informations, are carried out to the position of provider's input
Verification, etc..
This specification does not need to theoretically be defined concrete mode, and those skilled in the art can be in practical application
In neatly select.
Since the side of getting is generally customer, tourist etc., position may change in real time, it is therefore desirable to be led
The real-time position information for the side of taking, specific mode can refer to the mode of the real-time position information of above-mentioned acquisition provider, and
2 kinds or various ways acquisition can also be used, and is verified mutually more accurate as a result, details are not described herein to obtain.Obviously, exist
In primary identification, the mode of the side of getting and provider's real-time position information is obtained, can be the same or different, this programme is to this
Without limiting.
S103, checks whether the real-time position information for the side of getting obtained and the location information of provider match;If
It is no, it is determined that this is preferential to get as abnormal behaviour.
According to the difference of the real-time position information of the side of getting obtained and the concrete form of the location information of provider,
Different modes may be used and check whether the two matches, be exemplified below:
In a kind of specific implementation mode of this specification, if by obtaining the one kind for the side of getting in real time in S102
Location information, and obtain a kind of location information of provider, then it can be first according to the real time position of the side of getting obtained
Information, determine described in the first area that is currently located of the side of getting;And according to the location information of the provider obtained, determine described in
The second area that provider is currently located;Then first area and second area determined by checking, if be the same area;If
It is the real-time position information of the side of getting then obtained and the location information matching of provider;If it is not, what is then obtained gets
The real-time position information of side and the location information of provider mismatch.
For example, determine that the tour guide is existing just in Macao (i.e. first area) by the LBS information that the client of certain tour guide uploads,
And the tourist is determined also just at Macao (i.e. second area) by the LBS information that the client of tourist uploads, then on inspection first
Region is the same area with second area, it may be determined that the side of getting is matched with the location information of provider.
In another example the pre-registered location information of certain businessman is Haidian District, Beijing City, and uploaded by the client of customer
LBS information determine the customer just in Chaoyang District, Beijing City, then first area with second area is not the same area on inspection, can
To determine that the location information of the side of getting and provider mismatches.
In another specific implementation mode of this specification, if by obtaining a kind of reality of the side of getting in S102
When location information, and obtain a kind of location information of provider, then can be first according to the real-time position of the side of getting obtained
Confidence ceases, the first position point that the side of getting is currently located described in determination;According to the location information of the provider obtained, institute is determined
State the second position point that provider is currently located;Then check determined by between first position point and second position point away from
From, if it is not more than predetermined threshold value;If so, the real-time position information of the side of getting obtained and the location information of provider
Matching;If it is not, the real-time position information of the side of getting then obtained and the location information of provider mismatch.
For example, determining that the tour guide is existing just in Macao somewhere by the LBS information that the client of certain tour guide uploads, and obtain
It is accurate to the longitude and latitude (i.e. first position point) of rice, and determines the tourist also just by the LBS information that the client of tourist uploads
In Macao somewhere, and the longitude and latitude (i.e. second position point) for being accurate to rice is obtained, then first position point and second on inspection
It is the distance between a little 10 meters to set, and preset threshold value is 15 meters, it may be determined that the location information of the side of getting and provider
Matching.
Obviously, the predetermined threshold value of distance can be by those skilled in the art, according to practical feelings such as computational accuracy, demand precision
Condition is flexibly set, and this specification is without limiting.
In another specific implementation mode of this specification, if by obtaining a kind of reality of the side of getting in S102
When location information, and obtain two kinds of location informations (such as pre-registered location information and real-time position information) of provider,
Then can first according to the real-time position information of the side of getting obtained, determine described in the first area that is currently located of the side of getting;
According to the pre-registered location information of the provider obtained, the pre-registered second area of the provider is determined;According to institute
The real-time position information of the provider of acquisition determines the second area that the provider is currently located;Then determined by checking
First area, second area and third region, if be the same area;If so, the real time position of the side of getting obtained
The location information of information and provider match;If it is not, the real-time position information of the side of getting then obtained and the position of provider
Confidence breath mismatches.
It is understood that in the marketing abnormal behaviour identifying schemes that this specification provides, the side of getting obtained is checked
Real-time position information and provider the whether matched concrete mode of location information, however it is not limited to 3 kinds of sides listed above
Formula.For example, it is also possible to according to the location information of the side of getting and provider, location point that the side of getting is currently located is determined respectively and is carried
The region that the location point that the region or provider that supplier is currently located are currently located is currently located with the side of getting, and judge the position
Set a little whether in the area, etc. mode.
In addition, be also not necessarily limited to be used alone a certain mode in this programme, various modes can arrange in pairs or groups use, to improve
It checks whether matching and identifies the accuracy of abnormal behaviour.
And at the same time when checking whether matching using various ways, as long as a kind of inspection result can be set as not
Match, it is determined that final result is to mismatch;Various inspection results can also be set to mismatch, it is determined that final result is not
Match;Various inspection results can also be carried out with value and weighted, so that it is determined that final result;Etc..
This specification does not need to that the formula of shaping is defined really to concrete mode and result theoretically, this field skill
Art personnel can neatly select in practical applications.
With reference to one, more specifically example, the marketing abnormal behaviour recognition methods provided this specification are said
It is bright.
In the cross-border trip in the world of ant gold clothes, in order to encourage tourist more in consumption abroad, often pass through the Xiang Qisuo that conducts a sightseeing tour
Tourist with group promotes the preferential of Alipay.
First, as shown in Fig. 2, the administrative staff of travel agency, can be carried by management equipment to the service system of server-side
It, with a region (such as South Korea, Japan) and affiliated travelling nss message, is serviced overseas for the Alipay account of tour guide, the tour guide
System records these information, and generates unique Quick Response Code for the tour guide, is issued to the Alipay client of the tour guide,
The personal information page link of the tour guide can also be issued to its client, to check and to manage.
Operation personnel can also be different travel agencies, tour guide, with a region on backstage, and the marketing that individual character is respectively configured is excellent
Favour, and recorded by service system.
Then, as shown in figure 3, when tour guide with certain tourist group to it is Japanese when, trip that can Face to face into the tourist group
Visitor recommends Alipay preferential in specially enjoying for Japan, such as red packet, discount coupon, exchange rate discount.
It gets tour guide if certain tourist is same and is recommended preferential, tour guide can log in client, and after login by visitor
Family end periodically sends the LBS information of the tour guide to the air control system of server-side;The tourist can also log in client, and
The LBS information of the tourist is periodically sent, and 2 are recorded by air control system to the air control system of server-side from client after login
The LBS information of people.
After login, tour guide can show the Quick Response Code in client to tourist, so that tourist is scanned using client,
Client will send Quick Response Code analysis request from trend service system after scanning, and service system parses Quick Response Code, can be sought
Information, tour guide information and travelling nss message are sold, and these information are returned to the client of tourist.Client renders marketing message
It is presented to tourist to check, after tourist's click is got, triggering client gets request to service system initiation is preferential, will take in request
Band tour guide information and travelling nss message.
Service system receive this it is preferential get request after, will check that this preferential behavior of getting is to air control system request
No exception, checking can carry in request, the preferential information and service system for getting the tour guide and travel agency that are carried in request
The information etc. of pre-recorded tour guide and travel agency.
Air control system first can according to check ask in information, obtain registration when the pre-recorded tour guide with group
Region, and the LBS information of the tour guide and upload before the tourist are obtained, and determine the region that the tour guide is currently located with tourist.
Then, air control system can according to tour guide and tourist LBS information and latitude and longitude information therein, calculate tour guide with
The current distance of tourist (generally can be as accurate as rice), and judge whether result of calculation is not more than 10 meters, if otherwise determining 2 people's
Location information mismatches.Further, it is also possible to which that compares the tour guide is currently located region and the tourist with a region, the tour guide
Be currently located region, whether three is the same area, if otherwise determine 2 people location information mismatch.
It is final to determine 2 according to 2 kinds of test modes as a result, if the location information of wherein a kind 2 people of determination mismatches
The location information of people mismatches, and determines that this preferential is got as abnormal behaviour.
As it can be seen that using said program, from tour guide and tourist currently whether it is pre-registered with region and tour guide with
Whether distance meets aspectant condition between tourist, this 2 dimensions carry out air control judgement, in order to which marketing money can launch
In, can overseas specify region use Alipay consume tourist.
Corresponding to above method embodiment, this specification embodiment also provides a kind of marketing abnormal behaviour identification device, ginseng
As shown in Figure 4, which may include:
Request receiving module 110, for receive the side of getting it is preferential get request, it is described it is preferential get to carry in request carry
Supplier's information;
Location information obtains module 120, the real-time position information for obtaining the side of getting, and according to the provider
Information obtains the location information of corresponding provider;
Location information checks module 130, the position of real-time position information and provider for checking the side of getting obtained
Whether confidence breath matches;If not, it is determined that this is preferential to get as abnormal behaviour.
In a kind of specific implementation mode that this specification provides, the location information obtains module 120, can specifically use
In:
According to provider's information, corresponding provider is determined;
The pre-registered location information of provider determined by obtaining.
In a kind of specific implementation mode that this specification provides, the location information obtains module 120, can specifically use
In:
According to provider's information, corresponding provider is determined;
According to the real-time positioning information that identified provider uploads, corresponding real-time position information is obtained.
In a kind of specific implementation mode that this specification provides, the location information checks module 130, may include:
First kind area acquisition unit is got for the real-time position information according to the side of getting obtained described in determination
The first area being just currently located;And according to the location information of the provider obtained, determine what the provider was currently located
Second area;
First kind range check unit, for checking identified first area and second area, if be the same area;
If so, the real-time position information of the side of getting obtained and the location information matching of provider;If it is not, the neck then obtained
The real-time position information for the side of taking and the location information of provider mismatch.
In a kind of specific implementation mode that this specification provides, the location information checks module 130, may include:
Location point acquiring unit, for the real-time position information according to the side of getting obtained, the side of getting works as described in determination
The first position point at preceding place;According to the location information of the provider obtained, the provider is currently located second is determined
Location point;
Location point inspection unit, for checking identified the distance between first position point and second position point, if
No more than predetermined threshold value;If so, the real-time position information of the side of getting obtained and the location information matching of provider;If
No, then the real-time position information of the side of getting obtained and the location information of provider mismatch.
In a kind of specific implementation mode that this specification provides, the location information obtains module 120, can be further
For:
According to the real-time positioning information that identified provider uploads, corresponding real-time position information is obtained.
In a kind of specific implementation mode that this specification provides, the location information checks module 130, may include:
Second class area acquisition unit is got for the real-time position information according to the side of getting obtained described in determination
The first area being just currently located;According to the pre-registered location information of the provider obtained, determine that the provider is advance
The second area of registration;According to the real-time position information of the provider obtained, the provider is currently located second is determined
Region;
Second class range check unit, for checking identified first area, second area and third region, if
For the same area;If so, the real-time position information of the side of getting obtained and the location information matching of provider;If it is not, then
The real-time position information of the side of getting obtained and the location information of provider mismatch.
The function of modules and the realization process of effect specifically refer to and correspond to step in the above method in above-mentioned apparatus
Realization process, details are not described herein.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in
On reservoir and the computer program that can run on a processor, wherein processor realizes marketing above-mentioned when executing described program
Abnormal behaviour recognition methods.This method includes at least:
A kind of marketing abnormal behaviour recognition methods, this method include:
It receives the preferential of the side of getting and gets request, preferential get carries provider's information in request;
The real-time position information of the side of getting described in acquisition, and according to provider's information, obtain the position of corresponding provider
Confidence ceases;
Check whether the real-time position information for the side of getting obtained and the location information of provider match;If it is not, then really
Fixed this preferential is got as abnormal behaviour.
Fig. 5 shows a kind of more specifically computing device hardware architecture diagram that this specification embodiment is provided,
The equipment may include:Processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus
1050.Wherein processor 1010, memory 1020, input/output interface 1030 and communication interface 1040 are real by bus 1050
The now communication connection inside equipment each other.
General CPU (Central Processing Unit, central processing unit), micro- place may be used in processor 1010
Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one
Or the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side that this specification embodiment is provided
Case.
ROM (Read Only Memory, read-only memory), RAM (Random Access may be used in memory 1020
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1020 can store
Operating system and other applications are realizing technical solution that this specification embodiment is provided by software or firmware
When, relevant program code is stored in memory 1020, and is executed by processor 1010 to call.
Input/output interface 1030 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loud speaker, vibrator, indicator light etc..
Communication interface 1040 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1050 include an access, equipment various components (such as processor 1010, memory 1020, input/it is defeated
Outgoing interface 1030 and communication interface 1040) between transmit information.
It should be noted that although above equipment illustrates only processor 1010, memory 1020, input/output interface
1030, communication interface 1040 and bus 1050, but in specific implementation process, which can also include realizing normal fortune
Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, can also only include real in above equipment
Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
Marketing abnormal behaviour recognition methods above-mentioned is realized when sequence is executed by processor.This method includes at least:
A kind of marketing abnormal behaviour recognition methods, this method include:
It receives the preferential of the side of getting and gets request, preferential get carries provider's information in request;
The real-time position information of the side of getting described in acquisition, and according to provider's information, obtain the position of corresponding provider
Confidence ceases;
Check whether the real-time position information for the side of getting obtained and the location information of provider match;If it is not, then really
Fixed this preferential is got as abnormal behaviour.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
Embodiment can add the mode of required general hardware platform to realize by software.Based on this understanding, this specification is implemented
Substantially the part that contributes to existing technology can be expressed in the form of software products the technical solution of example in other words,
The computer software product can be stored in a storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are making
It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment
Method described in certain parts of a embodiment or embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of arbitrary several equipment.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component explanation
Module may or may not be physically separated, can be each module when implementing this specification example scheme
Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or
Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor
Under, you can to understand and implement.
The above is only the specific implementation mode of this specification embodiment, it is noted that for the general of the art
For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this
A little improvements and modifications also should be regarded as the protection domain of this specification embodiment.