CN115456704A - Service recommendation method and device based on electronic geo-fencing and storage medium - Google Patents

Service recommendation method and device based on electronic geo-fencing and storage medium Download PDF

Info

Publication number
CN115456704A
CN115456704A CN202211401663.5A CN202211401663A CN115456704A CN 115456704 A CN115456704 A CN 115456704A CN 202211401663 A CN202211401663 A CN 202211401663A CN 115456704 A CN115456704 A CN 115456704A
Authority
CN
China
Prior art keywords
longitude
latitude
electronic
park
fence
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.)
Pending
Application number
CN202211401663.5A
Other languages
Chinese (zh)
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.)
One Station Development Beijing Cloud Computing Technology Co ltd
Original Assignee
One Station Development Beijing Cloud Computing Technology 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 One Station Development Beijing Cloud Computing Technology Co ltd filed Critical One Station Development Beijing Cloud Computing Technology Co ltd
Priority to CN202211401663.5A priority Critical patent/CN115456704A/en
Publication of CN115456704A publication Critical patent/CN115456704A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0261Targeted advertisements based on user location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0269Targeted advertisements based on user profile or attribute
    • G06Q30/0271Personalized advertisement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Landscapes

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

Abstract

The embodiment of the application discloses a service recommendation method, a device and a storage medium based on an electronic geo-fence, wherein the service recommendation method based on the electronic geo-fence comprises the following steps: acquiring a first longitude and latitude of the current position of a user; determining whether the first longitude latitude exists within a designated electronic geofence; if the first longitude latitude exists in the defined electronic geo-fence, acquiring a corresponding unique park identifier based on the first longitude latitude; and judging whether the acquired unique park identification is single, if so, displaying corresponding park service recommendation information to the user according to the unique park identification, and if not, returning null data. Therefore, accurate positioning and accurate service recommendation of users located in different parks are achieved.

Description

