Arrival reminder method, device, equipment and storage medium

By obtaining the user's subway location and target site and displaying the arrival reminder information in the video player, the problem of users missing the departure site due to immersive viewing of videos while taking the subway is solved, and the effect of users getting a timely understanding of the current site during the video is achieved.

CN115065938BActive Publication Date: 2025-03-14BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210588636.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2025-03-14
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

Users can watch videos immersively while taking the subway, which can easily miss the departure station, resulting in missed destinations and late to work.

Method used

By obtaining the user's current location and the target subway station, using the video player's arrival reminder service, when the distance from the current location to the target subway station is less than the distance threshold, the arrival reminder information is displayed on the video playback interface.

Benefits of technology

Even if users watch videos while taking the subway, they can promptly learn about their current site to avoid missing the stops and being late to work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115065938B_ABST
    Figure CN115065938B_ABST
Patent Text Reader

Abstract

The present application relates to a station arrival reminder method, device, equipment and storage medium, the method comprising obtaining the current location of the user, and obtaining the target subway station from the station arrival reminder service of the video player; when it is determined that the distance between the current location and the target subway station is less than the distance threshold, the station arrival reminder information is displayed on the video playback interface of the video player. Since the station arrival reminder service is supported in the video player, even if the user is watching a video while riding the subway, the user can be reminded of the station arrival in the video playback interface based on the target subway station set by the user in the station arrival reminder server, so that the user can also be informed of the current station in time while watching the video, solving the problem of missing the get-off station and being late for work when immersed in watching the video.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method, device, equipment and storage medium for reminding a station to arrive. Background Art

[0002] Subways provide great convenience for people's travel, and more and more people choose to travel by subway. In order to kill time, people often choose to watch videos while riding the subway. However, the immersive video viewing experience makes it easy for users to miss their stop on the subway, resulting in missing their destination, being late for work, and other problems. Summary of the invention

[0003] The present application provides a station arrival reminder method, device, equipment and storage medium, which are used to solve the problem of users missing their get-off stations due to immersive video viewing while riding the subway.

[0004] In a first aspect, a method for reminding a station is provided, comprising:

[0005] Get the user's current location and the target subway station from the video player's arrival reminder service;

[0006] When it is determined that the distance between the current position and the target subway station is less than a distance threshold, arrival reminder information is displayed on the video playback interface of the video player.

[0007] Optionally, before obtaining the user's current location, the following is also included:

[0008] Acquire the setting time and setting location of the target subway station set by the user in the video player;

[0009] Starting from the set time, counting the running time of the train taken by the user;

[0010] Predict a duration threshold corresponding to the set position, and determine that the running duration is not less than the duration threshold, where the duration threshold is the time required for the train to travel from the set position to the target detection position, and the target detection position is the position where the user's current position is detected before the train arrives at the target subway station.

[0011] Optionally, predicting a duration threshold corresponding to the set position includes:

[0012] Calculating a target detection position based on a preset advance warning distance and the position of the target subway station;

[0013] Predicting the target running time required for the train to travel from the set position to the target detection position;

[0014] The target running time is determined to be a time threshold corresponding to the setting position.

[0015] Optionally, determining that the distance between the current position and the target subway station is less than a distance threshold includes:

[0016] Obtain the geographic fence range that matches the target subway station;

[0017] When it is determined that the current location is within the geographic fence, it is determined that the distance between the current location and the target subway station is less than the distance threshold.

[0018] Optionally, before determining that the distance between the current position and the target subway station is less than a distance threshold, the method further includes:

[0019] When it is determined that the target subway station belongs to a subway station in a preset list, an adjacent subway station of the target subway station is obtained, the adjacent subway station is on the same subway line as the target subway station, and the adjacent subway station is not in the list; the subway station in the list is a subway station where the position of the person in the station cannot be obtained;

[0020] Calculating the station distance between the target subway station and the adjacent subway station;

