CN112533300A - Beacon association method and device - Google Patents

Beacon association method and device Download PDF

Info

Publication number
CN112533300A
CN112533300A CN202011421128.7A CN202011421128A CN112533300A CN 112533300 A CN112533300 A CN 112533300A CN 202011421128 A CN202011421128 A CN 202011421128A CN 112533300 A CN112533300 A CN 112533300A
Authority
CN
China
Prior art keywords
beacon
data
base station
association
entity
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
CN202011421128.7A
Other languages
Chinese (zh)
Other versions
CN112533300B (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.)
Lazas Network Technology Shanghai Co Ltd
Original Assignee
Lazas Network Technology Shanghai Co 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 Lazas Network Technology Shanghai Co Ltd filed Critical Lazas Network Technology Shanghai Co Ltd
Priority to CN202011421128.7A priority Critical patent/CN112533300B/en
Publication of CN112533300A publication Critical patent/CN112533300A/en
Application granted granted Critical
Publication of CN112533300B publication Critical patent/CN112533300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种信标关联方法以及装置,该方法包括:在获取目标实体对应的备选信标数据之后,获得该备选信标数据对应的备选信标基站与目标实体之间的关联特征数据,并将关联特征数据输入预先训练的实体信标关联模型,获得实体信标关联模型输出的用于表征备选信标基站中、部署于目标实体所对应区域中的目标信标基站与目标实体相关联的关联关系数据。通过使用该方法,可降低实体与信标基站的关联过程的复杂度,提升关联效率,并且可避免关联过程受到不可预见因素的影响(例如人为因素的影响),可保障关联结果的准确性。The present application discloses a beacon association method and device. The method includes: after obtaining candidate beacon data corresponding to a target entity, obtaining a connection between the candidate beacon base station corresponding to the candidate beacon data and the target entity. Associate feature data, and input the associated feature data into the pre-trained entity beacon association model, and obtain the output of the entity beacon association model to characterize the target beacon base station among the candidate beacon base stations and deployed in the area corresponding to the target entity Relationship data associated with the target entity. By using this method, the complexity of the association process between the entity and the beacon base station can be reduced, the association efficiency can be improved, and the association process can be prevented from being affected by unforeseen factors (such as human factors), and the accuracy of the association result can be guaranteed.

Description