Service recommendation method and device based on electronic geo-fencing and storage medium
Technical Field
The application relates to the technical field of computer information processing, in particular to a service recommendation method and device based on an electronic geo-fence and a storage medium.
Background
With the rapid development of the internet and information transmission technology, a mode that a promotion platform recommends service information to users through various channels appears, but users often passively receive the recommended service information, many users are not accurate users, and accurate positioning and accurate recommendation cannot be performed on the users.
Disclosure of Invention
An embodiment of the present application aims to provide a service recommendation method, an apparatus and a storage medium based on an electronic geo-fence, so as to solve the problem that accurate positioning and accurate service recommendation cannot be performed on a user in the prior art.
In order to achieve the above object, an embodiment of the present application provides a service recommendation method based on an electronic geo-fence, including the steps of: acquiring a first longitude and latitude of the current position of a user;
determining whether the first longitude and latitude exists within a defined electronic geofence;
if the first longitude latitude exists in the defined electronic geo-fence, acquiring a corresponding unique park identifier based on the first longitude latitude;
and judging whether the acquired unique park identification is single, if so, displaying corresponding park service recommendation information to the user according to the unique park identification, and if not, returning null data.
Optionally, before determining whether the first longitude and latitude exists within the demarcated electronic geofence, further comprising:
and checking whether the acquired first longitude latitude is legal or not, if so, judging whether the first longitude latitude exists in the defined electronic geo-fence, and if not, returning null data.
Optionally, the method of determining whether the first longitude and latitude exists within the demarcated electronic geofence comprises:
determining whether the designated electronic geofence exists;
if the electronic geo-fence is defined, connecting points on the outermost layer of the second longitude and latitude coordinates of the defined electronic geo-fence to form a convex polygon by using a convex hull algorithm;
and judging whether the acquired first longitude latitude is within the range of the convex polygon, if so, judging that the first longitude latitude exists in the defined electronic geo-fence, and if not, judging that the first longitude latitude does not exist in the defined electronic geo-fence.
Optionally, the method for displaying the corresponding campus service recommendation information to the user according to the unique campus identifier includes:
storing the demarcated electronic geo-fence, the corresponding unique campus identification and the campus service recommendation information into a database;
and searching the corresponding park service recommendation information in the database and displaying the park service recommendation information based on the acquired park unique identifier.
Optionally, after obtaining the corresponding unique campus identifier based on the first longitude and latitude, the method further includes:
acquiring a partition of a park where the user is currently located based on the first longitude and latitude, and further acquiring a corresponding partition unique identifier;
and judging whether the obtained unique identifier of the partition is single, if so, displaying corresponding partition service recommendation information to the user according to the unique identifier of the partition.
To achieve the above object, the present application further provides an electronic geo-fence based service recommendation apparatus, including: a memory; and
a processor coupled to the memory, the processor configured to:
acquiring a first longitude and latitude of the current position of a user;
determining whether the first longitude and latitude exists within a defined electronic geofence;
if the first longitude latitude exists in the defined electronic geo-fence, acquiring a corresponding unique park identifier based on the first longitude latitude;
and judging whether the obtained unique park identification is single, if so, displaying corresponding park service recommendation information to the user according to the unique park identification, and if not, returning null data.
Optionally, the processor is further configured to: prior to determining whether the first longitude latitude exists within the demarcated electronic geofence, further comprising:
and checking whether the acquired first longitude latitude is legal or not, if so, judging whether the first longitude latitude exists in the defined electronic geo-fence, and if not, returning null data.
Optionally, the processor is further configured to: the method of determining whether the first longitude and latitude exists within the demarcated electronic geofence comprises:
determining whether the designated electronic geofence exists;
if the electronic geofence exists, connecting points on the outermost layer of the second longitude and latitude coordinates of the electronic geofence to form a convex polygon by using a convex hull algorithm;
and judging whether the acquired first longitude latitude is within the convex polygon range, if so, determining that the first longitude latitude exists in the defined electronic geo-fence, and if not, determining that the first longitude latitude does not exist in the defined electronic geo-fence.
Optionally, the processor is further configured to: after acquiring the corresponding unique park identifier based on the first longitude and latitude, the method further includes:
acquiring a partition of a park where the user is currently located based on the first longitude and latitude, and further acquiring a corresponding partition unique identifier;
and judging whether the obtained unique identifier of the partition is single, if so, displaying corresponding partition service recommendation information to the user according to the unique identifier of the partition.
To achieve the above object, the present application also provides a computer storage medium having a computer program stored thereon, wherein the computer program when executed by a machine implements the steps of the method as described above.
The embodiment of the application has the following advantages:
the embodiment of the application provides a service recommendation method based on an electronic geo-fence, which comprises the following steps: acquiring a first longitude and latitude of the current position of a user; determining whether the first longitude and latitude exists within a defined electronic geofence; if the first longitude latitude exists in the defined electronic geo-fence, acquiring a corresponding unique park identifier based on the first longitude latitude; and judging whether the obtained unique park identification is single, if so, displaying corresponding park service recommendation information to the user according to the unique park identification, and if not, returning null data.
By the method, the geo-fence positioning function is used for positioning the park where the user is located in a specific range, so that the user can use the function based on the data of the positioned park. Therefore, accurate positioning and accurate service recommendation of users located in different parks are achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
Fig. 1 is a flowchart of a service recommendation method based on an electronic geo-fence according to an embodiment of the present application;
fig. 2 is a block diagram of an electronic geo-fence based service recommendation apparatus according to an embodiment of the present application.
Detailed Description
The present disclosure is not intended to be limited to the particular embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In addition, the technical features mentioned in the different embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.
An embodiment of the present application provides a method for recommending an electronic geo-fence based service, and referring to fig. 1, fig. 1 is a flowchart of a method for recommending an electronic geo-fence based service provided in an embodiment of the present application, it should be understood that the method may further include additional blocks that are not shown and/or may omit illustrated blocks, and the scope of the present application is not limited in this respect.
At step 101, a first longitude and latitude of a current location of a user is obtained.
Specifically, when a user enters/does not enter a specific range, a specific software/applet is opened, and the system calls a map software API to acquire the longitude and latitude of the current position of the user. The electronic map service provider can select a Baidu map, a Google map or a Gade map, and the like, and can also select an own address library for extraction. The extracted coordinate data is resolved into longitude and latitude coordinate data through an electronic map service provider or a self-owned address base, and the processing is more convenient.
At step 102, it is determined whether the first longitude and latitude exists within a demarcated electronic geofence.
In some embodiments, prior to determining whether the first longitude and latitude exists within the demarcated electronic geofence, further comprising:
and checking whether the acquired first longitude latitude is legal or not, if so, judging whether the first longitude latitude exists in the defined electronic geo-fence, and if not, returning null data.
Specifically, the acquired first longitude and latitude is called to the back-end service interface, and the back-end program judges and checks according to whether the longitude and latitude are legal (namely, whether the first longitude and latitude acquired by the service end is not empty) and whether the acquired longitude and latitude (namely, the first longitude and latitude) exist in the defined electronic geo-fence.
In some embodiments, the method of determining whether the first longitude and latitude exists within the demarcated electronic geofence comprises:
determining whether the designated electronic geofence exists;
if the electronic geofence exists, connecting outermost points of coordinates (namely second longitude and latitude coordinates) corresponding to the longitude and latitude of the electronic geofence by using a convex hull algorithm to form a convex polygon;
and judging whether the acquired first longitude latitude is within the convex polygon range, if so, determining that the first longitude latitude exists in the defined electronic geo-fence, and if not, determining that the first longitude latitude does not exist in the defined electronic geo-fence.
Specifically, whether a first longitude and latitude is processed in a Path2D type of a JDK internal toolkit logically used in the defined electronic geo-fence is judged, and the principle of the Path2D bottom layer is that points on the outermost layer of a second longitude and latitude coordinate of the defined electronic geo-fence are connected to form a convex polygon by using a convex hull algorithm; and judging whether the acquired first longitude latitude is within the range or not, and calling Path2D.
At step 103, if the first longitude latitude exists within the electronic geofence as defined, a corresponding unique identification of the campus is obtained based on the first longitude latitude.
In step 104, it is determined whether the acquired unique identifier of the campus is single, if so, the corresponding campus service recommendation information is displayed to the user according to the unique identifier of the campus, and if not, null data is returned.
In particular, there may be multiple designated campus electronic geofences. Storing the unique park identification returned to the currently processed electronic geo-fence into an array; polling and judging the set park electronic geofences, judging whether the first longitude and latitude exists in the electronic geofences of each defined park, judging whether the first longitude and latitude exists, and storing the result (the corresponding unique park identification) into an array; and after the polling is finished, judging whether the number of the unique identifications of the parks in the array is single, successfully positioning the single number of the unique identifications, inquiring specific service recommendation information of the parks according to the obtained unique identification of the single park, returning to a calling end for carrying out corresponding information display, failing to position the plurality of unique identifications or the array is empty, and returning empty data. The campus service recommendation information may be recruitment information, campus introduction information, recruiter information, advertisement provided for goods or services, etc. The presentation may be performed via a display screen of the electronic device.
In some embodiments, the method for presenting the corresponding campus service recommendation information to the user according to the unique campus identifier includes:
storing the demarcated electronic geo-fence, the corresponding unique campus identification and the campus service recommendation information into a database;
and searching the corresponding park service recommendation information in the database and displaying the park service recommendation information based on the acquired park unique identifier.
In some embodiments, after obtaining the corresponding unique campus identification based on the first longitude latitude, the method further includes:
acquiring a partition of a park where the user is currently located based on the first longitude and latitude, and further acquiring a corresponding partition unique identifier;
and judging whether the obtained unique partition identifier is single, if so, displaying corresponding partition service recommendation information to the user according to the unique partition identifier.
Specifically, there may be multiple partitions in a campus, and each partition corresponds to different service recommendation information, such as commodity service information and recruitment information of different merchants. Different partitions can be divided according to the actual geographic positions of different merchants in the park, and then different partitions are divided in the electronic map. Different from the unique park identifier representing the entire park, the unique different partition identifiers represent different partitions in the park, and the different partitions may be areas where different merchants are located. The method for determining whether the first longitude latitude exists in the defined partition refers to the aforementioned method for determining whether the first longitude latitude exists in the defined electronic geo-fence, and is not repeated herein.
By the method, the geo-fence positioning function is used for positioning the park where the user is located in a specific range, so that the user can use the function based on the data of the positioned park. Therefore, accurate positioning and accurate service recommendation of users located in different parks are achieved.
Fig. 2 is a block diagram of an electronic geo-fence based service recommendation apparatus according to an embodiment of the present application. The device comprises:
a memory 201; and a processor 202 coupled to the memory 201, the processor 202 configured to: acquiring a first longitude and latitude of the current position of a user;
determining whether the first longitude latitude exists within a designated electronic geofence;
if the first longitude latitude exists in the defined electronic geo-fence, acquiring a corresponding unique park identifier based on the first longitude latitude;
and judging whether the acquired unique park identification is single, if so, displaying corresponding park service recommendation information to the user according to the unique park identification, and if not, returning null data.
In some embodiments, the processor 202 is further configured to: prior to determining whether the first longitude latitude exists within the demarcated electronic geofence, further comprising:
and checking whether the acquired first longitude latitude is legal or not, if so, judging whether the first longitude latitude exists in the defined electronic geo-fence, and if not, returning null data.
In some embodiments, the processor 202 is further configured to: the method of determining whether the first longitude and latitude exists within the demarcated electronic geofence comprises:
connecting points on the outermost layer of the second longitude and latitude coordinates of the demarcated electronic geo-fence by using a convex hull algorithm to form a convex polygon;
and judging whether the acquired first longitude latitude is within the convex polygon range, if so, determining that the first longitude latitude exists in the defined electronic geo-fence, and if not, determining that the first longitude latitude does not exist in the defined electronic geo-fence.
In some embodiments, the processor 202 is further configured to: the method for displaying the corresponding campus service recommendation information to the user according to the unique campus identifier comprises the following steps:
storing the demarcated electronic geo-fence, the corresponding unique campus identification and the campus service recommendation information into a database;
and searching and displaying the corresponding campus service recommendation information in the database based on the obtained unique campus identification.
In some embodiments, the processor 202 is further configured to: after acquiring the corresponding unique park identifier based on the first longitude and latitude, the method further includes:
acquiring a partition of a park where the user is currently located based on the first longitude and latitude, and further acquiring a corresponding partition unique identifier;
and judging whether the obtained unique identifier of the partition is single, if so, displaying corresponding partition service recommendation information to the user according to the unique identifier of the partition.
For the specific implementation method, reference is made to the foregoing method embodiments, which are not described herein again.
The present application may be methods, apparatus, systems, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for carrying out aspects of the present application.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present application may be assembler instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present application are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Various aspects of the present application are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It is noted that, unless expressly stated otherwise, all features disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose. Thus, unless expressly stated otherwise, each feature disclosed is one example only of a generic series of equivalent or similar features. Where used, it is further preferred, even further and more preferred that the brief introduction of the further embodiment is made on the basis of the preceding embodiment, the contents of which further, preferably, even further or more preferred the rear band is combined with the preceding embodiment as a complete constituent of the further embodiment. Several further, preferred, still further or more preferred arrangements of the belt after the same embodiment may be combined in any combination to form a further embodiment.
Although the present application has been described in detail with respect to the general description and the specific examples, it will be apparent to those skilled in the art that certain changes and modifications may be made based on the present application. Accordingly, such modifications and improvements are intended to be within the scope of this invention as claimed.

