Beidou positioning advertisement terminal and location service system

By collecting and processing terminal location data through the BeiDou positioning unit, and combining it with advertising matching and location service modules, the problems of inaccurate terminal positioning and service at the intersection of multiple regions have been solved, achieving more accurate advertising delivery and optimized location services.

CN122367560APending Publication Date: 2026-07-10
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610632576.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Filing Date
2026-05-09
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

The location data of existing advertising terminals is affected by positioning accuracy, number of satellites and data gaps, resulting in inaccurate judgment of the delivery area and difficulty in providing accurate location services at the intersection of multiple service areas, lacking data closed-loop optimization.

Method used

The system uses BeiDou positioning units to collect positioning data. By judging the completeness, accuracy and number of satellites, it generates terminal location data. Combined with the advertising matching module and the location service module, it constructs a data management closed loop to optimize advertising playback and location services.

Benefits of technology

It improves the adaptability of advertising content to terminal scenarios, accurately distinguishes the service needs of border areas, forms a closed loop of system optimization, and enhances the management effect of advertising placement and location services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122367560A_ABST
    Figure CN122367560A_ABST
Patent Text Reader

Abstract

The application discloses a Beidou positioning advertisement terminal and a position service system, relates to the technical field of Beidou positioning advertisement terminals and position services, and aims to solve the problem that advertisement terminal content and position service results are difficult to accurately match with terminal positions, user request areas and running states. The system comprises a terminal positioning module, an advertisement matching module, a position service module and a data management module. The terminal positioning module checks the integrity, positioning accuracy, satellite quantity and position change of Beidou positioning data of an advertisement terminal, and generates terminal position data; the advertisement matching module determines advertisement content according to terminal positions, a release area, a release time and terminal conditions; the position service module generates a position service result in combination with associated terminals, user positions, candidate service areas and advertisement directions; and the data management module updates relevant rules by counting advertisement playing, position service and terminal running data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Beidou positioning advertising terminals and location service technology, and more specifically, to a Beidou positioning advertising terminal and location service system. Background Technology

[0002] With the development of outdoor advertising terminals, commercial display devices, and mobile internet services, advertising terminals are no longer limited to simply playing fixed advertising content. They are increasingly integrating with functions such as location, communication, and service recommendations to display relevant advertisements or provide location services such as surrounding information, route guidance, and regional messages to users based on the terminal's location. Existing advertising terminals can typically play content according to preset areas, fixed times, or manually configured rules, and can also provide certain location services through user terminal access points.

[0003] However, existing methods still have shortcomings in practical use: On the one hand, the location data of advertising terminals may be affected by positioning accuracy, the number of satellites, data gaps, or normal positioning fluctuations. If used directly for ad matching, it can easily lead to inaccurate judgment of the target area. On the other hand, when an advertising terminal is located at the intersection of multiple service areas, determining the service range solely based on the terminal's location or the user's location can easily result in inconsistencies between the location service results and the user's actual needs, the content displayed in the advertisement, or the direction of travel within the area. Furthermore, the lack of a unified data loop between ad playback results, location service invocation status, and terminal operating status makes it difficult to adjust advertising rules and service configurations in a timely manner.

[0004] To address the above problems, this invention proposes a solution. Summary of the Invention

[0005] In order to overcome the above-mentioned defects of the prior art, embodiments of the present invention provide a Beidou positioning advertising terminal and location service system to solve the problems mentioned in the background art.

[0006] To achieve the above objectives, the present invention provides the following technical solution: In a preferred embodiment, it includes: a terminal positioning module, an advertisement matching module, a location service module, a data management module, and signal connections between the modules; The terminal positioning module is used to collect the original positioning data of the advertising terminal, generate terminal location data based on the validity judgment result of the original positioning data, and upload and write the terminal location data into the terminal location data table. The ad matching module is used to filter candidate ad content based on the terminal location data and ad delivery rule data, generate ad playback sequence and ad delivery data packet, and generate ad playback feedback data based on the playback results of the ad delivery terminal. The location service module is used to determine the service reference area and service reference location based on the location service request, terminal location data, user terminal location data, advertising area pointing data, area configuration data, area request status data and area time period status data, and generate location service results based on the service reference area and the service reference location. The data management module is used to establish data correspondence based on terminal location data, ad playback feedback data, location service records, and terminal operation data, and to update service content configuration, ad delivery rule data, and the participation status of ad delivery terminals.

[0007] In a preferred embodiment, a BeiDou positioning unit, a terminal control unit, and a communication unit are installed in the advertising terminal. The BeiDou positioning unit collects raw positioning data including longitude, latitude, positioning time, positioning accuracy, and number of satellites.

[0008] In a preferred embodiment, the terminal control unit establishes rules for judging the integrity of the original positioning data, rules for comparing positioning accuracy thresholds, rules for comparing satellite number thresholds, and rules for comparing location change distances. Based on the judgment results, the original positioning data is re-acquired, valid data is confirmed, historical locations are reused, or current locations are replaced. Terminal location data, including terminal identifier, longitude, latitude, positioning time, and positioning status, is constructed and uploaded to the platform server through the communication unit. The platform server then writes the terminal identifier, longitude, latitude, positioning time, and positioning status into the terminal location data table.

[0009] In a preferred embodiment, an advertising rule unit, an advertising filtering unit, a playback control unit, and an advertising delivery unit are set up between the platform server and the advertising delivery terminal. An advertising delivery rule data table is established, and advertising identifiers, advertising content addresses, delivery areas, delivery times, delivery terminal types, advertising priorities, and advertising validity status are configured. The advertising filtering unit reads the terminal location data and, based on the location status, latitude and longitude, location time, and terminal basic data, sequentially performs regional conditions, time conditions, terminal type, and screen specification conditions to filter candidate advertising content.

[0010] In a preferred embodiment, the playback control unit constructs an advertisement playback sequence based on the advertisement priority and historical playback records in the advertisement playback data table, and generates playback control information for each advertisement, including playback start conditions, playback duration conditions, playback end conditions, and cache verification information. Subsequently, the advertisement delivery unit generates an advertisement delivery data packet containing the terminal identifier, advertisement identifier, advertisement content address, advertisement playback sequence, and playback control information. The advertisement delivery terminal generates advertisement playback feedback data containing the terminal identifier, advertisement identifier, playback start time, playback end time, playback result, and terminal location data identifier based on the terminal identifier consistency judgment, cache verification, advertisement file download verification, and playback status record, and writes it into the advertisement playback data table.

[0011] In a preferred embodiment, a service request receiving unit, a service area determination unit, a service content filtering unit, and a service result sending unit are set up in the platform server to establish a comprehensive analysis link between location service requests, terminal location data, user terminal location data, advertising area pointing data, area configuration data, area request status data, and area time period status data. When an advertising terminal is located at the intersection of two or more service areas, and relying solely on the latitude and longitude of the advertising terminal, the latitude and longitude of the user terminal, or a fixed service range is insufficient to determine the actual area to which the request belongs, a candidate service area corresponding to the advertising terminal is first constructed based on the latitude and longitude of the advertising terminal and the area boundary, area type, area travel direction, area service type, area adjacency relationship, and boundary judgment conditions in the area configuration data table. Then, based on the associated terminal identifier, request time, service type, and request source in the location service request, service type matching and request association processing are performed on the candidate service areas.

[0012] In a preferred embodiment, the user terminal's longitude, latitude, and positioning time are read to construct the user's current location or nearby areas. A spatial association between the user's location and the terminal's installation area is established by combining the adjacency relationships between candidate service areas. Simultaneously, an advertising playback data table is queried based on the associated terminal identifier and request time to read the advertising area pointing data corresponding to the currently playing or recently played advertisement, constructing an advertising pointing area. The advertising content pointing area and the pointing service type are matched with the service type in the location service request. Furthermore, user movement trend data (entry trend, departure trend, or dwell trend) is generated based on the current user terminal location data and historical user terminal location data. This data is then used to determine the number of location service requests within a preset statistical time period. The system constructs regional request status data based on service type and result sending status, and constructs regional time period status data based on regional identifier, time period identifier, main service type, and main travel direction. The service area determination unit converges candidate service areas sequentially according to regional availability, request relevance, advertising targeting, user movement trend, and regional time period status. Candidate areas that are unavailable or do not support the current service type are first deleted. Then, corresponding regional combinations are retained based on different request sources such as scan identification code, advertising page service entry, or advertising delivery terminal forwarding. The retained areas are then directionally corrected based on entry trend, exit trend, or stay trend. The service benchmark area is determined by combining the main service type, main travel direction, advertising targeting area, concentrated request status, user location area, and advertising delivery terminal location area.

[0013] In a preferred embodiment, based on the relationship between the service reference area and the user's location, the target service area where the advertising terminal is located, and adjacent areas, the latitude and longitude of the user terminal, the latitude and longitude of the advertising terminal, or the area entrance location in the service reference area are selected as the service reference location. A service reference area determination result is generated, which includes associated terminal identifier, request time, service type, service reference area, service reference location, request source, advertising target area, user movement trend data, and area request status data. This result is used by the service content filtering unit to perform area filtering based on the service reference area and spatial calculation based on the service reference location. At the same time, when the service reference area of ​​multiple consecutive location service requests continuously shifts towards the same adjacent target service area, this change is written into the area request status data, and the area adjacency relationship or boundary judgment condition of the candidate service area corresponding to the advertising terminal is updated.

[0014] In a preferred embodiment, the service area determination unit constructs a surrounding query range, a path query range, or a regional message query range based on the service type. The service content filtering unit establishes matching rules for service content type, service validity time, service content location, applicable service area, and service validity status, and filters candidate service content from the service content data table. For surrounding information, the display order is arranged according to the distance between the service content location and the service reference location. For path guidance, the service reference location, target location, and road data are submitted to the path processing unit to generate path information including the path start point, path end point, passing roads, and path distance. For regional messages, the target service area, applicable service area, and service validity time are matched to determine the regional messages that can be sent. Subsequently, the service result sending unit constructs a location service result including the associated terminal identifier, service type, service content identifier, service content name, service content location, and service display content, and sends it to the user terminal or advertising terminal according to the sending target. Finally, the location service module organizes the location service request and location service result into a location service record including the associated terminal identifier, request time, service type, service reference location, service content identifier, and result sending status, and writes it into the location service data table.

[0015] In a preferred embodiment, a data receiving unit, a data storage unit, a data statistics unit, a rule update unit, and a terminal management unit are set up within the platform server. These units respectively receive terminal location data, advertising playback feedback data, location service records, and terminal operation data. The terminal location data table, advertising playback data table, location service table, and terminal operation data table are then linked through terminal identifiers or associated terminal identifiers. Specifically, the data management module reads the associated terminal identifier, request time, service type, service base location, service content identifier, and result sending status from the location service records to construct location service call statistics. This statistics are then combined with the service base location, target service area, and service... The system updates the service application area, service validity time, and service validity status in the service content configuration based on the number of times content is sent and the result sending status. At the same time, the data statistics unit also counts the number of times the advertisement content is played, the number of times it is completed, and the actual playback area in different target delivery areas based on the advertisement playback data table and the terminal location data table. The rule update unit then adjusts the advertisement priority, delivery time, or advertisement validity status. The terminal management unit marks communication abnormalities, playback abnormalities, storage abnormalities, power supply abnormalities, or location abnormalities based on the communication status, advertisement playback unit status, local storage status, power supply status, and location status, and restricts the advertisement delivery terminal from participating in advertisement matching or location services based on the type of abnormality.