Beacon association method and device
Technical Field
The application relates to the technical field of computers, in particular to a beacon association method. The application also relates to a beacon association device, an electronic device and a computer readable storage medium. The application also relates to a method, a device, an electronic device and a computer readable storage medium for training the entity beacon association model.
Background
A Beacon (Beacon) is a broadcast protocol based on Bluetooth Low Energy (Bluetooth Low Energy) protocol, a Beacon base station is a broadcast protocol device based on Bluetooth Low Energy (Bluetooth Low Energy) protocol, which is usually deployed at a fixed location and continuously broadcasts to its surrounding area, for example, data packets are broadcast to its surrounding area at predetermined time intervals, so as to create a signal area, a Beacon scanning terminal (for example, a user handset) in the signal area can receive the data packets broadcast by the Beacon base station at intervals when performing a scanning operation, wherein the data packets include a Beacon base station ID and an indication value of the current received signal strength, the Beacon base station ID is used to indicate which Beacon base station MAC address the data packet comes from (each Beacon base station corresponds to a unique MAC address), and corresponding subsequent operations are taken according to preset conditions, for example, indoor positioning navigation (for example, indoor positioning navigation in a supermarket, navigation and car finding for users in a parking lot), precise location marketing (e.g., electronic ticket pushing based on user location), identity recognition, attendance recording, card-punching and check-in, and the like.
In practical application of beacon technology, it is usually necessary to establish association between a deployed beacon base station and a deployed entity (establish a one-to-one correspondence between the beacon base station and the deployed entity), so that the beacon base station can uniquely refer to the entity, and thus, subsequent operations related to the entity are realized based on the beacon base station broadcasting a data packet and the beacon scanning terminal receiving the data packet. For example, the living service type network application platform deploys a beacon base station at a resident merchant through an operator, binds the beacon base station ID with the merchant ID, scans a data packet carrying the beacon base station ID broadcasted by the beacon base station through a beacon scanning terminal provided with the beacon application after a distribution resource reaches the merchant, and uploads the data packet to a network platform server, and the network platform server can determine whether the distribution resource reaches the merchant and the residence time of the distribution resource at the merchant based on the beacon base station ID carried by the data packet and the incidence relation between the beacon base station ID and the merchant ID, so that the problem of observing the distribution resource from the merchant to the distribution resource is solved.
The existing method for establishing association between a beacon base station and an entity is as follows: the method includes the steps that predetermined association operations are respectively executed for deployed beacon base stations and deployed entities thereof, for example, operators deploy the beacon base stations in merchants, bind the IDs of the beacon base stations with the IDs of the merchants through terminal application, and upload binding relationships to a network platform server.
Disclosure of Invention
Embodiments of the present application provide a beacon association method, an apparatus, an electronic device, and a computer-readable storage medium, so as to solve the problems in the prior art that association efficiency is low and accuracy of an association result cannot be guaranteed when an entity is associated with a beacon base station. The embodiment of the application provides a method and a device for training an entity beacon association model, electronic equipment and a computer readable storage medium.
An embodiment of the present application provides a beacon association method, including: acquiring alternative beacon data corresponding to a target entity, wherein the alternative beacon data is beacon data scanned by a beacon scanning terminal in an area corresponding to the target entity in beacon data broadcasted by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the target entity, and the beacon scanning terminal is a terminal configured with a beacon application; obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data; and inputting the association characteristic data into a pre-trained entity beacon association model, and obtaining association relation data which is output by the entity beacon association model and is used for representing the association between the target beacon base station and the target entity in the candidate beacon base station and deployed in the area corresponding to the target entity.
Optionally, each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to the target entity; acquiring alternative beacon data corresponding to a target entity, including: and acquiring alternative beacon data scanned by the beacon scanning terminal corresponding to the scanning time interval in each scanning time interval of the multiple scanning time intervals aiming at the target entity, and determining an alternative beacon base station corresponding to the alternative beacon data.
Optionally, obtaining association characteristic data between the candidate beacon base station and the target entity corresponding to the candidate beacon data includes: and performing aggregation processing on the alternative beacon base stations and the scanning time intervals corresponding to the alternative beacon base stations to obtain the number of the scanning time intervals corresponding to each alternative beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each alternative beacon base station is the time interval in which the alternative beacon data broadcast by each alternative beacon base station is scanned.
Optionally, for each scanning time interval of the multiple scanning time intervals of the target entity, the method includes: aiming at a plurality of effective time intervals corresponding to a plurality of waybills of a target entity, wherein the effective time interval corresponding to each waybills is in the plurality of effective time intervals corresponding to the plurality of waybills of the target entity; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: and the number of the waybills corresponding to each alternative beacon base station in the plurality of waybills.
Optionally, the valid time interval corresponding to each waybill includes: and the distribution resource corresponding to each waybill is in a time interval from the arrival to the departure of the target entity, wherein the distribution resource carries the beacon scanning terminal.
Optionally, for each scanning time interval of the multiple scanning time intervals of the target entity, the method includes: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a target entity, and an effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: the number of beacon scanning terminals corresponding to each alternative beacon base station in the plurality of beacon scanning terminals.
Optionally, obtaining association characteristic data between the candidate beacon base station and the target entity corresponding to the candidate beacon data includes: and determining the corresponding alternative beacon base station based on the alternative beacon data, and performing aggregation processing on the alternative beacon base station and the corresponding alternative beacon data to obtain the number of the alternative beacon data in the beacon data broadcast by each alternative beacon base station.
Optionally, obtaining association characteristic data between the candidate beacon base station and the target entity corresponding to the candidate beacon data includes: and determining the corresponding alternative beacon base stations based on the alternative beacon data, and performing aggregation processing on the alternative beacon base stations and the corresponding alternative beacon data to obtain the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station.
Optionally, the associated feature data further includes at least one of the following: sequencing information of the number of scanning time intervals corresponding to each alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each alternative beacon base station.
Optionally, the associated feature data further includes at least one of the following: sequencing information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; ranking information of normalization information of the number of alternative beacon data in the beacon data broadcasted by each alternative beacon base station;
optionally, the associated feature data further includes at least one of the following: the sequencing information of the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; and ranking information of the normalized information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each alternative beacon base station.
Optionally, the obtaining of the candidate beacon data corresponding to the target entity includes: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the target entity as alternative beacon data.
Optionally, the obtaining of the candidate beacon data corresponding to the target entity includes: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring target waybill data corresponding to the target entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the target waybill data, and determining the beacon data as alternative beacon data corresponding to the target entity.
Optionally, the number of the target entities is multiple, and acquiring the candidate beacon data corresponding to the target entity includes: and acquiring alternative beacon data corresponding to each target entity in the plurality of target entities.
The embodiment of the present application further provides a method for training an entity beacon association model, including: acquiring reference beacon data corresponding to a reference entity based on the associated reference beacon base station and the reference entity, wherein the reference beacon data is beacon data which is scanned in an area corresponding to the reference entity by a beacon scanning terminal in the beacon data broadcasted by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to the plurality of entities containing the reference entity, the reference beacon base station is a beacon base station deployed in the area corresponding to the reference entity, and the beacon scanning terminal is a terminal configured with beacon application; determining a corresponding reference alternative beacon base station containing the reference beacon base station based on the reference beacon data, obtaining an association characteristic data sample between the reference alternative beacon base station and a reference entity, and obtaining an association label corresponding to the association characteristic data sample, wherein the association label is used for representing whether the reference alternative beacon base station is associated with the reference entity or not; and performing model training according to the association characteristic data sample and the corresponding association label to obtain an entity beacon association model, wherein the entity beacon association model is used for outputting association relation data for representing association between a target beacon base station deployed in a target entity and the target entity according to the input association characteristic data between the beacon base station and the entity.
Optionally, each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to the reference entity to obtain reference beacon data corresponding to the reference entity, including: and acquiring reference beacon data scanned by a beacon scanning terminal corresponding to each scanning time interval in the plurality of scanning time intervals aiming at the reference entity.
Optionally, obtaining an association feature data sample between the reference candidate beacon base station and the reference entity includes: and aggregating the reference candidate beacon base stations and the scanning time intervals corresponding to the reference candidate beacon base stations to obtain the number of the scanning time intervals corresponding to each reference candidate beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each reference candidate beacon base station is the time interval in which the reference beacon data broadcast by each reference candidate beacon base station is scanned.
Optionally, for each scanning time interval of the plurality of scanning time intervals of the reference entity, the method includes: aiming at a plurality of effective time intervals corresponding to a plurality of freight notes of a reference entity, wherein the effective time interval corresponding to each freight note is the effective time interval corresponding to the freight note; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: and the number of the waybills corresponding to each reference alternative beacon base station in the plurality of waybills.
Optionally, the valid time interval corresponding to each waybill includes: and the distribution resource corresponding to each waybill is a time interval from the arrival of the distribution resource at the reference entity to the departure of the distribution resource from the reference entity, wherein the distribution resource carries the beacon scanning terminal.
Optionally, for each scanning time interval of the plurality of scanning time intervals of the reference entity, the method includes: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a reference entity, and the effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: the number of beacon scanning terminals corresponding to each reference alternative beacon base station in the plurality of beacon scanning terminals.
Optionally, obtaining an association feature data sample between the reference candidate beacon base station and the reference entity includes: and carrying out aggregation processing on the reference alternative beacon base stations and the reference beacon data corresponding to the reference alternative beacon base stations to obtain the number of the reference beacon data in the beacon data broadcast by each reference alternative beacon base station.
Optionally, obtaining an association feature data sample between the reference candidate beacon base station and the reference entity includes: and performing aggregation processing on the reference candidate beacon base stations and the reference beacon data corresponding to the reference candidate beacon base stations to obtain the number of the reference beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each reference candidate beacon base station.
Optionally, the associating the characteristic data sample further includes at least one of: sequencing information of the number of scanning time intervals corresponding to each reference alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each reference alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each reference candidate beacon base station.
Optionally, the associating the characteristic data sample further includes at least one of: ranking information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; normalization information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; ranking information of normalized information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; optionally, the associating the characteristic data sample further includes at least one of:
the sequencing information of the number of the reference beacon data with the signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station; normalization information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold in the beacon data broadcast by each reference alternative beacon base station; and ranking information of the normalized information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station.
Optionally, obtaining an association tag corresponding to the associated feature data sample includes: and marking the association characteristic data samples between the reference beacon base stations and the reference entities in the reference alternative beacon base stations as associated labels, and marking the association characteristic data samples between the beacon base stations except the reference beacon base stations and the reference entities in the reference alternative beacon base stations as non-associated labels.
Optionally, the obtaining of the reference beacon data corresponding to the reference entity includes: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the reference entity as the reference beacon data.
Optionally, the obtaining of the reference beacon data corresponding to the reference entity includes: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring reference waybill data corresponding to the reference entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the reference waybill data, and determining the beacon data as the reference beacon data corresponding to the reference entity.
An embodiment of the present application further provides a beacon association apparatus, including: the system comprises a candidate beacon data unit, a beacon scanning terminal and a beacon application unit, wherein the candidate beacon data unit is used for acquiring candidate beacon data corresponding to a target entity, the candidate beacon data is beacon data which is scanned by the beacon scanning terminal in an area corresponding to the target entity in beacon data broadcasted by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the target entity, and the beacon scanning terminal is a terminal configured with a beacon application; the association characteristic data acquisition unit is used for acquiring association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data; and the association relation data obtaining unit is used for inputting the association characteristic data into a pre-trained entity beacon association model and obtaining association relation data which is output by the entity beacon association model and is used for representing the association between the target beacon base station and the target entity and is deployed in the area corresponding to the target entity in the alternative beacon base station.
Optionally, each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to the target entity; acquiring alternative beacon data corresponding to a target entity, including: and acquiring alternative beacon data scanned by the beacon scanning terminal corresponding to the scanning time interval in each scanning time interval of the multiple scanning time intervals aiming at the target entity, and determining an alternative beacon base station corresponding to the alternative beacon data.
Optionally, obtaining association characteristic data between the candidate beacon base station and the target entity corresponding to the candidate beacon data includes: and performing aggregation processing on the alternative beacon base stations and the scanning time intervals corresponding to the alternative beacon base stations to obtain the number of the scanning time intervals corresponding to each alternative beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each alternative beacon base station is the time interval in which the alternative beacon data broadcast by each alternative beacon base station is scanned.
Optionally, for each scanning time interval of the multiple scanning time intervals of the target entity, the method includes: aiming at a plurality of effective time intervals corresponding to a plurality of waybills of a target entity, wherein the effective time interval corresponding to each waybills is in the plurality of effective time intervals corresponding to the plurality of waybills of the target entity; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: and the number of the waybills corresponding to each alternative beacon base station in the plurality of waybills.
Optionally, the valid time interval corresponding to each waybill includes: and the distribution resource corresponding to each waybill is in a time interval from the arrival to the departure of the target entity, wherein the distribution resource carries the beacon scanning terminal.
Optionally, for each scanning time interval of the multiple scanning time intervals of the target entity, the method includes: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a target entity, and an effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: the number of beacon scanning terminals corresponding to each alternative beacon base station in the plurality of beacon scanning terminals.
Optionally, obtaining association characteristic data between the candidate beacon base station and the target entity corresponding to the candidate beacon data includes: and determining the corresponding alternative beacon base station based on the alternative beacon data, and performing aggregation processing on the alternative beacon base station and the corresponding alternative beacon data to obtain the number of the alternative beacon data in the beacon data broadcast by each alternative beacon base station.
Optionally, obtaining association characteristic data between the candidate beacon base station and the target entity corresponding to the candidate beacon data includes: and determining the corresponding alternative beacon base stations based on the alternative beacon data, and performing aggregation processing on the alternative beacon base stations and the corresponding alternative beacon data to obtain the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station.
Optionally, the associated feature data further includes at least one of the following: sequencing information of the number of scanning time intervals corresponding to each alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each alternative beacon base station.
Optionally, the associated feature data further includes at least one of the following: sequencing information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; and ranking information of the normalized information of the number of alternative beacon data in the beacon data broadcasted by each alternative beacon base station.
Optionally, the associated feature data further includes at least one of the following: the sequencing information of the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; and ranking information of the normalized information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each alternative beacon base station.
Optionally, the obtaining of the candidate beacon data corresponding to the target entity includes: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the target entity as alternative beacon data.
Optionally, the obtaining of the candidate beacon data corresponding to the target entity includes: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring target waybill data corresponding to the target entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the target waybill data, and determining the beacon data as alternative beacon data corresponding to the target entity.
Optionally, the number of the target entities is multiple, and acquiring the candidate beacon data corresponding to the target entity includes: and acquiring alternative beacon data corresponding to each target entity in the plurality of target entities.
An embodiment of the present application further provides an entity beacon association model training apparatus, including: a reference beacon data acquiring unit, configured to acquire, based on a reference beacon base station and a reference entity that are associated with each other, reference beacon data corresponding to the reference entity, where the reference beacon data is beacon data that is scanned by a beacon scanning terminal in an area corresponding to the reference entity from beacon data broadcast by multiple beacon base stations deployed in multiple areas, the multiple areas are areas corresponding to multiple entities including the reference entity, the reference beacon base station is a beacon base station deployed in the area corresponding to the reference entity, and the beacon scanning terminal is a terminal configured with a beacon application; the association characteristic data sample obtaining unit is used for determining a reference alternative beacon base station which corresponds to the reference alternative beacon base station and contains the reference beacon base station based on the reference beacon data, obtaining an association characteristic data sample between the reference alternative beacon base station and a reference entity, and obtaining an association label which corresponds to the association characteristic data sample and is used for representing whether the reference alternative beacon base station is associated with the reference entity or not; and the model training unit is used for carrying out model training according to the association characteristic data samples and the corresponding association labels to obtain an entity beacon association model, and the entity beacon association model is used for outputting association relation data for representing the association between the target beacon base station deployed in the target entity and the target entity according to the input association characteristic data between the beacon base station and the entity.
Optionally, each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to the reference entity; acquiring reference beacon data corresponding to a reference entity, including: and acquiring reference beacon data scanned by a beacon scanning terminal corresponding to each scanning time interval in the plurality of scanning time intervals aiming at the reference entity.
Optionally, obtaining an association feature data sample between the reference candidate beacon base station and the reference entity includes: and aggregating the reference candidate beacon base stations and the scanning time intervals corresponding to the reference candidate beacon base stations to obtain the number of the scanning time intervals corresponding to each reference candidate beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each reference candidate beacon base station is the time interval in which the reference beacon data broadcast by each reference candidate beacon base station is scanned.
Optionally, for each scanning time interval of the plurality of scanning time intervals of the reference entity, the method includes: aiming at a plurality of effective time intervals corresponding to a plurality of freight notes of a reference entity, wherein the effective time interval corresponding to each freight note is the effective time interval corresponding to the freight note; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: and the number of the waybills corresponding to each reference alternative beacon base station in the plurality of waybills.
Optionally, the valid time interval corresponding to each waybill includes: and the distribution resource corresponding to each waybill is a time interval from the arrival of the distribution resource at the reference entity to the departure of the distribution resource from the reference entity, wherein the distribution resource carries the beacon scanning terminal.
Optionally, for each scanning time interval of the plurality of scanning time intervals of the reference entity, the method includes: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a reference entity, and the effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: the number of beacon scanning terminals corresponding to each reference alternative beacon base station in the plurality of beacon scanning terminals.
Optionally, obtaining an association feature data sample between the reference candidate beacon base station and the reference entity includes: and carrying out aggregation processing on the reference alternative beacon base stations and the reference beacon data corresponding to the reference alternative beacon base stations to obtain the number of the reference beacon data in the beacon data broadcast by each reference alternative beacon base station.
Optionally, obtaining an association feature data sample between the reference candidate beacon base station and the reference entity includes: and performing aggregation processing on the reference candidate beacon base stations and the reference beacon data corresponding to the reference candidate beacon base stations to obtain the number of the reference beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each reference candidate beacon base station.
Optionally, the associating the characteristic data sample further includes at least one of: sequencing information of the number of scanning time intervals corresponding to each reference alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each reference alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each reference candidate beacon base station.
Optionally, the associating the characteristic data sample further includes at least one of: ranking information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; normalization information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; ranking information of normalized information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; optionally, the associating the characteristic data sample further includes at least one of: the sequencing information of the number of the reference beacon data with the signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station; normalization information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold in the beacon data broadcast by each reference alternative beacon base station; and ranking information of the normalized information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station.
Optionally, obtaining an association tag corresponding to the associated feature data sample includes: and marking the association characteristic data samples between the reference beacon base stations and the reference entities in the reference alternative beacon base stations as associated labels, and marking the association characteristic data samples between the beacon base stations except the reference beacon base stations and the reference entities in the reference alternative beacon base stations as non-associated labels.
Optionally, the obtaining of the reference beacon data corresponding to the reference entity includes: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the reference entity as the reference beacon data.
Optionally, the obtaining of the reference beacon data corresponding to the reference entity includes: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring reference waybill data corresponding to the reference entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the reference waybill data, and determining the beacon data as the reference beacon data corresponding to the reference entity.
The embodiment of the application also provides an electronic device, which comprises a processor and a memory; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the above-described method.
Embodiments of the present application also provide a computer-readable storage medium having one or more computer instructions stored thereon, which are executed by a processor to implement the above-mentioned method.
Compared with the prior art, the embodiment of the application has the following advantages:
according to the beacon association method provided by the embodiment of the application, after the alternative beacon data corresponding to the target entity is obtained, association feature data between the alternative beacon base station corresponding to the alternative beacon data and the target entity is obtained, the association feature data is input into a pre-trained entity beacon association model, and association relation data which is output by the entity beacon association model and used for representing association between the target beacon base station and the target entity and is deployed in an area corresponding to the target entity in the alternative beacon base station is obtained, wherein the alternative beacon data is beacon data which is scanned by a beacon scanning terminal in the area corresponding to the target entity in beacon data broadcast by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the target entity, and the beacon scanning terminal is a terminal configured with beacon application. The method comprises the steps of constructing association characteristic data between an alternative beacon base station corresponding to alternative beacon data and a target entity based on the alternative beacon data corresponding to the target entity, using the association characteristic data as input data of an entity beacon association model, and associating the target entity with a target beacon base station deployed in the target entity in the alternative beacon base station through the entity beacon association model. By using the method, the complexity of the association process of the entity and the beacon base station can be reduced, the association efficiency can be improved, the association process can be prevented from being influenced by unforeseen factors (such as the influence of human factors), and the accuracy of the association result can be guaranteed.
Drawings
Fig. 1 is a flowchart of a beacon association method according to a first embodiment of the present application;
fig. 2 is a flowchart of a method for training a physical beacon association model according to a second embodiment of the present application;
fig. 3 is a block diagram of a beacon association apparatus according to a third embodiment of the present application;
FIG. 4 is a schematic diagram of a logical structure of an electronic device according to an embodiment of the present application;
fig. 5 is a block diagram of elements of an entity beacon association model training apparatus according to a sixth embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
In the practical application of the beacon technology, a one-to-one correspondence relationship is established between the deployed beacon base station and the deployed entity, so that the beacon base station can uniquely refer to the entity, and subsequent operations related to the entity are realized based on the data packet broadcast by the beacon base station and the data packet scanned by the beacon scanning terminal. For example, the living service type network application platform deploys a beacon base station at a resident merchant through an operator, binds the beacon base station ID with the merchant ID, scans a data packet carrying the beacon base station ID broadcasted by the beacon base station through a beacon scanning terminal provided with the beacon application after a distribution resource reaches the merchant, and uploads the data packet to a network platform server, and the network platform server can determine whether the distribution resource reaches the merchant and the residence time of the distribution resource at the merchant based on the beacon base station ID carried by the data packet and the incidence relation between the beacon base station ID and the merchant ID, so that the problem of observing the distribution resource from the merchant to the distribution resource is solved.
The existing method for establishing association between a beacon base station and an entity is as follows: the method includes the steps that predetermined association operations are respectively executed for deployed beacon base stations and deployed entities thereof, for example, operators deploy the beacon base stations in merchants, bind the IDs of the beacon base stations with the IDs of the merchants through terminal application, and upload binding relationships to a network platform server.
For the association scenario of the beacon base station and the entity, in order to improve the association efficiency between the entity and the beacon base station deployed in the entity and ensure the accuracy of the association result, the application provides a beacon association method, a beacon association device, an electronic device and a computer readable storage medium corresponding to the method, and also provides an entity beacon association model training method, an entity beacon association model training device corresponding to the method, an electronic device and a computer readable storage medium. The following provides embodiments for detailed description of the above method, apparatus, electronic device, and computer-readable storage medium.
A first embodiment of the present application provides a beacon association method, where an application body of the method may be a computing device application for associating an entity with a beacon base station, and the computing device application may be run on a network platform server. Fig. 1 is a flowchart of a beacon association method according to a first embodiment of the present application, and the method according to the present embodiment is described in detail below with reference to fig. 1. The following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use.
As shown in fig. 1, the beacon association method provided in this embodiment includes the following steps:
s101, obtaining alternative beacon data corresponding to the target entity.
The beacon data refers to data packets broadcast by a beacon base station, that is, a beacon base station deployed at a fixed location broadcasts continuously to a surrounding area, for example, broadcasts data packets to its surrounding area at predetermined time intervals, so as to create a signal area, and a beacon scanning terminal (for example, a user handset) in the signal area receives the data packets broadcast by the beacon base station at intervals when performing a scanning operation, where the data packets include a beacon base station ID and an indication value of the current received signal strength, and the beacon base station ID is used to indicate from which beacon base station MAC address the data packets come (each beacon base station corresponds to a unique MAC address).
The method includes the steps of acquiring candidate beacon data corresponding to a target entity, where the candidate beacon data is beacon data scanned by a beacon scanning terminal in an area corresponding to the target entity from beacon data broadcast by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the target entity, and the beacon scanning terminal is a terminal configured with a beacon application. That is, the entity corresponds to a real geographic space, for example, different local areas in a certain area correspond to different entities respectively (for example, different shelf placement areas of a large business exceeds correspond to different entities respectively), or a plurality of independent areas correspond to different entities respectively (for example, a plurality of store areas correspond to different entities), in the field of the lifestyle service type network application, the entity may be a merchant, and the target entity is a merchant that is currently to establish an association relationship with a beacon base station deployed therewith, that is, the target entity is a target merchant that has deployed the beacon base station (for example, a lifestyle service type network application platform deploys the beacon base station in advance in an in-store merchant thereof by an operator) but does not establish an association relationship with the beacon base station. The beacon data scanned by the beacon scanning terminal in the area corresponding to the target entity may be beacon data broadcasted by a plurality of beacon base stations deployed by the target entity and a plurality of entities adjacent to the target entity (for example, the distribution resource is located at a merchant a, the beacon scanning terminal of the distribution resource may scan the beacon data broadcasted by the plurality of beacon base stations deployed at the merchant a and a plurality of merchants around the merchant a, where the distribution resource may be a distributor or a distribution device with an end distribution capability such as a distribution unmanned aerial vehicle, a distribution robot, a distribution unmanned vehicle, etc., and the beacon scanning terminal may be a smart terminal installed with a beacon application, for example, a smart phone), and the beacon data is candidate beacon data corresponding to the target entity.
In this embodiment, the number of the target entities may be multiple, and the acquiring of the candidate beacon data corresponding to the target entity may refer to: and acquiring alternative beacon data corresponding to each target entity in the plurality of target entities.
In this embodiment, the candidate beacon data corresponding to the target entity may be obtained as follows: acquiring beacon data scanned by a beacon scanning terminal, for example, receiving massive beacon data scanned and uploaded by beacon scanning devices of multiple riders within a preset time period; acquiring position information corresponding to each beacon scanning terminal, for example, acquiring position information of the plurality of riders in the predetermined time period through an intelligent terminal positioning function; determining beacon data scanned by a beacon scanning terminal with position information in an area corresponding to a target entity as alternative beacon data, for example, a network platform server stores position information of a resident merchant in advance, the merchant a is the target entity, when the rider B uploads the scanned beacon data in the preset time period, the position of the rider B is consistent with the position information corresponding to the merchant a, and the beacon data uploaded by the rider B is the alternative beacon data corresponding to the merchant a.
In this embodiment, the candidate beacon data corresponding to the target entity may also be obtained as follows: acquiring beacon data scanned by beacon scanning terminals carried by a plurality of distribution resources, for example, receiving massive beacon data scanned and uploaded by beacon scanning devices of a plurality of riders within a preset time period; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data includes information of entities corresponding to the waybill data, for example, acquiring a plurality of waybill data corresponding to a plurality of riders in the preset time period, and each waybill data includes information of a merchant to which the waybill is directed; the method includes the steps of obtaining target waybill data corresponding to a target entity in the waybill data, obtaining beacon data scanned by a beacon scanning terminal carried by a corresponding distribution resource in an effective time interval of the target waybill data, determining the beacon data as alternative beacon data corresponding to the target entity, for example, finding out the target waybill data for a target merchant from a plurality of waybill data corresponding to a plurality of riders, finding out the effective time interval of the target waybill data, wherein the effective time interval of the target waybill data can be a time period from the rider arriving at the merchant to the rider leaving the merchant, and finally determining the beacon data scanned by the beacon scanning terminal of the rider corresponding to the target waybill data in the effective time interval as the alternative beacon data corresponding to the target merchant.
S102, obtaining association characteristic data between the alternative beacon base station corresponding to the alternative beacon data and the target entity.
And the alternative beacon base station corresponding to the alternative beacon data is the beacon base station pointed by the beacon base station ID carried by the alternative beacon data. After the candidate beacon data corresponding to the target entity is obtained in the above step, the step is used to obtain association feature data between the candidate beacon base station corresponding to the candidate beacon data and the target entity, where the association feature data is used to characterize the correlation between the candidate beacon base station and the target entity.
In this embodiment, each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to a target entity, for example, for a merchant a, each terminal scanning device carried by a rider receives beacon data broadcasted by a beacon base station (deployed in the merchant a or a nearby merchant of the merchant a) at intervals in a time period between entering the merchant a and leaving the merchant a, where the time period is the scanning time interval corresponding to the merchant a for the beacon scanning terminal; the obtaining of the candidate beacon data corresponding to the target entity may further include: acquiring alternative beacon data scanned by a beacon scanning terminal corresponding to a scanning time interval in each scanning time interval of a plurality of scanning time intervals aiming at a target entity, and determining an alternative beacon base station corresponding to the alternative beacon data; for example, a plurality of riders respectively have delivery waybills for a merchant a in a predetermined time period, and each rider may have more than one delivery waybills for the merchant a in the predetermined time period, and each waybills corresponds to a scanning time interval at the merchant a, so that candidate beacon data corresponding to the merchant a may be respectively obtained for each scanning time interval, that is, candidate beacon data scanned by a beacon scanning device of the rider corresponding to each scanning time interval in a plurality of scanning time intervals for the merchant a is respectively obtained, and a candidate beacon base station is determined based on a beacon base station ID carried by the candidate beacon data. In this case, the association characteristic data between the alternative beacon base station and the target entity may be obtained as follows: and performing aggregation processing on the alternative beacon base stations and the scanning time intervals corresponding to the alternative beacon base stations to obtain the number of the scanning time intervals corresponding to each alternative beacon base station in the plurality of scanning time intervals, and determining the number as the association characteristic data between the alternative beacon base stations and the target entity, wherein the scanning time interval corresponding to each alternative beacon base station is the time interval in which the alternative beacon data broadcasted by each alternative beacon base station is scanned. For example, within a predetermined time period, when the merchant a scans the beacon data broadcast by the alternative beacon base station a, the terminal scanning device of the rider a corresponds to one scanning time interval, when the merchant a scans the beacon data broadcast by the alternative beacon base station a, the terminal scanning device of the rider B corresponds to another scanning time interval, and when the merchant a does not scan the beacon data broadcast by the alternative beacon base station a, the terminal scanning devices of the other riders correspond to 2 scanning time intervals for the alternative beacon base station a. The reason why the number of scanning time intervals corresponding to each candidate beacon base station is determined as the association feature data between each candidate beacon base station and the target entity is that the number can reflect the correlation between the candidate beacon base stations and the target entity, for example, the beacon base station deployed in the merchant a is positively correlated with the number of scanning time intervals for the merchant a.
It should be noted that, each of the scanning time intervals for the target entity may be: in a plurality of effective time intervals corresponding to a plurality of waybills of the target entity, an effective time interval corresponding to each waybill (for example, a time interval from arrival at the target entity to departure from the target entity of a distribution resource carrying a beacon scanning terminal corresponding to each waybill); correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station may be: the number of waybills corresponding to each alternative beacon base station in the plurality of waybills.
In this embodiment, each of the scanning time intervals for the target entity may further refer to: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a target entity, and an effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of the scanning time intervals corresponding to each alternative beacon base station may also be: the number of beacon scanning terminals corresponding to each alternative beacon base station in the plurality of beacon scanning terminals.
In this embodiment, the association characteristic data between the alternative beacon base station and the target entity may also be obtained as follows: determining the candidate beacon base station corresponding to the candidate beacon data based on the candidate beacon data, for example, determining the candidate beacon base station based on the beacon base station ID carried by the candidate beacon data, and performing aggregation processing on the candidate beacon base station and the candidate beacon data corresponding to the candidate beacon base station to obtain the number of the candidate beacon data in the beacon data broadcast by each candidate beacon base station, where the number can reflect the correlation between the candidate beacon base station and the target entity, and thus the number is determined as the association feature data between the candidate beacon base station and the target entity. For example, each alternative beacon base station broadcasts data packets to its surrounding area at predetermined time intervals within a predetermined time period, the number of beacon data broadcast by the plurality of rider's terminal scanning devices scanning to alternative beacon base station a at merchant a is D1, the number of beacon data broadcast by the plurality of rider's terminal scanning devices scanning to alternative beacon base station B at merchant a is D2, and if alternative beacon base station a is deployed at merchant a, D1 should be greater than D2.
In this embodiment, the association characteristic data between the alternative beacon base station and the target entity may also be obtained as follows: determining the corresponding alternative beacon base station based on the alternative beacon data, and performing aggregation processing on the alternative beacon base station and the corresponding alternative beacon data to obtain the number of alternative beacon data of which the signal strength is greater than a predetermined signal strength threshold value in the beacon data broadcast by each alternative beacon base station, wherein the number can reflect the correlation between the alternative beacon base station and the target entity, so that the number is determined as the correlation characteristic data between the alternative beacon base station and the target entity. For example, each alternative beacon base station broadcasts data packets to its surrounding area at predetermined time intervals within a predetermined time period, the number of beacon data with signal strength greater than a predetermined signal strength threshold among the beacon data broadcast by the merchant a scanning the alternative beacon base station a is E1 by the plurality of rider's terminal scanning devices, the number of beacon data with signal strength greater than a predetermined signal strength threshold among the beacon data broadcast by the merchant a scanning the alternative beacon base station B is E2 by the plurality of rider's terminal scanning devices, and if the alternative beacon base station a is deployed in the merchant a, E1 should be greater than E2.
It should be noted that after the association feature data between the candidate beacon base station and the target entity is obtained, derivation processing may be performed based on the association feature data, and the derived data are collectively used as the association feature data, so that the derivation processing is performed to increase the diversity of input data, and the accuracy of subsequent model output may be improved by using feature data of different dimensions. For example, when the association feature data is the number of scanning time intervals corresponding to each candidate beacon base station (or the number of waybills corresponding to each candidate beacon base station, the number of beacon scanning terminals corresponding to each candidate beacon base station), the association feature data derived based on the association feature data includes at least one of the following: ranking information of the number of scanning time intervals corresponding to each alternative beacon base station (or ranking information of the number of waybills corresponding to each alternative beacon base station, ranking information of the number of beacon scanning terminals corresponding to each alternative beacon base station); normalization information of the number of scanning time intervals corresponding to each alternative beacon base station (or normalization information of the number of waybills corresponding to each alternative beacon base station, and normalization information of the number of beacon scanning terminals corresponding to each alternative beacon base station), where the normalization information may be a ratio of the number of scanning time intervals corresponding to each alternative beacon base station to the number of multiple scanning time intervals for the target entity within a predetermined time period; ranking information of the normalized information of the number of scanning time intervals corresponding to each candidate beacon base station (or ranking information of the normalized information of the number of waybills corresponding to each candidate beacon base station, ranking information of the normalized information of the number of beacon scanning terminals corresponding to each candidate beacon base station). When the association characteristic data is the number of the alternative beacon data in the beacon data broadcast by each alternative beacon base station, the association characteristic data derived based on the association characteristic data comprises at least one of the following: sequencing information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; normalization information of the number of the alternative beacon data in the beacon data broadcast by each alternative beacon base station, where the normalization information may be a ratio of the number of the alternative beacon data in the beacon data broadcast by each alternative beacon base station to the number of all the alternative beacon data for the target entity in a predetermined time period; and ranking information of the normalized information of the number of alternative beacon data in the beacon data broadcasted by each alternative beacon base station. When the association characteristic data is the number of alternative beacon data with signal strength greater than a predetermined signal strength threshold value in the beacon data broadcast by each alternative beacon base station, the association characteristic data derived based on the association characteristic data comprises at least one of the following: the sequencing information of the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; the normalization information of the number of alternative beacon data with signal strength greater than the predetermined signal strength threshold value in the beacon data broadcast by each alternative beacon base station may be the proportion of the number of alternative beacon data with signal strength greater than the predetermined signal strength threshold value in the beacon data broadcast by each alternative beacon base station, and the number of alternative beacon data with signal strength greater than the predetermined signal strength threshold value in all alternative beacon data for the target entity, in a predetermined time period; and ranking information of the normalized information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each alternative beacon base station.
It should be noted that, the above-mentioned methods provide many different ways to obtain many kinds of associated characteristic data, and in practical applications, some or all of the above-mentioned many kinds of associated characteristic data may be obtained, and are not limited herein.
And S103, inputting the association characteristic data into a pre-trained entity beacon association model, and obtaining association relation data which is output by the entity beacon association model and used for representing association between the target beacon base station and the target entity and is deployed in the area corresponding to the target entity in the candidate beacon base station.
After obtaining the association characteristic data between the candidate beacon base station and the target entity corresponding to the candidate beacon data in the above step, the step is configured to input the association characteristic data into a pre-trained entity beacon association model, and obtain association relationship data output by the entity beacon association model and used for representing that the target beacon base station deployed in the candidate beacon base station is associated with the target entity, where the association relationship data may be one-to-one correspondence between each target entity ID and its deployed beacon base station ID, and may be used as a data basis for subsequent operations related to the entity, for example, after receiving beacon data carrying the beacon base station ID uploaded by a distribution resource, a network platform server may determine whether the distribution resource reaches a merchant and the residence time of the distribution resource at the merchant based on the beacon base station ID carried by the network platform server and the association relationship data between the beacon base station ID and the merchant ID, thereby solving the problem of delivering resources to store observation.
In the beacon association method provided by the embodiment of the application, after the alternative beacon data corresponding to the target entity is acquired, obtaining association characteristic data between the alternative beacon base station corresponding to the alternative beacon data and the target entity, and inputting the association characteristic data into a pre-trained entity beacon association model to obtain association relation data which is output by the entity beacon association model and is used for representing the association between a target beacon base station and a target entity in an alternative beacon base station and deployed in a region corresponding to the target entity, the candidate beacon data is beacon data scanned by a beacon scanning terminal in an area corresponding to a target entity in beacon data broadcast by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the target entity, and the beacon scanning terminal is a terminal configured with a beacon application. The method comprises the steps of constructing association characteristic data between an alternative beacon base station corresponding to alternative beacon data and a target entity based on the alternative beacon data corresponding to the target entity, using the association characteristic data as input data of an entity beacon association model, and associating the target entity with a target beacon base station deployed in the target entity in the alternative beacon base station through the entity beacon association model. By using the method, the complexity of the association process can be reduced, the association efficiency can be improved, the association process can be prevented from being influenced by unforeseen factors (such as the influence of human factors), and the accuracy of the association result can be guaranteed.
A second embodiment of the present application provides a method for training an entity beacon association model, an implementation subject of the method may be a computing device application for performing model training, fig. 2 is a flowchart of the method for training the entity beacon association model provided in the second embodiment of the present application, and the method provided in this embodiment is described in detail below with reference to fig. 2. The following description refers to embodiments for the purpose of illustrating the principles of the methods, and is not intended to be limiting in actual use.
As shown in fig. 2, the method for training an entity beacon association model provided in this embodiment includes the following steps:
s201, acquiring reference beacon data corresponding to a reference entity based on the associated reference beacon base station and the reference entity.
The method includes the steps that reference beacon data corresponding to a reference entity is obtained based on the associated reference beacon base station and the associated reference entity, and for the beacon base station and the associated entity which are established in advance, association relation data of the beacon base station and the associated entity are stored in a network platform server and can be used as reference data for implementing an entity beacon association model training process in the embodiment. The reference beacon data is beacon data scanned by a beacon scanning terminal in an area corresponding to a reference entity in beacon data broadcast by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the reference entity, the reference beacon base station is a beacon base station deployed in the area corresponding to the reference entity, and the beacon scanning terminal is a terminal configured with a beacon application.
In this embodiment, the reference beacon data corresponding to the reference entity may be obtained as follows: acquiring beacon data scanned by a beacon scanning terminal, for example, receiving massive beacon data scanned and uploaded by beacon scanning devices of multiple riders within a preset time period; acquiring position information corresponding to each beacon scanning terminal, for example, acquiring position information of the plurality of riders in the predetermined time period through an intelligent terminal positioning function; the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the reference entity is determined as the reference beacon data, for example, the network platform server stores the position information of the resident merchant in advance, the merchant a is the reference entity, the position of the rider B when uploading the scanned beacon data in the preset time period is consistent with the position information corresponding to the merchant a, and the beacon data uploaded by the rider B is the reference beacon data corresponding to the merchant a.
In this embodiment, the reference beacon data corresponding to the reference entity may also be obtained as follows: acquiring beacon data scanned by beacon scanning terminals carried by a plurality of distribution resources, for example, receiving massive beacon data scanned and uploaded by beacon scanning devices of a plurality of riders within a preset time period; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data, for example, acquiring a plurality of waybill data corresponding to a plurality of riders in the preset time period, and each waybill data comprises information of a merchant to which the waybill is directed; the method comprises the steps of obtaining reference waybill data corresponding to a reference entity in waybill data, obtaining beacon data scanned by a beacon scanning terminal carried by a corresponding distribution resource in an effective time interval of the reference waybill data, determining the beacon data as the reference beacon data corresponding to the reference entity, for example, searching the reference waybill data for a reference merchant from a plurality of waybill data corresponding to a plurality of riders, searching the effective time interval of the reference waybill data, wherein the effective time interval of the reference waybill data can be a time period from the arrival of the rider to the departure of the rider from the merchant, and finally determining the beacon data scanned by the beacon scanning terminal of the rider corresponding to the reference waybill data in the effective time interval as the reference beacon data corresponding to the reference merchant.
S202, a reference alternative beacon base station which corresponds to the reference beacon data and contains the reference beacon base station is determined based on the reference beacon data, an association characteristic data sample between the reference alternative beacon base station and a reference entity is obtained, and an association label corresponding to the association characteristic data sample is obtained.
The reference alternative beacon base station refers to all beacon base stations pointed to by the beacon base station ID carried by the reference beacon data. The association tag is used to characterize whether the reference candidate beacon base station is associated with the reference entity, and the obtaining of the association tag corresponding to the association characteristic data sample may specifically refer to: and marking the association characteristic data samples between the reference beacon base stations and the reference entities in the reference alternative beacon base stations as associated labels, and marking the association characteristic data samples between the beacon base stations except the reference beacon base stations and the reference entities in the reference alternative beacon base stations as non-associated labels.
In this embodiment, each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to a reference entity, for example, the reference entity is a merchant B, each terminal scanning device carried by a rider receives beacon data broadcasted by a beacon base station (deployed in the merchant B or a merchant close to the merchant B) at intervals in a time period between entering the merchant B and leaving the merchant B, and the time period is the scanning time interval corresponding to the beacon scanning terminal at the merchant B; the obtaining of the reference beacon data corresponding to the reference entity may specifically refer to: the method includes the steps of acquiring reference beacon data scanned by a beacon scanning terminal corresponding to a plurality of scanning time intervals of a reference entity, for example, a plurality of riders respectively have delivery waybills for a merchant B in a predetermined time period, and each rider may have more than one delivery waybills for the merchant B in the predetermined time period, and each waybills corresponds to a scanning time interval for the merchant B, so that the reference beacon data corresponding to the merchant B can be acquired for each scanning time interval, that is, the reference beacon data scanned by a beacon scanning device of the rider corresponding to each scanning time interval in the plurality of scanning time intervals for the merchant B is acquired respectively. In this case, the association characteristic data sample between the reference alternative beacon base station and the reference entity may be obtained by: and aggregating the reference candidate beacon base stations and the scanning time intervals corresponding to the reference candidate beacon base stations to obtain the number of the scanning time intervals corresponding to each reference candidate beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each reference candidate beacon base station is the time interval in which the reference beacon data broadcast by each reference candidate beacon base station is scanned.
It should be noted that, each of the scanning time intervals of the plurality of scanning time intervals for the reference entity may refer to: in a plurality of valid time intervals corresponding to a plurality of waybills of the reference entity, a valid time interval corresponding to each waybill (for example, a time interval from arrival at the reference entity to departure from the reference entity of a distribution resource carrying a beacon scanning terminal corresponding to each waybill); correspondingly, the number of the scanning time intervals corresponding to each reference candidate beacon base station may be: and the number of the waybills corresponding to each reference alternative beacon base station in the plurality of waybills. The valid time interval corresponding to each waybill may refer to: and each waybill corresponds to a time interval from the arrival of the distribution resource of the beacon scanning terminal at the reference entity to the departure of the distribution resource from the reference entity.
Each of the above-mentioned multiple scanning time intervals for the reference entity may also refer to: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a reference entity, and the effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station may refer to: the number of beacon scanning terminals corresponding to each reference alternative beacon base station in the plurality of beacon scanning terminals.
In this embodiment, the obtaining of the association characteristic data sample between the reference candidate beacon base station and the reference entity may further refer to: and carrying out aggregation processing on the reference alternative beacon base stations and the reference beacon data corresponding to the reference alternative beacon base stations to obtain the number of the reference beacon data in the beacon data broadcast by each reference alternative beacon base station.
In this embodiment, the association characteristic data sample between the reference alternative beacon base station and the reference entity may also be obtained as follows: and performing aggregation processing on the reference candidate beacon base stations and the reference beacon data corresponding to the reference candidate beacon base stations to obtain the number of the reference beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each reference candidate beacon base station.
It should be noted that after the association feature data between the reference beacon base station and the reference entity is obtained, the derivation process may be performed based on the association feature data samples, and the derived data are collectively used as the association feature data samples, so that the derivation process is performed to increase the diversity of the model training samples, and the accuracy of the model training may be improved by using the feature data samples with different dimensions. For example, when the association feature data sample is the number of scanning time intervals corresponding to each reference candidate beacon base station (or the number of waybills corresponding to each candidate beacon base station, the number of beacon scanning terminals corresponding to each candidate beacon base station), the association feature data sample derived based on the association feature data sample includes at least one of the following: ranking information of the number of scanning time intervals corresponding to each reference candidate beacon base station (or ranking information of the number of waybills corresponding to each reference candidate beacon base station, ranking information of the number of beacon scanning terminals corresponding to each reference candidate beacon base station); normalization information of the number of scanning time intervals corresponding to each reference candidate beacon base station (or normalization information of the number of waybills corresponding to each reference candidate beacon base station, and normalization information of the number of beacon scanning terminals corresponding to each reference candidate beacon base station); ranking information of the normalized information of the number of scanning time intervals corresponding to each reference candidate beacon base station (or ranking information of the normalized information of the number of waybills corresponding to each reference candidate beacon base station, ranking information of the normalized information of the number of beacon scanning terminals corresponding to each reference candidate beacon base station). When the association characteristic data sample is the number of the reference beacon data in the beacon data broadcast by each reference alternative beacon base station, the association characteristic data sample derived based on the association characteristic data sample comprises at least one of the following: ranking information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; normalization information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; ranking information of normalized information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station. When the association characteristic data sample is the number of the reference beacon data with the signal strength greater than the predetermined signal strength threshold value in the beacon data broadcast by each reference alternative beacon base station, the association characteristic data sample derived based on the association characteristic data sample comprises at least one of the following: the sequencing information of the number of the reference beacon data with the signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station; normalization information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold in the beacon data broadcast by each reference alternative beacon base station; and ranking information of the normalized information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station.
And S203, performing model training according to the associated characteristic data samples and the associated labels corresponding to the associated characteristic data samples to obtain an entity beacon association model.
After obtaining the association characteristic data sample between the reference candidate beacon base station and the reference entity and obtaining the association tag corresponding to the association characteristic data sample in the above steps, the step is configured to perform model training according to the association characteristic data sample and the association tag corresponding to the association characteristic data sample to obtain an entity beacon association model, where the entity beacon association model is configured to output association relationship data for representing that the target beacon base station deployed in the target entity is associated with the target entity according to the input association characteristic data between the beacon base station and the entity. For example, the association feature data sample between the reference beacon base station and the reference entity and the associated label corresponding to the association feature data sample are used as positive samples, the association feature data sample between the beacon base station except the reference beacon base station and the reference entity in the reference candidate beacon base station and the non-associated label corresponding to the association feature data sample are used as negative samples, an Xgboost binary model framework or other binary model frameworks are adopted for model training, and the entity beacon association model obtained through training can output a plurality of groups of association relationship data for representing the association between the target beacon base station deployed in the target entity and the target entity according to the input association feature data between the plurality of groups of beacon base stations and the entity.
The entity beacon association model training method provided by this embodiment obtains, based on a reference beacon base station and a reference entity that have been associated, reference beacon data corresponding to the reference entity, where the reference beacon data is beacon data scanned by a beacon scanning terminal in an area corresponding to the reference entity from beacon data broadcast by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the reference entity, the reference beacon base station is a beacon base station deployed in the area corresponding to the reference entity, and the beacon scanning terminal is a terminal configured with a beacon application; determining a corresponding reference alternative beacon base station containing the reference beacon base station based on the reference beacon data, obtaining an association characteristic data sample between the reference alternative beacon base station and a reference entity, and obtaining an association label corresponding to the association characteristic data sample, wherein the association label is used for representing whether the reference alternative beacon base station is associated with the reference entity or not; and performing model training according to the association characteristic data sample and the corresponding association label to obtain an entity beacon association model, wherein the entity beacon association model is used for outputting association relation data for representing the association between the target beacon base station and the target entity according to the input association characteristic data between the beacon base station and the entity. The entity and the beacon base station deployed in the entity can be associated by the entity beacon association model obtained by training through the method, so that the complexity of the association process of the entity and the beacon base station can be reduced, the association efficiency can be improved, the association process can be prevented from being influenced by unforeseen factors (such as the influence of human factors), and the accuracy of the association result can be guaranteed.
The third embodiment of the present application also provides a beacon association apparatus, which is similar to the first embodiment of the present application, so that the description is simple, and the details of the related technical features can be found in the corresponding description of the above-mentioned method embodiments, and the following description of the apparatus embodiments is only illustrative.
Referring to fig. 3 to understand the embodiment, fig. 3 is a block diagram of a unit of a beacon association apparatus provided in the embodiment, and as shown in fig. 3, the beacon association apparatus provided in the embodiment includes: a candidate beacon data unit 301, configured to obtain candidate beacon data corresponding to a target entity, where the candidate beacon data is beacon data scanned by a beacon scanning terminal in an area corresponding to the target entity from beacon data broadcast by multiple beacon base stations deployed in multiple areas, the multiple areas are areas corresponding to multiple entities including the target entity, and the beacon scanning terminal is a terminal configured with a beacon application; an association characteristic data obtaining unit 302, configured to obtain association characteristic data between the candidate beacon base station and the target entity corresponding to the candidate beacon data; and an association relation data obtaining unit 303, configured to input association feature data into a pre-trained entity beacon association model, and obtain association relation data that is output by the entity beacon association model and used for representing that a target beacon base station, which is deployed in a region corresponding to a target entity, in an alternative beacon base station is associated with the target entity.
Each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to a target entity; acquiring alternative beacon data corresponding to a target entity, including: and acquiring alternative beacon data scanned by the beacon scanning terminal corresponding to the scanning time interval in each scanning time interval of the multiple scanning time intervals aiming at the target entity, and determining an alternative beacon base station corresponding to the alternative beacon data.
The obtaining of the association feature data between the candidate beacon base station and the target entity corresponding to the candidate beacon data includes: and performing aggregation processing on the alternative beacon base stations and the scanning time intervals corresponding to the alternative beacon base stations to obtain the number of the scanning time intervals corresponding to each alternative beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each alternative beacon base station is the time interval in which the alternative beacon data broadcast by each alternative beacon base station is scanned.
For each of a plurality of scan time intervals of a target entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of waybills of a target entity, wherein the effective time interval corresponding to each waybills is in the plurality of effective time intervals corresponding to the plurality of waybills of the target entity; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: and the number of the waybills corresponding to each alternative beacon base station in the plurality of waybills. The effective time interval corresponding to each waybill comprises: and the distribution resource corresponding to each waybill is in a time interval from the arrival to the departure of the target entity, wherein the distribution resource carries the beacon scanning terminal. For each of a plurality of scan time intervals of a target entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a target entity, and an effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: the number of beacon scanning terminals corresponding to each alternative beacon base station in the plurality of beacon scanning terminals. Obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data, including: and determining the corresponding alternative beacon base station based on the alternative beacon data, and performing aggregation processing on the alternative beacon base station and the corresponding alternative beacon data to obtain the number of the alternative beacon data in the beacon data broadcast by each alternative beacon base station.
Obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data, including: and determining the corresponding alternative beacon base stations based on the alternative beacon data, and performing aggregation processing on the alternative beacon base stations and the corresponding alternative beacon data to obtain the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station. The associated characteristic data further comprises at least one of: sequencing information of the number of scanning time intervals corresponding to each alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each alternative beacon base station. The associated characteristic data further comprises at least one of: sequencing information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; and ranking information of the normalized information of the number of alternative beacon data in the beacon data broadcasted by each alternative beacon base station. The associated characteristic data further comprises at least one of: the sequencing information of the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; and ranking information of the normalized information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each alternative beacon base station.
Acquiring alternative beacon data corresponding to a target entity, including: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the target entity as alternative beacon data.
Acquiring alternative beacon data corresponding to a target entity, including: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring target waybill data corresponding to the target entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the target waybill data, and determining the beacon data as alternative beacon data corresponding to the target entity.
The method includes the following steps that the number of target entities is multiple, candidate beacon data corresponding to the target entities are obtained, and the method includes the following steps: and acquiring alternative beacon data corresponding to each target entity in the plurality of target entities.
The beacon association device provided in the embodiment of the application constructs association feature data between the candidate beacon base station corresponding to the candidate beacon data and the target entity based on the candidate beacon data corresponding to the target entity, uses the association feature data as input data of an entity beacon association model, and associates the target entity with the target beacon base station deployed in the target entity in the candidate beacon base station through the entity beacon association model. By using the device, the complexity of the association process can be reduced, the association efficiency can be improved, the association process can be prevented from being influenced by unforeseen factors (such as the influence of human factors), and the accuracy of the association result can be guaranteed.
In the embodiments described above, a beacon associating method and a beacon associating apparatus are provided, and in addition, a fourth embodiment of the present application also provides an electronic device, which is basically similar to the method embodiment and therefore is described relatively simply, and please refer to the corresponding description of the method embodiment for details of related technical features, and the following description of the embodiment of the electronic device is only illustrative. The embodiment of the electronic equipment is as follows: please refer to fig. 4 for understanding the present embodiment, fig. 4 is a schematic view of an electronic device provided in the present embodiment. As shown in fig. 4, the electronic device provided in this embodiment includes: a processor 401 and a memory 402; the memory 402 is used for storing computer instructions for data processing, which when read and executed by the processor 401, perform the following operations: acquiring alternative beacon data corresponding to a target entity, wherein the alternative beacon data is beacon data scanned by a beacon scanning terminal in an area corresponding to the target entity in beacon data broadcasted by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the target entity, and the beacon scanning terminal is a terminal configured with a beacon application; obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data; and inputting the association characteristic data into a pre-trained entity beacon association model, and obtaining association relation data which is output by the entity beacon association model and is used for representing the association between the target beacon base station and the target entity in the candidate beacon base station and deployed in the area corresponding to the target entity.
Each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to a target entity; acquiring alternative beacon data corresponding to a target entity, including: and acquiring alternative beacon data scanned by the beacon scanning terminal corresponding to the scanning time interval in each scanning time interval of the multiple scanning time intervals aiming at the target entity, and determining an alternative beacon base station corresponding to the alternative beacon data. Obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data, including: and performing aggregation processing on the alternative beacon base stations and the scanning time intervals corresponding to the alternative beacon base stations to obtain the number of the scanning time intervals corresponding to each alternative beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each alternative beacon base station is the time interval in which the alternative beacon data broadcast by each alternative beacon base station is scanned.
For each of a plurality of scan time intervals of a target entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of waybills of a target entity, wherein the effective time interval corresponding to each waybills is in the plurality of effective time intervals corresponding to the plurality of waybills of the target entity; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: and the number of the waybills corresponding to each alternative beacon base station in the plurality of waybills. The effective time interval corresponding to each waybill comprises: and the distribution resource corresponding to each waybill is in a time interval from the arrival to the departure of the target entity, wherein the distribution resource carries the beacon scanning terminal. For each of a plurality of scan time intervals of a target entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a target entity, and an effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: the number of beacon scanning terminals corresponding to each alternative beacon base station in the plurality of beacon scanning terminals.
Obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data, including: and determining the corresponding alternative beacon base station based on the alternative beacon data, and performing aggregation processing on the alternative beacon base station and the corresponding alternative beacon data to obtain the number of the alternative beacon data in the beacon data broadcast by each alternative beacon base station.
Obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data, including: and determining the corresponding alternative beacon base stations based on the alternative beacon data, and performing aggregation processing on the alternative beacon base stations and the corresponding alternative beacon data to obtain the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station.
The associated characteristic data further comprises at least one of: sequencing information of the number of scanning time intervals corresponding to each alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each alternative beacon base station. The associated characteristic data further comprises at least one of: sequencing information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; ranking information of normalization information of the number of alternative beacon data in the beacon data broadcasted by each alternative beacon base station; the associated characteristic data further comprises at least one of: the sequencing information of the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; and ranking information of the normalized information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each alternative beacon base station.
Acquiring alternative beacon data corresponding to a target entity, including: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the target entity as alternative beacon data.
Acquiring alternative beacon data corresponding to a target entity, including: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring target waybill data corresponding to the target entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the target waybill data, and determining the beacon data as alternative beacon data corresponding to the target entity.
The method includes the following steps that the number of target entities is multiple, candidate beacon data corresponding to the target entities are obtained, and the method includes the following steps: and acquiring alternative beacon data corresponding to each target entity in the plurality of target entities.
By using the electronic device provided by the embodiment, the complexity of the association process can be reduced, the association efficiency can be improved, the association process can be prevented from being influenced by unforeseen factors (such as the influence of human factors), and the accuracy of the association result can be guaranteed.
In the above embodiments, a beacon association method, a beacon association apparatus and an electronic device are provided, and furthermore, a fifth embodiment of the present application also provides a computer-readable storage medium for implementing the beacon association method. The embodiments of the computer-readable storage medium provided in the present application are described relatively simply, and for relevant portions, reference may be made to the corresponding descriptions of the above method embodiments, and the embodiments described below are merely illustrative.
The present embodiments provide a computer readable storage medium having stored thereon computer instructions that, when executed by a processor, perform the steps of: acquiring alternative beacon data corresponding to a target entity, wherein the alternative beacon data is beacon data scanned by a beacon scanning terminal in an area corresponding to the target entity in beacon data broadcasted by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the target entity, and the beacon scanning terminal is a terminal configured with a beacon application; obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data; and inputting the association characteristic data into a pre-trained entity beacon association model, and obtaining association relation data which is output by the entity beacon association model and is used for representing the association between the target beacon base station and the target entity in the candidate beacon base station and deployed in the area corresponding to the target entity.
Each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to a target entity; acquiring alternative beacon data corresponding to a target entity, including: and acquiring alternative beacon data scanned by the beacon scanning terminal corresponding to the scanning time interval in each scanning time interval of the multiple scanning time intervals aiming at the target entity, and determining an alternative beacon base station corresponding to the alternative beacon data. Obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data, including: and performing aggregation processing on the alternative beacon base stations and the scanning time intervals corresponding to the alternative beacon base stations to obtain the number of the scanning time intervals corresponding to each alternative beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each alternative beacon base station is the time interval in which the alternative beacon data broadcast by each alternative beacon base station is scanned.
For each of a plurality of scan time intervals of a target entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of waybills of a target entity, wherein the effective time interval corresponding to each waybills is in the plurality of effective time intervals corresponding to the plurality of waybills of the target entity; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: and the number of the waybills corresponding to each alternative beacon base station in the plurality of waybills. The effective time interval corresponding to each waybill comprises: and the distribution resource corresponding to each waybill is in a time interval from the arrival to the departure of the target entity, wherein the distribution resource carries the beacon scanning terminal. For each of a plurality of scan time intervals of a target entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a target entity, and an effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: the number of beacon scanning terminals corresponding to each alternative beacon base station in the plurality of beacon scanning terminals.
Obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data, including: and determining the corresponding alternative beacon base station based on the alternative beacon data, and performing aggregation processing on the alternative beacon base station and the corresponding alternative beacon data to obtain the number of the alternative beacon data in the beacon data broadcast by each alternative beacon base station. Obtaining association characteristic data between the alternative beacon base station and the target entity corresponding to the alternative beacon data, including: and determining the corresponding alternative beacon base stations based on the alternative beacon data, and performing aggregation processing on the alternative beacon base stations and the corresponding alternative beacon data to obtain the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station. The associated characteristic data further comprises at least one of: sequencing information of the number of scanning time intervals corresponding to each alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each alternative beacon base station. The associated characteristic data further comprises at least one of: sequencing information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data in the beacon data broadcast by each alternative beacon base station; ranking information of normalization information of the number of alternative beacon data in the beacon data broadcasted by each alternative beacon base station; the associated characteristic data further comprises at least one of: the sequencing information of the number of alternative beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; normalization information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcast by each alternative beacon base station; and ranking information of the normalized information of the number of alternative beacon data with signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each alternative beacon base station.
Acquiring alternative beacon data corresponding to a target entity, including: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the target entity as alternative beacon data.
Acquiring alternative beacon data corresponding to a target entity, including: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring target waybill data corresponding to the target entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the target waybill data, and determining the beacon data as alternative beacon data corresponding to the target entity.
The method includes the following steps that the number of target entities is multiple, candidate beacon data corresponding to the target entities are obtained, and the method includes the following steps: and acquiring alternative beacon data corresponding to each target entity in the plurality of target entities.
By executing the computer instructions stored on the computer-readable storage medium provided by the embodiment, the complexity of the association process can be reduced, the association efficiency can be improved, the association process can be prevented from being influenced by unforeseen factors (for example, the influence of human factors), and the accuracy of the association result can be guaranteed.
The sixth embodiment of the present application further provides a training apparatus for a physical beacon association model, which is substantially similar to the method embodiment and therefore is relatively simple to describe, and the following description of the apparatus embodiment is only exemplary, as the detailed portions of the related technical features refer to the corresponding description of the method embodiment provided above.
Referring to fig. 5 for understanding the embodiment, fig. 5 is a block diagram of a unit of a training apparatus for an association model of an entity beacon provided in the embodiment, as shown in fig. 5, the training apparatus for an association model of an entity beacon provided in the embodiment includes: a reference beacon data obtaining unit 501, configured to obtain, based on a reference beacon base station and a reference entity that are associated with each other, reference beacon data corresponding to the reference entity, where the reference beacon data is beacon data that is scanned by a beacon scanning terminal in an area corresponding to the reference entity from beacon data broadcast by multiple beacon base stations deployed in multiple areas, the multiple areas are areas corresponding to multiple entities including the reference entity, the reference beacon base station is a beacon base station deployed in the area corresponding to the reference entity, and the beacon scanning terminal is a terminal configured with a beacon application; an association feature data sample obtaining unit 502, configured to determine, based on the reference beacon data, a reference candidate beacon base station corresponding to the reference candidate beacon base station and including the reference beacon base station, obtain an association feature data sample between the reference candidate beacon base station and the reference entity, and obtain an association tag corresponding to the association feature data sample, where the association tag is used to represent whether the reference candidate beacon base station is associated with the reference entity; the model training unit 503 is configured to perform model training according to the association feature data samples and the association labels corresponding to the association feature data samples to obtain an entity beacon association model, where the entity beacon association model is configured to output association relationship data used for representing association between a target beacon base station deployed in a target entity and the target entity according to input association feature data between the beacon base station and the entity.
Each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to the reference entity; acquiring reference beacon data corresponding to a reference entity, including: and acquiring reference beacon data scanned by a beacon scanning terminal corresponding to each scanning time interval in the plurality of scanning time intervals aiming at the reference entity. Obtaining association signature data samples between a reference alternative beacon base station and a reference entity, comprising: and aggregating the reference candidate beacon base stations and the scanning time intervals corresponding to the reference candidate beacon base stations to obtain the number of the scanning time intervals corresponding to each reference candidate beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each reference candidate beacon base station is the time interval in which the reference beacon data broadcast by each reference candidate beacon base station is scanned. For each of a plurality of scan time intervals of a reference entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of freight notes of a reference entity, wherein the effective time interval corresponding to each freight note is the effective time interval corresponding to the freight note; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: and the number of the waybills corresponding to each reference alternative beacon base station in the plurality of waybills. The effective time interval corresponding to each waybill comprises: and the distribution resource corresponding to each waybill is a time interval from the arrival of the distribution resource at the reference entity to the departure of the distribution resource from the reference entity, wherein the distribution resource carries the beacon scanning terminal. For each of a plurality of scan time intervals of a reference entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a reference entity, and the effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: the number of beacon scanning terminals corresponding to each reference alternative beacon base station in the plurality of beacon scanning terminals. Obtaining association signature data samples between a reference alternative beacon base station and a reference entity, comprising: and carrying out aggregation processing on the reference alternative beacon base stations and the reference beacon data corresponding to the reference alternative beacon base stations to obtain the number of the reference beacon data in the beacon data broadcast by each reference alternative beacon base station. Obtaining association signature data samples between a reference alternative beacon base station and a reference entity, comprising: and performing aggregation processing on the reference candidate beacon base stations and the reference beacon data corresponding to the reference candidate beacon base stations to obtain the number of the reference beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each reference candidate beacon base station. The associated feature data sample further comprises at least one of: sequencing information of the number of scanning time intervals corresponding to each reference alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each reference alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each reference candidate beacon base station. The associated feature data sample further comprises at least one of: ranking information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; normalization information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; ranking information of normalized information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; the associated feature data sample further comprises at least one of: the sequencing information of the number of the reference beacon data with the signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station; normalization information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold in the beacon data broadcast by each reference alternative beacon base station; and ranking information of the normalized information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station.
Obtaining an association label corresponding to the association feature data sample, including: and marking the association characteristic data samples between the reference beacon base stations and the reference entities in the reference alternative beacon base stations as associated labels, and marking the association characteristic data samples between the beacon base stations except the reference beacon base stations and the reference entities in the reference alternative beacon base stations as non-associated labels. Acquiring reference beacon data corresponding to a reference entity, including: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the reference entity as the reference beacon data. Acquiring reference beacon data corresponding to a reference entity, including: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring reference waybill data corresponding to the reference entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the reference waybill data, and determining the beacon data as the reference beacon data corresponding to the reference entity.
By using the training device for the entity beacon association model provided by the embodiment, the entity and the beacon base station deployed in the entity can be associated by the trained entity beacon association model, so that the complexity of the association process between the entity and the beacon base station can be reduced, the association efficiency can be improved, the association process can be prevented from being influenced by unforeseen factors (for example, the influence of human factors), and the accuracy of the association result can be guaranteed.
In the above embodiments, a method and an apparatus for training an association model of an entity beacon are provided, and in addition, a seventh embodiment of the present application further provides an electronic device, which is basically similar to the method embodiment and therefore is relatively simple to describe, and please refer to the corresponding description of the method embodiment for details of related technical features, and the following description of the embodiment of the electronic device is only illustrative. The embodiment of the electronic equipment is as follows: please refer to fig. 4 for understanding the present embodiment, fig. 4 is a schematic view of an electronic device provided in the present embodiment, and the electronic device provided in the present embodiment includes: a processor 401 and a memory 402; the memory 402 is used to store computer instructions for target image acquisition, which when read and executed by the processor 401, perform the following operations: acquiring reference beacon data corresponding to a reference entity based on the associated reference beacon base station and the reference entity, wherein the reference beacon data is beacon data which is scanned in an area corresponding to the reference entity by a beacon scanning terminal in the beacon data broadcasted by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to the plurality of entities containing the reference entity, the reference beacon base station is a beacon base station deployed in the area corresponding to the reference entity, and the beacon scanning terminal is a terminal configured with beacon application; determining a corresponding reference alternative beacon base station containing the reference beacon base station based on the reference beacon data, obtaining an association characteristic data sample between the reference alternative beacon base station and a reference entity, and obtaining an association label corresponding to the association characteristic data sample, wherein the association label is used for representing whether the reference alternative beacon base station is associated with the reference entity or not; and performing model training according to the association characteristic data sample and the corresponding association label to obtain an entity beacon association model, wherein the entity beacon association model is used for outputting association relation data for representing association between a target beacon base station deployed in a target entity and the target entity according to the input association characteristic data between the beacon base station and the entity.
Each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to a reference entity to acquire reference beacon data corresponding to the reference entity, and the method comprises the following steps: and acquiring reference beacon data scanned by a beacon scanning terminal corresponding to each scanning time interval in the plurality of scanning time intervals aiming at the reference entity. Obtaining association signature data samples between a reference alternative beacon base station and a reference entity, comprising: and aggregating the reference candidate beacon base stations and the scanning time intervals corresponding to the reference candidate beacon base stations to obtain the number of the scanning time intervals corresponding to each reference candidate beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each reference candidate beacon base station is the time interval in which the reference beacon data broadcast by each reference candidate beacon base station is scanned. For each of a plurality of scan time intervals of a reference entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of freight notes of a reference entity, wherein the effective time interval corresponding to each freight note is the effective time interval corresponding to the freight note; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: and the number of the waybills corresponding to each reference alternative beacon base station in the plurality of waybills. The effective time interval corresponding to each waybill comprises: and the distribution resource corresponding to each waybill is a time interval from the arrival of the distribution resource at the reference entity to the departure of the distribution resource from the reference entity, wherein the distribution resource carries the beacon scanning terminal. For each of a plurality of scan time intervals of a reference entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a reference entity, and the effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: the number of beacon scanning terminals corresponding to each reference alternative beacon base station in the plurality of beacon scanning terminals.
Obtaining association signature data samples between a reference alternative beacon base station and a reference entity, comprising: and carrying out aggregation processing on the reference alternative beacon base stations and the reference beacon data corresponding to the reference alternative beacon base stations to obtain the number of the reference beacon data in the beacon data broadcast by each reference alternative beacon base station. Obtaining association signature data samples between a reference alternative beacon base station and a reference entity, comprising: and performing aggregation processing on the reference candidate beacon base stations and the reference beacon data corresponding to the reference candidate beacon base stations to obtain the number of the reference beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each reference candidate beacon base station.
The associated feature data sample further comprises at least one of: sequencing information of the number of scanning time intervals corresponding to each reference alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each reference alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each reference candidate beacon base station. The associated feature data sample further comprises at least one of: ranking information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; normalization information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; ranking information of normalized information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; the associated feature data sample further comprises at least one of: the sequencing information of the number of the reference beacon data with the signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station; normalization information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold in the beacon data broadcast by each reference alternative beacon base station; and ranking information of the normalized information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station.
Obtaining an association label corresponding to the association feature data sample, including: and marking the association characteristic data samples between the reference beacon base stations and the reference entities in the reference alternative beacon base stations as associated labels, and marking the association characteristic data samples between the beacon base stations except the reference beacon base stations and the reference entities in the reference alternative beacon base stations as non-associated labels.
Acquiring reference beacon data corresponding to a reference entity, including: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the reference entity as the reference beacon data.
Acquiring reference beacon data corresponding to a reference entity, including: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring reference waybill data corresponding to the reference entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the reference waybill data, and determining the beacon data as the reference beacon data corresponding to the reference entity.
By using the electronic device provided by the embodiment, the entity and the beacon base station deployed in the entity can be associated by the trained entity beacon association model, so that the complexity of the association process between the entity and the beacon base station can be reduced, the association efficiency can be improved, the association process can be prevented from being influenced by unforeseen factors (such as the influence of human factors), and the accuracy of the association result can be guaranteed.
In the foregoing embodiments, a method, an apparatus, and an electronic device for training a physical beacon association model are provided, and in addition, an eighth embodiment of the present application also provides a computer-readable storage medium for implementing the method for training a physical beacon association model. The embodiments of the computer-readable storage medium provided in the present application are described relatively simply, and for relevant portions, reference may be made to the corresponding descriptions of the above method embodiments, and the embodiments described below are merely illustrative.
The present embodiments provide a computer readable storage medium having stored thereon computer instructions that, when executed by a processor, perform the steps of: acquiring reference beacon data corresponding to a reference entity based on the associated reference beacon base station and the reference entity, wherein the reference beacon data is beacon data which is scanned in an area corresponding to the reference entity by a beacon scanning terminal in the beacon data broadcasted by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to the plurality of entities containing the reference entity, the reference beacon base station is a beacon base station deployed in the area corresponding to the reference entity, and the beacon scanning terminal is a terminal configured with beacon application; determining a corresponding reference alternative beacon base station containing the reference beacon base station based on the reference beacon data, obtaining an association characteristic data sample between the reference alternative beacon base station and a reference entity, and obtaining an association label corresponding to the association characteristic data sample, wherein the association label is used for representing whether the reference alternative beacon base station is associated with the reference entity or not; and performing model training according to the association characteristic data sample and the corresponding association label to obtain an entity beacon association model, wherein the entity beacon association model is used for outputting association relation data for representing association between a target beacon base station deployed in a target entity and the target entity according to the input association characteristic data between the beacon base station and the entity.
Each beacon scanning terminal corresponds to a scanning time interval in an area corresponding to a reference entity to acquire reference beacon data corresponding to the reference entity, and the method comprises the following steps: and acquiring reference beacon data scanned by a beacon scanning terminal corresponding to each scanning time interval in the plurality of scanning time intervals aiming at the reference entity. Obtaining association signature data samples between a reference alternative beacon base station and a reference entity, comprising: and aggregating the reference candidate beacon base stations and the scanning time intervals corresponding to the reference candidate beacon base stations to obtain the number of the scanning time intervals corresponding to each reference candidate beacon base station in a plurality of scanning time intervals, wherein the scanning time interval corresponding to each reference candidate beacon base station is the time interval in which the reference beacon data broadcast by each reference candidate beacon base station is scanned.
For each of a plurality of scan time intervals of a reference entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of freight notes of a reference entity, wherein the effective time interval corresponding to each freight note is the effective time interval corresponding to the freight note; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: and the number of the waybills corresponding to each reference alternative beacon base station in the plurality of waybills.
The effective time interval corresponding to each waybill comprises: and the distribution resource corresponding to each waybill is a time interval from the arrival of the distribution resource at the reference entity to the departure of the distribution resource from the reference entity, wherein the distribution resource carries the beacon scanning terminal.
For each of a plurality of scan time intervals of a reference entity, comprising: aiming at a plurality of effective time intervals corresponding to a plurality of beacon scanning terminals of a reference entity, and the effective time interval corresponding to each beacon scanning terminal; correspondingly, the number of scanning time intervals corresponding to each reference candidate beacon base station includes: the number of beacon scanning terminals corresponding to each reference alternative beacon base station in the plurality of beacon scanning terminals.
Obtaining association signature data samples between a reference alternative beacon base station and a reference entity, comprising: and carrying out aggregation processing on the reference alternative beacon base stations and the reference beacon data corresponding to the reference alternative beacon base stations to obtain the number of the reference beacon data in the beacon data broadcast by each reference alternative beacon base station. Obtaining association signature data samples between a reference alternative beacon base station and a reference entity, comprising: and performing aggregation processing on the reference candidate beacon base stations and the reference beacon data corresponding to the reference candidate beacon base stations to obtain the number of the reference beacon data of which the signal strength is greater than a preset signal strength threshold value in the beacon data broadcast by each reference candidate beacon base station.
The associated feature data sample further comprises at least one of: sequencing information of the number of scanning time intervals corresponding to each reference alternative beacon base station; normalization information of the number of scanning time intervals corresponding to each reference alternative beacon base station; and ranking information of the normalized information of the number of the scanning time intervals corresponding to each reference candidate beacon base station. The associated feature data sample further comprises at least one of: ranking information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; normalization information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; ranking information of normalized information of the number of reference beacon data in the beacon data broadcast by each reference alternative beacon base station; the associated feature data sample further comprises at least one of: the sequencing information of the number of the reference beacon data with the signal strength larger than a preset signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station; normalization information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold in the beacon data broadcast by each reference alternative beacon base station; and ranking information of the normalized information of the number of reference beacon data with signal strength larger than a predetermined signal strength threshold value in the beacon data broadcasted by each reference alternative beacon base station.
Obtaining an association label corresponding to the association feature data sample, including: and marking the association characteristic data samples between the reference beacon base stations and the reference entities in the reference alternative beacon base stations as associated labels, and marking the association characteristic data samples between the beacon base stations except the reference beacon base stations and the reference entities in the reference alternative beacon base stations as non-associated labels.
Acquiring reference beacon data corresponding to a reference entity, including: acquiring beacon data scanned by a beacon scanning terminal; acquiring position information of a beacon scanning terminal; and determining the beacon data scanned by the beacon scanning terminal with the position information in the area corresponding to the reference entity as the reference beacon data.
Acquiring reference beacon data corresponding to a reference entity, including: acquiring beacon data scanned by a beacon scanning terminal carried by a plurality of distribution resources; acquiring waybill data corresponding to a plurality of distribution resources, wherein the waybill data comprises information of entities corresponding to the waybill data; and acquiring reference waybill data corresponding to the reference entity in the waybill data, acquiring beacon data scanned by a beacon scanning terminal carried by corresponding distribution resources in an effective time interval of the reference waybill data, and determining the beacon data as the reference beacon data corresponding to the reference entity.
By executing the computer instructions stored on the computer-readable storage medium provided in this embodiment, the trained entity beacon association model may associate the entity with the beacon base station deployed in the entity, which may reduce the complexity of the association process between the entity and the beacon base station, improve the association efficiency, avoid the association process from being affected by unforeseen factors (e.g., human factors), and ensure the accuracy of the association result.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
1. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.