Claims (10)

1. An electronic geo-fence based service recommendation method, comprising the steps of:
acquiring a first longitude and latitude of the current position of a user;
determining whether the first longitude latitude exists within a designated electronic geofence;
if the first longitude latitude exists in the demarcated electronic geo-fence, acquiring a corresponding unique park identification based on the first longitude latitude;
and judging whether the acquired unique park identification is single, if so, displaying corresponding park service recommendation information to the user according to the unique park identification, and if not, returning null data.
2. The method of claim 1, further comprising, prior to determining whether the first longitude and latitude exists within the designated electronic geofence:
and checking whether the acquired first longitude latitude is legal or not, if so, judging whether the first longitude latitude exists in the defined electronic geo-fence, and if not, returning null data.
3. The method of claim 1, wherein the method of determining whether the first longitude latitude exists within the designated electronic geofence comprises:
determining whether the designated electronic geofence exists;
if the electronic geofence exists, connecting points on the outermost layer of the second longitude and latitude coordinates of the electronic geofence to form a convex polygon by using a convex hull algorithm;
and judging whether the acquired first longitude latitude is within the range of the convex polygon, if so, judging that the first longitude latitude exists in the defined electronic geo-fence, and if not, judging that the first longitude latitude does not exist in the defined electronic geo-fence.
4. The electronic geo-fence based service recommendation method of claim 1, wherein the method of presenting the corresponding campus service recommendation information to the user based on the campus unique identifier comprises:
storing the demarcated electronic geo-fence, the corresponding unique campus identification and the campus service recommendation information into a database;
and searching the corresponding park service recommendation information in the database and displaying the park service recommendation information based on the acquired park unique identifier.
5. The method of claim 1, wherein after obtaining the corresponding unique campus identification based on the first longitude, further comprising:
acquiring a partition of a park where the user is currently located based on the first longitude and latitude, and further acquiring a corresponding partition unique identifier;
and judging whether the obtained unique partition identifier is single, if so, displaying corresponding partition service recommendation information to the user according to the unique partition identifier.
6. An electronic geo-fence based service recommendation device, comprising:
a memory; and
a processor coupled to the memory, the processor configured to:
acquiring a first longitude and latitude of the current position of a user;
determining whether the first longitude and latitude exists within a defined electronic geofence;
if the first longitude latitude exists in the demarcated electronic geo-fence, acquiring a corresponding unique park identification based on the first longitude latitude;
and judging whether the obtained unique park identification is single, if so, displaying corresponding park service recommendation information to the user according to the unique park identification, and if not, returning null data.
7. The electronic geofence-based service recommendation device of claim 6, wherein the processor is further configured to:
prior to determining whether the first longitude and latitude exists within the demarcated electronic geofence, further comprising:
and checking whether the acquired first longitude latitude is legal or not, if so, judging whether the first longitude latitude exists in the defined electronic geo-fence, and if not, returning null data.
8. The electronic geofence-based service recommendation device of claim 6, wherein the processor is further configured to:
the method of determining whether the first longitude latitude exists within the designated electronic geofence includes:
determining whether the designated electronic geofence exists;
if the electronic geofence exists, connecting points on the outermost layer of the second longitude and latitude coordinates of the electronic geofence to form a convex polygon by using a convex hull algorithm;
and judging whether the acquired first longitude latitude is within the range of the convex polygon, if so, judging that the first longitude latitude exists in the defined electronic geo-fence, and if not, judging that the first longitude latitude does not exist in the defined electronic geo-fence.
9. The electronic geofence-based service recommendation device of claim 6, wherein the processor is further configured to:
after acquiring the corresponding unique park identifier based on the first longitude and latitude, the method further includes:
acquiring a partition of a park where the user is currently located based on the first longitude and latitude, and further acquiring a corresponding partition unique identifier;
and judging whether the obtained unique identifier of the partition is single, if so, displaying corresponding partition service recommendation information to the user according to the unique identifier of the partition.
10. A computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a machine, implements the steps of the method of any of claims 1 to 5.
CN202211401663.5A 2022-11-10 2022-11-10 Service recommendation method and device based on electronic geo-fencing and storage medium Pending CN115456704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211401663.5A CN115456704A (en) 2022-11-10 2022-11-10 Service recommendation method and device based on electronic geo-fencing and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211401663.5A CN115456704A (en) 2022-11-10 2022-11-10 Service recommendation method and device based on electronic geo-fencing and storage medium