[0021] It is determined that the distance threshold is greater than the station distance.

[0022] Optionally, calculating the station distance between the target subway station and the adjacent subway station includes:

[0023] From the subway lines where the target subway station and the adjacent subway station are located, obtain the minimum number of subway stations between the adjacent subway station and the target subway station, and the distance between any two adjacent subway stations in the subway line;

[0024] Calculate the product of the minimum number of subway stations and the distance;

[0025] The product is taken as the station distance.

[0026] Optionally, displaying arrival reminder information on the video playback interface of the video player includes:

[0027] Acquire the video content played on the video playback interface and the advertising information related to the target subway station;

[0028] Based on the video content, the advertisement information and the arrival reminder information are displayed.

[0029] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application obtains the current location of the user and the target subway station from the arrival reminder service of the video player; when it is determined that the distance between the current location and the target subway station is less than the distance threshold, the arrival reminder information is displayed on the video playback interface of the video player. Since the video player supports the arrival reminder service, even if the user is watching a video while riding the subway, the user can be reminded of the arrival in the video playback interface based on the target subway station set by the user in the arrival reminder server, so that the user can also be informed of the current station in time while watching the video, solving the problem of missing the get-off station and being late for work when immersed in watching the video. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0032] Figure 1 This is a flow chart of the arrival reminder method in the embodiment of the present application;

[0033] Figure 2 A schematic diagram of a scenario showing a setting interface of a station arrival reminder service on a display interface of a video player according to an embodiment of the present application;

[0034] Figure 3 A schematic diagram of a scene of an arrival reminder information for East Forty Line displayed on a video playback interface according to an embodiment of the present application;

[0035] Figure 4 This is a schematic diagram of the structure of the arrival reminder device in the embodiment of the present application;

[0036] Figure 5 Schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0039] The embodiment of the present application provides a station arrival reminder method, which can be applied to any electronic device;

[0040] The electronic device described in this embodiment may include a terminal or a server, which is not specifically limited in the embodiment of the present application. The terminal includes various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices (such as smart watches, smart bracelets, pedometers, etc.), computing devices, user equipment (UE for short), mobile stations (MS for short) or terminal devices (terminal devices), etc. For the convenience of description, the above-mentioned devices are collectively referred to as electronic devices.

[0041] like Figure 1 As shown, the method may include the following steps:

[0042] Step 101: Get the user's current location and get the target subway station from the arrival reminder service of the video player.

[0043] In this embodiment, the current location of the user may be specific latitude and longitude data, or may be directly the station information of a subway station, for example, the current location of the user is Dongsishitiao Station.

[0044] When the user's current location is indicated by longitude and latitude data, in this embodiment, it is set that the user's current location can be obtained through GPS signals, WIFI signals of subway stations, or base station signals. In specific applications, when the network signal of the electronic device is good, the user's current location is obtained using GPS signals; when the network signal of the electronic device is poor, the user's current location is obtained using WIFI signals or base station signals of subway stations closer to the electronic device.

[0045] Regarding obtaining the user's current location through GPS signals, in the application, the electronic device has a built-in GPS module. Through the GPS module, the electronic device can receive signals transmitted by positioning satellites. Based on the received signals, the distance from the electronic device to the positioning satellite can be calculated. Combined with the position of the positioning satellite and the calculated distance to the positioning satellite, the position of the electronic device can be calculated, and then the user's current location can be calculated based on the calculated position of the electronic device.

[0046] Regarding obtaining the user's current location through the WIFI signal of the subway station, when the electronic device is connected to the Internet through the WIFI network, it scans the surrounding WIFI hotspots. Since each WIFI hotspot has a unique MAC address, when a certain WIFI hotspot is scanned, the actual location of the WIFI hotspot is obtained based on the MAC address of the WIFI hotspot, and then the user's current location is determined based on the actual location of the WIFI hotspot.