Claims (10)

1. A beacon association method, comprising:
acquiring alternative beacon data corresponding to a target entity, wherein the alternative beacon data is beacon data which is scanned in an area corresponding to the target entity by a beacon scanning terminal in beacon data broadcasted by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the target entity, and the beacon scanning terminal is a terminal configured with a beacon application;
obtaining association characteristic data between the alternative beacon base station corresponding to the alternative beacon data and the target entity;
and inputting the association characteristic data into a pre-trained entity beacon association model, and obtaining association relation data which is output by the entity beacon association model and is used for representing the association between the target beacon base station and the target entity, wherein the target beacon base station is deployed in the area corresponding to the target entity, and the candidate beacon base station is arranged in the area corresponding to the target entity.
2. The method of claim 1, wherein each beacon scanning terminal has a scanning time interval corresponding to a region corresponding to the target entity;
the acquiring of the alternative beacon data corresponding to the target entity includes: the method comprises the steps of obtaining alternative beacon data scanned by a beacon scanning terminal corresponding to a scanning time interval in each scanning time interval of a plurality of scanning time intervals aiming at a target entity, and determining an alternative beacon base station corresponding to the alternative beacon data.
3. The method of claim 2, wherein the obtaining of association characteristic data between the candidate beacon base station corresponding to the candidate beacon data and the target entity comprises:
and aggregating the candidate beacon base stations and the scanning time intervals corresponding to the candidate beacon base stations to obtain the number of the scanning time intervals corresponding to each candidate beacon base station in the multiple scanning time intervals, wherein the scanning time interval corresponding to each candidate beacon base station is a time interval in which the candidate beacon data broadcast by each candidate beacon base station is scanned.
4. The method of claim 3, wherein each of the plurality of scan time intervals for the target entity comprises: aiming at a plurality of effective time intervals corresponding to a plurality of waybills of the target entity, wherein the effective time interval corresponding to each waybills is in the plurality of effective time intervals corresponding to the plurality of waybills of the target entity;
correspondingly, the number of scanning time intervals corresponding to each alternative beacon base station includes: the number of waybills corresponding to each of the alternative beacon base stations in the plurality of waybills.
5. The method of claim 4, wherein the valid time interval for each waybill comprises: and the distribution resource corresponding to each waybill is a time interval from the arrival to the departure of the target entity, wherein the distribution resource carries the beacon scanning terminal.
6. A method for training a physical beacon association model, comprising:
acquiring reference beacon data corresponding to a reference entity based on the associated reference beacon base station and the reference entity, wherein the reference beacon data is beacon data which is scanned in an area corresponding to the reference entity by a beacon scanning terminal in beacon data broadcasted by a plurality of beacon base stations deployed in a plurality of areas, the plurality of areas are areas corresponding to a plurality of entities including the reference entity, the reference beacon base station is a beacon base station deployed in the area corresponding to the reference entity, and the beacon scanning terminal is a terminal configured with beacon application;
determining a corresponding reference alternative beacon base station which contains the reference beacon base station based on the reference beacon data, obtaining an association characteristic data sample between the reference alternative beacon base station and the reference entity, and obtaining an association label corresponding to the association characteristic data sample, wherein the association label is used for representing whether the reference alternative beacon base station is associated with the reference entity or not;
and performing model training according to the association feature data sample and the association label corresponding to the association feature data sample to obtain an entity beacon association model, wherein the entity beacon association model is used for outputting association relation data used for representing association between a target beacon base station deployed in a target entity and the target entity according to the input association feature data between the beacon base station and the entity.
7. An apparatus for beacon association, comprising:
a candidate beacon data unit, configured to obtain candidate beacon data corresponding to a target entity, where the candidate beacon data is beacon data scanned by a beacon scanning terminal in an area corresponding to the target entity from beacon data broadcast by multiple beacon base stations deployed in multiple areas, the multiple areas are areas corresponding to multiple entities including the target entity, and the beacon scanning terminal is a terminal configured with a beacon application;
an association characteristic data obtaining unit, configured to obtain association characteristic data between the candidate beacon base station corresponding to the candidate beacon data and the target entity;
and the association relation data obtaining unit is used for inputting the association characteristic data into a pre-trained entity beacon association model, and obtaining association relation data which is output by the entity beacon association model and is used for representing the association between the target beacon base station and the target entity in the candidate beacon base station and deployed in the area corresponding to the target entity.
8. An apparatus for training a physical beacon association model, comprising:
a reference beacon data acquiring unit, configured to acquire, based on a reference beacon base station and a reference entity that are associated with each other, reference beacon data corresponding to the reference entity, where the reference beacon data is beacon data that is scanned by a beacon scanning terminal in an area corresponding to the reference entity from beacon data broadcast by multiple beacon base stations deployed in multiple areas, the multiple areas are areas corresponding to multiple entities including the reference entity, the reference beacon base station is a beacon base station deployed in the area corresponding to the reference entity, and the beacon scanning terminal is a terminal configured with a beacon application;
an association feature data sample obtaining unit, configured to determine, based on the reference beacon data, a reference candidate beacon base station corresponding to the reference candidate beacon base station and including the reference beacon base station, obtain an association feature data sample between the reference candidate beacon base station and the reference entity, and obtain an association tag corresponding to the association feature data sample, where the association tag is used to characterize whether the reference candidate beacon base station is associated with the reference entity;
and the model training unit is used for carrying out model training according to the association characteristic data sample and the association label corresponding to the association characteristic data sample to obtain an entity beacon association model, and the entity beacon association model is used for outputting association relation data used for representing association between a target beacon base station deployed in a target entity and the target entity according to the input association characteristic data between the beacon base station and the entity.
9. An electronic device comprising a processor and a memory; wherein,
the memory is to store one or more computer instructions, wherein the one or more computer instructions are to be executed by the processor to implement the method of claims 1-6.
10. A computer-readable storage medium having stored thereon one or more computer instructions for execution by a processor to perform the method of claims 1-6.
CN202011421128.7A 2020-12-08 2020-12-08 A beacon association method and device Active CN112533300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011421128.7A CN112533300B (en) 2020-12-08 2020-12-08 A beacon association method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011421128.7A CN112533300B (en) 2020-12-08 2020-12-08 A beacon association method and device