[0016] The technical effects and advantages of the Beidou positioning advertising terminal and location service system of this invention are as follows: This invention assesses the integrity, accuracy, number of satellites, and positional changes of BeiDou positioning data to reduce the impact of invalid, abnormal, and statically repetitive location data on ad matching, making the location basis of ad delivery terminals more reliable. By combining the delivery area, delivery time, terminal type, screen size, ad priority, and playback history to determine the ad playback sequence, the adaptability of ad content to the actual terminal scenario can be improved. By comprehensively associating terminal, user location, request source, ad target area, user movement trend, and regional time period status in location service processing, the actual service demand in border areas can be more accurately distinguished. Through the data management module, ad playback, location service, and terminal operation status are statistically analyzed and updated, creating a continuous optimization loop that improves the overall management effectiveness of ad delivery, location service, and terminal operation and maintenance. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of the closed loop of data management and rule update of a Beidou positioning advertising terminal and location service system according to the present invention.

[0018] Figure 2 This is a schematic diagram illustrating the determination of the service reference area at the intersection of multiple service areas in a Beidou positioning advertising terminal and location service system according to the present invention. Detailed Implementation

[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] Examples, such as Figure 1 As shown, the present invention discloses a Beidou positioning advertising terminal and location service system, including: a terminal positioning module, an advertising matching module, a location service module, a data management module, and signal connections between the modules.

[0021] The terminal positioning module is installed inside the advertising delivery terminal to obtain the location of the advertising delivery terminal, and to verify the obtained location data to generate terminal location data that can be used for advertising matching and location services.

[0022] Specifically, the advertising delivery terminal includes a BeiDou positioning unit, a terminal control unit, a communication unit, and an advertising playback unit. The BeiDou positioning unit receives BeiDou satellite navigation signals and generates raw positioning data based on these signals. The raw positioning data includes at least longitude, latitude, positioning time, positioning accuracy, and the number of satellites. Longitude and latitude represent the spatial location of the advertising delivery terminal; positioning time represents the time the location data was generated; positioning accuracy represents the error range of the BeiDou positioning unit's output location; and the number of satellites represents the number of satellites involved in the positioning calculation when generating the location data.

[0023] After receiving the raw positioning data output by the BeiDou positioning unit, the terminal control unit first performs a completeness check on the raw positioning data. This check includes verifying the presence of longitude, latitude, positioning time, positioning accuracy, and the number of satellites. If any data is missing, the terminal control unit will not use that raw positioning data as valid location data and will control the BeiDou positioning unit to re-collect positioning data. This process prevents advertising terminals from performing ad matching or location service recommendations in the absence of crucial positioning information.

[0024] With the original positioning data complete, the terminal control unit continues to assess the validity of the positioning accuracy and the number of satellites. Positioning accuracy is output by the BeiDou positioning unit along with the original positioning data, representing the error range of the current location result. The number of satellites is generated by the BeiDou positioning unit based on the number of satellite signals currently participating in the positioning, reflecting the reliability of the current positioning data. The terminal control unit compares the positioning accuracy with a preset positioning accuracy threshold and the number of satellites with a preset satellite number threshold. The preset positioning accuracy threshold is stored in the local configuration table of the advertising terminal, used to limit the error range of locations eligible for advertising matching; the preset satellite number threshold is also stored in the local configuration table, used to limit the minimum number of satellites required to generate location data.

[0025] When the positioning accuracy is less than or equal to a preset positioning accuracy threshold, and the number of satellites is greater than or equal to a preset satellite number threshold, the terminal control unit determines the original positioning data as valid location data. When the positioning accuracy is greater than the preset positioning accuracy threshold, or the number of satellites is less than the preset satellite number threshold, the terminal control unit determines that the original positioning data does not meet the usage conditions and controls the BeiDou positioning unit to re-collect positioning data.

[0026] To prevent the advertising terminal from repeatedly uploading large amounts of identical location data while stationary, the terminal control unit can also determine location changes in the valid location data. The terminal control unit compares the longitude and latitude of the current valid location data with the longitude and latitude of the previously confirmed valid location data to obtain the location change distance. The previously confirmed valid location data is stored in the local cache of the advertising terminal and used as a comparison benchmark for the current location result. The location change distance is used to determine whether the advertising terminal has actually moved.

[0027] When the location change distance is less than a preset movement distance threshold, the terminal control unit retains the previously confirmed valid location data as the current terminal location data and updates the positioning time of that terminal location data. The preset movement distance threshold is stored in a local configuration table to distinguish between normal location fluctuations and actual movement of the advertising terminal. When the location change distance is greater than or equal to the preset movement distance threshold, the terminal control unit updates the current valid location data with the new terminal location data and replaces the previous valid location data in the local cache.

[0028] The aforementioned preset positioning accuracy threshold, preset satellite number threshold, preset movement distance threshold, location timeliness condition, boundary judgment condition, trend judgment condition, request quantity condition, transmission success rate condition, and preset statistical time period can all be configured according to the installation scenario of the advertising terminal, the regional boundary density of the target service area, the positioning accuracy of Beidou positioning data, the positioning error range of the user terminal, the service type of the location service request, and the changes in the flow of people in the area where the advertising terminal is located, and are stored in the local configuration table, regional configuration data table, or service statistics configuration table of the advertising terminal, respectively.

[0029] For example, in scenarios with densely populated boundaries, such as along outdoor roads, at transportation hub entrances or shopping mall entrances, the platform server can configure boundary judgment conditions to have smaller boundary distances to reduce the inclusion of irrelevant target service areas in the candidate service area. Conversely, in scenarios with larger positioning errors or wider area boundaries, the platform server can configure boundary judgment conditions to have larger boundary distances to avoid missing adjacent target service areas due to fluctuations in BeiDou positioning data. The preset statistical time period and request quantity conditions can be configured based on the frequency of location service requests from the advertising terminal. When location service requests are frequent, the preset statistical time period can be configured to a shorter time period; when location service requests are infrequent, the preset statistical time period can be configured to a longer time period.

[0030] Terminal location data includes terminal identifier, longitude, latitude, positioning time, and positioning status. The terminal identifier is generated during installation or account registration of the advertising terminal and stored locally to distinguish different advertising terminals. Longitude and latitude are derived from verified BeiDou positioning data to determine the area where the advertising terminal is located. Positioning time is derived from the positioning time output by the BeiDou positioning unit or the system time recorded by the terminal control unit when receiving the data, used to determine the age of the location data. Positioning status is generated by the terminal control unit based on integrity, positioning accuracy, satellite count, and location change assessments, indicating whether the terminal location data can be used for ad matching and location services.

[0031] After generating terminal location data, the terminal control unit provides this data to both the ad matching module and the location service module. The ad matching module determines the current advertising area of ​​the terminal based on the location data and selects the corresponding ad content. The location service module determines the service targets near the advertising terminal based on the location data and provides the user terminal with location service information related to the current location.

[0032] The communication unit is used to upload terminal location data to the platform server. After receiving the terminal location data, the platform server writes the terminal identifier, longitude, latitude, positioning time, and positioning status into the terminal location data table. The terminal location data table is used to store records of location changes of advertising terminals and is used for advertising statistics, terminal status monitoring, and service area adjustment.

[0033] The ad matching module is located between the platform server and the ad delivery terminal. It is used to determine the ad content that the ad delivery terminal should play at the current location based on the terminal location data generated by the terminal positioning module, and send the ad content and playback control information to the corresponding ad delivery terminal.

[0034] The ad matching module includes an ad rules unit, an ad filtering unit, a playback control unit, and an ad delivery unit. The ad rules unit stores ad delivery rules; the ad filtering unit determines candidate ad content based on terminal location data and ad delivery rules; the playback control unit determines the playback order, playback time period, and playback number of candidate ad content on the ad delivery terminal; and the ad delivery unit sends the determined ad content and playback control information to the ad delivery terminal.

[0035] Ad placement rules are stored in the ad rule data table on the platform server. Ad placement rules include at least the ad identifier, ad content address, placement area, placement time, placement terminal type, ad priority, and ad validity status. The ad identifier distinguishes different ad content; the ad content address indicates the storage location of ad images, videos, or page files on the platform server; the placement area limits the geographical range where the ad content is allowed to be displayed; the placement time limits the time range during which the ad content is allowed to play; the placement terminal type limits the types of terminals on which the ad content can be placed; the ad priority determines the playback order when multiple ad contents simultaneously meet the playback conditions; and the ad validity status indicates whether the ad content is available for placement.

[0036] After receiving the terminal location data from the terminal positioning module, the ad matching module first reads the terminal identifier, longitude, latitude, positioning time, and positioning status from the terminal location data. The terminal identifier is used to determine the ad delivery terminal currently requesting the ad content; the longitude and latitude are used to determine the current geographical location of the ad delivery terminal; the positioning time is used to determine whether the terminal location data belongs to the currently available location data; and the positioning status is used to determine whether the terminal location data is allowed to participate in ad matching.

[0037] When the location status indicates that the terminal location data is unavailable for ad matching, the ad filtering unit does not perform regional ad filtering based on the terminal location data and outputs a default ad playback command to the playback control unit. The default ad playback command is used to make the ad delivery terminal play basic ad content pre-stored locally. This basic ad content is ad content that is downloaded by the platform server and stored in the local storage space of the ad delivery terminal when the ad delivery terminal is installed or the ad content is updated. It is used to maintain the basic display function of the ad delivery terminal when the terminal location data is temporarily unavailable, communication is abnormal, or ad rules cannot be matched temporarily.

[0038] When the location status indicates that the terminal's location data is available for ad matching, the ad filtering unit determines the target delivery area where the ad delivery terminal is currently located based on the longitude and latitude in the terminal's location data. The target delivery area refers to a pre-established geographical area on the platform server that can be matched with longitude and latitude. The target delivery area can be formed by administrative boundaries, business district boundaries, roadside areas, venue areas, or electronic fences configured by operators on the platform server. An electronic fence is a virtual geographical boundary formed by several geographic coordinate points, used to indicate the spatial range within which ad content or location services are allowed to be effective.

[0039] When determining the target delivery area, the ad selection unit performs a spatial inclusion check by comparing the longitude and latitude data from the terminal location with the delivery areas of each ad delivery rule in the ad rule data table. Spatial inclusion check determines whether the location point represented by the current longitude and latitude is within a certain delivery area. If the current location point is within a delivery area, the ad delivery rule corresponding to that delivery area meets the area criteria; if the current location point is not within a delivery area, the ad delivery rule corresponding to that delivery area does not meet the area criteria.

[0040] After completing the regional condition judgment, the ad filtering unit continues to perform a delivery time judgment based on the location time. The ad filtering unit compares the location time or the platform time recorded by the platform server when receiving terminal location data with the delivery time in the ad delivery rules. If the location time can represent the generation time of the current real location of the ad delivery terminal, the location time is used for comparison first; if the location time is unavailable due to Beidou positioning signal abnormality, but the positioning status still allows ad matching, the platform time is used for comparison. The delivery time judgment is used to determine whether the ad content is within the allowed playback time range. If the current time is within the delivery time limit specified by the ad delivery rules, the ad delivery rules meet the time conditions; if the current time is not within the delivery time limit specified by the ad delivery rules, the ad delivery rules do not meet the time conditions.

[0041] After determining the delivery time, the ad filtering unit queries the terminal basic data table in the platform server based on the terminal identifier. The terminal basic data table stores basic information about the ad delivery terminal generated during account registration or installation, including at least the terminal identifier, installation region, terminal type, screen size, and activation status. The terminal type indicates the device category of the ad delivery terminal; the screen size indicates the size or orientation of the ad content that the terminal can display; and the activation status indicates whether the ad delivery terminal is allowed to receive ad content. The ad filtering unit compares the terminal type in the terminal basic data table with the terminal type in the ad delivery rules, and compares the screen size with the display specifications required by the ad content. If both the terminal type and screen size meet the requirements of the ad delivery rules, then the ad delivery rule meets the terminal conditions; otherwise, the ad delivery rule does not meet the terminal conditions.

[0042] The ad selection unit identifies ad content that simultaneously meets the regional, time, and terminal conditions and is in a playable state as candidate ad content. Candidate ad content is not the final ad content that will be played directly, but rather refers to ad content that already meets the current location, current time, and current ad delivery terminal conditions, but still needs to be processed by the playback control unit to determine the playback order and playback method.

[0043] After receiving candidate ad content, the playback control unit determines the ad playback sequence based on ad priority and ad playback records. Ad playback records are stored in the platform server's ad playback data table, recording the ad identifiers, start times, end times, and results already played by the ad delivery terminal. These records are transmitted back to the platform server by the ad delivery terminal via a communication unit after playback is complete. Ad priority, derived from the ad rule data table, indicates the playback priority of candidate ad content on the same ad delivery terminal. The playback control unit first sorts the candidate ad content according to ad priority; when multiple candidate ad contents have the same ad priority, the playback control unit sorts them according to the most recent playback time of the corresponding ad content in the ad playback records, giving priority to ad content that has not been played for a longer period.

[0044] After generating the ad playback sequence, the playback control unit generates playback control information for each ad in the sequence. This playback control information includes at least an ad identifier, playback start condition, playback duration condition, playback end condition, and cache verification information. The playback start condition indicates at what time or under what state the ad delivery terminal should begin playing the corresponding ad content; the playback duration condition indicates the continuous playback method of the ad content on the ad delivery terminal; the playback end condition indicates that the ad delivery terminal should end the current ad content and switch to the next ad content after reaching the preset playback requirements; and the cache verification information enables the ad delivery terminal to determine whether it has already saved a complete ad file corresponding to the ad identifier locally.

[0045] The ad delivery unit generates an ad delivery data packet based on the ad playback sequence and playback control information. The ad delivery data packet includes at least a terminal identifier, an ad identifier, an ad content address, an ad playback sequence, and playback control information. The terminal identifier enables the ad delivery terminal to determine whether the ad delivery data packet is intended for it; the ad identifier enables the ad delivery terminal to distinguish between different ad content; the ad content address enables the ad delivery terminal to retrieve the ad content from the platform server when the corresponding ad file does not exist locally; the ad playback sequence determines the playback order of multiple ad contents; and the playback control information controls the ad delivery terminal to perform ad playback, switching, and termination operations.

[0046] After receiving the advertisement delivery data packet through the communication unit, the terminal control unit first reads the terminal identifier in the advertisement delivery data packet and checks its consistency with the terminal identifier stored locally on the advertisement delivery terminal. If the two do not match, the terminal control unit discards the advertisement delivery data packet; if they match, the terminal control unit continues to read the advertisement identifier, advertisement content address, advertisement playback sequence, and playback control information.

[0047] The terminal control unit queries its local storage space based on cache verification information to determine whether the advertising terminal has already saved the advertising file corresponding to the advertising identifier. If the corresponding advertising file is already saved locally and passes integrity verification, the terminal control unit directly calls the advertising file for playback. If the corresponding advertising file is not saved locally, or the locally saved advertising file fails integrity verification, the terminal control unit requests the download of the corresponding advertising file from the platform server via the communication unit based on the advertising content address. After the advertising file is downloaded, the terminal control unit performs integrity verification on the advertising file and writes the advertising file to its local storage space after successful verification.

[0048] The terminal control unit controls the advertising playback unit to play advertising content according to the advertising playback sequence and playback control information. The advertising playback unit is a display or playback component in the advertising delivery terminal used to display advertising images, videos, or page files. At the start of playback, the terminal control unit records the advertising identifier, playback start time, and terminal identifier; during playback, the terminal control unit continuously monitors the playback status of the advertising playback unit; at the end of playback, the terminal control unit records the playback end time and playback result. The playback result indicates whether the advertising content has been played completely, and is formed by the status feedback of the advertising playback unit and the playback control records of the terminal control unit.

[0049] After the advertising terminal completes ad playback, the terminal control unit generates ad playback feedback data. This data includes at least the terminal identifier, ad identifier, playback start time, playback end time, playback result, and the terminal location data identifier used during playback. The terminal location data identifier is used to establish a correspondence between this ad playback action and the terminal location data generated by the terminal positioning module. After receiving the ad playback feedback data, the platform server writes it into the ad playback data table, which is then used by the data management module for ad placement statistics and rule updates.

[0050] The location service module is located within the platform server. It is used to determine the location service information that can be provided around the advertising terminal based on the terminal location data generated by the terminal positioning module, and to provide the location service information to the user terminal or the advertising terminal. This enables the advertising terminal to not only play advertising content, but also to provide users with location-related services based on their current location.

[0051] The location service module includes a service request receiving unit, a service area determination unit, a service content filtering unit, and a service result sending unit. The service request receiving unit receives location service requests from user terminals or advertising terminals. The service area determination unit determines the service query range based on terminal location data or user terminal location data. The service content filtering unit filters service content from the platform server that corresponds to the service query range. The service result sending unit sends the filtered service content to the user terminal or advertising terminal.

[0052] The user terminal refers to a mobile device capable of communicating with the platform server and receiving location service information. The user terminal can initiate a location service request by scanning the identification code displayed on the advertising terminal, clicking the service entry point on the advertising page, or sending a service access request to the platform server. The identification code is a graphic code displayed by the advertising terminal that includes the terminal identifier or service entry address, used to establish a service association between the user terminal and the advertising terminal. The service entry address is the access address configured by the platform server for the location service module, used to enable the user terminal to submit a location service request to the platform server.

[0053] When a user terminal initiates a location service request, the service request receiving unit receives the request and reads the request source, request time, service type, and associated terminal identifier from it. The request source indicates whether the location service request was initiated directly by the user terminal or forwarded by an advertising delivery terminal; the request time indicates the time the user terminal initiated the location service request; the service type indicates the category of service content the user terminal needs to obtain; and the associated terminal identifier indicates the advertising delivery terminal corresponding to the location service request. The associated terminal identifier originates from the identification code displayed by the advertising delivery terminal, the service entry address in the advertising page, or the terminal identifier attached when the advertising delivery terminal forwards the service request to the platform server.

[0054] After the service request receiving unit receives a location service request, the service area determination unit queries the terminal location data table in the platform server based on the associated terminal identifier to obtain the terminal location data corresponding to the associated terminal identifier. The terminal location data table is used to store the terminal location data uploaded by the terminal positioning module. The service area determination unit reads the longitude, latitude, positioning time, and positioning status from the terminal location data. Longitude and latitude are used to determine the location of the advertising terminal; positioning time is used to determine whether the terminal location data is still suitable for the current location service; positioning status is used to determine whether the terminal location data is allowed to participate in service area determination.

[0055] When the location status indicates that the terminal location data is unavailable for location services, the service area determination unit does not use the terminal location data to determine the service query range, and the service result sending unit returns the basic service page to the user terminal. The basic service page refers to a service page that does not rely on real-time terminal location data. Its content comes from general service content pre-configured in the platform server and is used to maintain the user terminal's basic access capabilities when the terminal location data is temporarily unavailable.

[0056] It should be noted that, as Figure 2 As shown, when an advertising terminal is located at the intersection of multiple service areas, although the longitude and latitude of the advertising terminal can indicate its physical installation location, they cannot directly indicate the actual service area corresponding to this location service request. The intersection of multiple service areas refers to a location where the advertising terminal is adjacent to two or more areas with different service content or different traffic directions, such as the connection between the entrance area, exit area, and commercial area of ​​a transportation hub, or the connection between the entrance of a shopping mall, the entrance of a parking lot, and a public passageway.

[0057] User terminals can initiate location service requests by scanning the identification code displayed on the advertising terminal or accessing the service entry point on the advertising page. The platform server can obtain the terminal location data of the advertising terminal based on the associated terminal identifier, and can also obtain the service type, request time, and user terminal location data based on the location service request. Because the advertising terminal is located at the intersection of multiple service areas, even if the user terminal is close to the advertising terminal, it may belong to different service areas. At the same time, the different directions of movement of the user terminal before and after initiating the location service request may indicate that its actual service needs are directed to entering a certain area, leaving a certain area, or staying in the intersection area.

[0058] If the platform server determines the service reference location solely based on the longitude and latitude of the advertising terminal, it may incorrectly classify location service requests that should belong to adjacent service areas into the advertising terminal's installation area. If the platform server determines the service reference location solely based on the user terminal's longitude and latitude, it may ignore the service area pointed to by the advertising content currently being played by the advertising terminal, resulting in a disconnect between the location service results and the displayed advertising content. If the platform server makes judgments solely based on a fixed service range, it will be difficult to adapt to changes in service area attribution relationships under different time periods, different pedestrian flow directions, and different service types.

[0059] Therefore, in this embodiment, when the positioning status indicates that the terminal location data can be used for location services, the service area determination unit first determines the candidate service area corresponding to the advertising terminal based on the terminal location data, then determines the service reference area corresponding to this location service request within the candidate service area, and finally determines the service reference location based on the service reference area.

[0060] The candidate service area refers to one or more target service areas that have a service association with the location of the advertising terminal. The target service area continues to have the aforementioned meaning, referring to a geographical area pre-configured in the platform server that is allowed to provide service content to the user terminal. The candidate service area corresponding to the advertising terminal is determined by the platform server based on the longitude, latitude, and regional configuration data in the terminal location data. The regional configuration data is stored in the regional configuration data table of the platform server, and includes at least a region identifier, region boundary, region type, region travel direction, region service type, and region adjacency relationship. The region identifier is used to distinguish different target service areas; the region boundary is used to indicate the geographical scope of the target service area; the region type is used to indicate whether the target service area belongs to an entrance area, exit area, commercial area, parking area, passageway area, or other service area; the region travel direction is used to indicate the permitted or primary direction of personnel movement within the target service area; the region service type is used to indicate the types of service content that the target service area can provide; and the region adjacency relationship is used to indicate whether different target service areas are spatially connected.

[0061] After reading the longitude and latitude of the advertising terminal, the service area determination unit spatially matches these coordinates with the area boundaries in the area configuration data table. When the longitude and latitude of the advertising terminal are within a target service area, the service area determination unit identifies that target service area as a candidate service area. When the longitude and latitude of the advertising terminal are near the boundaries of two or more target service areas, or when the target service area where the advertising terminal is located is adjacent to other target service areas, the service area determination unit jointly identifies the target service area where the advertising terminal is located and its adjacent target service areas as candidate service areas. "Near the boundary" means that the distance between the longitude and latitude of the advertising terminal and the boundary of the target service area meets the preset boundary judgment conditions in the platform server; these boundary judgment conditions are stored in the area configuration data table and are used to determine whether the advertising terminal is located at the intersection of multiple target service areas.

[0062] Specifically, the boundary judgment conditions include boundary distance conditions, regional adjacency conditions, and positioning status conditions. When performing boundary judgment, the service area determination unit first reads the longitude, latitude, and positioning status from the terminal location data, and then reads the regional boundaries and regional adjacency relationships from the regional configuration data table. When the positioning status indicates that the terminal location data is available for location services, the service area determination unit calculates the distance between the location point represented by the longitude and latitude of the advertising terminal and the regional boundaries of each target service area, obtaining the corresponding boundary distance. If the location point of the advertising terminal is located within a target service area, and the boundary distance between that location point and the regional boundary of that target service area is less than or equal to the boundary judgment conditions stored in the regional configuration data table, then the service area determination unit determines that the advertising terminal is located near the boundary of that target service area. If there is a regional adjacency relationship between the target service area where the advertising terminal is located and other target service areas, and the boundary distance between the location point of the advertising terminal and the regional boundaries of adjacent target service areas also satisfies the boundary judgment conditions, then the service area determination unit jointly determines the target service area where the advertising terminal is located and the adjacent target service areas that satisfy the boundary judgment conditions as candidate service areas.