[0047] Regarding obtaining the user's current location through the base station signal of the subway station, in applications, electronic devices and external devices usually need to use nearby base stations to interact with each other (such as making calls, sending text messages, etc.). Therefore, when the electronic device is interacting with data, if it scans the ID of a base station, the location of the electronic device can be roughly estimated based on the location of the base station, and then the user's current location can be inferred based on the estimated location of the electronic device.

[0048] When the user's current location is indicated by the subway station information, considering that during the actual operation of the subway, a broadcast reminder will be made inside the train at each station, and the broadcast data of the broadcast reminder usually contains the station information, the user's current location can be obtained from the broadcast data.

[0049] In an optional embodiment, when it is determined that the broadcast data of the train that the user is riding is monitored, the station information contained in the broadcast data is parsed; and based on the station information, the current position is determined.

[0050] In this embodiment, considering that the accuracy of the user's current location obtained through GPS signals and broadcast data is usually higher than the accuracy of the user's current location obtained through the WIFI signal or base station signal of the subway station, in actual application, the priority of obtaining the user's current location through GPS signals or broadcast data can be set higher than the priority of obtaining the user's current location through the WIFI signal or base station signal of the subway station. In addition, since broadcast data cannot be guaranteed to be monitored in real time, between obtaining the user's current location through broadcast data and obtaining the user's current location through GPS signals, the priority of obtaining the user's current location through GPS signals is set higher than that of obtaining the user's current location through broadcast data. Finally, since the base station signal near the subway station is usually stronger than the WIFI signal, the priority of obtaining the user's current location through the base station signal is set higher than the priority of obtaining the user's current location through the WIFI signal.

[0051] Based on the above priority settings, when it is necessary to obtain the user's current location, the user's current location is located through GPS signals first; when the user's current location cannot be located through GPS signals, the user's current location is analyzed by monitoring broadcast data; when the user's current location cannot be obtained through broadcast data, the user's current location is inferred through nearby base station signals; and when the user's current location cannot be obtained through base station signals, the user's current location is obtained through WIFI signals.

[0052] In this embodiment, an arrival reminder service is pre-deployed in the video player of the electronic device. When the user sets the target subway station for which the electronic device needs to remind the user of the arrival, the user enters the arrival reminder service through the gadget entrance of the video player, and then enters the target subway station on the setting interface displayed by the arrival reminder service.

[0053] In the application, in order to facilitate electronic devices to obtain relevant information of the target subway station as quickly as possible and improve the efficiency of arrival reminders for the target subway station, the arrival reminder service deployed in the video player also supports users to set the city to which the target subway station belongs and the subway line to which the target subway station belongs.

[0054] See also Figure 2 , Figure 2 This is a schematic diagram of a scene showing a setting interface of a station arrival reminder service on a display interface of a video player according to this embodiment. Figure 2 In the example, the target subway station indicated by the user is Dongsishitiao Station, and Dongsishitiao Station belongs to Metro Line 2 in Beijing.

[0055] In this embodiment, if the user's current location is indicated by longitude and latitude, when obtaining the user's current location, the user's current location can be obtained in real time, that is, when the user turns on the arrival reminder service in the video player, the GPS module or communication module in the electronic device immediately obtains the user's current location in real time and transmits the user's current location to the controller in the electronic device, so that the controller determines whether the arrival reminder is needed based on the user's current location. Among them, the communication module is a module in the electronic device that can communicate with a base station or a WIFI hotspot.

[0056] In the application, since there is often a certain distance between the location where the user sets the target subway station and the target subway station, and if the electronic device detects the user's current location in real time since the user sets the target subway station, it will cause the electronic device to consume a lot of power. Therefore, in order to reduce the power consumption of the electronic device, this embodiment is set to detect the user's current location in real time after the user sets the target subway station and the train runs a certain distance, that is, when the train is about to arrive at the target subway station. In this case, when the user turns on the arrival reminder service in the video player, the GPS module or communication module in the electronic device does not immediately obtain the user's current location, but waits for the instruction of the controller. When the controller determines that the train is about to arrive at the target subway station (for example, there are still 3 stations away from the target subway station), a control instruction is sent to the GPS module or communication module so that the GPS module or communication module starts running and detects the user's current location, and then transmits the user's current location to the controller.