Publications (2)

Publication Number Publication Date
CN112533300A true CN112533300A (en) 2021-03-19
CN112533300B CN112533300B (en) 2022-11-01

Family

ID=74998144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011421128.7A Active CN112533300B (en) 2020-12-08 2020-12-08 A beacon association method and device

Country Status (1)

Country Link
CN (1) CN112533300B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114418714A (en) * 2021-11-26 2022-04-29 浪潮通信信息系统有限公司 A 5G base station operation and maintenance management system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9538459B1 (en) * 2014-12-30 2017-01-03 Google Inc. Adaptive scanning based on user activity
CN106537884A (en) * 2014-08-08 2017-03-22 微软技术许可有限责任公司 Beacon discovery service
CN107180361A (en) * 2017-04-28 2017-09-19 北京小米移动软件有限公司 The processing method of information, apparatus and system
CN107527198A (en) * 2016-06-19 2017-12-29 谷歌公司 Identify specific to the position of user calculating equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106537884A (en) * 2014-08-08 2017-03-22 微软技术许可有限责任公司 Beacon discovery service
US9538459B1 (en) * 2014-12-30 2017-01-03 Google Inc. Adaptive scanning based on user activity
CN107527198A (en) * 2016-06-19 2017-12-29 谷歌公司 Identify specific to the position of user calculating equipment
CN107180361A (en) * 2017-04-28 2017-09-19 北京小米移动软件有限公司 The processing method of information, apparatus and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114418714A (en) * 2021-11-26 2022-04-29 浪潮通信信息系统有限公司 A 5G base station operation and maintenance management system and method