Publications (1)

Publication Number Publication Date
CN115456704A true CN115456704A (en) 2022-12-09

Family

ID=84295556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211401663.5A Pending CN115456704A (en) 2022-11-10 2022-11-10 Service recommendation method and device based on electronic geo-fencing and storage medium

Country Status (1)

Country Link
CN (1) CN115456704A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324785A (en) * 2019-07-02 2019-10-11 北京百度网讯科技有限公司 Information recommendation method, device, equipment and computer readable storage medium
CN111597445A (en) * 2020-05-14 2020-08-28 北京百度网讯科技有限公司 Information recommendation method and device
CN111784238A (en) * 2020-06-11 2020-10-16 上海东普信息科技有限公司 Electronic fence order dividing method and device, terminal equipment and storage medium
CN112435311A (en) * 2020-12-11 2021-03-02 上海中通吉网络技术有限公司 Method and device for generating electronic geo-fence
CN114461692A (en) * 2022-02-10 2022-05-10 吉旗(成都)科技有限公司 Electronic fence recommendation method and device, electronic equipment and storage medium
CN115273372A (en) * 2022-05-11 2022-11-01 宜通世纪科技股份有限公司 Park equipment alarm method, system, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324785A (en) * 2019-07-02 2019-10-11 北京百度网讯科技有限公司 Information recommendation method, device, equipment and computer readable storage medium
CN111597445A (en) * 2020-05-14 2020-08-28 北京百度网讯科技有限公司 Information recommendation method and device
JP2021106032A (en) * 2020-05-14 2021-07-26 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッドBeijing Baidu Netcom Science Technology Co., Ltd. Information recommendation method and device
CN111784238A (en) * 2020-06-11 2020-10-16 上海东普信息科技有限公司 Electronic fence order dividing method and device, terminal equipment and storage medium
CN112435311A (en) * 2020-12-11 2021-03-02 上海中通吉网络技术有限公司 Method and device for generating electronic geo-fence
CN114461692A (en) * 2022-02-10 2022-05-10 吉旗(成都)科技有限公司 Electronic fence recommendation method and device, electronic equipment and storage medium
CN115273372A (en) * 2022-05-11 2022-11-01 宜通世纪科技股份有限公司 Park equipment alarm method, system, device and storage medium