[0057] When determining that the train is about to arrive at the target subway station, in an optional embodiment, the setting time and setting position of the target subway station set by the user in the video player are obtained; starting from the setting time, the running time of the train taken by the user is counted; the time threshold corresponding to the setting position is predicted, and it is determined that the running time is not less than the time threshold, and the time threshold is the time required for the train to travel from the setting position to the target detection position, and the target detection position is the position where the user's current position is detected before the train arrives at the target subway station.

[0058] It should be understood that when the running time is not less than the time threshold, it indicates that the train is close to the target subway station. At this time, it is necessary to detect the user's position in real time to determine whether it is necessary to remind the user of the arrival at the station. It should be noted that when the running time is not less than the time threshold, the distance between the target detection position and the target subway station is not less than the distance threshold.

[0059] It should be understood that since the distance between the setting location when the user sets the target subway station and the target subway station is flexible and variable, this embodiment flexibly determines the duration threshold based on the setting location to ensure the versatility of this solution.

[0060] In a specific implementation, in an optional embodiment, the target detection position is calculated based on the preset advance warning distance and the location of the target subway station; the target running time required for the train to travel from the set position to the target detection position is predicted; and the target running time is determined to be a time threshold corresponding to the set position.

[0061] It should be understood that the advance reminder distance here is greater than the distance threshold.

[0062] In one example, when a user takes a train from subway station A, the user sets the target subway station B on the setting interface displayed by the arrival reminder service. Since subway station A is far away from the target subway station B, the user's current location is detected in real time after the train runs from subway station A for T1 time. If the user takes a train from subway station A again, the train runs for 2 stations and then sets the target subway station B on the setting interface displayed by the arrival reminder service. Since the location of the target subway station B (hereinafter referred to as location C) is closer to the target subway station B than subway station A is to the target subway station B, in this case, the train runs from location C for T2 time and then the user's current location is detected in real time, and T2 is less than T1.

[0063] Step 102: When it is determined that the distance between the current position and the target subway station is less than a first distance threshold, a station arrival reminder message is displayed on a video playback interface of a video player.

[0064] In this embodiment, it is determined based on the geographic fence range of the target subway station whether the distance between the user's current location and the target subway station is less than a first distance threshold.

[0065] In an optional embodiment, a geographic fence range matching the target subway station is obtained; when it is determined that the current position is within the geographic fence range, it is determined that the distance between the current position and the target subway station is less than a first distance threshold.

[0066] In the application, the geo-fence of the target subway station can be set according to the latitude and longitude of the target subway station by setting a specified fence radius. Therefore, when it is determined that the user's current location enters the range of the geo-fence, it is determined that the distance between the current location and the target subway station is less than the first distance threshold.

[0067] In an example, taking the Dongsishitiao subway station as an example, its longitude and latitude are (39.939419675,116.44175187). The longitude and latitude and the specified fence radius can be combined to obtain the geographical fence range of the Dongsishitiao subway station.

[0068] It should be understood that the arrival reminder information at least includes the station information of the target subway station. Figure 3 , Figure 3This is a schematic diagram of a scenario showing the arrival reminder information for Dongsishitiao displayed on the video playback interface in this embodiment.

[0069] In the application, considering that the signal near some subway stations is very poor, or even there is no base station signal, in this case, in order to ensure the success rate of reminding users when they arrive at the station, a setting is made to remind users when they arrive at the station in advance.