Also Published As

Publication number Publication date
CN112533300B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
JP6546315B2 (en) Short range information transmission
CN106686105B (en) Message pushing method, computing device, server and information sharing system
US12010588B2 (en) Indoor positioning methods, apparatuses, electronic device and computer readable storage medium
RU2670596C9 (en) Data label carrier information application and processing system and method
CN109388722B (en) Method and equipment for adding or searching social contact
CN108876950B (en) Attendance tracking method, device, terminal, server and storage medium
CN104079665B (en) Terminal room geographical location sharing method, application server and its terminal
CN105592420A (en) Method and device for generating environment feature library and indoor positioning method and device based on environment feature library
CN108024308B (en) Method and equipment for sharing and connecting wireless access points
CN104185139A (en) Fingerprint matching-based wireless positioning method and device
CN104618853B (en) A kind of information push method, apparatus and system
CN114547386A (en) Wi-Fi signal-based positioning method, device, and electronic device
CN110620988A (en) Information reporting method, device and equipment
CN102752271A (en) Information processing method based on radio-frequency signal strength
CN112533300A (en) Beacon association method and device
US10200864B2 (en) Method and device for managing wireless access point
CN107659978A (en) For identifying the method and apparatus of WAP
CN105338049A (en) Method and device for realizing O2O Internet service
CN107330069A (en) Multimedia data processing method and device, server and storage medium
CN109089216B (en) A file transmission method and device based on Bluetooth transmission
CN111988733A (en) Method and equipment for realizing positioning based on wireless hotspot
CN113536129A (en) Service push method and related product
CN107548030B (en) WiFi switch control and data query service method, device and medium
CN111615174B (en) Method for identifying wireless network, terminal device and computer readable storage medium
CN106454884A (en) Method for distinguishing homonymous wireless access points and equipment thereof

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
GR01 Patent grant
GR01 Patent grant