[0063] If the location status in the terminal location data indicates that the terminal location data is unavailable for location services, or if the boundary distance between the location point of the advertising terminal and the boundary of the adjacent target service area does not meet the boundary judgment condition, the service area determination unit will not directly determine the adjacent target service area as a candidate service area simply because the target service area where the advertising terminal is located is adjacent to it. This process avoids incorrectly including irrelevant target service areas as candidate service areas due to positioning errors, overlapping area boundaries, or ordinary adjacency relationships.

[0064] After receiving a location service request, the service area determination unit reads the associated terminal identifier, request time, service type, and request source from the request. The associated terminal identifier identifies the advertising terminal corresponding to the location service request; the request time indicates the time the user terminal initiated the location service request; the service type indicates the category of service content the user terminal needs; and the request source indicates whether the request was generated by the user terminal scanning the identification code displayed by the advertising terminal, accessing the service entry point on the advertising page, or being forwarded by the advertising terminal. The service area determination unit matches the service type with the regional service types in the candidate service areas and excludes candidate service areas that do not support the specified service type from the current processing list.

[0065] When the location service request includes user terminal location data, the service area determination unit reads the user terminal's longitude, latitude, and positioning time. The user terminal's longitude and latitude represent its location when the location service request was initiated; the positioning time represents the time the user terminal's location data was generated. The service area determination unit spatially matches the user terminal's longitude and latitude with the boundaries of each candidate service area to determine the user's current location area. If the user terminal's longitude and latitude do not fall within any candidate service area but fall within a target service area adjacent to a candidate service area, the service area determination unit considers this adjacent target service area as the user's neighboring area and retains the regional adjacency relationship between this neighboring area and the candidate service areas.

[0066] When the location service request does not contain user terminal location data, the service area determination unit does not generate the user's location area. Instead, it uses the target service area where the advertising terminal is located, the request source, and the service type as the primary basis for determining the service baseline area. In this case, if the request source indicates that the location service request was formed by the user terminal scanning the identification code displayed on the advertising terminal, the service area determination unit prioritizes retaining candidate service areas that are related to the content displayed on the advertising terminal; if the request source indicates that the location service request was forwarded by the advertising terminal, the service area determination unit prioritizes retaining the target service area where the advertising terminal is located.

[0067] The service area determination unit also reads advertising area pointing data related to the currently playing content on the advertising delivery terminal. This advertising area pointing data refers to the area pointing information written into the advertising delivery data packet or advertising playback data table along with the advertising identifier when the advertising matching module generates the advertising playback sequence. It indicates the target service area or service content type primarily corresponding to the current advertising content. The advertising area pointing data includes at least an advertising identifier, a pointing area identifier, and a pointing service type. The advertising identifier is used to determine the current advertising content; the pointing area identifier indicates the target service area to which the advertising content points; and the pointing service type indicates the location service category corresponding to the advertising content. The service area determination unit queries the advertising playback data table based on the associated terminal identifier and request time to determine the advertising content that the advertising delivery terminal is playing or recently finished playing when the user terminal initiates a location service request, and reads the corresponding advertising area pointing data.

[0068] If the pointing area identifier in the advertising area pointing data belongs to a candidate service area, the service area determination unit retains the candidate service area corresponding to that pointing area identifier as the advertising pointing area. If the pointing service type in the advertising area pointing data is consistent with the service type in the location service request, the service area determination unit uses the advertising pointing area as the area that reflects the association between the displayed advertising content and the location service request. If the pointing area identifier in the advertising area pointing data does not belong to a candidate service area, or the pointing service type is inconsistent with the service type in the location service request, the service area determination unit does not use the advertising area pointing data as a direct basis for determining the service reference area, but only writes it as record data into the location service record.

[0069] When a location service request includes user terminal location data, and the platform server can read historical user terminal location data from the same user terminal's historical service requests, the service area determination unit generates user movement trend data based on the user terminal's longitude, latitude, positioning time, and historical user terminal location data. The historical user terminal location data refers to the location data submitted by the same user terminal before this location service request and stored in the location service data table, including at least historical user terminal longitude, latitude, and positioning time. The user movement trend data indicates the user terminal's movement direction relative to the candidate service area before and after this location service request, and is determined by the positional change relationship between the current user terminal location data and historical user terminal location data. If the user terminal's location gradually moves closer to the target service area from outside the target service area where the advertising terminal is located, the service area determination unit marks the user's movement trend data as an "entry trend"; if the user terminal's location gradually moves away from the target service area where the advertising terminal is located, the service area determination unit marks the user's movement trend data as a "departure trend"; if the user terminal's location changes near the boundaries of multiple candidate service areas without clearly entering or leaving any target service area, the service area determination unit marks the user's movement trend data as a "staying trend".

[0070] Specifically, when the service area determination unit generates user movement trend data, it first constructs the current user terminal location data based on the user terminal's longitude, latitude, and positioning time in the location service request. Then, it reads the historical user terminal location data of the same user terminal before this location service request from the location service data table. If more than two historical user terminal location data can be read, the service area determination unit prioritizes selecting the historical user terminal location data that is closest to the current request time and whose user terminal positioning time meets the location timeliness condition as the basis for trend judgment. If only one historical user terminal location data can be read, the positional change relationship between the historical user terminal location data and the current user terminal location data is used as the basis for trend judgment.

[0071] The service area determination unit determines the spatial relationship between the location point corresponding to the historical user terminal location data and the target service area where the advertising terminal is located, as well as the spatial relationship between the location point corresponding to the current user terminal location data and the target service area where the advertising terminal is located. If the location point corresponding to the historical user terminal location data is outside the target service area where the advertising terminal is located, and the location point corresponding to the current user terminal location data is within the target service area where the advertising terminal is located, or the location point corresponding to the current user terminal location data is closer to the area entrance of the target service area where the advertising terminal is located compared to the location point corresponding to the historical user terminal location data, then the service area determination unit marks the user movement trend data as an entering trend. If the location point corresponding to the historical user terminal location data is within the target service area where the advertising terminal is located, and the location point corresponding to the current user terminal location data is outside the target service area where the advertising terminal is located, or the location point corresponding to the current user terminal location data is farther away from the area entrance of the target service area where the advertising terminal is located compared to the location point corresponding to the historical user terminal location data, then the service area determination unit marks the user movement trend data as a leaving trend.

[0072] If both the location points corresponding to historical user terminal location data and the location points corresponding to current user terminal location data are located near the boundaries of multiple candidate service areas, and the proximity and distance relationships between them relative to any target service area do not meet the preset trend judgment conditions in the platform server, then the service area determination unit will mark the user movement trend data as a dwell trend. If historical user terminal location data is missing, the user terminal positioning time does not meet the location timeliness condition, or the location change relationship between the current user terminal location data and historical user terminal location data is insufficient to distinguish between an entry trend, a departure trend, or a dwell trend, then the service area determination unit will not generate valid user movement trend data and will continue to use the request source and advertising area pointing data to determine the available candidate service areas.

[0073] Further, in one optional judgment method, the service area determination unit uses the region entrance location or region boundary of the candidate service areas as the trend judgment benchmark. The service area determination unit calculates a first distance from the location point corresponding to the historical user terminal location data to the region entrance location or region boundary of the target service area, and a second distance from the location point corresponding to the current user terminal location data to the region entrance location or region boundary of the target service area. If the second distance is less than the first distance, and the difference between the first distance and the second distance is greater than or equal to the trend distance threshold stored in the trend judgment condition, the service area determination unit determines that the user terminal is entering the target service area; if the second distance is greater than the first distance, and the difference between the second distance and the first distance is greater than or equal to the trend distance threshold, the service area determination unit determines that the user terminal is leaving the target service area; if the difference between the first distance and the second distance is less than the trend distance threshold, or if both the current user terminal location data and the historical user terminal location data are located near the boundaries of multiple candidate service areas, the service area determination unit determines that the user terminal is staying in the target service area.

[0074] When there are two or more target service areas among the candidate service areas, the service area determination unit calculates the entry trend, departure trend, or dwell trend of the user terminal relative to each target service area, and prioritizes retaining target service areas that are related to the service type, request source, and advertising target area of ​​the location service request. If the user terminal shows an entry trend or a departure trend relative to two or more target service areas, the service area determination unit continues to combine the area request status data and the area time period status data to determine the service baseline area.

[0075] When multiple location service requests are generated in a candidate service area corresponding to the same advertising terminal within a preset statistical time period, the service area determination unit reads the area request status data. This area request status data refers to data generated by the platform server after statistically analyzing the number of requests, service types, and result sending status of each candidate service area within the preset statistical time period, based on location service requests already recorded in the location service data table. The preset statistical time period is stored in the service statistics configuration table of the platform server and is used to limit the generation range of the area request status data. The service area determination unit determines whether the candidate service area is in a concentrated request state near the current request time based on the area request status data. A concentrated request state means that the number of location service requests for the same candidate service area within the preset statistical time period exceeds the preset request number condition in the platform server, and the result sending status shows that the location service results within the candidate service area can be sent normally. If a candidate service area is in a concentrated request state, the service area determination unit retains that candidate service area as a candidate object that can reflect changes in current regional service demand.

[0076] Specifically, the regional request status data is constructed by the service area determination unit or the data statistics unit based on the location service records in the location service data table. When constructing the regional request status data, the advertising delivery terminal is first determined by the associated terminal identifier. Then, the statistical object is determined based on the candidate service area corresponding to the advertising delivery terminal, and the location service records within a preset statistical time period are read based on the request time. The service area determination unit counts the number of location service requests, the requested service type, the service base area, the service content identifier, and the result sending status for each candidate service area, generating regional request status data corresponding to each candidate service area.

[0077] When the number of location service requests for a candidate service area within a preset statistical time period exceeds the preset request quantity condition in the platform server, and the result sending status in the location service record corresponding to the candidate service area indicates that the location service result can be sent normally, the service area determination unit marks the candidate service area as a concentrated request state. If two or more candidate service areas are in a concentrated request state, the service area determination unit prioritizes retaining the candidate service area that matches the service type in the location service request; if the request service type of two or more candidate service areas matches the service type in the location service request, then the candidate service area with the higher number of location service requests is prioritized; if the number of location service requests is the same or the difference does not reach the preset request quantity condition in the platform server, then the service benchmark area is determined by combining the advertising target area, the user's location area, and the location of the advertising delivery terminal.

[0078] If a candidate service area has a high number of location service requests, but the location service record corresponding to that candidate service area has consecutive abnormal result sending statuses, the service area determination unit will not use that candidate service area as the sole basis for determining the service reference area. Instead, it will write that candidate service area as an abnormal service area into the location service record and continue to determine the service reference area based on other available candidate service areas.

[0079] In one optional statistical method, the service area determination unit counts the number of location service requests, the number of successful results sent, and the number of failed results sent for each candidate service area within a preset statistical time period. It then generates a transmission success rate based on the ratio between the number of successful results sent and the number of location service requests. When the number of location service requests for a candidate service area within the preset statistical time period is greater than or equal to the request number threshold stored in the request number condition, and the transmission success rate is greater than or equal to the transmission success rate condition stored in the service statistics configuration table, the service area determination unit marks the candidate service area as a concentrated request state.

[0080] When the number of location service requests for a candidate service area is greater than or equal to the request number threshold, but the transmission success rate is less than the transmission success rate condition, or the transmission status is abnormal in multiple consecutive location service records, the service area determination unit marks the candidate service area as an abnormal request state. Candidate service areas in an abnormal request state are not used as a priority basis for determining the service baseline area, but only as a data basis for location service records and subsequent service content configuration updates.

[0081] When two or more candidate service areas are marked as being in a centralized request state, the service area determination unit first compares whether the request service type corresponding to each candidate service area is consistent with the service type in the location service request. If only one candidate service area has a request service type consistent with the service type in the location service request, then that candidate service area is taken as the priority candidate. If the request service types of two or more candidate service areas are consistent with the service types in the location service request, then the number of location service requests for each candidate service area is compared. If the difference between the number of location service requests is greater than or equal to the request number difference threshold stored in the request number condition, then the candidate service area with the higher number of location service requests is retained first. If the difference between the number of location service requests is less than the request number difference threshold, then the service area determination unit continues to combine the advertising target area, user movement trend data, user location area, and advertising terminal location area to determine the service benchmark area.

[0082] The service area determination unit also reads regional time-slot status data. This regional time-slot status data refers to data generated by the platform server based on the regional configuration data table and historical location service data, used to represent the service demand trends of different target service areas within different time periods. The regional time-slot status data includes at least a region identifier, a time-slot identifier, a primary service type, and a primary travel direction. The time-slot identifier indicates the time range to which the request time belongs; the primary service type indicates the location service category that appears more frequently in the target service area within the corresponding time range; and the primary travel direction indicates the user movement direction that appears more frequently in the target service area within the corresponding time range. The service area determination unit determines the corresponding time-slot identifier based on the request time and matches the primary service type and primary travel direction of the candidate service area with the service type and user movement trend data in the location service request, respectively.

[0083] Specifically, the regional time-period status data is generated by the platform server based on the regional configuration data table and historical location service data. The platform server first divides a day into multiple time-period identifiers according to the service statistics configuration table, and then assigns historical location service data to the corresponding time-period identifier based on the request time. Subsequently, for each target service area, the platform server statistically analyzes the service type, service base area, user movement trend data, and result sending status in the location service records under the same time-period identifier. The service types that appear most frequently and have normal result sending status are identified as the primary service types for that target service area under that time-period identifier. The travel directions corresponding to the most frequent entry trends, exit trends, or stay trends are identified as the primary travel directions for that target service area under that time-period identifier.

[0084] When the historical location service data for a target service area under a certain time period is insufficient to determine the main service type or main travel direction, the platform server reads the regional service type and regional travel direction from the regional configuration data table as the regional time period status data for that target service area under that time period. If the same target service area is configured with two or more regional service types or two or more regional travel directions in the regional configuration data table, the service area determination unit will not use the regional time period status data as the sole criterion when determining the service base area, but will continue to combine the request source, the advertising target area, the user's location, and the regional request status data to determine the service base area.

[0085] When determining the service baseline area, the service area determination unit converges candidate service areas sequentially based on regional availability, request relevance, advertising targeting, user movement trends, and regional time-slot status. Regional availability is determined by the regional service type, regional boundaries, and service validity status of the candidate service area; request relevance is determined by the request source, the user's location, the user's neighboring areas, and regional adjacency relationships; advertising targeting is determined by advertising region targeting data; user movement trends are determined by user movement trend data; and regional time-slot status is determined by regional time-slot status data and regional request status data.

[0086] Specifically, the service area determination unit first removes target service areas from the candidate service areas whose service validity status is unavailable or do not support the current service type, thus obtaining available candidate service areas. Subsequently, the service area determination unit determines the request association relationship of the available candidate service areas based on the request source. If the request source is a scanned identification code, and the user's location is different from the target service area where the advertising terminal is located, the service area determination unit determines whether there is a regional adjacency relationship between the user's location and the target service area where the advertising terminal is located. If they are regionally adjacent, both the user's location and the target service area where the advertising terminal is located are retained; if they are not regionally adjacent, the target service area where the advertising terminal is located is retained, and the user's location is written as an abnormal request area in the location service record. If the request source is a service entry point in an advertising page, and the pointing area identifier in the advertising area pointing data belongs to an available candidate service area, the service area determination unit retains the advertising pointing area and simultaneously retains available candidate service areas that are regionally adjacent to the user's location. If the request source is a forwarding from the advertising terminal, the service area determination unit retains the target service area where the advertising terminal is located and the available candidate service areas that are regionally adjacent to it.

[0087] After completing the request association processing, the service area determination unit performs directional correction on the retained available candidate service areas based on user movement trend data. If the user movement trend data indicates an inbound trend, the service area determination unit prioritizes retaining the target service area pointed to by the user's movement direction; if the user movement trend data indicates a outbound trend, the service area determination unit prioritizes retaining the target service area the user is leaving and its adjacent target service areas; if the user movement trend data indicates a stay trend, the service area determination unit prioritizes retaining the target service area where the advertising terminal is located and the area pointed to by the advertisement. If the location service request does not contain user terminal location data, or if historical user terminal location data is insufficient to generate user movement trend data, the service area determination unit does not perform directional correction and continues to use the available candidate service areas determined by the request source and the advertisement area pointing data.

[0088] After completing the direction correction, the service area determination unit determines the service base area based on the regional time period status data and the regional request status data. If the main service type of an available candidate service area is consistent with the service type in the location service request, and the main travel direction is consistent with the user's movement trend data, the service area determination unit determines this available candidate service area as the service base area. If two or more available candidate service areas simultaneously meet the above conditions, the service area determination unit further determines whether there is a target service area that is consistent with the advertising target area; if so, the target service area consistent with the advertising target area is determined as the service base area; if not, the target service area in the centralized request state is determined as the service base area. If there are still two or more target service areas that simultaneously meet the conditions, the service area determination unit determines the user's location as the service base area; if the user's location does not exist or is not among the available candidate service areas, the target service area where the advertising terminal is located is determined as the service base area.

[0089] During the service benchmark region determination process, if the target service regions corresponding to request relevance, advertising targeting, user movement trends, and regional time-of-day status are inconsistent, the service region determination unit will handle this by first eliminating and then selecting. The service region determination unit first uses regional availability as an exclusion criterion, removing target service regions whose service validity status is unavailable or do not support the current service type from the candidate service regions. Then, it determines the scope of retained available candidate service regions based on request relevance, ensuring that target service regions that have no correlation with the request source, the user's location, the user's neighboring regions, or the target service region where the advertising delivery terminal is located are not included in this service benchmark region determination.

[0090] After completing the above exclusions, if the target service area pointed to by the advertisement, the target service area pointed to by the user's movement trend, and the target service area pointed to by the regional time period status are consistent, the service area determination unit determines this target service area as the service benchmark area. If the target service area pointed to by the advertisement is inconsistent with the target service area pointed to by the user's movement trend, but the user's movement trend data shows an entry trend or a departure trend, and the user's current area or the user's neighboring area has a regional adjacency relationship with the target service area pointed to by the user's movement trend, then the service area determination unit prioritizes determining the service benchmark area according to the user's movement trend data. If the user's movement trend data shows a stay trend, or the historical user terminal location data is insufficient to support the judgment of an entry trend or a departure trend, then the service area determination unit prioritizes retaining the target service area where the advertisement delivery terminal is located and the advertisement pointing area, and combines the regional request status data and the regional time period status data to determine the service benchmark area.

[0091] If the area pointed to by the advertisement does not belong to the available candidate service areas, or if the service type pointed to in the advertisement area pointing data is inconsistent with the service type in the location service request, the service area determination unit will not use the advertisement area pointed to as the direct basis for determining the service reference area. If the user's current area does not exist, the user's neighboring areas do not exist, the user's movement trend data is invalid, and neither the area request status data nor the area time period status data can distinguish more than two available candidate service areas, then the service area determination unit will determine the target service area where the advertisement delivery terminal is located as the service reference area, and write the judgment process corresponding to this location service request into the location service record.

[0092] After determining the service reference area, the service area determination unit further determines the service reference location. The service reference location refers to the spatial starting point used by the location service module to calculate surrounding service content, path guidance information, or regional messages. If the service reference area is consistent with the user's location, and the time difference between the user terminal's positioning time and the request time meets the preset location timeliness conditions in the platform server, the service area determination unit determines the user terminal's longitude and latitude as the service reference location. These location timeliness conditions are stored in the service statistics configuration table and are used to determine whether the user terminal's location data can still represent the user terminal's actual location when initiating the location service request. If the service reference area is consistent with the target service area where the advertising terminal is located, or if the location service request does not contain user terminal location data, the service area determination unit determines the advertising terminal's longitude and latitude as the service reference location. If the service reference area is neither the user's location nor the target service area where the advertising terminal is located, but has a regional adjacency relationship with both, the service area determination unit determines the service reference location as the area entrance location in the service reference area that is closest to either the user terminal's location or the advertising terminal's location. The regional entry location refers to the geographical location stored in the regional configuration data table corresponding to the regional identifier, which indicates that a user enters the target service region.

[0093] For example, in a specific application scenario, an advertising terminal is installed at the intersection of the entrance area, exit area, and commercial area of ​​a transportation hub. The area configuration data table stores the area identifier, boundary, area type, traffic direction, service type, and adjacency relationship for each area. The advertising terminal's longitude and latitude are located within the entrance area, and its distance from the boundaries of the exit and commercial areas meets the boundary judgment conditions. Based on this, the service area determination unit jointly identifies the entrance area, exit area, and commercial area as candidate service areas.

[0094] When a user terminal initiates a location service request by scanning the identification code displayed on the advertising terminal, the service request receiving unit reads the associated terminal identifier, request time, service type, and request source from the location service request. The service area determination unit queries the terminal location data table based on the associated terminal identifier to read the terminal location data corresponding to the advertising terminal; simultaneously, it reads the user terminal's longitude, latitude, and positioning time, and determines the user's location area based on the area boundary. If the user's location area is an entry area, and historical user terminal location data indicates that the user terminal's location is gradually approaching the entry area from the outside, the service area determination unit marks the user's movement trend data as an entry trend.

[0095] The service area determination unit queries the advertising playback data table based on the associated terminal identifier and request time, and reads the advertising area pointing data corresponding to the currently playing or recently played advertisement on the advertising terminal. If the pointing area identifier in the advertising area pointing data is a commercial area, and the pointing service type is consistent with the service type in the location service request, then the service area determination unit constructs the commercial area as the advertising pointing area. Subsequently, the service area determination unit first deletes candidate service areas that do not support the current service type, and then retains the entry area associated with the scan identification code and the commercial area that has a regional adjacency relationship with the entry area based on the request source; if the user movement trend data shows an entry trend, the service area determination unit corrects the direction of the retained candidate service areas according to the user's movement direction; if the regional time period status data shows that the main service type of the commercial area in the current time period is consistent with the service type in the location service request, and the regional request status data shows that the commercial area is in a concentrated request state, then the service area determination unit determines the commercial area as the service base area.

[0096] After determining the commercial area as the service baseline area, if the user's location is an entry area, and the target service area where the advertising terminal is located is also an entry area, and the commercial area and the entry area are adjacent, the service area determination unit will determine the entry location in the commercial area that is closest to the user terminal's location or the advertising terminal's location as the service baseline location. The service content filtering unit then uses the commercial area as the regional filtering basis and the entry location of that area as the spatial calculation basis to filter candidate service content from the service content data table that matches the service type, service validity time, service content location, service applicable area, and service validity status. It then generates location service results and sends them to the user terminal or the advertising terminal.

[0097] In a specific numerical example, the terminal identifier of the advertising terminal is T001, and the location point corresponding to the longitude and latitude of the advertising terminal is located within the entrance area. The area configuration data table stores entrance area A, exit area B, and commercial area C, and entrance area A has an adjacency relationship with exit area B and commercial area C, respectively. The service statistics configuration table stores the boundary judgment condition that when the boundary distance between the location point of the advertising terminal and the boundary of the target service area is less than or equal to 30 meters, the target service area is regarded as a candidate service area; the trend judgment condition stores a trend distance threshold of 10 meters; the request quantity condition stores a request quantity threshold of 5 times; the request quantity difference threshold is 2 times; and the preset statistical time period is 10 minutes.