[0070] In an optional embodiment, when it is determined that the target subway station belongs to a subway station in a preset list, the adjacent subway stations of the target subway station are obtained, the adjacent subway station is on the same subway line as the target subway station, and the adjacent subway station is not in the list; the subway stations in the list are subway stations where the positions of people in the station cannot be obtained; the station distance between the target subway station and the adjacent subway station is calculated; and it is determined that the first distance threshold is greater than the station distance.

[0071] In an example, assuming that the target subway station set by the user is station A, the adjacent subway station of station A is station B, and the station distance between station A and station B is L, then the determined first distance threshold needs to be greater than L. When determining whether the distance between the current location and the target subway station is less than the first distance threshold in combination with the concept of geographic fence range, S can be used as the fence radius of the target subway station, and the actual location of the target subway station can be used as the center of the geographic fence to set the geographic fence of the target subway station, where S>L.

[0072] It should be understood that the station distance here does not refer to the straight-line geographical distance between the target subway station and the adjacent subway station, but the geographical distance between the two determined according to the directions of the subway lines to which the two subway stations belong.

[0073] It should be understood that the subway stations in the list may be preset by the user based on experience.

[0074] In the application, on a certain subway line, the target subway station usually has two subway stations, and the adjacent subway stations shown in this embodiment refer to the subway stations that the train needs to pass through before running to the target subway station.

[0075] In this embodiment, the station distance between the target subway station and the adjacent subway station is calculated based on the station distance between the target subway station and the adjacent subway station and the distance between two adjacent subway stations.

[0076] In a specific implementation, in an optional embodiment, the minimum number of subway stations between the adjacent subway station and the target subway station and the distance between any two adjacent subway stations in the subway line are obtained from the subway line where the target subway station and the adjacent subway station are located; the product between the minimum number of subway stations and the distance is calculated; and the product is used as the station distance.

[0077] In the application, when an arrival reminder is given in advance, in order to make it clear to the user that the current reminder is a pre-reminder and not that the user has actually arrived at the target subway station, the arrival reminder information includes prompt information indicating the arrival at the adjacent subway station and the number of stations between the adjacent railway station and the target subway station.

[0078] In an example, if the target subway station set by the user is Station A, and the adjacent subway station of Station A is Station B, then the arrival reminder information at this time can be: Station A has arrived, and there is still one stop to Station B, please be careful not to miss the stop~.

[0079] In this embodiment, in order to prevent users from ignoring the arrival reminder information displayed on the video playback interface, when the arrival reminder information is displayed on the video playback interface, the arrival reminder information is associated with the video content displayed on the video playback interface. At the same time, in order to improve user favorability, patch ads can also be embedded in the arrival reminder information. The patch ads here can be ads of businesses near the target subway station, or ads of businesses near adjacent subway stations.

[0080] In a specific implementation, in an optional embodiment, the video content played on the video playback interface and the advertising information related to the target subway station are obtained; based on the video content, the advertising information and arrival reminder information are displayed.

[0081] In the application, you can find the display difference that meets the display requirements from the video content, and display the advertising information and the arrival reminder information in the display area. For example, the advertising information and the arrival reminder information are displayed in the area that can attract the user's attention, such as the head portrait of the character in the current video frame, the blank area of ​​the current video frame, or the area with low screen brightness. Of course, you can also imitate the tone of the head portrait in the current video frame to play the advertising information and the arrival reminder information, etc. This embodiment does not specifically limit this.

[0082] In the technical solution provided by the embodiment of the present application, the current location of the user is obtained, and the target subway station is obtained from the arrival reminder service of the video player; when it is determined that the distance between the current location and the target subway station is less than the first distance threshold, the arrival reminder information is displayed on the video playback interface of the video player. Since the video player supports the arrival reminder service, even if the user is watching a video while riding the subway, the user can be reminded of the arrival in the video playback interface based on the target subway station set by the user in the arrival reminder server, so that the user can also be informed of the current station in time while watching the video, solving the problem of missing the get-off station and being late for work when immersed in watching the video.

