CN108985831A - A kind of method of discrimination of off-line transaction, device and computer equipment - Google Patents

A kind of method of discrimination of off-line transaction, device and computer equipment Download PDF

Info

Publication number
CN108985831A
CN108985831A CN201810731359.4A CN201810731359A CN108985831A CN 108985831 A CN108985831 A CN 108985831A CN 201810731359 A CN201810731359 A CN 201810731359A CN 108985831 A CN108985831 A CN 108985831A
Authority
CN
China
Prior art keywords
red packet
data
writes
checks
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810731359.4A
Other languages
Chinese (zh)
Other versions
CN108985831B (en
Inventor
聂茜倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202111106830.9A priority Critical patent/CN113837755A/en
Priority to CN201810731359.4A priority patent/CN108985831B/en
Publication of CN108985831A publication Critical patent/CN108985831A/en
Application granted granted Critical
Publication of CN108985831B publication Critical patent/CN108985831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/387Payment using discounts or coupons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0211Determining the effectiveness of discounts or incentives

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Image Analysis (AREA)

Abstract

Disclose the method for discrimination, device and computer equipment of a kind of off-line transaction, this method comprises: the red packet for obtaining specified businessman checks and writes off data and the red packet checks and writes off the corresponding red packet of data and gets data, wherein, it includes that identical red packet identifies that the red packet, which is checked and write off the corresponding red packet of data and got in data,;It determines that the red packet checks and writes off the red packet in data and checks and writes off position red packet corresponding with its and gets the dispersion degree that the red packet in data gets position;It imposes a condition if the dispersion degree meets first, it is determined that be equipped with red packet two dimensional code under the specified businessman is online;Data are checked and write off for red packet described in any bar, the red packet in data is checked and write off according to the red packet check and write off the geographical location of position and the specified businessman determine that the red packet checks and writes off whether data meet the second setting condition, if meeting described second to impose a condition, it is determined that the red packet checks and writes off data and results from off-line transaction.

Description

A kind of method of discrimination of off-line transaction, device and computer equipment
Technical field
This specification embodiment is related to technical field of data processing more particularly to a kind of method of discrimination of off-line transaction, dress It sets and computer equipment.
Background technique
With the development of internet technology and intelligent terminal it is universal, the competitions between a variety of payment class application programs are also beneficial Fiercer, in order to fight for the possession share of " paying under line ", the Marketing group of certain payment class application programs proposes " barcode scanning neck The marketing strategy of red packet ", specifically, being printed on the publicity material of red packet two dimensional code by being laid in cooperation businessman shop, such as easily Treasured, brochure etc. are drawn, after user to shop, can obtain and have by the application scan red packet two dimensional code installed on mobile phone There is the red packet of certain amount of money, when pay under line by the application program next time, one deposit of red packet credit may be used Volume (this process can be described as red packet and check and write off) attracts more and more users to complete to pay under line using the application program with this.
In the related technology, in order to reduce the cost manually patrolled, related personnel proposes a kind of all based on transaction data assessment Such as such appraisal procedure based on the marketing effectiveness of scene under line, for example, can be increased by transaction data monitoring trading amount Trend monitors daily number of users etc. to assess marketing effectiveness.However, in practical applications, cooperation businessman can be by red packet two Dimension code is published on network, and numerous online friends can then be got by scene completion red packet on network namely line and be checked and write off with red packet, and This generic operation and the development that off-line transaction can not be promoted, thus based on transaction data also just can not accurate evaluation go out to be based on line end The marketing effectiveness of scape.
Summary of the invention
In view of the above technical problems, this specification embodiment provides the method for discrimination, device and calculating of a kind of off-line transaction Machine equipment, technical solution are as follows:
According to this specification embodiment in a first aspect, providing a kind of method of discrimination of off-line transaction, which comprises
The red packet for obtaining specified businessman checks and writes off data and the red packet checks and writes off the corresponding red packet of data and gets data, wherein It includes that identical red packet identifies that the red packet, which is checked and write off the corresponding red packet of data and got in data,;
Determine the red packet check and write off the red packet in data check and write off position red packet corresponding with its get in data red packet neck The dispersion degree that fetch bit is set;
It imposes a condition if the dispersion degree meets first, it is determined that red packet two dimension is equipped under the specified businessman is online Code;
Data are checked and write off for red packet described in any bar, the red packet in data is checked and write off according to the red packet and checks and writes off position and described The geographical location of specified businessman determines that the red packet checks and writes off whether data meet the second setting condition, if meeting second setting Condition, it is determined that the red packet checks and writes off data and results from off-line transaction.
According to the second aspect of this specification embodiment, a kind of discriminating gear of off-line transaction is provided, described device includes:
Data acquisition module, the red packet for obtaining specified businessman check and write off data and the red packet to check and write off data corresponding red Packet gets data, wherein it includes that identical red packet identifies that the red packet, which is checked and write off the corresponding red packet of data and got in data,;
Dispersion degree determining module checks and writes off the red packet in data by the red packet to check and write off position corresponding with its red for determining Packet gets the dispersion degree that the red packet in data gets position;
First determining module imposes a condition, it is determined that the specified businessman exists if meeting first for the dispersion degree Red packet two dimensional code is equipped under line;
Second determining module is checked and write off in data for checking and writing off data for red packet described in any bar according to the red packet Red packet checks and writes off position and the geographical location of the specified businessman determines that the red packet checks and writes off whether data meet the second setting condition, If meeting described second to impose a condition, it is determined that the red packet checks and writes off data and results from off-line transaction.
According to the third aspect of this specification embodiment, a kind of computer equipment is provided, including memory, processor and deposit Store up the computer program that can be run on a memory and on a processor, wherein the processor is realized when executing described program The method of discrimination for the off-line transaction that this specification embodiment provides.
Technical solution provided by this specification embodiment, the red packet by obtaining specified businessman check and write off data and red packet core The corresponding red packet of pin data gets data, determines that red packet checks and writes off the red packet in data and checks and writes off position red packet corresponding with its and gets number Red packet in gets the dispersion degree of position;It imposes a condition if the dispersion degree meets first, it is determined that specified businessman is online Under be equipped with red packet two dimensional code;Data are checked and write off for any bar red packet, the red packet in data is checked and write off according to the red packet and checks and writes off position It determines that red packet checks and writes off whether data meet the second setting condition with the geographical location of specified businessman, imposes a condition if meeting second, It then determines that red packet checks and writes off data and results from off-line transaction, may be implemented in many transaction data, the friendship that off-line transaction is generated Easy data screening comes out, and assesses the marketing effectiveness based on scene under line to improve the subsequent transaction data generated based on off-line transaction Accuracy.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not This specification embodiment can be limited.
In addition, any embodiment in this specification embodiment does not need to reach above-mentioned whole effects.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification embodiment for those of ordinary skill in the art can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is a kind of embodiment flow chart of the method for discrimination of off-line transaction shown in one exemplary embodiment of this specification;
Fig. 2 is a kind of embodiment block diagram of the discriminating gear of off-line transaction shown in one exemplary embodiment of this specification;
Fig. 3 is that one kind provided by this specification embodiment more specifically calculates device hardware structural schematic diagram.
Specific embodiment
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, Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
To solve the above-mentioned problems, this specification embodiment provides a kind of method of discrimination of off-line transaction, to realize all Off-line transaction data are identified in more transaction data, to improve the subsequent battalion based on off-line transaction data assessment based on scene under line Sell the accuracy of effect.
Illustrate first, in the method for discrimination for the off-line transaction that this specification embodiment provides, mainly two levels is divided to sentence Other off-line transaction: the first level is based on transaction data relevant to cooperation businessman, differentiates the conjunction as unit of cooperating businessman Make businessman it is whether online under, i.e., be equipped with red packet two dimensional code inside StoreFront or in StoreFront environs, rather than by red packet two dimension Code is published on network;Second level further differentiates under conditions of being equipped with red packet two dimensional code under cooperation businessman is online Whether transaction data relevant to cooperation businessman results from off-line transaction.
In above-mentioned the first level, it is contemplated that if red packet two dimensional code is published on network by cooperation businessman, and the biography of network Broadcast that range is very extensive, involved territorial scope is also just very extensive, thus, if numerous online friends complete red packet by network It gets and is checked and write off with red packet, it is (such as red to will lead to involved geographical location during red packet is got and checks and writes off this with red packet Packet gets position, red packet checks and writes off position) widely distributed namely involved geographical location dispersion degree is larger;On the contrary, if Red packet two dimensional code is layed under line in scene, while for the daily life of user by cooperation businessman, and user is usually fixed to live It moves in a panel region, for true off-line transaction, red packet gets position and red packet checks and writes off the distribution of position It just more concentrates namely the dispersion degree in involved geographical location is smaller, thus, it is based on the description, in above-mentioned first layer In face, it is mainly based upon that red packet gets position and red packet checks and writes off the dispersion degree of position and differentiates whether cooperation businessman is lower online and be laid with There is red packet two dimensional code.
In above-mentioned second level, position can be checked and write off based on red packet and cooperates the pass between businessman geographic location System, determines off-line transaction.
It is as follows, following embodiments are shown, the method for discrimination of the off-line transaction is described in detail:
It referring to Figure 1, is a kind of implementation of the method for discrimination of off-line transaction shown in one exemplary embodiment of this specification Example flow chart, this method may comprise steps of:
Step 102: the red packet for obtaining specified businessman, which checks and writes off data and the red packet and checks and writes off the corresponding red packet of data, gets data, Wherein, it includes that identical red packet identifies that red packet, which is checked and write off the corresponding red packet of data and got in data,.
In this specification embodiment, the data that scanning input red packet two dimensional code is got this behavior of red packet generation are referred to as red Packet gets data, and scanning input two dimensional code is paid, and is known as when payment using the data for having this behavior of red packet to generate Red packet checks and writes off data, and every generation single pass red packet two dimensional code gets red packet behavior as a result, will generate a red packet and gets number According to every generation single pass two dimensional code is paid, and will be generated a red packet using there is red packet behavior when payment and checked and write off data.
In this specification embodiment, it may include: that red packet identifies, red packet gets position, red that red packet, which gets data at least, Packet gets moment, the red packet amount of money etc..
Wherein, red packet mark can be used for one red packet of unique identification, can be by red packet code value and red packet number two parts group At for example, red packet is identified as " C0001 ", wherein " C0 " is red packet code value, and " 001 " is red packet number, and red packet code value can The referred to as code value of red packet two dimensional code, that is to say, that same by scanning if different user or same user are in different time The red packet that red packet two dimensional code is got red packet code value having the same, and numbered with different red packets, for example, two differences User is identified as " C0002 ", " C0003 " by scanning same red packet two dimensional code, the red packet for the red packet respectively got;And it is same User or different user, which pass through the red packet that the different red packet two dimensional code of scanning is got, then has different red packet code values, example Such as, the different red packet two dimensional code of twice sweep before and after same user, the red packet for the red packet got, which identifies, is respectively “C0001”、“D0001”。
In this specification embodiment, it at least may include: that Receiving information, red packet check and write off position, red packet that red packet, which checks and writes off data, Check and write off moment, red packet mark etc..
Wherein, red packet mark is then used to indicate used red packet when user's payment.
Seen from the above description, if must there is red packet to get behavior namely red packet core before in payment using there is red packet Pin data must be corresponding with a red packet and get data, and correspondence mentioned here can then embody are as follows: it is right with it that red packet checks and writes off data It includes that identical red packet identifies that the red packet answered, which is got in data,.
In this specification embodiment, using one of cooperation businessman as specifying businessman, when available specified Between the red packet of the specified businessman checks and writes off data and the red packet in section, such as in June 21 0:00 to this period of 0:00 on June 23 It checks and writes off the corresponding red packet of data and gets data.Wherein it is possible to check and write off Receiving information and specified businessman in data by red packet Receiving information, at the appointed time all red packets in section, which are checked and write off, filters out the red packet of the specified businessman and checks and writes off data in data, Namely when this is specified and pays in businessman, generated red packet checks and writes off data, then identifies acquisition red packet according to red packet and checks and writes off The corresponding red packet of data gets data.
Step 104: determine red packet check and write off the red packet in data check and write off position red packet corresponding with its get it is red in data Packet gets the dispersion degree of position.
It is available to arrive multiple geographical locations including more by executing above-mentioned steps 102 in this specification embodiment A red packet checks and writes off position, multiple red packets get position.
In this step, then clustering algorithm can be used, such as K- CENTER ALGORITHM is grouped multiple geographical location, Final group result is obtained, as clustering algorithm is used, obtains the detailed process of the final group result, art technology Personnel may refer to description in the related technology, this is no longer described in detail in this specification embodiment.
It is subsequent, it can be based on group result, obtain the difference parameter for indicating difference situation between each grouping, such as Gini coefficient, comentropy etc. determine the discrete system for indicating dispersion degree according to the difference parameter and the number of grouping in turn Number illustrates, coefficient of dispersion is bigger first, indicates that dispersion degree is bigger, conversely, coefficient of dispersion is smaller, indicates that dispersion degree is smaller.
In one embodiment, coefficient of dispersion can be calculated by following formula (one), for convenience, by coefficient of dispersion It is denoted as k.
K=100*p*x formula (one)
In above-mentioned formula (one), p indicates difference parameter, calculates above-mentioned difference as according to obtained each grouping Parameter, such as Gini coefficient, the detailed process of comentropy, those skilled in the art may refer to description in the related technology, this This is no longer described in detail in specification embodiment.
X in above-mentioned formula (one) can then be determined by the number of obtained grouping, for example, as described in Table 1, being A kind of example of x is determined according to the number of grouping:
Table 1
By above-mentioned formula (one) i.e. table 1 it is found that coefficient of dispersion is positively correlated with difference parameter and grouping number, that is, poor Different parameter is bigger, and coefficient of dispersion is bigger, i.e., dispersion degree is bigger;Grouping number is more, and coefficient of dispersion is bigger, i.e., dispersion degree is got over Greatly.
Step 106: imposing a condition if dispersion degree meets first, it is determined that red packet two dimension is equipped under specified businessman is online Code.
By above-mentioned associated description it is found that if dispersion degree is smaller, then it represents that each geographical location is more concentrated, thus the specified quotient The probability that family is equipped with red packet two dimensional code on line is also bigger, and dispersion degree is smaller, then it is smaller to correspond to coefficient of dispersion, is based on This can be set as coefficient of dispersion for first and be less than preset coefficient threshold in this specification embodiment, that , if calculated coefficient of dispersion is less than the coefficient threshold in step 104, can determine be equipped under specified businessman is online it is red Packet two dimensional code.
Step 108: checking and writing off data for any bar red packet, the red packet in data is checked and write off according to red packet and checks and writes off position and specifies The geographical location of businessman determines that the red packet checks and writes off whether data meet the second setting condition, if meeting second setting condition, Determine that the red packet checks and writes off data and results from off-line transaction.
In this specification embodiment, data can be checked and write off for any bar red packet, calculate the red packet and check and write off in data Red packet check and write off the distance between position and the geographical location of specified businessman.
In one embodiment, the standard deviation between each distance can be calculated, using the standard deviation as acceptable inclined Distance is moved, i.e., acceptable red packet checks and writes off the distance between position and the geographical location of specified businessman.
It is subsequent, then data can be checked and write off for any bar red packet, determine that its red packet checks and writes off the geography of position and specified businessman Whether the distance between position meets the second setting condition, second setting condition are as follows: distance is less than standard deviation, i.e. actual distance In receivable distance range, if meeting second setting condition, which can be checked and write off to data and be determined as online It is generated when lower transaction.
It should be noted that the above-mentioned described standard deviation calculated between each distance, as just citing, in reality In the application of border, other parameters can also be calculated, such as calculate the average value between each distance, using the average value as can The offset distance of receiving, this specification embodiment to this with no restriction.
Technical solution provided by this specification embodiment, the red packet by obtaining specified businessman check and write off data and red packet core The corresponding red packet of pin data gets data, determines that red packet checks and writes off the red packet in data and checks and writes off position red packet corresponding with its and gets number Red packet in gets the dispersion degree of position;It imposes a condition if the dispersion degree meets first, it is determined that specified businessman is online Under be equipped with red packet two dimensional code;Data are checked and write off for any bar red packet, the red packet in data is checked and write off according to the red packet and checks and writes off position It determines that red packet checks and writes off whether data meet the second setting condition with the geographical location of specified businessman, imposes a condition if meeting second, It then determines that red packet checks and writes off data and results from off-line transaction, may be implemented in many transaction data, the friendship that off-line transaction is generated Easy data screening comes out, and assesses the marketing effectiveness based on scene under line to improve the subsequent transaction data generated based on off-line transaction Accuracy.
Corresponding to above method embodiment, this specification embodiment also provides a kind of discriminating gear of off-line transaction, please join See Fig. 2, is a kind of embodiment block diagram of the discriminating gear of off-line transaction shown in one exemplary embodiment of this specification, the device It may include: data acquisition module 210, dispersion degree determining module 220, the first determining module 230, the second determining module 240.
Wherein, data acquisition module 210, the red packet that can be used for obtaining specified businessman checks and writes off data and the red packet is checked and write off The corresponding red packet of data gets data, wherein it includes identical that the red packet, which is checked and write off the corresponding red packet of data and got in data, Red packet mark;
Dispersion degree determining module 220 is determined for the red packet that the red packet is checked and write off in data and checks and writes off position and its Corresponding red packet gets the dispersion degree that the red packet in data gets position;
First determining module 230 imposes a condition, it is determined that described specified if can be used for the dispersion degree and meet first Red packet two dimensional code is equipped under businessman is online;
Second determining module 240 can be used for checking and writing off data for red packet described in any bar, check and write off number according to the red packet The geographical location that red packet in checks and writes off position and the specified businessman determines that the red packet checks and writes off data and whether meets second and sets Fixed condition imposes a condition, it is determined that the red packet checks and writes off data and results from off-line transaction if meeting described second.
In one embodiment, the dispersion degree determining module 220 may include (being not shown in Fig. 2):
Submodule is clustered, checks and writes off position and its correspondence for checking and writing off the red packet in data to the red packet using clustering algorithm Red packet get the red packet in data and get position and be grouped;
Difference parameter determines submodule, for determining the difference for indicating difference situation between obtained each grouping Parameter;
Coefficient of dispersion determines submodule, determines for the number according to the difference parameter and obtained grouping and is used for table Show the coefficient of dispersion of dispersion degree.
In one embodiment, first setting condition includes at least:
The coefficient of dispersion is less than preset coefficient threshold.
In one embodiment, the difference parameter is at least following one of them:
Comentropy, Gini coefficient.
In one embodiment, described device can also include (being not shown in Fig. 2):
Distance calculation module calculates the red packet and checks and writes off in data for checking and writing off data for red packet described in any bar Red packet check and write off the distance between the geographical location of position and the specified businessman;
Standard deviation computing module, for calculating the standard deviation between each distance;
Second determining module is specifically used for, and checks and writes off the red packet in data according to the standard deviation, the red packet and checks and writes off Position and the geographical location of the specified businessman determine that the red packet checks and writes off whether data meet the second setting condition.
In one embodiment, second setting condition includes at least:
Red packet checks and writes off the red packet in data and checks and writes off the distance between position and the geographical location of the specified businessman less than institute State standard deviation.
It is understood that data acquisition module 210, dispersion degree determining module 220, the first determining module 230, and Module of second determining module 240 as four kinds of functional independences, both can configuration in a device, can also be with simultaneously as shown in Figure 2 It individually configures in a device, therefore structure shown in Fig. 2 should not be construed as the restriction to this specification example scheme.
In addition, the function of modules and the realization process of effect are specifically detailed in the above method corresponding step in above-mentioned apparatus Rapid 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 is realized under line above-mentioned when executing described program The method of discrimination of transaction.This method includes at least: the red packet for obtaining specified businessman checks and writes off data and the red packet checks and writes off data pair The red packet answered gets data, wherein it includes identical red packet in data that the red packet, which is checked and write off the corresponding red packet of data and got, Mark;It determines that the red packet checks and writes off the red packet in data and checks and writes off the red packet that position red packet corresponding with its is got in data and gets position The dispersion degree set;It imposes a condition if the dispersion degree meets first, it is determined that be equipped under the specified businessman is online red Packet two dimensional code;Data are checked and write off for red packet described in any bar, the red packet in data is checked and write off according to the red packet and checks and writes off position and institute The geographical location for stating specified businessman determines that the red packet checks and writes off whether data meet the second setting condition, sets if meeting described second Fixed condition, it is determined that the red packet checks and writes off data and results from off-line transaction.
Fig. 3 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram, The equipment may include: processor 310, memory 320, input/output interface 330, communication interface 340 and bus 350.Wherein Processor 310, memory 320, input/output interface 330 and communication interface 340 between the realization of bus 350 by setting Standby internal communication connection.
Processor 310 can use general CPU (Central Processing Unit, central processing unit), micro process 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 solution provided by this specification embodiment.
Memory 320 can use ROM (Read Only Memory, read-only memory), RAM (Random Access Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 320 can store Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware When, relevant program code is stored in memory 320, and execution is called by processor 310.
Input/output interface 330 is for connecting input/output module, to realize information input and output.Input and output/ Module can be used as component Configuration and (be not shown in Fig. 3) 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, Loudspeaker, vibrator, indicator light etc..
Communication interface 340 is used for connection communication module (being not shown in Fig. 3), 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 350 includes an access, in various components (such as the processor 310, memory 320, input/output of equipment Interface 330 and communication interface 340) between transmit information.
It should be noted that although above equipment illustrates only processor 310, memory 320, input/output interface 330, communication interface 340 and bus 350, but in the specific implementation process, which can also include realizing to operate normally Necessary other assemblies.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising realizing in above equipment Component necessary to 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 The method of discrimination of off-line transaction above-mentioned is realized when sequence is executed by processor, this method includes at least: obtaining the red of specified businessman Packet checks and writes off data and the red packet checks and writes off the corresponding red packet of data and gets data, wherein it is corresponding that the red packet checks and writes off data Red packet get in data include identical red packet identify;Determine that the red packet checks and writes off that the red packet in data checks and writes off position and its is right The red packet answered gets the dispersion degree that the red packet in data gets position;It imposes a condition if the dispersion degree meets first, It determines and is equipped with red packet two dimensional code under the specified businessman is online;Data are checked and write off for red packet described in any bar, according to described red Packet checks and writes off the red packet in data and checks and writes off the geographical location of position and the specified businessman determine whether the red packet checks and writes off data full Foot second imposes a condition, and imposes a condition if meeting described second, it is determined that the red packet checks and writes off data and results from off-line transaction.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (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), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage 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 the 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 be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make 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 any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to 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 separate part description 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, it can it understands and implements.
The above is only the specific embodiment 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 scope of this specification embodiment.

Claims (13)

1. a kind of method of discrimination of off-line transaction, which comprises
The red packet for obtaining specified businessman checks and writes off data and the red packet checks and writes off the corresponding red packet of data and gets data, wherein described It includes that identical red packet identifies that red packet, which is checked and write off the corresponding red packet of data and got in data,;
It determines that the red packet checks and writes off the red packet in data and checks and writes off the red packet that position red packet corresponding with its is got in data and gets position The dispersion degree set;
It imposes a condition if the dispersion degree meets first, it is determined that be equipped with red packet two dimensional code under the specified businessman is online;
Data are checked and write off for red packet described in any bar, the red packet in data is checked and write off according to the red packet and checks and writes off position and described specified The geographical location of businessman determines that the red packet checks and writes off whether data meet the second setting condition, if meeting the second setting item Part, it is determined that the red packet checks and writes off data and results from off-line transaction.
2. according to the method described in claim 1, the determination red packet is checked and write off, the red packet in data checks and writes off position and its is right The red packet answered gets the dispersion degree that the red packet in data gets position, comprising:
It the red packet in data is checked and write off to the red packet using clustering algorithm checks and writes off position red packet corresponding with its and get in data Red packet is got position and is grouped;
Determine the difference parameter for indicating difference situation between obtained each grouping;
The coefficient of dispersion for indicating dispersion degree is determined according to the difference parameter and the number of obtained grouping.
3. according to the method described in claim 2, first setting condition includes at least:
The coefficient of dispersion is less than preset coefficient threshold.
4. according to the method described in claim 2, the difference parameter is at least following one of them:
Comentropy, Gini coefficient.
5. according to the method described in claim 1, checking and writing off the red packet in data described according to the red packet and checking and writing off position and institute The geographical location for stating specified businessman determines that the red packet is checked and write off before whether data meet the second setting condition, and the method is also wrapped It includes:
Data are checked and write off for red packet described in any bar, the red packet that the red packet is checked and write off in data is calculated and checks and writes off position and the finger Determine the distance between the geographical location of businessman;
Calculate the standard deviation between each distance;
It is described according to the red packet check and write off the red packet in data check and write off position and the specified businessman geographical location determine described in Red packet checks and writes off whether data meet the second setting condition, comprising:
The geographical position that the red packet in data checks and writes off position and the specified businessman is checked and write off according to the standard deviation, the red packet It sets and determines that the red packet checks and writes off whether data meet the second setting condition.
6. according to the method described in claim 4, second setting condition includes at least:
Red packet checks and writes off the red packet in data and checks and writes off the distance between position and the geographical location of the specified businessman less than the mark It is quasi- poor.
7. a kind of discriminating gear of off-line transaction, described device include:
Data acquisition module, the red packet for obtaining specified businessman checks and writes off data and the red packet checks and writes off the corresponding red packet neck of data Access evidence, wherein it includes that identical red packet identifies that the red packet, which is checked and write off the corresponding red packet of data and got in data,;
Dispersion degree determining module checks and writes off position red packet neck corresponding with its for determining that the red packet checks and writes off the red packet in data Red packet of the access in gets the dispersion degree of position;
First determining module imposes a condition if meeting first for the dispersion degree, it is determined that under the specified businessman is online It is equipped with red packet two dimensional code;
Second determining module checks and writes off the red packet in data according to the red packet for checking and writing off data for red packet described in any bar The geographical location for checking and writing off position and the specified businessman determines that the red packet checks and writes off whether data meet the second setting condition, if full Foot described second imposes a condition, it is determined that the red packet checks and writes off data and results from off-line transaction.
8. device according to claim 7, the dispersion degree determining module include:
Submodule is clustered, to check and write off position corresponding with its red for checking and writing off the red packet in data to the red packet using clustering algorithm The red packet that packet is got in data is got position and is grouped;
Difference parameter determines submodule, for determining that the difference for indicating difference situation between obtained each grouping is joined Number;
Coefficient of dispersion determines submodule, for the number according to the difference parameter and obtained grouping determine for indicate from The coefficient of dispersion for the degree of dissipating.
9. device according to claim 8, described first, which imposes a condition, includes at least:
The coefficient of dispersion is less than preset coefficient threshold.
10. device according to claim 8, the difference parameter is at least following one of them:
Comentropy, Gini coefficient.
11. device according to claim 7, described device further include:
Distance calculation module, for checking and writing off data for red packet described in any bar, calculate the red packet check and write off it is red in data Packet checks and writes off the distance between the geographical location of position and the specified businessman;
Standard deviation computing module, for calculating the standard deviation between each distance;
Second determining module is specifically used for, and checks and writes off the red packet in data according to the standard deviation, the red packet and checks and writes off position, And the geographical location of the specified businessman determines that the red packet checks and writes off whether data meet the second setting condition.
12. device according to claim 10, described second, which imposes a condition, includes at least:
Red packet checks and writes off the red packet in data and checks and writes off the distance between position and the geographical location of the specified businessman less than the mark It is quasi- poor.
13. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, wherein the processor realizes the method as described in claim 1-6 when executing described program.
CN201810731359.4A 2018-07-05 2018-07-05 Offline transaction distinguishing method and device and computer equipment Active CN108985831B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111106830.9A CN113837755A (en) 2018-07-05 2018-07-05 Offline transaction distinguishing method and device and computer equipment
CN201810731359.4A CN108985831B (en) 2018-07-05 2018-07-05 Offline transaction distinguishing method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810731359.4A CN108985831B (en) 2018-07-05 2018-07-05 Offline transaction distinguishing method and device and computer equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202111106830.9A Division CN113837755A (en) 2018-07-05 2018-07-05 Offline transaction distinguishing method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN108985831A true CN108985831A (en) 2018-12-11
CN108985831B CN108985831B (en) 2021-08-06

Family

ID=64537141

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810731359.4A Active CN108985831B (en) 2018-07-05 2018-07-05 Offline transaction distinguishing method and device and computer equipment
CN202111106830.9A Pending CN113837755A (en) 2018-07-05 2018-07-05 Offline transaction distinguishing method and device and computer equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202111106830.9A Pending CN113837755A (en) 2018-07-05 2018-07-05 Offline transaction distinguishing method and device and computer equipment

Country Status (1)

Country Link
CN (2) CN108985831B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503412A (en) * 2019-08-30 2019-11-26 阿里巴巴集团控股有限公司 The detection method and system of red packet code material conflict under a kind of line
CN111008864A (en) * 2019-11-29 2020-04-14 支付宝实验室(新加坡)有限公司 Method and device for determining laying relation between marketing code and merchant and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296329A (en) * 2015-06-09 2017-01-04 阿里巴巴集团控股有限公司 Business object information processing, credential information processing method and processing device
CN106487872A (en) * 2015-08-24 2017-03-08 阿里巴巴集团控股有限公司 The offer method and device of reward voucher, the distribution of virtual resource and get method
CN106920089A (en) * 2017-02-12 2017-07-04 广州芝绿电子商务有限公司 Red packet presentation method and system based on Quick Response Code
WO2017206937A1 (en) * 2016-06-02 2017-12-07 腾讯科技(深圳)有限公司 Method and device for information processing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140012704A1 (en) * 2012-07-05 2014-01-09 Google Inc. Selecting a preferred payment instrument based on a merchant category
US20140337089A1 (en) * 2013-05-08 2014-11-13 Visa International Service Association Systems and methods to connect information
CN104573304A (en) * 2014-07-30 2015-04-29 南京坦道信息科技有限公司 User property state assessment method based on information entropy and cluster grouping
CN105049470B (en) * 2015-05-22 2019-03-01 腾讯科技(北京)有限公司 Event confirmation method, apparatus and system
CN108174350B (en) * 2017-11-30 2020-12-11 北京三快在线科技有限公司 Positioning method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296329A (en) * 2015-06-09 2017-01-04 阿里巴巴集团控股有限公司 Business object information processing, credential information processing method and processing device
CN106487872A (en) * 2015-08-24 2017-03-08 阿里巴巴集团控股有限公司 The offer method and device of reward voucher, the distribution of virtual resource and get method
WO2017206937A1 (en) * 2016-06-02 2017-12-07 腾讯科技(深圳)有限公司 Method and device for information processing
CN106920089A (en) * 2017-02-12 2017-07-04 广州芝绿电子商务有限公司 Red packet presentation method and system based on Quick Response Code

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503412A (en) * 2019-08-30 2019-11-26 阿里巴巴集团控股有限公司 The detection method and system of red packet code material conflict under a kind of line
CN110503412B (en) * 2019-08-30 2023-04-18 创新先进技术有限公司 Method and system for detecting offline red envelope code material conflict
CN111008864A (en) * 2019-11-29 2020-04-14 支付宝实验室(新加坡)有限公司 Method and device for determining laying relation between marketing code and merchant and electronic equipment
CN111008864B (en) * 2019-11-29 2023-12-26 支付宝实验室(新加坡)有限公司 Method and device for determining paving relationship between marketing codes and merchants, and electronic equipment

Also Published As

Publication number Publication date
CN113837755A (en) 2021-12-24
CN108985831B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN109101989B (en) Merchant classification model construction and merchant classification method, device and equipment
US11652628B2 (en) Deterministic verification of digital identity documents
CN108876560A (en) A kind of method and device carrying out credit appraisal to works publisher based on block chain
CN109274667A (en) A kind of copyright issue based on block chain deposits card method and system
TW201941135A (en) Self-service shopping risk control method and system
CN109272385A (en) It is a kind of based on block chain copyright issue agency deposit card method and system
CN109102151A (en) A kind of suspicious group identification method and apparatus
CN106296329A (en) Business object information processing, credential information processing method and processing device
CN107770233A (en) A kind of fitment process management-control method and device
CN109101787A (en) A kind of method and device carrying out credit appraisal to copyright user based on block chain
CN110163612A (en) A kind of payment air control method and device
TWI706332B (en) Graphic coding display method and device and computer equipment
TWI709930B (en) Joint payment method and system based on binding relationship
CN110020854A (en) A kind of data based on multiple block chain networks deposit card method and system
TW202013282A (en) Method and device for identifying risky merchant
CN110060153A (en) A kind of data based on multiple block chain networks deposit card method and system
CN110020945A (en) A kind of method for reading data and system based on multiple block chain networks
CN110046901A (en) Reliability verification method, system, device and the equipment of alliance's chain
CN109509020A (en) A kind of discount coupon amount of money checking method and device
CN110175916A (en) Cash flow checking method and device
CN109255600A (en) A kind of method and device for providing reward to works publisher based on block chain
CN109102324B (en) Model training method, and red packet material laying prediction method and device based on model
CN108985831A (en) A kind of method of discrimination of off-line transaction, device and computer equipment
CN103366128A (en) Information processing apparatus, information processing method, information processing system, and program
CN107135243B (en) Method and device for determining relative position

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant