WO2020119231A1 - 基于位置信息的电子凭证推送方法、装置及电子设备 - Google Patents

基于位置信息的电子凭证推送方法、装置及电子设备 Download PDF

Info

Publication number
WO2020119231A1
WO2020119231A1 PCT/CN2019/110055 CN2019110055W WO2020119231A1 WO 2020119231 A1 WO2020119231 A1 WO 2020119231A1 CN 2019110055 W CN2019110055 W CN 2019110055W WO 2020119231 A1 WO2020119231 A1 WO 2020119231A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
electronic
information
target objects
location information
Prior art date
Application number
PCT/CN2019/110055
Other languages
English (en)
French (fr)
Inventor
彭飞翔
范星光
侯文杰
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2020119231A1 publication Critical patent/WO2020119231A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • 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/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/35Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise

Definitions

  • an embodiment of the present invention also provides a non-transitory computer-readable storage medium that stores computer instructions, and the computer instructions are used to cause the computer to perform the foregoing first aspect or the first An electronic credential pushing method based on location information in any implementation of one aspect.
  • FIG. 2 is a schematic diagram of another electronic credential pushing process based on location information provided by an embodiment of the present invention
  • Electronic vouchers are generally stored in specific applications. When users use the applications, they register a corresponding ID. When the server needs to know the user's current location, the user ID can be used to determine whether the user is online. For example, the server can send a ping command to the device terminal where the user ID is located. By checking whether the device terminal responds, you can know whether the user is online. Generally, when a user is online, the corresponding application is also running.
  • target objects After the latest location of the user is determined, all target objects within a certain distance (for example, 1KM) can be found nearby. These target objects can be some businesses, some vending machines, or automatic ticket purchasing machines.
  • Electronic vouchers are generally stored in specific applications. When users use the applications, they register a corresponding ID. When the server needs to know the user's current location, the user ID can be used to determine whether the user is online. For example, the server can send a ping command to the device terminal where the user ID is located. By checking whether the device terminal responds, you can know whether the user is online. Generally, when a user is online, the corresponding application is also running.
  • the latest position obtained by the application is inaccurate. At this time, the latest position of the user needs to be verified.
  • the latest position information and the historical position information satisfy the position verification rule the latest position information is set The current location information.
  • the smoothness of the user's position coordinates can be verified.
  • the distance between the latest position and the historical position is found to be large, it can be determined that the latest position information is inaccurate.
  • the acquiring current location information and feature information of the user further includes:
  • the content interacted in the application is usually classified.
  • the application includes different classifications such as "food”, “hotel”, and "movie".
  • the user can perform operations related to the current category under different categories. For example, the user performs the operation of purchasing movie tickets under the category of "movie”.
  • the collection of all categories in the application constitutes the classification information of the application.
  • the classification information of the application program can be obtained by acquiring the application activity log.
  • S303 Use the classification record to determine the most relevant classification of the user.
  • the user's interests and hobbies can be determined. For example, the transaction records of the user in the category related to "gourmet food" are significantly higher than the transaction records in other categories. At this time, the "gourmet food” category may be regarded as the most relevant category of the user.
  • the latest position information of the user is further obtained at a preset interval period. For example, you can re-acquire the user's latest location information every 5 minutes.
  • target object A can be set to "food”
  • target object B can be set to “shopping”
  • target object C can be set to " watch movie”.
  • S402. Determine different classifications of all target objects based on the classification attributes.
  • the classification of different target objects can be determined, and the different target objects can be classified based on the different classifications.
  • S403 Set different types of electronic vouchers based on the different classifications, where each electronic voucher corresponds to more than two different target objects.
  • Target objects with the same type can be set with the same type of electronic voucher.
  • all the target objects related to the food can be set to the same electronic label with the "gourmet" attribute.
  • each electronic certificate corresponds to more than two different target objects.
  • the judging whether there is an electronic voucher matching at least two different target objects among the plurality of target objects may further include:
  • the electronic voucher can be sent to the user in a variety of ways. As an example, it can be first determined whether the user receives the same electronic voucher as the one or more electronic vouchers within a preset period; if so, it will be sent to the user The received one or more other electronic certificates with different types of electronic certificates are sent to the application corresponding to the user ID.
  • the log records in the user's application program may be continuously read.
  • related feature information related to the user's feature information can be obtained. For example, by searching the log records, it is found that the user likes to watch movies in addition to shopping, and at this time, electronic credentials related to the movie theater can be pushed to the user.
  • the sending the electronic voucher to the user includes:
  • an embodiment of the present invention provides an electronic voucher pushing device 50 based on location information, including:
  • the obtaining module 501 is used to obtain the current position information and characteristic information of the user.
  • Electronic vouchers are generally stored in specific applications. When users use the applications, they register a corresponding ID. When the server needs to know the user's current location, the user ID can be used to determine whether the user is online. For example, the server can send a ping command to the device terminal where the user ID is located. By checking whether the device terminal responds, you can know whether the user is online. Generally, when a user is online, the corresponding application is also running.
  • the application When the application is in the running state, the application can be used to obtain the location of the device terminal on which it is running, and then the location of the user.
  • the user's device terminal In addition to obtaining the latest location of the user, the user's device terminal generally retains a historical record of the location. At this time, the historical location information on the device terminal can also be read through the application.
  • the latest position obtained by the application is inaccurate. At this time, the latest position of the user needs to be verified.
  • the latest position information and the historical position information satisfy the position verification rule the latest position information is set The current location information.
  • the smoothness of the user's position coordinates can be verified.
  • the distance between the latest position and the historical position is found to be large, it can be determined that the latest position information is inaccurate.
  • the application stores various transaction records of the user. For example, some users like to use the application to order food, and some users like to use the application to buy movie tickets.
  • the user's characteristic information can be determined based on the user's transaction record. For example, the characteristic information of the user may be "food lovers”, “shopping lovers”, “movie lovers” and so on.
  • target objects After the latest location of the user is determined, all target objects within a certain distance (for example, 1KM) can be found nearby. These target objects can be some merchants, manual vending machines, or automatic ticket purchasing machines.
  • the feature information In order to be able to match the feature information, it is necessary to set different tags for the target object (for example, restaurants, supermarkets, movie theaters, etc.), and store these tags in the server in advance. In this way, when searching based on the feature information, the feature information can be matched with different tags of the target object, and the target object with a high matching degree can be used as the final search result.
  • the target object for example, restaurants, supermarkets, movie theaters, etc.
  • an electronic certificate is associated with multiple target objects.
  • an electronic voucher can be used on multiple target objects of the same type (for example, restaurants).
  • an electronic voucher can be used on a target object within a certain range (for example, all businesses near Wangfujing). In this way, when the user reaches a specific location, only a small amount of electronic credentials need to be pushed to the user, and the target object associated with the user's trading habits can be pushed to the user.
  • the sending module 504 is used to send the electronic credential to the user.
  • related feature information related to the user's feature information can be obtained. For example, by searching the log records, it is found that the user likes to watch movies in addition to shopping, and at this time, electronic credentials related to the movie theater can be pushed to the user.
  • the device shown in FIG. 5 can correspondingly execute the content in the above method embodiment.
  • an embodiment of the present invention also provides an electronic device 60.
  • the electronic device includes:
  • At least one processor and,
  • a memory communicatively connected to the at least one processor; wherein,
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the location-based electronic credential pushing method in the foregoing method embodiment.
  • An embodiment of the present invention further provides a non-transitory computer-readable storage medium.
  • the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to perform the foregoing method embodiments.
  • An embodiment of the present invention also provides a computer program product.
  • the computer program product includes a calculation program stored on a non-transitory computer-readable storage medium.
  • the computer program includes program instructions. When the program instructions are executed by a computer, the The computer executes the location-based electronic credential pushing method in the foregoing method embodiment.
  • the electronic credential push solution based on location information in the embodiment of the present invention obtains the configuration information set by the publisher of the running event; when the configuration information is submitted, a validity check is performed, and the configuration information passed by the check is stored in the form of a unique ID to Target database; obtain the configuration information from the target database based on the trigger event of the running event publisher, and push the configuration information to the redis database in the form of key-value pairs; use the configuration received by the redis database Information to carry out policy control on the running event. It can make the control strategy more refined.
  • FIG. 6 shows a schematic structural diagram of an electronic device 60 suitable for implementing embodiments of the present disclosure.
  • Electronic devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • PDAs personal digital assistants
  • PADs tablet computers
  • PMPs portable multimedia players
  • in-vehicle terminals e.g. Mobile terminals such as car navigation terminals
  • fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 6 is just an example, and should not bring any limitation to the functions and use scope of the embodiments of the present disclosure.
  • the following devices can be connected to the I/O interface 605: including input devices 606 such as touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCDs), speakers, An output device 607 such as a vibrator; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609.
  • the communication device 609 may allow the electronic device 60 to perform wireless or wired communication with other devices to exchange data.
  • the figure shows an electronic device 60 having various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 609, or from the storage device 608, or from the ROM 602.
  • the processing device 601 the above-mentioned functions defined in the method of the embodiments of the present disclosure are executed.
  • the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal that is propagated in baseband or as part of a carrier wave, in which computer-readable program code is carried. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: electric wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is caused to: acquire at least two Internet protocol addresses; send the node evaluation device including the at least two A node evaluation request for an Internet protocol address, wherein the node evaluation device selects and returns an Internet protocol address from the at least two Internet protocol addresses; receives the Internet protocol address returned by the node evaluation device; wherein, the obtained The Internet Protocol address indicates the edge node in the content distribution network.
  • the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is caused to: receive a node evaluation request including at least two Internet protocol addresses; Among the at least two internet protocol addresses, select the internet protocol address; return the selected internet protocol address; wherein, the received internet protocol address indicates an edge node in the content distribution network.
  • the computer program code for performing the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above programming languages include object-oriented programming languages such as Java, Smalltalk, C++, as well as conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In situations involving remote computers, the remote computer can pass through any kind of network-including a local area network (LAN) or a wide area network
  • LAN local area network
  • wide area network LAN
  • WAN Networked to the user's computer, or may be connected to an external computer (eg, using an Internet service provider to connect through the Internet).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本本发明实施例中提供了一种基于位置信息的电子凭证推送方法、装置及电子设备,属于数据处理技术领域,该方法包括:获取用户的当前位置信息及特征信息;基于所述当前位置信息及所述特征信息确定多个目标对象;判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证;若是,则将所述电子凭证发送至用户。本申请的方案通过特定的电子凭证发放策略,提高了电子凭证的利用率。

Description

基于位置信息的电子凭证推送方法、装置及电子设备
相关申请的交叉引用
本申请要求于2018年12月13日提交的,申请号为201811527523.6、发明名称为“基于LBS的电子凭证推送方法、装置及电子设备”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本发明涉及数据处理技术领域,尤其涉及一种基于位置信息的电子凭证推送方法、装置及电子设备。
背景技术
随时智能设备的普及,越来越多的应用软件得到了普及,每一个应用软件都具有不同的功能,基于用户的操作或触发,应用软件会产生着大量的事件。海量的事件通常通过云平台进行集中处理。海量事件的捕获、实时处理、准实时分析已经成为一个重要的业务领域。
随着移动网络的发展,越来越多的智能设备都可以通过安装软件的方式来提供各种电子凭证(例如,各种票劵)服务,用户可以通过使用电子凭证进行各种相应的交易操作,电子凭证可以来自服务提供方(例如,超市、电影院线、优惠券发放商店或餐厅)。针对于用户的交易操作,服务提供方的云平台能够通过向智能设备推送消息等方式来发出电子凭证。智能设备上的应用软件能够提示用户将接收到的电子凭证进行使用。当用户到达可使用电子凭证的地点时,用户可启动安 装于电子凭证的应用程序。智能设备可显示其内部存储的相应电子凭证以供选择。用户安装的应用程序可在移动设备上显示用户所选择的电子凭证,以用于由读票机器或人员检查。
现有技术中的电子凭证通常是一对一使用,同时电子凭证的发送策略较为单一,导致电子凭证的利用率不高。。
发明内容
有鉴于此,本发明实施例提供一种基于位置信息的电子凭证推送方法、装置及电子设备,至少部分解决现有技术中存在的问题。
第一方面,本发明实施例提供了一种基于位置信息的电子凭证推送方法,包括:
获取用户的当前位置信息及特征信息;
基于所述当前位置信息及所述特征信息确定多个目标对象;
判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证;
若是,则将所述电子凭证发送至用户。
根据本发明实施例的一种具体实现方式,所述获取用户的当前位置信息及特征信息,包括:
基于用户ID判断所述用户ID对应的应用程序是否处于运行状态;
若是,则进一步基于处于运行状态的应用程序获取最新位置信息及历史位置信息;
当所述最新位置信息与所述历史位置信息满足位置校验规则时,将所述最新位置信息设置为当前位置信息。
根据本发明实施例的一种具体实现方式,所述获取用户的当前位置信息及特征信息,还包括:
当所述最新位置信息与所述历史位置信息满足位置校验规则时,进一步获取所述应用程序中的分类信息;
基于所述分类信息,获取所述用户在不同分类下的分类记录;
利用所述分类记录,确定所述用户的最相关分类;
基于所述最相关分类的日志信息,确定所述用户的特征信息。
根据本发明实施例的一种具体实现方式,所述获取用户的当前位置信息及特征信息,还包括:
当所述最新位置信息与所述历史位置信息不满足位置校验规则时,则进一步按照预设间隔周期获取所述用户的最新位置信息。
根据本发明实施例的一种具体实现方式,所述基于所述当前位置信息及所述特征信息确定多个目标对象,包括:
查找距离当前位置预设距离内的所有目标对象;
提取查找到的所有目标对象的分类属性;
将所述分类属性与所述特征信息中的最相关分类进行匹配,计算目标对象与所述特征信息中的最相关分类的匹配度;
将匹配度高于预设阈值的目标对象确定为所述多个目标对象。
根据本发明实施例的一种具体实现方式,所述判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证之前,所述方法还包括:
为所有目标对象设置分类属性;
基于所述分类属性确定所有目标对象的不同分类;
基于所述不同分类设置不同类型的电子凭证,其中,每个电子凭证与2个以上的不同的目标对象相对应。
根据本发明实施例的一种具体实现方式,所述判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证,包括:
查找与所述多个目标对象相匹配的一个或多个电子凭证;
在所述一个或多个电子凭证中,确定所述用户的特征信息相对应的电子凭证。
根据本发明实施例的一种具体实现方式,所述则将所述电子凭证发送至用户,包括:
判断用户在预设周期内是否接收到与所述一个或多个电子凭证相同的电子凭证;
若是,则将与用户接收到的一个或多个电子凭证类型不同的其他 电子凭证,发送至用户ID所对应的应用程序中。
根据本发明实施例的一种具体实现方式,所述则将所述电子凭证发送至用户,包括:
读取用户应用程序中的日志记录;
基于所述日志记录,获取与用户的所述特征信息相关的关联特征信息;
查找与所述关联特征信息对应的一个或多个电子凭证;
将与所述关联特征信息对应的一个或多个电子凭证发送至用户ID所对应的应用程序中。
第二方面,本发明实施例提供了一种基于位置信息的电子凭证推送装置,包括:
获取模块,用于获取用户的当前位置信息及特征信息;
确定模块,用于基于所述当前位置信息及所述特征信息确定多个目标对象;
判断模块,用于判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证;
发送模块,用于将所述电子凭证发送至用户。
第三方面,本发明实施例还提供了一种电子设备,该电子设备包括:
至少一个处理器;以及,
与该至少一个处理器通信连接的存储器;其中,
该存储器存储有可被该至少一个处理器执行的指令,该指令被该至少一个处理器执行,以使该至少一个处理器能够执行前述任第一方面或第一方面的任一实现方式中的基于位置信息的电子凭证推送方法。
第四方面,本发明实施例还提供了一种非暂态计算机可读存储介质,该非暂态计算机可读存储介质存储计算机指令,该计算机指令用于使该计算机执行前述第一方面或第一方面的任一实现方式中的基于位置信息的电子凭证推送方法。
第五方面,本发明实施例还提供了一种计算机程序产品,该计算 机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令被计算机执行时,使该计算机执行前述第一方面或第一方面的任一实现方式中的基于位置信息的电子凭证推送方法。
本发明实施例中的基于位置信息的电子凭证推送方案,包括获取用户的当前位置信息及特征信息;基于所述当前位置信息及所述特征信息确定多个目标对象;判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证;若是,则将所述电子凭证发送至用户。通过特定的电子凭证发放策略,提高了电子凭证的利用率。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本发明实施例提供的一种基于位置信息的电子凭证推送流程示意图;
图2为本发明实施例提供的另一种基于位置信息的电子凭证推送流程示意图;
图3为本发明实施例提供的另一种基于位置信息的电子凭证推送流程示意图;
图4为本发明实施例提供的另一种基于位置信息的电子凭证推送流程示意图;
图5为本发明实施例提供的基于位置信息的电子凭证推送装置结构示意图;
图6为本发明实施例提供的电子设备示意图。
具体实施方式
下面结合附图对本发明实施例进行详细描述。
以下通过特定的具体实例说明本公开的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本公开的其他优点与功效。显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。本公开还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本公开的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
需要说明的是,下文描述在所附权利要求书的范围内的实施例的各种方面。应显而易见,本文中所描述的方面可体现于广泛多种形式中,且本文中所描述的任何特定结构及/或功能仅为说明性的。基于本公开,所属领域的技术人员应了解,本文中所描述的一个方面可与任何其它方面独立地实施,且可以各种方式组合这些方面中的两者或两者以上。举例来说,可使用本文中所阐述的任何数目个方面来实施设备及/或实践方法。另外,可使用除了本文中所阐述的方面中的一或多者之外的其它结构及/或功能性实施此设备及/或实践此方法。
还需要说明的是,以下实施例中所提供的图示仅以示意方式说明本公开的基本构想,图式中仅显示与本公开中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。
另外,在以下描述中,提供具体细节是为了便于透彻理解实例。然而,所属领域的技术人员将理解,可在没有这些特定细节的情况下实践所述方面。
本公开实施例提供一种基于位置信息的电子凭证推送方法。本实施例提供的基于位置信息的电子凭证推送方法可以由一计算装置来执行,该计算装置可以实现为软件,或者实现为软件和硬件的组合,该计算装置可以集成设置在服务器、终端设备等中。
参见图1,本发明实施例提供的一种基于位置信息的电子凭证推送方法,该方法可以运行在服务器端,该方法包括如下步骤:
S101,获取用户的当前位置信息及特征信息。
电子凭证一般存储于特定的应用程序中,用户在使用应用程序的时候,会注册一个相应的ID,当服务器端需要获知用户的当前位置时,可以通过用户ID判断所述用户是否处于在线状态。例如,服务器端可以向用户ID所在的设备终端发送一个ping命令,通过查看是否设备终端是否有响应,便可以获知用户是否处于在线状态。一般情况下,用户处于在线状态时,其对应的应用程序也是处于运行状态。
当应用程序处于运行状态时,可以利用应用程序获取其运行的设备终端所在的位置,进而获得用户所在的位置。
除了获取用户的最新位置之外,用户的设备终端上一般会保留位置的历史记录,此时,还可以通过应用程序读取设备终端上的历史位置信息。
应用程序获取的最新位置存在不准确的情况,此时需要对用户的最新位置进行校验,当所述最新位置信息与所述历史位置信息满足位置校验规则时,将所述最新位置信息设置为当前位置信息。
可以采取多种方式对用户的最新位置进行校验。作为一个例子,可以对用户位置坐标的平滑性进行校验,当发现最新位置与历史位置之间的距离差较大时,可以认定最新位置信息不准确。
应用程序中存有用户的各种交易记录,例如,有的用户喜欢使用应用程序点餐,有的用户喜欢使用应用程序购买电影票。此时,可以基于用户的交易记录,确定用户的特征信息。例如,用户的特征信息可以是“美食爱好者”、“购物爱好者”、“看电影爱好者”等。
S102,基于所述当前位置信息及所述特征信息确定多个目标对象。
确定了用户的最新位置之后,便可以查找附近一定距离(例如,1KM)范围内的所有目标对象,这些目标对象可以是一些商家,也可以是一些自动售货机,或者是自动购票机等。
如果直接查找一定区域内的所有目标对象,通常会消耗较多的资源。为此,可以基于确定的用户的特征信息,查找与用户的特征信息 相关的目标对象。例如,用户的特征信息是“美食爱好者”,那么只需要查找目标范围内的饭店即可。通过这种查找方式,能够节省服务器的资源,同时,提高查找的效率。
为了能够与特征信息相匹配,需要将目标对象设置不同的标签(例如,饭店、超市、电影院等),并将这些标签预先存储在服务器中。这样在基于特征信息进行查找时,就可以将特征信息与目标对象的不同标签进行匹配,将匹配度高的目标对象作为最终的查找结果。
S103,判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证。
传统的电子凭证通常是一对一的关系,即一个电子凭证仅仅能够适用于一个目标对象,这样的结果是用户往往会拥有多个目标对象的电子凭证,导致用户很难记得住自己有多少电子凭证,也就导致用户很难在特定的时刻或者位置选择使用恰当的电子凭证。
为了提高电子凭证的利用效率,将一个电子凭证与多个目标对象进行关联。例如,一个电子凭证可以在多个同一类型的目标对象(例如,饭店)上使用。或者,一个电子凭证可以在特定范围内的目标对象(例如,王府井附近的所有商家)上使用。这样一来,当用户达到特定的位置时,只需要向用户推送少量的电子凭证,便可以将与用户交易习惯相关联的目标对象推送给用户。
S104,若是,则将所述电子凭证发送至用户。
在将电子凭证发送给用户之前,作为一种情况,可以查看用户之前是否接收过该电子凭证。例如,可以查找用户在预设周期(例如,一周)内是否接收到过一个或多个相同的电子凭证。
如果用户的应用程序中已经接收过相同的电子凭证,则将与用户接收到的一个或多个电子凭证类型不同的其他电子凭证,发送至用户ID所对应的应用程序中,通过这种方式,可以提高电子凭证的发送效率。
除了发送与用户的特征信息相对应的电子凭证之外,作为另外一种实施方式,为了向用户推送更多的关联电子凭证。为此,可以继续读取用户应用程序中的日志记录。
通过读取用户应用程序中存储的日志记录,能够获取与用户的所述特征信息相关的关联特征信息。例如,通过查找日志记录发现,用户除了喜欢购物之外,还喜欢看电影。此时,可以将与电影院相关的电子凭证推送给用户。
参见图2,根据本发明实施例的一种具体实现方式,所述获取用户的当前位置信息及特征信息,包括:
S202,基于用户ID判断所述用户ID对应的应用程序是否处于运行状态。
电子凭证一般存储于特定的应用程序中,用户在使用应用程序的时候,会注册一个相应的ID,当服务器端需要获知用户的当前位置时,可以通过用户ID判断所述用户是否处于在线状态。例如,服务器端可以向用户ID所在的设备终端发送一个ping命令,通过查看是否设备终端是否有响应,便可以获知用户是否处于在线状态。一般情况下,用户处于在线状态时,其对应的应用程序也是处于运行状态。
S203,若是,则进一步基于处于运行状态的应用程序获取最新位置信息及历史位置信息。
当应用程序处于运行状态时,可以利用应用程序获取其运行的设备终端所在的位置,进而获得用户所在的位置。
S204,当所述最新位置信息与所述历史位置信息满足位置校验规则时,将所述最新位置信息设置为当前位置信息。
除了获取用户的最新位置之外,用户的设备终端上一般会保留位置的历史记录,此时,还可以通过应用程序读取设备终端上的历史位置信息。
应用程序获取的最新位置存在不准确的情况,此时需要对用户的最新位置进行校验,当所述最新位置信息与所述历史位置信息满足位置校验规则时,将所述最新位置信息设置为当前位置信息。
可以采取多种方式对用户的最新位置进行校验。作为一个例子,可以对用户位置坐标的平滑性进行校验,当发现最新位置与历史位置之间的距离差较大时,可以认定最新位置信息不准确。
作为一种可选方式,参见图2,在执行步骤S202之前,还可以包括:
S201,获取用户使用的应用程序中的用户ID。
参见图3,根据本发明实施例的一种具体实现方式,所述获取用户的当前位置信息及特征信息,还包括:
S301,当所述最新位置信息与所述历史位置信息满足位置校验规则时,进一步获取所述应用程序中的分类信息。
可以采取多种方式对用户的最新位置进行校验。作为一个例子,可以对用户位置坐标的平滑性进行校验,当发现最新位置与历史位置之间的距离差较大时,可以认定最新位置信息不准确。
为了方便用户进行交互,通常对应用程序中交互的内容进行分类,例如,应用程序中包括“美食”、“酒店”、“电影”等不同的分类。用户在不同的分类下可以执行与当前分类相关的操作,例如,用户在“电影”分类下执行购买电影票的操作,应用程序中所有分类的集合构成了该应用程序的分类信息。示例性的,可以通过获取应用程序活动日志的方式来获取该应用程序的分类信息。
S302,基于所述分类信息,获取所述用户在不同分类下的分类记录。
应用程序中存有用户的各种交易记录,例如,有的用户喜欢使用应用程序点餐,有的用户喜欢使用应用程序购买电影票。此时,可以采用不同的分类分别采集用户的交易记录。
S303,利用所述分类记录,确定所述用户的最相关分类。
通过分析比较不同分类下用户的交易记录,可以确定用户的兴趣爱好。例如,用户在“美食”相关的分类下的交易记录明显高于其他分类下的交易记录,此时,可以将“美食”分类作为用户最相关分类。
S304,基于所述最相关分类的日志信息,确定所述用户的特征信息。
由于用户所处的环境不同,可能会存在位置信息丢失或者不准确的情况。当发现获取的最新位置信息与所述历史位置信息不满足位置 校验规则时,则进一步按照预设间隔周期获取所述用户的最新位置信息。例如,可以每隔5分钟,重新获取一下用户的最新位置信息。
为了能够在消耗较少资源的情况下,尽快的查找到多个目标对象,可以首先查找距离当前位置预设距离内的所有目标对象,然后提取查找到的所有目标对象的分类属性,最后将所述分类属性与所述特征信息中的最相关分类进行匹配,计算目标对象与所述特征信息中的最相关分类的匹配度,将匹配度高于预设阈值的目标对象确定为所述多个目标对象。
参见图4,根据本发明实施例的一种具体实现方式,在步骤S103判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证之前,该方法还可以包括:
S401,为所有目标对象设置分类属性。
不同的目标对象具有不同的交易属性,为此需要提前对目标对象进行标签化,例如,目标对象A可以设置为“美食”,目标对象B可以设置为“购物”,目标对象C可以设置为“看电影”。
S402,基于所述分类属性确定所有目标对象的不同分类。
通过提取不同目标对象上的标签,便可以确定不同目标对象的分类,并基于不同的分类将不同的目标对象进行归类。
S403,基于所述不同分类设置不同类型的电子凭证,其中,每个电子凭证与2个以上的不同的目标对象相对应。
具有相同类型的目标对象可以设置同一类型的电子凭证,例如,所有目标对象中与美食相关的目标对象可以设置为同一个具有“美食”属性的电子标签。为了提高电子标签的使用效率,每个电子凭证与2个以上的不同的目标对象相对应。
在步骤S401~S403之后,所述判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证,还可以包括:
S404,查找与所述多个目标对象相匹配的一个或多个电子凭证。
S405,在所述一个或多个电子凭证中,确定所述用户的特征信息相对应的电子凭证。
可以采用多种方式将所述电子凭证发送至用户,作为一个示例,可以首先判断用户在预设周期内是否接收到与所述一个或多个电子凭证相同的电子凭证;若是,则将与用户接收到的一个或多个电子凭证类型不同的其他电子凭证,发送至用户ID所对应的应用程序中。
除了发送与用户的特征信息相对应的电子凭证之外,作为另外一种实施方式,为了向用户推送更多的关联电子凭证,可以续读取用户应用程序中的日志记录。通过读取用户应用程序中存储的日志记录,能够获取与用户的所述特征信息相关的关联特征信息。例如,通过查找日志记录发现,用户除了喜欢购物之外,还喜欢看电影,此时,可以将与电影院相关的电子凭证推送给用户。
根据本发明实施例的一种具体实现方式,所述则将所述电子凭证发送至用户,包括:
读取用户应用程序中的日志记录;
基于所述日志记录,获取与用户的所述特征信息相关的关联特征信息;
查找与所述关联特征信息对应的一个或多个电子凭证;
将与所述关联特征信息对应的一个或多个电子凭证发送至用户ID所对应的应用程序中。
参见图5,本发明实施例提供了一种基于位置信息的电子凭证推送装置50,包括:
获取模块501,用于获取用户的当前位置信息及特征信息。
电子凭证一般存储于特定的应用程序中,用户在使用应用程序的时候,会注册一个相应的ID,当服务器端需要获知用户的当前位置时,可以通过用户ID判断所述用户是否处于在线状态。例如,服务器端可以向用户ID所在的设备终端发送一个ping命令,通过查看是否设备终端是否有响应,便可以获知用户是否处于在线状态。一般情况下,用户处于在线状态时,其对应的应用程序也是处于运行状态。
当应用程序处于运行状态时,可以利用应用程序获取其运行的设备终端所在的位置,进而获得用户所在的位置。
除了获取用户的最新位置之外,用户的设备终端上一般会保留位置的历史记录,此时,还可以通过应用程序读取设备终端上的历史位置信息。
应用程序获取的最新位置存在不准确的情况,此时需要对用户的最新位置进行校验,当所述最新位置信息与所述历史位置信息满足位置校验规则时,将所述最新位置信息设置为当前位置信息。
可以采取多种方式对用户的最新位置进行校验。作为一个例子,可以对用户位置坐标的平滑性进行校验,当发现最新位置与历史位置之间的距离差较大时,可以认定最新位置信息不准确。
应用程序中存有用户的各种交易记录,例如,有的用户喜欢使用应用程序点餐,有的用户喜欢使用应用程序购买电影票。此时,可以基于用户的交易记录,确定用户的特征信息。例如,用户的特征信息可以是“美食爱好者”、“购物爱好者”、“看电影爱好者”等等。
确定模块502,用于基于所述当前位置信息及所述特征信息确定多个目标对象。
确定了用户的最新位置之后,便可以查找附近一定距离(例如,1KM)范围内的所有目标对象,这些目标对象可以是一些商家,也可以是一些手动售货机,或者是自动购票机等。
如果直接查找一定区域内的所有目标对象,通常会消耗较多的资源。为此,可以基于确定的用户的特征信息,查找与用户的特征信息相关的目标对象。例如,用户的特征信息是“美食爱好者”,那么只需要查找目标范围内的饭店即可。通过这种查找方式,能够节省服务器的资源,同时,提高查找的效率。
为了能够与特征信息相匹配,需要将目标对象设置不同的标签(例如,饭店、超市、电影院等),并将这些标签预先存储在服务器中。这样在基于特征信息进行查找时,就可以将特征信息与目标对象的不同标签进行匹配,将匹配度高的目标对象作为最终的查找结果。
判断模块503,用于判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证。
传统的电子凭证通常是一对一的关系,即一个电子凭证仅仅能够适用于一个目标对象,这样的结果是导致用户往往会拥有多个目标对象的电子凭证,导致用户很难记得住自己有多少电子凭证,也就导致用户很难在特定的时刻或者位置选择使用恰当的电子凭证。
为了提高电子凭证的利用效率,将一个电子凭证与多个目标对象进行关联。例如,一个电子凭证可以在多个同一类型的目标对象(例如,饭店)上使用。或者,一个电子凭证可以在特定范围内的目标对象(例如,王府井附近的所有商家)上使用。这样一来,当用户达到特定的位置时,只需要向用户推送少量的电子凭证,便可以将与用户交易习惯相关联的目标对象推送给用户。
发送模块504,用于将所述电子凭证发送至用户。
在将电子凭证发送给用户之前,作为一种情况,可以查看用户之前是否接收过该电子凭证。例如,可以查找用户在预设周期(例如,一周)内是否接收到过一个或多个相同的电子凭证。
如果用户的应用程序中已经接收过相同的电子凭证,则将与用户接收到的一个或多个电子凭证类型不同的其他电子凭证,发送至用户ID所对应的应用程序中,通过这种方式,可以提高电子凭证的发送效率。
除了发送与用户的特征信息相对应的电子凭证之外,作为另外一种实施方式,为了向用户推送更多的关联电子凭证证。为此,可以继续读取用户应用程序中的日志记录。
通过读取用户应用程序中存储的日志记录,能够获取与用户的所述特征信息相关的关联特征信息。例如,通过查找日志记录发现,用户除了喜欢购物之外,还喜欢看电影,此时,可以将与电影院相关的电子凭证推送给用户。
图5所示装置可以对应的执行上述方法实施例中的内容,本实施例未详细描述的部分,可参照相应方法实施例中的内容,在此不再赘述。
参见图6,本发明实施例还提供了一种电子设备60,该电子设备包括:
至少一个处理器;以及,
与该至少一个处理器通信连接的存储器;其中,
该存储器存储有可被该至少一个处理器执行的指令,该指令被该至少一个处理器执行,以使该至少一个处理器能够执行前述方法实施例中基于位置信息的电子凭证推送方法。
本发明实施例还提供了一种非暂态计算机可读存储介质,该非暂态计算机可读存储介质存储计算机指令,该计算机指令用于使该计算机执行前述方法实施例中。
本发明实施例还提供了一种计算机程序产品,该计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令被计算机执行时,使该计算机执行前述方法实施例中的基于位置信息的电子凭证推送方法。
本发明实施例中的基于位置信息的电子凭证推送方案,获取运行事件发布者设置的配置信息;在所述配置信息提交时进行有效性检查,将检查通过的配置信息以唯一ID的方式存储至目标数据库;基于运行事件发布者的触发事件,从所述目标数据库中获取所述配置信息,并将所述配置信息以键值对的方式推送给redis数据库;利用redis数据库接收到的所述配置信息,对所述运行事件进行策略控制。能够使得控制策略更加精细,同时基于内存型数据库来,能够保证数据处理的性能足够高;基于redis进行统一的控制,不会超发,同时控制并发数,使并发数满足redis控制更加精准;外部依赖只通过redis,方案实现相对容易操作,节省了成本。
下面参考图6,其示出了适于用来实现本公开实施例的电子设备60的结构示意图。本公开实施例中的电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图6所示,电子设备60可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备60操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、图像传感器、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备60与其他设备进行无线或有线通信以交换数据。虽然图中示出了具有各种装置的电子设备60,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以 是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取至少两个网际协议地址;向节点评价设备发送包括所述至少两个网际协议地址的节点评价请求,其中,所述节点评价设备从所述至少两个网际协议地址中,选取网际协议地址并返回;接收所述节点评价设备返回的网际协议地址;其中,所获取的网际协议地址指示内容分发网络中的边缘节点。
或者,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收包括至少两个网际协议地址的节点评价请求;从所述至少两个网际协议地址中,选取网际协议地址;返回选取出的网际协议地址;其中,接收到的网际协议地址指示内容分发网络中的边缘节点。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者 完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网
(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (12)

  1. 一种基于位置信息的电子凭证推送方法,其特征在于,包括:
    获取用户的当前位置信息及特征信息;
    基于所述当前位置信息及所述特征信息确定多个目标对象;
    判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证;
    若是,则将所述电子凭证发送至用户。
  2. 根据权利要求1所述的方法,其特征在于,所述获取用户的当前位置信息及特征信息,包括:
    基于用户ID判断所述用户ID对应的应用程序是否处于运行状态;
    若是,则进一步基于处于运行状态的应用程序获取最新位置信息及历史位置信息;
    当所述最新位置信息与所述历史位置信息满足位置校验规则时,将所述最新位置信息设置为当前位置信息。
  3. 根据权利要求2所述的方法,其特征在于,所述获取用户的当前位置信息及特征信息,还包括:
    当所述最新位置信息与所述历史位置信息满足位置校验规则时,进一步获取所述应用程序中的分类信息;
    基于所述分类信息,获取所述用户在不同分类下的分类记录;
    利用所述分类记录,确定所述用户的最相关分类;
    基于所述最相关分类的日志信息,确定所述用户的特征信息。
  4. 根据权利要求2所述的方法,其特征在于,所述获取用户的当前位置信息及特征信息,还包括:
    当所述最新位置信息与所述历史位置信息不满足位置校验规则时,则进一步按照预设间隔周期获取所述用户的最新位置信息。
  5. 根据权利要求3所述的方法,其特征在于,所述基于所述当前位置信息及所述特征信息确定多个目标对象,包括:
    查找距离当前位置预设距离内的所有目标对象;
    提取查找到的所有目标对象的分类属性;
    将所述分类属性与所述特征信息中的最相关分类进行匹配,计算目标对象与所述特征信息中的最相关分类的匹配度;
    将匹配度高于预设阈值的目标对象确定为所述多个目标对象。
  6. 根据权利要求1所述的方法,其特征在于,所述判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证之前,所述方法还包括:
    为所有目标对象设置分类属性;
    基于所述分类属性确定所有目标对象的不同分类;
    基于所述不同分类设置不同类型的电子凭证,其中,每个电子凭证与2个以上的不同的目标对象相对应。
  7. 根据权利要求6所述的方法,其特征在于,所述判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证,包括:
    查找与所述多个目标对象相匹配的一个或多个电子凭证;
    在所述一个或多个电子凭证中,确定所述用户的特征信息相对应的电子凭证。
  8. 根据权利要求1所述的方法,其特征在于,所述则将所述电子凭证发送至用户,包括:
    判断用户在预设周期内是否接收到与所述一个或多个电子凭证相同的电子凭证;
    若是,则将与用户接收到的一个或多个电子凭证类型不同的其他 电子凭证,发送至用户ID所对应的应用程序中。
  9. 根据权利要求8所述的方法,其特征在于,所述则将所述电子凭证发送至用户,包括:
    读取用户应用程序中的日志记录;
    基于所述日志记录,获取与用户的所述特征信息相关的关联特征信息;
    查找与所述关联特征信息对应的一个或多个电子凭证;
    将与所述关联特征信息对应的一个或多个电子凭证发送至用户ID所对应的应用程序中。
  10. 一种基于位置信息的电子凭证推送装置,其特征在于,包括:
    获取模块,用于获取用户的当前位置信息及特征信息;
    确定模块,用于基于所述当前位置信息及所述特征信息确定多个目标对象;
    判断模块,用于判断是否存在与所述多个目标对象中的至少两个以上的不同目标对象相匹配的电子凭证;
    发送模块,用于将所述电子凭证发送至用户。
  11. 一种电子设备,其特征在于,所述电子设备包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行前述任一权利要求1-9所述的基于位置信息的电子凭证推送方法。
  12. 一种非暂态计算机可读存储介质,该非暂态计算机可读存储介质存储计算机指令,该计算机指令用于使该计算机执行前述任一权利要求1-9所述的基于位置信息的电子凭证推送方法。
PCT/CN2019/110055 2018-12-13 2019-10-09 基于位置信息的电子凭证推送方法、装置及电子设备 WO2020119231A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811527523.6A CN109510874A (zh) 2018-12-13 2018-12-13 基于lbs的电子凭证推送方法、装置及电子设备
CN201811527523.6 2018-12-13

Publications (1)

Publication Number Publication Date
WO2020119231A1 true WO2020119231A1 (zh) 2020-06-18

Family

ID=65752549

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110055 WO2020119231A1 (zh) 2018-12-13 2019-10-09 基于位置信息的电子凭证推送方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN109510874A (zh)
WO (1) WO2020119231A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468471A (zh) * 2020-11-17 2021-03-09 中国建设银行股份有限公司 一种远程授权方法和装置
CN112766254A (zh) * 2021-01-19 2021-05-07 中国工商银行股份有限公司 凭证信息录入的自动化测试方法及装置
CN113015090A (zh) * 2021-03-10 2021-06-22 北京灵汐科技有限公司 选择电子证书的方法和装置、计算机可读介质
CN113076195A (zh) * 2021-03-31 2021-07-06 北京字节跳动网络技术有限公司 对象的分流方法、装置、可读介质和电子设备
CN113763011A (zh) * 2020-11-19 2021-12-07 北京沃东天骏信息技术有限公司 电子凭证的分配处理方法、装置、设备和存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510874A (zh) * 2018-12-13 2019-03-22 北京字节跳动网络技术有限公司 基于lbs的电子凭证推送方法、装置及电子设备
CN113421118B (zh) * 2021-06-24 2023-05-30 平安壹钱包电子商务有限公司 数据推送方法、系统、计算机设备及计算机可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103402177A (zh) * 2013-08-02 2013-11-20 南京市海聚信息科技有限公司 一种WiFi终端信息推送系统及其实现方法
CN104794637A (zh) * 2015-04-21 2015-07-22 优德移动互联软件科技江苏有限公司 一种基于基站广播的用户数据聚合与互动方法及其系统
CN104850597A (zh) * 2015-04-29 2015-08-19 努比亚技术有限公司 智能终端显示信息的方法及装置
CN105590236A (zh) * 2015-11-18 2016-05-18 中国银联股份有限公司 附加信息实时生成及分发系统
CN107026838A (zh) * 2016-11-18 2017-08-08 阿里巴巴集团控股有限公司 一种电子凭证的发放方法及装置
CN107094166A (zh) * 2016-12-12 2017-08-25 口碑控股有限公司 一种业务信息发送方法及装置
CN109510874A (zh) * 2018-12-13 2019-03-22 北京字节跳动网络技术有限公司 基于lbs的电子凭证推送方法、装置及电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321311B (zh) * 2007-06-07 2013-07-31 中国移动通信集团公司 信息发布方法及系统
CN103970743B (zh) * 2013-01-24 2017-10-31 北京百度网讯科技有限公司 一种在搜索中的个性化信息推荐方法、系统及搜索引擎
CN106408353A (zh) * 2016-10-18 2017-02-15 深圳市金立通信设备有限公司 一种支付方法及终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103402177A (zh) * 2013-08-02 2013-11-20 南京市海聚信息科技有限公司 一种WiFi终端信息推送系统及其实现方法
CN104794637A (zh) * 2015-04-21 2015-07-22 优德移动互联软件科技江苏有限公司 一种基于基站广播的用户数据聚合与互动方法及其系统
CN104850597A (zh) * 2015-04-29 2015-08-19 努比亚技术有限公司 智能终端显示信息的方法及装置
CN105590236A (zh) * 2015-11-18 2016-05-18 中国银联股份有限公司 附加信息实时生成及分发系统
CN107026838A (zh) * 2016-11-18 2017-08-08 阿里巴巴集团控股有限公司 一种电子凭证的发放方法及装置
CN107094166A (zh) * 2016-12-12 2017-08-25 口碑控股有限公司 一种业务信息发送方法及装置
CN109510874A (zh) * 2018-12-13 2019-03-22 北京字节跳动网络技术有限公司 基于lbs的电子凭证推送方法、装置及电子设备

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468471A (zh) * 2020-11-17 2021-03-09 中国建设银行股份有限公司 一种远程授权方法和装置
CN112468471B (zh) * 2020-11-17 2022-11-22 中国建设银行股份有限公司 一种远程授权方法和装置
CN113763011A (zh) * 2020-11-19 2021-12-07 北京沃东天骏信息技术有限公司 电子凭证的分配处理方法、装置、设备和存储介质
CN112766254A (zh) * 2021-01-19 2021-05-07 中国工商银行股份有限公司 凭证信息录入的自动化测试方法及装置
CN112766254B (zh) * 2021-01-19 2024-02-02 中国工商银行股份有限公司 凭证信息录入的自动化测试方法及装置
CN113015090A (zh) * 2021-03-10 2021-06-22 北京灵汐科技有限公司 选择电子证书的方法和装置、计算机可读介质
CN113076195A (zh) * 2021-03-31 2021-07-06 北京字节跳动网络技术有限公司 对象的分流方法、装置、可读介质和电子设备
CN113076195B (zh) * 2021-03-31 2023-04-07 抖音视界有限公司 对象的分流方法、装置、可读介质和电子设备

Also Published As

Publication number Publication date
CN109510874A (zh) 2019-03-22

Similar Documents

Publication Publication Date Title
WO2020119231A1 (zh) 基于位置信息的电子凭证推送方法、装置及电子设备
CN109299348B (zh) 一种数据查询方法、装置、电子设备及存储介质
US20140094194A1 (en) Method and system for providing location services
US11087309B2 (en) Location detection based on IP addresses and transactions
EP3910909B1 (en) Method and device for displaying information
WO2015106660A1 (en) Security check method and system, terminal, verification server
WO2020199749A1 (zh) 基于反馈的信息推送方法、装置及电子设备
CN110619078B (zh) 用于推送信息的方法和装置
CN110580641B (zh) 用于兑换物品的方法和装置
US20190147540A1 (en) Method and apparatus for outputting information
US20230325878A1 (en) Systems and methods for leveraging social queuing to simulate ticket purchaser behavior
CN110704833A (zh) 数据权限配置方法、设备、电子设备及存储介质
US20230123573A1 (en) Automatic detection of seasonal pattern instances and corresponding parameters in multi-seasonal time series
CN112836128A (zh) 信息推荐方法、装置、设备和存储介质
CN112381453A (zh) 信息处理方法、装置、电子设备和介质
CN110414613B (zh) 区域聚类的方法、装置、设备和计算机可读存储介质
CN110110236B (zh) 一种信息推送方法、装置、设备和存储介质
WO2020119173A1 (zh) 推送信息的方法和装置
KR101607919B1 (ko) 메신저에 검색 기능을 제공하고 검색 결과를 정렬하는 방법과 시스템 및 기록 매체
US20200410492A1 (en) Location modeling using transaction data for validation
CN111405324B (zh) 一种影音文件的推送方法、装置、系统
CN112954056A (zh) 监控数据处理方法、装置、电子设备及存储介质
US11122437B2 (en) Detection of GPS spoofing using wireless network visibility to mobile devices
CN109542743B (zh) 日志校验方法、装置、电子设备及计算机可读存储介质
CN109685561B (zh) 基于用户行为的电子凭证推送方法、装置及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19896399

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27/09/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19896399

Country of ref document: EP

Kind code of ref document: A1