[0083] Based on the same concept, an arrival reminder device is provided in the embodiment of the present application. The specific implementation of the device can be found in the description of the method embodiment part, and the repeated parts will not be repeated. Figure 4As shown, the device mainly includes:

[0084] The acquisition unit 401 is used to acquire the current location of the user and acquire the target subway station from the arrival reminder service of the video player;

[0085] The reminder unit 402 is used to display arrival reminder information on the video playback interface of the video player when it is determined that the distance between the current position and the target subway station is less than a distance threshold.

[0086] Optionally, the device is also used for:

[0087] Before obtaining the user's current location, obtain the setting time and setting location of the target subway station set by the user in the video player;

[0088] Starting from the set time, the running time of the train taken by the user is counted;

[0089] Predict the duration threshold corresponding to the set position, and determine that the running time is not less than the duration threshold. The duration threshold is the time required for the train to travel from the set position to the target detection position. The target detection position is the position where the user's current position is detected before the train arrives at the target subway station.

[0090] Optionally, the device is used to:

[0091] Calculate the target detection location based on the preset advance warning distance and the location of the target subway station;

[0092] Predict the target running time required for the train to travel from the set position to the target detection position;

[0093] The target running time is determined to be a time threshold corresponding to the set position.

[0094] Optionally, the reminding unit 402 is used to:

[0095] Get the geo-fence range that matches the target subway station;

[0096] When it is determined that the current location is within the geographic fence, it is determined that the distance between the current location and the target subway station is less than a distance threshold.

[0097] Optionally, the device is also used for:

[0098] Before determining that the distance from the current position to the target subway station is less than the distance threshold, when it is determined that the target subway station belongs to a subway station in a preset list, obtain the adjacent subway stations of the target subway station, the adjacent subway station is on the same subway line as the target subway station, and the adjacent subway station is not in the list; the subway stations in the list are subway stations where the positions of people in the station cannot be obtained;

[0099] Calculate the station distance between the target subway station and the adjacent subway stations;

[0100] Make sure the distance threshold is greater than the station distance.

[0101] Optionally, the device is used to:

[0102] From the subway lines where the target subway station and the adjacent subway station are located, obtain the minimum number of subway stations between the adjacent subway station and the target subway station, as well as the distance between any two adjacent subway stations in the subway line;

[0103] Calculate the product between the minimum number of subway stations and the distance;

[0104] The product is taken as the station distance.

[0105] Optionally, the reminding unit 402 is used to:

[0106] Obtain the video content played on the video playback interface and the advertising information related to the target subway station;

[0107] Based on the video content, display advertising information and arrival reminder information.

[0108] Based on the same concept, an electronic device is also provided in the embodiment of the present application, such as Figure 5 As shown, the electronic device mainly includes: a processor 501, a memory 502 and a communication bus 503, wherein the processor 501 and the memory 502 communicate with each other through the communication bus 503. The memory 502 stores a program executable by the processor 501, and the processor 501 executes the program stored in the memory 502 to implement the following steps:

[0109] The user's current location is obtained, and the target subway station is obtained from the arrival reminder service of the video player; when it is determined that the distance between the current location and the target subway station is less than a distance threshold, the arrival reminder information is displayed on the video playback interface of the video player.

[0110] The communication bus 503 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 503 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0111] The memory 502 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Alternatively, the memory may also be at least one storage device located away from the processor 501 .

[0112] The above-mentioned processor 501 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0113] In another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed on a computer, the computer executes the arrival reminder method described in the above embodiment.