[0098] The service area determination unit reads the terminal location data table and determines that the location of the advertising terminal T001 is located in the entrance area A. The boundary distance from this location to the boundary of the exit area B is 25 meters, and the boundary distance to the boundary of the commercial area C is 18 meters. Both meet the boundary judgment conditions. Therefore, the entrance area A, the exit area B, and the commercial area C are jointly determined as candidate service areas.

[0099] The user terminal initiates a location service request by scanning the identification code displayed on the advertising terminal. The request source is the scanned identification code, and the service type is a nearby information query. The service area determination unit reads the user terminal's longitude, latitude, and positioning time to determine that the current user terminal location is near the boundary between entrance area A and commercial area C. Simultaneously, it reads the historical user terminal location data and calculates the first distance from the historical user terminal location to the entrance location of commercial area C as 60 meters, and the second distance from the current user terminal location to the entrance location of commercial area C as 35 meters. Since the difference between the first and second distances is 25 meters, which is greater than the trend distance threshold of 10 meters stored in the trend judgment conditions, the service area determination unit marks the user's movement trend data as an entry trend and designates commercial area C as the target service area pointed to by the user's movement trend.

[0100] The service area determination unit queries the advertising playback data table based on the associated terminal identifier T001 and the request time, and reads the advertising area pointing data corresponding to the currently playing advertisement on the advertising terminal. If the pointing area identifier in the advertising area pointing data is commercial area C, and the pointing service type is surrounding information query, which is consistent with the service type in the location service request, then the service area determination unit constructs commercial area C as the advertising pointing area.

[0101] The service area determination unit further reads location service records within a preset statistical time period. If, within 10 minutes prior to the request time, the number of location service requests corresponding to entry area A is 3, the number of location service requests corresponding to exit area B is 2, and the number of location service requests corresponding to commercial area C is 8, and the success rate of location service results sent to commercial area C is greater than the success rate condition, then the service area determination unit marks commercial area C as a concentrated request state. If the regional time period status data indicates that the main service type of commercial area C in the current time period is surrounding information query, and the main traffic direction is consistent with the entry trend, then the service area determination unit determines commercial area C as the service benchmark area based on the advertising target area, user movement trend data, regional request status data, and regional time period status data.

[0102] After determining commercial area C as the service baseline area, since the user's location is in entrance area A, and the target service area where the advertising terminal is located is also in entrance area A, and commercial area C and entrance area A are adjacent, the service area determination unit determines the entrance location in commercial area C that is closest to the user's terminal location as the service baseline location. The service content filtering unit then uses commercial area C as the area filtering basis and the entrance location of that area as the spatial calculation basis to filter candidate service content from the service content data table that meets the requirements of service content type, service validity time, service content location, service applicable area, and service validity status. It then generates location service results and sends them to the user terminal or the advertising terminal.

[0103] The service area determination unit generates a service baseline area determination result. This result includes at least the associated terminal identifier, request time, service type, service baseline area, service baseline location, request source, advertising target area, user movement trend data, and area request status data. The associated terminal identifier originates from the location service request; the request time originates from the location service request or the platform time recorded by the platform server when receiving the location service request; the service type originates from the location service request; the service baseline area originates from the processing result of the service area determination unit on available candidate service areas; the service baseline location originates from the longitude and latitude determined by the service area determination unit based on the service baseline area; the request source originates from the location service request; the advertising target area originates from advertising area target data; the user movement trend data originates from user terminal location data and historical user terminal location data; and the area request status data originates from the statistical results of the location service data table within a preset statistical time period.

[0104] The service area determination unit sends the service reference area determination result to the service content filtering unit. When filtering service content, the service content filtering unit uses the service reference area as the basis for area filtering and the service reference location as the basis for spatial calculation. For surrounding information queries, the service content filtering unit filters service content with the same service type within the service reference area and determines the display order of service content based on the service reference location. For route guidance, the service content filtering unit uses the service reference location as the route start or end point and uses the service reference area as the regional constraint condition when generating the route. For regional message pushes, the service content filtering unit only filters regional messages within the applicable service area corresponding to the service reference area.

[0105] When the service area determination unit detects a persistent bias towards a certain adjacent target service area in multiple consecutive location service requests from the same advertising terminal, the unit writes this change into the area request status data. The platform server then updates the area adjacency relationship or boundary judgment condition of the candidate service area corresponding to the advertising terminal. This persistent bias means that in multiple consecutive location service requests, the ultimately determined service reference area is not the target service area where the advertising terminal is located, but rather the same target service area adjacent to it. The updated area adjacency relationship and boundary judgment condition are used to determine the candidate service area in the next location service request, enabling the advertising terminal to adjust its corresponding service area judgment result according to changes in actual service requests without changing its physical installation location.

[0106] Specifically, when determining whether the service reference area continuously shifts towards the same adjacent target service area, the service area determination unit identifies the same advertising terminal using the associated terminal identifier and reads the location service records continuously generated by the advertising terminal within a preset statistical time period. If the service reference area corresponding to multiple consecutive location service requests is not the target service area where the advertising terminal is located, but the same adjacent target service area, and the result transmission status of the location service result corresponding to the adjacent target service area is normal, then the service area determination unit determines that the service reference area corresponding to the advertising terminal continuously shifts towards the adjacent target service area.

[0107] After determining that the persistent bias is established, the service area determination unit writes the adjacent target service area into the region request status data and marks the correspondence between the target service area where the advertising terminal is located and the adjacent target service area as pending update. The rule update unit reads the pending update status and, based on the region request status data, the service baseline area, the target service area where the advertising terminal is located, and the adjacent target service areas, updates the region adjacency relationship or boundary judgment conditions of the candidate service areas corresponding to the advertising terminal. If a region adjacency relationship already exists between the target service area where the advertising terminal is located and the adjacent target service area in the region configuration data table, the rule update unit adjusts the boundary judgment conditions so that the adjacent target service area can be preferentially included in the candidate service areas in subsequent location service requests. If a region adjacency relationship does not exist in the region configuration data table, the rule update unit does not directly change the region boundary but writes the adjacent target service area as a temporary adjacent target service area into the region request status data. The region adjacency relationship is then updated only when multiple consecutive location service requests still satisfy the persistent bias condition.

[0108] If, within the subsequent preset statistical time period, the service reference area no longer continuously shifts towards the adjacent target service area, or if the location service results corresponding to the adjacent target service area show consecutive abnormal result transmission statuses, the rule update unit cancels the pending update status and restores the original regional adjacency relationship or boundary judgment conditions. This process avoids the erroneous updating of candidate service areas due to short-term abnormal requests, user terminal positioning deviations, or temporary changes in pedestrian traffic.

[0109] In one optional method for determining persistent bias, the service area determination unit identifies the same advertising terminal using the associated terminal identifier and reads the location service records generated by the advertising terminal within a preset statistical time period. If, in multiple consecutive location service requests, the service reference area corresponding to at least a preset number of location service requests is the same adjacent target service area, or if the proportion of the number of times the adjacent target service area is determined as the service reference area within the preset statistical time period is greater than or equal to the bias ratio condition stored in the service statistics configuration table, then the service area determination unit determines that the service reference area is persistently biased towards the adjacent target service area.

[0110] When the persistent bias is established, and a regional adjacency relationship already exists between the target service area where the advertising terminal is located and the adjacent target service area, the rule update unit adjusts the boundary judgment conditions corresponding to the adjacent target service area based on the number of location service requests corresponding to the adjacent target service area, user movement trend data, and result sending status. This ensures that the adjacent target service area can be preferentially included in the candidate service area in subsequent location service requests. The adjustment of the boundary judgment conditions includes expanding the boundary distance condition corresponding to the adjacent target service area, increasing the retention priority of the adjacent target service area in the candidate service area, or adding a bias marker between the adjacent target service area and the advertising terminal in the regional request status data.

[0111] When a persistent bias is established, but there is no regional adjacency relationship between the target service area where the advertising terminal is located and the adjacent target service area, the rule update unit does not directly change the regional adjacency relationship in the regional configuration data table. Instead, it writes the adjacent target service area as a temporary adjacent target service area into the regional request status data and continues to determine whether the bias towards the adjacent target service area persists within the subsequent preset statistical time period. If the persistent bias condition is still met within the subsequent preset statistical time period, the rule update unit marks the correspondence between the adjacent target service area and the target service area where the advertising terminal is located as pending update. If the persistent bias condition is no longer met within the subsequent preset statistical time period, the temporary adjacent target service area mark is deleted from the regional request status data.

[0112] After the boundary judgment conditions are updated, if the location service results corresponding to the adjacent target service area show abnormal continuous result transmission status within the subsequent preset statistical time period, or if the adjacent target service area no longer meets the bias ratio condition, the rule update unit restores the boundary judgment conditions before the update or cancels the bias mark. Through this process, the update of the regional adjacency relationship or boundary judgment conditions can be rolled back, avoiding long-term offset of the service reference area due to short-term abnormal requests or user terminal positioning errors.

[0113] After determining the service reference location, the service area determination unit determines the service query range based on the service type. The service query range refers to the geographical area used by the platform server when filtering service content. If the service type is a nearby information query, the service area determination unit generates a nearby query range centered on the service reference location; if the service type is path guidance, the service area determination unit uses the service reference location as the path start or end point, and combines this with the target location submitted by the user terminal to determine the path query range; if the service type is regional message push, the service area determination unit determines the target service area where the service reference location is located as the service query range. The target service area refers to the pre-configured geographical area in the platform server that is allowed to provide service content to the user terminal. It can be the same as the target delivery area in the advertising delivery rules, or it can be set separately according to the location service business.

[0114] The service content filtering unit queries the service content data table on the platform server based on the service query scope and service type. The service content data table stores location-based service content that can be provided to user terminals or advertising terminals. The service content data table includes at least the service content identifier, service content type, service content name, service content location, service validity period, service applicable area, and service validity status. The service content identifier distinguishes different service content; the service content type matches the service type in the location service request; the service content name displays the name of the service object to the user terminal; the service content location indicates the geographical location of the service object; the service validity period indicates the time range within which the service content is allowed to be provided; the service applicable area indicates the geographical range within which the service content is allowed to appear; and the service validity status indicates whether the service content is available.

[0115] The service content filtering unit first compares the service type in the location service request with the service content type in the service content data table, filtering out service content with the same service content type. Then, the service content filtering unit compares the request time or the platform time recorded by the platform server when receiving the location service request with the service validity time. If the request time can represent the actual time when the user terminal initiated the service request, the request time is used for comparison; if the request time is missing or unavailable, the platform time is used for comparison. Service content whose current time falls within the service validity time meets the time condition; service content whose current time does not fall within the service validity time does not meet the time condition.

[0116] After determining the service content type and service validity period, the service content filtering unit spatially matches the service query scope with the service content location or the service applicable area. For service content with a specific service content location, the filtering unit determines whether that location is within the service query scope; for service content with a service applicable area, the filtering unit determines whether the service query scope and the service applicable area have spatial overlap. Spatial overlap refers to the geographical overlap between the service query scope and the service applicable area. If the service content location is within the service query scope, or if the service query scope and the service applicable area have spatial overlap, then the service content meets the regional conditions; otherwise, the service content does not meet the regional conditions.

[0117] The service content filtering unit identifies service content that simultaneously meets the requirements of service content type, service validity time, and regional conditions, and whose service validity status is "available." Candidate service content refers to service content that meets the basic conditions of the current service request but still requires processing based on the spatial relationship between the user terminal and the advertising delivery terminal, the service content location, and the service content usage records before it can be sent.