Similar Documents

Publication Publication Date Title
EP3525410A1 (en) Account login method, apparatus, and server
CN108920135B (en) User-defined service generation method and device, computer equipment and storage medium
CN107302597B (en) Message file pushing method and device
US10873900B2 (en) Method for wireless fidelity connection and related products
CN107172209B (en) Information pushing method and device
CN110515968B (en) Method and apparatus for outputting information
US10062055B2 (en) Locating previously communicated electronic messages
CN110677810B (en) Method and apparatus for generating geo-fences
CN110619085B (en) Information processing method and device
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
US20180091942A1 (en) Anonymizing location data
CN111225018A (en) Request message processing method and device and electronic equipment
CN109684022A (en) Word input processing method, device and electronic equipment
CN112435311A (en) Method and device for generating electronic geo-fence
CN109814915B (en) Parameter configuration method, device, medium and electronic equipment based on lua
CN114519061A (en) Map data updating method, device, electronic equipment and medium
CN108241515B (en) Application shortcut establishing method and terminal
CN106549860B (en) Information acquisition method and device
CN111260445A (en) House resource information display method, device, terminal and storage medium
CN109542743B (en) Log checking method and device, electronic equipment and computer readable storage medium
CN109257797B (en) Method and apparatus for identifying wireless access points
CN115456704A (en) Service recommendation method and device based on electronic geo-fencing and storage medium
CN110620808A (en) Method and device for pushing information
CN114827060B (en) Interaction method and device and electronic equipment
CN114493799A (en) Method and system for managing special vehicle order data in warehouse and table dividing manner

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20221209

RJ01 Rejection of invention patent application after publication