[0114] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape, etc.), an optical medium (e.g., a DVD) or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0115] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0116] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A station arrival reminder method, characterized in that: include: Get the user's current location and the target subway station from the video player's arrival reminder service; When it is determined that the target subway station belongs to a subway station in a preset list, an adjacent subway station of the target subway station is obtained, the adjacent subway station is on the same subway line as the target subway station, and the adjacent subway station is not in the list; the subway station in the list is a subway station where the position of the person in the station cannot be obtained; the station distance between the target subway station and the adjacent subway station is calculated; and it is determined that the distance threshold is greater than the station distance; When it is determined that the distance between the current position and the target subway station is less than a distance threshold, displaying arrival reminder information on the video playback interface of the video player, including: acquiring the video content played on the video playback interface, and the advertising information related to the target subway station; based on the video content, displaying the advertising information and the arrival reminder information, wherein the advertising information is an advertisement of a business near the target subway station or an adjacent subway station, displaying the advertising information and the arrival reminder information on the character avatar of the current video frame of the video content, a blank area of ​​the current video frame, or an area with low screen brightness, and playing the advertising information and the arrival reminder information in an imitating tone of the character avatar in the current video frame.

2. The method according to claim 1, characterized in that Before getting the user's current location, also include: Acquire the setting time and setting location of the target subway station set by the user in the video player; Starting from the set time, counting the running time of the train taken by the user; Predict a duration threshold corresponding to the set position, and determine that the running duration is not less than the duration threshold, where the duration threshold is the time required for the train to travel from the set position to the target detection position, and the target detection position is the position where the user's current position is detected before the train arrives at the target subway station.

3. The method according to claim 2, characterized in that Predicting a duration threshold corresponding to the set position includes: Calculating a target detection position based on a preset advance warning distance and the position of the target subway station; Predicting the target running time required for the train to travel from the set position to the target detection position; The target running time is determined to be a time threshold corresponding to the setting position.

4. The method according to claim 1, characterized in that Determining that the distance between the current position and the target subway station is less than a distance threshold includes: Obtain the geographic fence range that matches the target subway station; When it is determined that the current location is within the geographic fence, it is determined that the distance between the current location and the target subway station is less than the distance threshold.

5. The method according to claim 1, characterized in that Calculating the station distance between the target subway station and the adjacent subway station, including: From the subway lines where the target subway station and the adjacent subway station are located, obtain the minimum number of subway stations between the adjacent subway station and the target subway station, and the distance between any two adjacent subway stations in the subway line; Calculate the product of the minimum number of subway stations and the distance; The product is taken as the station distance.

6. A station arrival reminder device, characterized in that: include: An acquisition unit, used to acquire the current location of the user and to acquire the target subway station from the arrival reminder service of the video player; When it is determined that the target subway station belongs to a subway station in a preset list, an adjacent subway station of the target subway station is obtained, the adjacent subway station is on the same subway line as the target subway station, and the adjacent subway station is not in the list; the subway station in the list is a subway station where the position of the person in the station cannot be obtained; Calculating the station distance between the target subway station and the adjacent subway station; determining that the distance threshold is greater than the station distance; A reminder unit, for displaying arrival reminder information on the video playback interface of the video player when it is determined that the distance between the current position and the target subway station is less than a distance threshold, comprising: acquiring the video content played on the video playback interface, and the advertising information related to the target subway station; based on the video content, displaying the advertising information and the arrival reminder information, wherein the advertising information is an advertisement of a business near the target subway station or an adjacent subway station, displaying the advertising information and the arrival reminder information on the character avatar in the current video frame of the video content, in a blank area of ​​the current video frame, or in an area with low screen brightness, and playing the advertising information and the arrival reminder information in a manner imitating the tone of the character avatar in the current video frame.

7. An electronic device, characterized in that: include: A processor, a memory and a communication bus, wherein the processor and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to execute the program stored in the memory to implement the arrival reminder method described in any one of claims 1-5.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the arrival reminder method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Reminding method and terminal

    CN106250149A

  • Station arrival prompting method and device, storage medium and mobile terminal

    CN108171965A

  • Stop broadcasting method and device, multimedia equipment and storage medium

    CN113971892A