CN115695542A - Target information determination method and device, electronic equipment and storage medium - Google Patents
Target information determination method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115695542A CN115695542A CN202211328190.0A CN202211328190A CN115695542A CN 115695542 A CN115695542 A CN 115695542A CN 202211328190 A CN202211328190 A CN 202211328190A CN 115695542 A CN115695542 A CN 115695542A
- Authority
- CN
- China
- Prior art keywords
- information
- position information
- target
- user
- determining
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000000694 effects Effects 0.000 claims abstract description 67
- 230000000875 corresponding effect Effects 0.000 claims abstract description 44
- 238000004590 computer program Methods 0.000 claims description 18
- 238000004422 calculation algorithm Methods 0.000 claims description 17
- 238000012216 screening Methods 0.000 claims description 4
- 230000011218 segmentation Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000005192 partition Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a target information determining method, a target information determining device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring user position information of a target user; determining the network node position information of at least one target service network node from the cache service according to the user position information and the preset area range; and determining a display sequence corresponding to each target service network point based on the user position information and the network point position information, and displaying each target service network point and corresponding activity information according to the display sequence. Based on the technical scheme, the position information of the target service network point is determined according to the position information of the user, and then the target information needing to be displayed is determined, so that the accuracy of information pushing is improved, the time for the user to search the information is saved, and the effect of improving the user experience is achieved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for determining target information, an electronic device, and a storage medium.
Background
With the rapid development of computer technologies, in order to broaden the market, each service provider often sends corresponding push information to a user, so that the user can obtain activity information of the service provider according to the push information.
However, the existing propaganda method usually depends on the way of placing advertisement posters in off-line stores or releasing massive popularization information, etc., so as to achieve the purpose of widening the market, not only a large amount of manpower and physics need to be invested, but also the accuracy of information pushing cannot be guaranteed.
Disclosure of Invention
The invention provides a target information determining method and device, electronic equipment and a storage medium, which are used for determining target information to be displayed according to user position information and displaying the target information to a user, so that the information pushing precision is improved, and the user can find required information more accurately.
In a first aspect, the present invention provides a method for determining target information, including:
acquiring user position information of a target user;
determining the site location information of at least one target service site from a cache according to the user location information and a preset area range;
and determining a display sequence corresponding to each target service network point based on the user position information and the network point position information, and displaying each target service network point and corresponding activity information according to the display sequence.
In a second aspect, an embodiment of the present invention further provides an apparatus for determining target information, where the apparatus includes:
the user position information acquisition module is used for acquiring the user position information of the target user;
the network node position information acquisition module is used for determining network node position information of at least one target service network node from a cache according to the user position information and a preset region range;
and the target information determining module is used for determining a display sequence corresponding to each target service network point based on the user position information and the network point position information, and displaying each target service network point and corresponding activity information according to the display sequence.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to implement the target information determination method according to any of the embodiments of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the target information determination method according to any one of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, the network node position information of at least one target service network node is determined from the cache by acquiring the user position information of the target user and according to the user position information and the preset area range, so that the display sequence corresponding to each target service network node is determined based on the user position information and the network node position information, and each target service network node and the corresponding activity information are displayed according to the display sequence. Based on the technical scheme, the position information of the target service network point is determined according to the position information of the user, and then the target information to be displayed is determined, so that the accuracy of information pushing is improved, the time for the user to search the information is saved, and the effect of improving the user experience is achieved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a target information determination method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an execution principle of a GeoHash according to an embodiment of the present invention;
fig. 3 is a flowchart of a target information determining method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a target information determining method according to an embodiment of the present invention:
fig. 5 is a block diagram of a target information determination apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It is understood that before the technical solutions disclosed in the embodiments of the present invention are used, the type, the use range, the use scene, etc. of the personal information related to the present invention should be informed to the user and authorized by the user in a proper manner according to the relevant laws and regulations.
For example, in response to receiving a user's active request, prompt information is sent to the user to explicitly prompt the user that the requested operation to be performed would require acquisition and use of personal information to the user. Therefore, the user can select whether to provide personal information to the software or hardware such as electronic equipment, application program, server or storage medium for executing the operation of the technical scheme of the invention according to the prompt information.
As an alternative but non-limiting implementation manner, in response to receiving an active request from the user, the manner of sending the prompt information to the user may be, for example, a pop-up window manner, and the prompt information may be presented in a text manner in the pop-up window. In addition, a selection control for providing personal information to the electronic device by the user's selection of "agreeing" or "disagreeing" can be carried in the pop-up window.
It is understood that the above notification and user authorization process is only illustrative and not limiting, and other ways of satisfying relevant laws and regulations may be applied to the implementation of the present disclosure.
It will be appreciated that the data involved in the subject technology, including but not limited to the data itself, the acquisition or use of the data, should comply with the requirements of the corresponding laws and regulations and related regulations.
Example one
Fig. 1 is a schematic flowchart of a target information determining method according to an embodiment of the present invention, where the present embodiment is applicable to determining position information of a target service node according to user position information, and further determining a situation of target information to be displayed.
As shown in fig. 1, the method includes:
and S110, acquiring user position information of the target user.
Wherein the target user may be a user who is using the current application. The user location information may be understood as the location information where the user is currently located.
Specifically, the user position information sent by the target user may be obtained by prompting the user that the user needs to obtain the current user position information when the user triggers an information display function in the current application program, and sending the obtained position information to the server after the user agrees to obtain the position information, so that the server determines the target information to be displayed based on the user position information, or may be obtained by obtaining the user position information of the current user after the current target user triggers the application program, and sending the user position information to the server.
On the basis of the above technical solution, before the obtaining of the user location information of the target user, the method further includes: acquiring network point position information of each service network point, converting the network point position information into network point position coding information by adopting a Geohash algorithm, and storing the network point position coding information into a cache service; the method comprises the steps of obtaining network activity information provided by each service network node and storing the network activity information into an activity database.
The service network point may be understood as a merchant providing service to a target user, for example, a network point providing after-sales service for a user, a network point providing service for a user business, and the like. The network node position information can be the position information of each service network node, and the network node position information is longitude and latitude coordinate information of the service network node. The mesh point coding information can be understood as binary coding information obtained by processing mesh point position information by adopting a Geohash algorithm. The Geohash algorithm is an address coding method, and can code two-dimensional space longitude and latitude data into a character string. The cache service can be understood as a Redis service, a Redis (Remote Dictionary Server) Remote Dictionary service, and is an open-source log-type high-performance Key-Value database which is written in C language and can be also persisted based on memory. The website activity information may be information related to the current website providing activity. The activity database may be a database used to store the site activity information for each site.
Specifically, the method includes the steps of acquiring network point position information of each service network point, processing the position information of each network point by adopting a Geohash algorithm to obtain network point coding information corresponding to each service network point, storing the network point coding information into a cache service, acquiring network point activity information provided by each network point, and storing the network point activity information into an activity database so as to determine activity data needing to be displayed from the activity database subsequently.
On the basis of the above technical solution, the acquiring network point location information of each service network point, and converting the network point location information into network point location code information by using a Geohash algorithm, includes: dividing an original region into at least four regions to be coded, and coding the regions to be coded according to the relative position information of the regions to be coded to obtain coded regions; when detecting that at least two service network points exist in the current coded region, segmenting the current coded region again, and coding the region obtained by segmentation; when detecting that only the current service network point exists in the current coded area, the coding information of the current coded area is used as the network point position coding information of the current service network point.
The original area can be understood as a preset area range. The region to be encoded may be a region that has not been encoded. The relative position information can be understood as the relative position between the regions to be encoded. The encoded region may be a region for which encoding has been completed.
Specifically, an original region is divided in the horizontal direction and the vertical direction to obtain four regions to be coded, the regions to be coded are coded according to relative position information between the regions to be coded to obtain coded regions which are coded, service nodes in the current coded regions are detected, if at least two service nodes exist in the current coded regions, the coded information of the current coded regions cannot accurately represent the position information of the service nodes, the current coded regions are divided again, the regions obtained through division are coded, if only the current service nodes exist in the current coded regions, the coded values of the current coded regions can represent the position information of the current service nodes, and then the coded information of the current coded regions is used as the position coded information of the current service nodes. It should be noted that, the execution principle of the GeoHash algorithm is shown in fig. 2, the original region can be divided into four regions of [ (0, 0), (180, 0), (0, 90), (180, 90) ], [ (0, 0), (-180, 0), (0, 90), (-180, 90) ], [ (0, 0), (-180, 0), (0, -90), (-180, -90) ], [ (0, 0), (180, 0), (0, -90), (-180, 90) ] according to the longitude and latitude directions, and the points of the four regions in the figure can be encoded according to the regions. The specific coding mode is that the horizontal direction (longitude) is firstly followed by the vertical direction (latitude), and taking the horizontal direction (longitude) as an example, the horizontal direction (longitude) is divided into two parts by a vertical central axis, so that the code on the right side is 1, and the code on the left side is 0; similarly, in the vertical direction, the code measured upwards is 1, and the code measured downwards is 0; according to this rule, the point in the upper right region is coded as 11 after the first division (e.g. the first two bits after coding a and E in the above figure), the point in the upper left region is coded as 01 after the first division, and similarly, the coding of C after the first division is 00 and the coding of d is 10. The above process is then repeated for the four regions after the first division, taking the upper right region after the first division as an example, the region may be continuously divided into four small regions, the encoding method is the same as the first time, and encoding is performed according to the orientations of the four small regions in the direct large region where the four small regions are located, that is, two small regions on the right side of the four small regions are horizontally encoded to be 1 (longitude), two small regions on the left side are horizontally encoded to be 0 (longitude), two small regions on the top side are vertically encoded to be 1, and two small regions on the bottom side are vertically encoded to be 0. Therefore, the encoding of the A second partition is 11, and the encoding of the E second partition is 00. Then after two partitions, a is coded as 1111 and E is coded as 1100 (i.e. each sub-code is spliced according to the partition order, e.g. a is 11 for the first time and 11 for the second time, so a is coded as 1111 after two partitions, and similarly E is 1100). By continuing to divide the entire region according to the above principle, a more accurate encoded value given a certain point can be obtained.
And S120, determining the network node position information of at least one target service network node from the caching service according to the user position information and the preset area range.
The preset area range may be a preset area range threshold. The target service network point can be understood as a service network point which is determined according to the user position information and the preset area range and meets the preset condition.
Specifically, the network node position information of at least one target service network node is determined from the cache service based on the user position information and the preset area range, and the network node position information of all service network nodes in the preset area range around the user position information can be obtained by taking the user position information as a circle center, and is taken as the network node position information of the target service network node.
On the basis of the above technical solution, the determining, from the cache, the network point location information of at least one target service network point according to the user location information and a preset area range includes: determining a target area according to the user position information and the preset area range; and determining at least one target service network node based on the user position information, the target area and network node position data stored in the cache service, and acquiring network node position information of each target service network node.
Wherein the target area may be an area determined based on the user location information and a preset area range. The cache service is used for storing the position information of the service network point.
Specifically, a target area is determined according to the position information of the user and a preset area range, all service network points in the target area are obtained and used as target service network points, and network point position information matched with the target service network points is obtained from the caching service. For example, the position information of the target area may be matched with the position information of the service network node stored in the cache service, all the service network nodes in the target area are determined and taken as the target service network node, and the network node position information of the target service network node is obtained.
On the basis of the above technical solution, the determining at least one target service node based on the user location information, the target area, and the node location data stored in the cache service includes: converting the user position information into user position coding information by adopting a Geohash algorithm; and matching the user coding information with site location data stored in a cache service, determining at least one service site, screening the at least one service site by adopting the target area, and determining at least one target service site.
The user position code information may be a binary code value obtained by processing the user position information by using a Geohash algorithm.
Specifically, after the user position information is obtained, the user position information is processed by adopting a Geohash algorithm to obtain user position code information, at least one service network point is determined by matching in network point position data stored in a cache service based on the user position code information, and then at least one service network point is screened based on a target area to obtain a target service network point. According to the technical scheme provided by the embodiment of the invention, the position information of the service network point is obtained by matching based on the user position code information, and then the target service network point is obtained by screening based on the target area, so that the accuracy of determining the target service network point is ensured, and the determination efficiency of the target service network point is improved.
S130, determining a display sequence corresponding to each target service network point based on the user position information and the network point position information, and displaying each target service network point and corresponding activity information according to the display sequence.
The display sequence may be an information display sequence of each target service network point. The activity information can be understood as activity information provided by each target service network point.
Specifically, the display sequence of each target service network point is determined according to the user position information and the network point position information of the target service network points, and each target service network point and the activity information corresponding to each target service network point are displayed based on the display sequence.
On the basis of the technical scheme, before determining a display sequence corresponding to each target service network based on the user position information and the network position information and displaying each target service network and corresponding activity information according to the display sequence, the method comprises the following steps: acquiring network point identification information corresponding to each target service network point; and inquiring the website activity information matched with the website identification information from an activity database according to the website identification information.
The network node identification information may be unique number information of the service network node. The activity database is used for storing the network activity information of the service network.
Specifically, after the target service node is determined, node identification information of the target service node is extracted, and then node activity information matching the node identification information is queried from an activity database based on the node identification information, for example, matching is performed from the activity database based on the node identification information, and when activity data matching the node identification information is queried, it is determined that current activity data is node activity information matching the node identification information. According to the technical scheme provided by the embodiment of the invention, the website activity information matched with the website identification information is inquired from the activity database based on the website identification information, so that the accuracy of the website activity information is ensured, and the efficiency of acquiring the website activity information is improved.
On the basis of the above technical solution, the determining a display sequence corresponding to each target service node based on the user location information and the node location information includes: determining distance information between the target user and each target service network point according to the user position information and the network point position information; and determining the display sequence of each target service network point based on the distance information so as to display the network point activity information corresponding to each target service network point based on the display sequence.
Wherein, the distance information can be the distance between the target user and the target service network point.
Specifically, according to the user position information and the network point position information of the target service network point, the distance information between the target user and each target service network point is determined, and then the display sequence of each target service network point is determined based on the distance information between the target user and each target service network point, and then the network point activity information corresponding to each target service network point is displayed based on the display sequence. For example, after the distance information between the target user and each target service network point is determined, the distance information between the target user and each target service network point is sorted in the order from small to large, and the network point with the smallest distance information between the target user and the target service network point is firstly displayed to the target user, so that the target user can quickly know the activity information provided by the service network point closest to the target user.
According to the technical scheme of the embodiment of the invention, the network node position information of at least one target service network node is determined from the cache by acquiring the user position information of the target user and according to the user position information and the preset area range, so that the display sequence corresponding to each target service network node is determined based on the user position information and the network node position information, and each target service network node and the corresponding activity information are displayed according to the display sequence. Based on the technical scheme, the position information of the target service network point is determined according to the position information of the user, and then the target information to be displayed is determined, so that the accuracy of information pushing is improved, the time for the user to search the information is saved, and the effect of improving the user experience is achieved.
Example two
Fig. 3 is a flowchart of a target information determining method according to an embodiment of the present invention. On the basis of the above embodiments, the present embodiment further optimizes the target information determination method. The specific implementation manner can be referred to the technical scheme of the embodiment. The technical terms that are the same as or corresponding to the above embodiments are not repeated herein.
As shown in fig. 3, the method of this embodiment specifically includes:
and (3) network information release: specifically, the service personnel of the relevant service network can issue the activity information on the service network activity operation management platform, and the information that the service personnel need to upload includes service network identification information, service network position information, service network activity information and the like.
And (3) dot position information input: specifically, the service network management platform records the position information of the service network into Redis for storage.
And (3) website activity information input: specifically, the service network management platform records the activity information of the service network into the activity database.
Acquiring the position information of a target user: specifically, when the target user starts the application program or the application program runs in the background, the application program collects the position information of the target user regularly and sends a corresponding activity pushing request.
Determining a target service network point: specifically, a service network point matched with the position information of the target user is obtained through calling the position storage of the Redis network point and the geohash algorithm, and is used as a target service network point, and the network point position information of the target service network point is obtained. The method comprises the steps of recording position information of service network points into Redis by utilizing support of Redis on GeoHash, converting the position information of the service network points into service network point coding information, completing the conversion step in a memory of a Redis server, utilizing characteristics of Redis high-performance memory calculation and storage, converting user position information into user position coding information after obtaining the user position information of a target user, traversing and comparing the user position coding information with the service network point position coding information stored in the Redis, further locking network point coordinates close to a client, utilizing distance determination service of Redis to calculate a series of network point coordinates closest to a preset area range and corresponding specific distance values according to the user position information and the position information of the target service network points, and determining a display sequence of the target service network points based on distance data.
And inquiring the activity information of the service network: specifically, according to the service network point identification information of the target service network point, activity information matched with the service network point identification information of the target service network point is inquired in an activity database and is sent to the application program.
It should be noted that, as shown in fig. 4, in the technical solution provided in the embodiment of the present invention, the client location information is sensed by collecting longitude and latitude coordinates of the client mobile phone device, a GeoHash algorithm is executed by Redis to realize fast selection of a website location of a marketing campaign close to the client, and marketing campaign information is automatically sent to the client mobile phone by pushing an APP message of a mobile banking, so as to meet a requirement of accurate pushing of a marketing campaign based on a geographic location. The current application may be understood as a cell phone application that may provide online services. The service network management platform can be a system for publishing the activity information of the service network, and the Redis network location service is a high-performance storage system for recording the network location information of the service network.
According to the technical scheme of the embodiment of the invention, the network node position information of at least one target service network node is determined from the cache by acquiring the user position information of a target user and according to the user position information and the preset area range, the display sequence corresponding to each target service network node is further determined based on the user position information and the network node position information, and each target service network node and the corresponding activity information are displayed according to the display sequence. Based on the technical scheme, the position information of the target service network point is determined according to the position information of the user, the target information needing to be displayed is further determined, the accuracy of information pushing is improved, the time for the user to search the information is saved, the effect of improving the user experience is further achieved, the marketing activity information is used for finding the client instead of marketing personnel to actively release the propaganda information, and the investment on manpower is reduced.
EXAMPLE III
Fig. 5 is a block diagram of a target information determination apparatus according to an embodiment of the present invention. The device includes: a user location information acquisition module 510, a website location information acquisition module 520, and a target information determination module 530.
A user location information obtaining module 510, configured to obtain user location information of a target user;
a network node position information obtaining module 520, configured to determine network node position information of at least one target service network node from a cache according to the user position information and a preset area range;
a target information determining module 530, configured to determine, based on the user location information and the website location information, a display order corresponding to each target service website, and display each target service website and corresponding activity information according to the display order.
On the basis of the above technical solution, the transposing further includes a service node information entry module:
the service network node information input module is used for acquiring network node position information of each service network node, converting the network node position information into network node position coding information by adopting a Geohash algorithm, and storing the network node position coding information into a cache service; the network node position information is longitude and latitude coordinate information of a service network node; and acquiring the activity information of the network points provided by each service network point, and storing the activity information of the network points into an activity database.
On the basis of the technical scheme, the service network point information input module is further configured to divide an original region into at least four regions to be coded, and code the regions to be coded according to the relative position information of the regions to be coded to obtain coded regions; when detecting that at least two service network points exist in the current coded region, segmenting the current coded region again, and coding the region obtained by segmentation; and when detecting that only the current service network point exists in the current coded area, taking the coding information of the current coded area as the network point position coding information of the current service network point.
On the basis of the technical scheme, the network point position information acquisition module is used for determining a target area according to the user position information and the preset area range; determining at least one target service network node based on the user position information, the target area and network node position information stored in the cache service, and acquiring network node position information of each target service network node; the cache service is used for storing the position information of the service network point.
On the basis of the technical scheme, the network point position information acquisition module is used for converting the user position information into user position coding information by adopting a Geohash algorithm; and matching the user coding information with the network point position information stored in the cache service to determine at least one service network point, and screening the at least one service network point by adopting the target area to determine at least one target service network point.
On the basis of the technical scheme, the target information determining module comprises an activity information query unit:
the activity information inquiry unit is used for acquiring the network node identification information corresponding to each target service network node; inquiring network node activity information matched with the network node identification information from an activity database according to the network node identification information; the activity database is used for storing the website activity information of the service website.
On the basis of the technical scheme, the target information determining module is used for determining distance information between the target user and each target service network point according to the user position information and the network point position information; and determining the display sequence of each target service network point based on the distance information so as to display the network point activity information corresponding to each target service network point based on the display sequence.
According to the technical scheme of the embodiment of the invention, the network node position information of at least one target service network node is determined from the cache by acquiring the user position information of the target user and according to the user position information and the preset area range, so that the display sequence corresponding to each target service network node is determined based on the user position information and the network node position information, and each target service network node and the corresponding activity information are displayed according to the display sequence. Based on the technical scheme, the position information of the target service network point is determined according to the position information of the user, and then the target information needing to be displayed is determined, so that the accuracy of information pushing is improved, the time for the user to search the information is saved, and the effect of improving the user experience is achieved.
The target information determining device provided by the embodiment of the invention can execute the target information determining method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the executing method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are also only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the embodiments of the present disclosure.
Example four
FIG. 6 illustrates a block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
In some embodiments, the target information determination method may be implemented as a computer program that is tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the object information determining method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the target information determination method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, 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), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for determining target information, comprising:
acquiring user position information of a target user;
determining the site position information of at least one target service site from the caching service according to the user position information and a preset area range;
and determining a display sequence corresponding to each target service network point based on the user position information and the network point position information, and displaying each target service network point and corresponding activity information according to the display sequence.
2. The method according to claim 1, further comprising, before said obtaining user location information of the target user:
acquiring network point position information of each service network point, converting the network point position information into network point position coding information by adopting a Geohash algorithm, and storing the network point position coding information into a cache service; the network node position information is longitude and latitude coordinate information of a service network node;
the method comprises the steps of obtaining network activity information provided by each service network node and storing the network activity information into an activity database.
3. The method according to claim 2, wherein said obtaining the mesh point position information of each service mesh point, and using a Geohash algorithm to convert the mesh point position information into mesh point position coding information comprises:
dividing an original region into at least four regions to be coded, and coding the regions to be coded according to the relative position information of the regions to be coded to obtain coded regions;
when detecting that at least two service network points exist in the current coded region, segmenting the current coded region again, and coding the region obtained by segmentation;
when detecting that only the current service network point exists in the current coded area, the coding information of the current coded area is used as the network point position coding information of the current service network point.
4. The method according to claim 1, wherein said determining, from a cache, site location information of at least one target service site according to said user location information and a preset area range comprises:
determining a target area according to the user position information and the preset area range;
determining at least one target service network node based on the user position information, the target area and network node position information stored in the cache service, and acquiring network node position information of each target service network node; the cache service is used for storing the position information of the service network point.
5. The method of claim 4, wherein determining at least one target service node based on the user location information, the target area, and network location data stored in a cache service comprises:
converting the user position information into user position coding information by adopting a Geohash algorithm;
and matching the user coding information with site position information stored in a cache service, determining at least one service site, screening the at least one service site by adopting the target area, and determining at least one target service site.
6. The method of claim 1, wherein before said determining a display order corresponding to each of the target service sites based on the user location information and the site location information, and displaying the target service sites and corresponding activity information according to the display order, the method comprises:
acquiring network point identification information corresponding to each target service network point;
inquiring website activity information matched with the website identification information from an activity database according to the website identification information; the activity database is used for storing the website activity information of the service website.
7. The method of claim 1, wherein said determining a presentation order corresponding to each target service site based on said user location information and said site location information comprises:
determining distance information between the target user and each target service network point according to the user position information and the network point position information;
and determining the display sequence of each target service network point based on the distance information so as to display the network point activity information corresponding to each target service network point based on the display sequence.
8. An object information determination apparatus characterized by comprising:
the user position information acquisition module is used for acquiring the user position information of the target user;
the network node position information acquisition module is used for determining network node position information of at least one target service network node from cache services according to the user position information and a preset area range;
and the target information determining module is used for determining a display sequence corresponding to each target service network point based on the user position information and the network point position information, and displaying each target service network point and corresponding activity information according to the display sequence.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of determining target information of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer instructions for causing a processor, when executed, to implement the method of determining objective information of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211328190.0A CN115695542A (en) | 2022-10-27 | 2022-10-27 | Target information determination method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211328190.0A CN115695542A (en) | 2022-10-27 | 2022-10-27 | Target information determination method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115695542A true CN115695542A (en) | 2023-02-03 |
Family
ID=85098960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211328190.0A Pending CN115695542A (en) | 2022-10-27 | 2022-10-27 | Target information determination method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115695542A (en) |
-
2022
- 2022-10-27 CN CN202211328190.0A patent/CN115695542A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113205037B (en) | Event detection method, event detection device, electronic equipment and readable storage medium | |
CN114090601B (en) | Data screening method, device, equipment and storage medium | |
CN114519061A (en) | Map data updating method, device, electronic equipment and medium | |
CN112860993A (en) | Method, device, equipment, storage medium and program product for classifying points of interest | |
CN114417118A (en) | Abnormal data processing method, device, equipment and storage medium | |
CN117474091A (en) | Knowledge graph construction method, device, equipment and storage medium | |
CN112783887B (en) | Data processing method and device based on data warehouse | |
CN113220705B (en) | Method and device for recognizing slow query | |
CN113610008B (en) | Method, device, equipment and storage medium for acquiring state of slag car | |
CN113139258B (en) | Road data processing method, device, equipment and storage medium | |
CN115695542A (en) | Target information determination method and device, electronic equipment and storage medium | |
CN114862479A (en) | Information pushing method and device, electronic equipment and medium | |
CN114036414A (en) | Method and device for processing interest points, electronic equipment, medium and program product | |
CN113360590A (en) | Method and device for updating point of interest information, electronic equipment and storage medium | |
CN110648208B (en) | Group identification method and device and electronic equipment | |
CN114329205A (en) | Method and device for pushing information | |
CN115712783A (en) | Map-based enterprise information query method, apparatus, device and medium | |
CN114443959A (en) | Interest point recommendation method and device, electronic equipment and readable storage medium | |
CN114064830A (en) | Navigation data automatic production method, system, electronic equipment and storage medium | |
CN117350811A (en) | Order processing method, order processing device, electronic equipment and storage medium | |
CN115238183A (en) | Time information determination method and device, storage medium, electronic equipment and product | |
CN115878620A (en) | Data processing method and device, electronic equipment, storage medium and product | |
CN113962382A (en) | Training sample construction method and device, electronic equipment and readable storage medium | |
CN116662788A (en) | Vehicle track processing method, device, equipment and storage medium | |
CN117609625A (en) | Data processing method, device, electronic equipment and storage medium |
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 |