[0118] When the candidate service content is surrounding information, the service content filtering unit determines the display order of the candidate service content based on the distance between the service content location and the service reference location. The service content location is derived from the service content data table, and the service reference location is derived from the longitude and latitude already determined by the service area determination unit. The service content filtering unit prioritizes arranging candidate service content that is closer to the service reference location first, so that the user terminal receives service content that is more closely related to the current location first.

[0119] When the candidate service content is path guidance information, the service content filtering unit sends the service reference location and target location to the path processing unit. The path processing unit is the processing unit in the location service module used to generate path information. The target location refers to the desired destination location submitted by the user terminal in the location service request, or the service content location selected by the user terminal from the candidate service content. The path processing unit generates path information based on the service reference location, target location, and road data stored in the platform server. Road data refers to the data in the platform server used to represent road connectivity, road names, and road travel directions. Path information includes at least the path start point, path end point, roads traversed, and path distance. The path start point is derived from the service reference location, the path end point from the target location, the roads traversed are derived from the road data, and the path distance is calculated by the path processing unit based on the path start point, path end point, and roads traversed.

[0120] When the candidate service content is a regional message, the service content filtering unit determines the recipient of the regional message based on the target service area and the service validity period. A regional message refers to a service message that is only displayed to user terminals or advertising terminals within a specific target service area. The service content filtering unit matches the target service area with the applicable service areas in the service content data table and determines regional messages that are currently within the service validity period as sendable regional messages. Sendable regional messages can be sent to user terminals by the service result sending unit, or sent by the platform server to advertising terminals and displayed by the advertising playback unit.

[0121] The service result sending unit generates location service results based on candidate service content. Location service results include at least the associated terminal identifier, service type, service content identifier, service content name, service content location, and service display content. The associated terminal identifier indicates the advertising terminal corresponding to this location service result; the service type indicates whether this location service result belongs to nearby information query, route guidance, or regional message push; the service content identifier distinguishes different service contents; the service content name and service content location are used to display the service object to the user terminal; and the service display content carries the text, images, page links, or path information actually displayed on the user terminal or advertising terminal.

[0122] When the service result sending unit sends the location service result to the user terminal, the user terminal displays surrounding information, route guidance information, or regional messages based on the service display content. When the service result sending unit sends the location service result to the advertising delivery terminal, the terminal control unit of the advertising delivery terminal reads the service display content from the location service result and controls the advertising playback unit to display the service display content during the advertising content playback interval or in the service area of ​​the advertising page. The advertising content playback interval refers to the display time period between the switching of two advertising contents; the service area of ​​the advertising page refers to the reserved display area in the advertising page for displaying location service content.

[0123] The location service module also generates a location service record for each location service request and result. The location service record includes at least the associated terminal identifier, request time, service type, service reference location, service content identifier, and result sending status. The associated terminal identifier originates from the location service request; the request time originates from the request time submitted by the user terminal or the platform time recorded by the platform server; the service type originates from the location service request; the service reference location originates from the longitude and latitude determined by the service area determination unit; the service content identifier originates from the sent service content; and the result sending status is determined by the service result sending unit based on whether the location service result was successfully sent. The platform server writes the location service records into the location service data table for use by the data management module when statistically analyzing service calls and adjusting service content configurations.

[0124] The data management module is located within the platform server. It receives and processes data generated by the advertising delivery terminal, the advertising matching module, and the location service module. Based on the processing results, it updates the advertising delivery rules, service content configuration, and the operational management status of the advertising delivery terminal, thus creating a continuously adjustable closed-loop processing relationship between advertising playback, location services, and terminal operation.

[0125] The data management module includes a data receiving unit, a data storage unit, a data statistics unit, a rule update unit, and a terminal management unit. The data receiving unit receives terminal location data, ad playback feedback data, and terminal operation data uploaded by the ad delivery terminal, and also receives location service records generated by the location service module. The data storage unit writes the received data into the corresponding data tables. The data statistics unit performs statistical processing on ad playback status, location service call status, and ad delivery terminal operation status. The rule update unit updates ad delivery rules and service content configurations based on the statistical processing results. The terminal management unit determines the operating status of the ad delivery terminal based on terminal operation data and terminal location data.

[0126] The terminal operation data refers to the data collected by the terminal control unit and uploaded to the platform server during the operation of the advertising terminal. The terminal operation data includes at least the terminal identifier, data generation time, communication status, advertising playback unit status, local storage status, and power status. The terminal identifier identifies the advertising terminal corresponding to the terminal operation data; the data generation time indicates when the terminal operation data was generated; the communication status indicates whether data transmission between the advertising terminal and the platform server is normal; the advertising playback unit status indicates whether the advertising playback unit is playable; the local storage status indicates whether the local storage space of the advertising terminal can continue to store advertising files and temporary data; and the power status indicates whether the advertising terminal is under normal power supply. The aforementioned terminal operation data is obtained by the terminal control unit of the advertising terminal from the status feedback of the communication unit, advertising playback unit, local storage space, and power supply components.

[0127] After receiving the terminal location data, the data receiving unit reads the terminal identifier, longitude, latitude, positioning time, and positioning status, and writes the terminal location data into the terminal location data table. The terminal location data is generated by the terminal positioning module within the terminal positioning module. The longitude and latitude are derived from verified BeiDou positioning data, the positioning time is derived from the positioning time output by the BeiDou positioning unit or the system time recorded by the terminal control unit, and the positioning status is derived from the judgment results formed by the terminal control unit after performing integrity checks, positioning accuracy checks, satellite quantity checks, and position change checks on the original positioning data. The terminal location data table stores the location status of the advertising terminal at different times, used to determine whether the advertising terminal is located within the permitted advertising area, and to statistically analyze the advertising playback and location service call status of the advertising terminal in different areas.

[0128] After receiving the ad playback feedback data, the data receiving unit reads the terminal identifier, ad identifier, playback start time, playback end time, playback result, and terminal location data identifier used during playback, and writes the ad playback feedback data into the ad playback data table. The ad playback feedback data is generated by the ad delivery terminal in the ad matching module after completing ad playback. The playback start time is recorded by the terminal control unit when the ad playback unit begins playing the ad content, and the playback end time is recorded by the terminal control unit when the ad playback unit ends playing the ad content. The playback result is formed by the status feedback of the ad playback unit and the playback control record of the terminal control unit. The terminal location data identifier used during playback comes from the terminal location data used by the ad matching module when generating the ad delivery data packet. The ad playback data table is used to store each ad playback action, enabling the platform server to determine when, where, and by which ad delivery terminal the ad content was played.

[0129] After receiving a location service record, the data receiving unit reads the associated terminal identifier, request time, service type, service reference location, service content identifier, and result sending status, and writes the location service record into the location service data table. The location service record is generated by the location service module within the location service module. The associated terminal identifier originates from the location service request; the request time originates from the request time submitted by the user terminal or the platform time recorded by the platform server; the service type originates from the location service request; the service reference location originates from the longitude and latitude determined by the location service module based on terminal location data or user terminal location data; the service content identifier originates from the sent service content; and the result sending status is determined by the service result sending unit based on whether the location service result was successfully sent. The location service data table is used to store the location service call information, enabling the platform server to determine whether the location service content around different advertising terminals has been actually requested and received by the user terminal.

[0130] After receiving the terminal's operational data, the data receiving unit reads the terminal identifier, data generation time, communication status, advertising playback unit status, local storage status, and power status, and writes the terminal's operational data into the terminal operational data table. The terminal operational data table is used to save the device status of the advertising delivery terminal during operation, enabling the platform server to determine whether the advertising delivery terminal has the conditions to continue receiving and playing advertising content and providing location services.

[0131] When writing the aforementioned data, the data storage unit establishes a correspondence between the terminal location data table, the advertisement playback data table, the location service data table, and the terminal operation data table using the terminal identifier or associated terminal identifier. The terminal identifier is a unique identifier formed when the advertising terminal is registered or installed. The associated terminal identifier is used in location service requests to point to the advertising terminal, and it has a corresponding relationship with the terminal identifier. Through this correspondence, the platform server can place location changes, advertisement playback, location service calls, and operational status of the same advertising terminal within the same time frame into the same processing chain.

[0132] The data statistics unit reads data from the data storage unit according to statistical tasks. These statistical tasks refer to data processing tasks triggered by the platform server based on operator configuration or system preset conditions, used to statistically analyze advertising performance, location service performance, and the operational status of advertising terminals. Statistical tasks include at least advertising playback statistics, location service statistics, and terminal operation statistics.

[0133] When performing ad playback statistics tasks, the data statistics unit reads the ad identifier, terminal identifier, playback start time, playback end time, and playback result from the ad playback data table, and reads the corresponding longitude and latitude from the terminal location data table based on the terminal location data identifier used during playback. The data statistics unit counts the number of times the same ad content is played on different ad delivery terminals based on the ad identifier, counts the number of times the ad content is completed based on the playback result, and determines the target delivery area where the ad content was actually played based on the longitude and latitude. The target delivery area, as defined in the ad matching module, refers to a pre-established geographical area on the platform server that can be matched with longitude and latitude. Through this processing, the platform server can determine the actual playback status of the ad content within each target delivery area.

[0134] When performing location service statistics tasks, the data statistics unit reads the associated terminal identifier, service type, service base location, service content identifier, and result sending status from the location service data table. The data statistics unit counts the number of requests for different categories of location services based on the service type, the number of times different service contents are sent based on the service content identifier, and the number of times location service results are successfully sent based on the result sending status. The service base location is used to determine the spatial location where the location service request occurred, and the service content identifier is used to determine the specific service content that was requested or sent. Through this process, the platform server can determine the invocation status of service content around different advertising terminals.

[0135] When performing terminal operation statistics tasks, the data statistics unit reads the terminal identifier, data generation time, communication status, advertising playback unit status, local storage status, and power status from the terminal operation data table, and combines this information with the location status from the terminal location data table to determine whether the advertising delivery terminal is operating normally. If the advertising delivery terminal experiences communication status abnormalities for multiple consecutive data generation periods, the terminal management unit marks the advertising delivery terminal as having a communication abnormality. If the advertising playback unit status indicates that advertising content cannot be played, the terminal management unit marks the advertising delivery terminal as having a playback abnormality. If the local storage status indicates that the local storage space can no longer save advertising files, the terminal management unit marks the advertising delivery terminal as having a storage abnormality. If the power status indicates a power supply abnormality, the terminal management unit marks the advertising delivery terminal as having a power supply abnormality. If the location status continuously indicates that the terminal location data cannot be used for advertising matching or location services, the terminal management unit marks the advertising delivery terminal as having a location abnormality.

[0136] The terminal management unit generates the operational management status of the advertising delivery terminal. This operational management status refers to the currently manageable state of the advertising delivery terminal, determined by the platform server based on terminal operation data and terminal location data. It is used to control whether the advertising delivery terminal continues to participate in ad matching and location services. The operational management status includes at least normal operation, communication anomaly, playback anomaly, storage anomaly, power supply anomaly, and location anomaly. If the advertising delivery terminal is in normal operation, the ad matching module can continue to send ad content to the terminal, and the location service module can continue to use the terminal location data corresponding to the advertising delivery terminal to provide location services. If the advertising delivery terminal is in an anomaly state, the rule update unit restricts the advertising delivery terminal from participating in corresponding processing based on the anomaly type; for example, when the advertising delivery terminal is in a playback anomaly state, the ad matching module suspends sending new ad playback sequences to the terminal; when the advertising delivery terminal is in a location anomaly state, the location service module suspends using the terminal location data of the advertising delivery terminal to determine the service reference location.

[0137] The rule update unit updates the advertising delivery rules based on the processing results of the advertising playback statistics task. The advertising delivery rules continue to use the meanings from the advertising matching module, and at least include the advertising identifier, advertising content address, delivery area, delivery time, delivery terminal type, advertising priority, and advertising validity status. The rule update unit reads the number of plays and completed plays of the same advertising identifier in the target delivery area and compares them with the delivery requirements corresponding to the advertising content. The delivery requirements refer to the delivery control conditions stored in the platform server corresponding to the advertising delivery rules, used to indicate the playback requirements of advertising content in the target delivery area, delivery time, or advertising delivery terminal. If the number of completed plays of an advertising content in the target delivery area does not meet the delivery requirements, the rule update unit increases the advertising priority of the advertising content in the target delivery area, or extends the delivery time of the advertising content in the target delivery area. If the delivery requirements of an advertising content in the target delivery area have been met, the rule update unit decreases the advertising priority of the advertising content in the target delivery area, or adjusts the advertising validity status of the advertising content to a temporarily suspended state.

[0138] The rule update unit updates the service content configuration based on the processing results of the location service statistics task. Service content configuration refers to the configuration data in the platform server used to control whether service content is provided to user terminals or advertising terminals. It includes at least the service content identifier, service content type, service applicable area, service validity time, and service validity status. The rule update unit reads the number of times the same service content identifier is sent and the result sending status within the target service area, and adjusts the service validity time, service applicable area, or service validity status according to the service content's invocation status. The target service area, as defined in the location service module, refers to the geographical area pre-configured in the platform server that is allowed to provide service content to user terminals. If a service content is frequently requested within the target service area and the result sending status is normal, the rule update unit maintains the service validity status of that service content or expands its service applicable area. If a service content is not requested within the target service area for a long time, or the result sending status remains abnormal, the rule update unit narrows the service applicable area of ​​that service content, adjusts the service validity time, or adjusts the service validity status of that service content to a temporarily unavailable state.

[0139] After updating the ad delivery rules or service content configuration, the rule update unit writes the update results to the ad rule data table or service content data table. The ad rule data table is used by the ad matching module to read the ad delivery rules, and the service content data table is used by the location service module to read the service content. After receiving terminal location data for the next time, the ad matching module redetermines the candidate ad content and ad playback sequence according to the updated ad delivery rules. After receiving a location service request for the next time, the location service module redetermines the candidate service content and location service results according to the updated service content configuration.

[0140] The data management module can also generate management prompts. These prompts are data generated by the platform server based on the abnormal status of advertising terminals, advertising playback statistics, or location service statistics. They are used to show operations personnel the objects and reasons requiring action. Management prompts include at least the prompt object, prompt type, prompt time, and prompt content. The prompt object originates from the terminal identifier, advertising identifier, or service content identifier; the prompt type indicates whether the prompt pertains to a terminal abnormality, advertising delivery abnormality, or service content abnormality; the prompt time is recorded by the platform server when generating the prompt; and the prompt content is generated based on the corresponding abnormal status or statistical results. Operations personnel can use these management prompts to maintain advertising terminals, manually confirm advertising delivery rules, or manually adjust service content configurations.

[0141] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters in the formulas are set by those skilled in the art according to the actual situation.

[0142] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, in the form of a computer program product.

[0143] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and inventive constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0144] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0145] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0146] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A Beidou positioning advertising terminal and location service system, characterized in that, include: Terminal positioning module, advertising matching module, location service module, data management module, and signal connections between the modules; The terminal positioning module is used to collect the original positioning data of the advertising terminal, generate terminal location data based on the validity judgment result of the original positioning data, and upload and write the terminal location data into the terminal location data table. The ad matching module is used to filter candidate ad content based on the terminal location data and ad delivery rule data, generate ad playback sequence and ad delivery data packet, and generate ad playback feedback data based on the playback results of the ad delivery terminal. The location service module is used to determine the service reference area and service reference location based on the location service request, terminal location data, user terminal location data, advertising area pointing data, area configuration data, area request status data and area time period status data, and generate location service results based on the service reference area and the service reference location. The data management module is used to establish data correspondence based on terminal location data, ad playback feedback data, location service records, and terminal operation data, and to update service content configuration, ad delivery rule data, and the participation status of ad delivery terminals.

2. The Beidou positioning advertising terminal and location service system according to claim 1, characterized in that: The advertising terminal is equipped with a Beidou positioning unit, a terminal control unit, and a communication unit. The Beidou positioning unit collects raw positioning data including longitude, latitude, positioning time, positioning accuracy, and number of satellites.

3. The Beidou positioning advertising terminal and location service system according to claim 2, characterized in that: The terminal control unit establishes rules for judging the integrity of the original positioning data, rules for comparing positioning accuracy thresholds, rules for comparing satellite number thresholds, and rules for comparing distance of position change. Based on the judgment results, the original positioning data is re-acquired, valid data is confirmed, historical positions are reused, or current positions are replaced. Terminal location data, including terminal identifier, longitude, latitude, positioning time, and positioning status, is constructed and uploaded to the platform server through the communication unit. The platform server then writes the terminal identifier, longitude, latitude, positioning time, and positioning status into the terminal location data table.

4. The Beidou positioning advertising terminal and location service system according to claim 3, characterized in that: Between the platform server and the advertising delivery terminal, set up advertising rule units, advertising filtering units, playback control units and advertising delivery units, establish an advertising delivery rule data table, and configure advertising identifiers, advertising content addresses, delivery areas, delivery times, delivery terminal types, advertising priorities and advertising validity status; The advertising filtering unit reads the terminal location data and, based on the location status, latitude and longitude, location time, and terminal basic data, sequentially matches regional conditions, time conditions, terminal type, and screen specification conditions to filter candidate advertising content.

5. The Beidou positioning advertising terminal and location service system according to claim 4, characterized in that: The playback control unit constructs an ad playback sequence based on ad priority and historical playback records in the ad playback data table, and generates playback control information for each ad content, including playback start conditions, playback duration conditions, playback end conditions, and cache verification information. Subsequently, the ad delivery unit generates an ad delivery data packet containing terminal identifier, ad identifier, ad content address, ad playback sequence, and playback control information. The ad delivery terminal generates ad playback feedback data containing terminal identifier, ad identifier, playback start time, playback end time, playback result, and terminal location data identifier based on terminal identifier consistency judgment, cache verification, ad file download verification, and playback status records, and writes it into the ad playback data table.

6. The Beidou positioning advertising terminal and location service system according to claim 5, characterized in that: Set up a service request receiving unit, a service area determination unit, a service content filtering unit, and a service result sending unit within the platform server, and establish a comprehensive analysis link between location service requests, terminal location data, user terminal location data, advertising area pointing data, area configuration data, area request status data, and area time period status data; When an advertising terminal is located at the intersection of two or more service areas, and relying solely on the latitude and longitude of the advertising terminal, the latitude and longitude of the user terminal, or a fixed service range is insufficient to determine the actual area to which the request belongs, a candidate service area corresponding to the advertising terminal is first constructed based on the latitude and longitude of the advertising terminal and the area boundary, area type, area travel direction, area service type, area adjacency relationship, and boundary judgment conditions in the area configuration data table. Then, based on the associated terminal identifier, request time, service type, and request source in the location service request, service type matching and request association processing are performed on the candidate service areas.

7. A Beidou positioning advertising terminal and location service system according to claim 6, characterized in that: Read the user terminal's longitude, latitude, and positioning time to construct the user's location area or nearby areas, and establish a spatial relationship between the user's location and the terminal's installation area by combining the adjacency relationships between candidate service areas. Simultaneously, the system queries the ad playback data table based on the associated terminal identifier and request time, reads the ad region pointing data corresponding to the currently playing or recently played ad, constructs the ad pointing region, and matches the ad content pointing region and the pointing service type with the service type in the location service request. Furthermore, it generates user movement trend data (entry trend, departure trend, or dwell trend) based on the current user terminal location data and historical user terminal location data, and constructs region request status data based on the number of location service requests, request service types, and result sending status within a preset statistical time period. It also constructs region time period status data based on the region identifier, time period identifier, main service type, and main travel direction. The service area determination unit converges candidate service areas sequentially according to region availability, request relevance, ad pointing, user movement trend, and region time period status. It first deletes unavailable or unsupported candidate areas for the current service type, then retains corresponding region combinations based on different request sources such as scan identification codes, ad page service entry points, or ad delivery terminals forwarding requests. Finally, it corrects the direction of the retained areas based on entry, departure, or dwell trends, and determines the service benchmark area by combining the main service type, main travel direction, ad pointing region, concentrated request status, user location, and ad delivery terminal location.

8. The Beidou positioning advertising terminal and location service system according to claim 7, characterized in that: Based on the relationship between the service reference area and the user's location, the target service area where the advertising terminal is located, and adjacent areas, the latitude and longitude of the user terminal, the latitude and longitude of the advertising terminal, or the area entrance location in the service reference area are selected as the service reference location. A service reference area determination result is generated, which includes the associated terminal identifier, request time, service type, service reference area, service reference location, request source, advertising target area, user movement trend data, and area request status data. This result is used by the service content filtering unit to perform area filtering based on the service reference area and spatial calculation based on the service reference location. At the same time, when the service reference area of ​​multiple consecutive location service requests continuously shifts towards the same adjacent target service area, this change is written into the area request status data, and the area adjacency relationship or boundary judgment condition of the candidate service area corresponding to the advertising terminal is updated.

9. A Beidou positioning advertising terminal and location service system according to claim 8, characterized in that: The service area determination unit constructs a surrounding query range, a path query range, or a regional message query range based on the service type. The service content filtering unit establishes matching rules for service content type, service validity time, service content location, service applicable area, and service validity status, and filters candidate service content from the service content data table. For surrounding information, the display order is arranged according to the distance between the service content location and the service reference location. For route guidance, the service reference location, target location, and road data are submitted to the route processing unit to generate route information including the route start point, route end point, roads passed through, and route distance. For regional messages, the target service area, service applicable area, and service validity time are matched to determine the area where messages can be sent. Subsequently, the service result sending unit constructs a location service result containing the associated terminal identifier, service type, service content identifier, service content name, service content location, and service display content, and sends it to the user terminal or advertising delivery terminal according to the recipient. Finally, the location service module organizes the location service request and location service result into a location service record containing the associated terminal identifier, request time, service type, service reference location, service content identifier, and result sending status, and writes it into the location service data table.

10. A Beidou positioning advertising terminal and location service system according to claim 8, characterized in that: The platform server is equipped with a data receiving unit, a data storage unit, a data statistics unit, a rule update unit, and a terminal management unit. These units receive terminal location data, advertising playback feedback data, location service records, and terminal operation data, respectively. The terminal location data table, advertising playback data table, location service table, and terminal operation data table are linked through terminal identifiers or associated terminal identifiers. Specifically, the data management module reads the associated terminal identifier, request time, service type, service base location, service content identifier, and result sending status from the location service records to construct location service call statistics. This statistics are then combined with the service base location, target service area, and number of service content sending attempts. The system updates the service application area, service validity time, and service validity status in the service content configuration, along with the result sending status. Simultaneously, the data statistics unit calculates the number of times the advertisement content is played, the number of times it is completed, and the actual playback area in different target delivery areas based on the advertisement playback data table and the terminal location data table. The rule update unit then adjusts the advertisement priority, delivery time, or advertisement validity status. The terminal management unit marks communication anomalies, playback anomalies, storage anomalies, power supply anomalies, or location anomalies based on the communication status, advertisement playback unit status, local storage status, power supply status, and location status, and restricts the advertisement delivery terminal from participating in advertisement matching or location services based on the anomaly type.