Rail transit station broadcasting method, device, computer equipment and storage medium

By comparing the acceleration data of rail transit tools with preset data, and obtaining and broadcasting the upcoming stations, the problem that users are prone to missing station broadcasts when taking rail transit is solved, and the user's riding experience is improved.

CN114954589BActive Publication Date: 2025-03-25SHANGHAI WINGTECH INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210434656.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-24
Publication Date
2025-03-25
Estimated Expiration
2042-04-24

AI Technical Summary

Technical Problem

Users are likely to miss the broadcast information of the departure station when wearing noise-cancelling headphones when riding on rail transit.

Method used

By determining whether the acceleration data of the current rail transit tool matches the acceleration data preset to the station data, if it matches, the site broadcast information is obtained and the user is broadcasted through the headset.

Benefits of technology

Improve the efficiency of users to determine the upcoming station when taking rail transit, and avoid the problem of missing the departure station due to missing the site broadcast information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114954589B_ABST
    Figure CN114954589B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a rail transit station announcement method, device, computer equipment and storage medium, which relate to the field of terminal technology. The method includes: determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; if it matches, starting the first function for obtaining the station announcement information of the current rail transit vehicle; determining the rail transit station that the current rail transit vehicle is about to arrive at according to the station announcement information of the current rail transit vehicle; and announcing the rail transit station that the current rail transit vehicle is about to arrive at to the user through headphones. It is used to solve the problem that the user may not be able to hear the station announcement information of the rail transit vehicle when wearing headphones, resulting in missing the alighting station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a rail transit station broadcasting method, device, computer equipment and storage medium. Background Art

[0002] The application of smart devices has greatly enriched and facilitated people's lives. As an accessory for audio transmission, headphones can be used in a variety of smart terminal devices. The application of noise reduction technology in headphones has greatly improved the output sound quality of voice, music, etc., and enhanced the user's experience of listening to voice, music, etc.

[0003] However, when users use noise-cancelling headphones, such as TWS (True Wireless Stereo) headphones, they may not be able to hear the sounds of the outside environment. For example, when users are taking public transportation, they may not hear the public transportation station announcements, causing them to miss the get-off stop. Summary of the invention

[0004] In order to solve the technical problem that users easily miss their alighting stops when wearing headphones while riding rail transit, the present application provides a rail transit station announcement method, apparatus, computer equipment and storage medium.

[0005] In a first aspect, an embodiment of the present application provides a rail transit station announcement method, the method comprising:

[0006] Determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data;

[0007] If a match is found, a first function is started, wherein the first function is used to obtain the station broadcast information of the current rail transit vehicle;

[0008] Determining the rail transit station that the current rail transit vehicle is about to arrive at according to the station broadcast information of the current rail transit vehicle;

[0009] The rail transit station that the current rail transit vehicle is about to arrive at is announced to the user through the earphone.

[0010] In one embodiment, determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data includes:

[0011] Acquire a first moment, where the first moment is the moment when the current rail transit vehicle starts to decelerate;

[0012] Taking the first moment as the starting moment, obtaining an acceleration curve of the current rail transit vehicle within a preset time period;

[0013] Obtaining a fitting error according to the acceleration curve of the current rail transit vehicle and the acceleration curve in the preset arrival data;

[0014] If the fitting error is less than a threshold fitting error, it is determined that the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data.

[0015] In one embodiment, before determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data, the method further includes:

[0016] Acquire an environmental noise signal, and determine whether the environmental noise signal is a rail transit noise signal;

[0017] If so, a second function is started, where the second function is used to obtain acceleration data of the rail transit vehicle.

[0018] In one embodiment, before obtaining the environmental noise signal and determining whether the environmental noise signal belongs to a rail transit noise signal, the method further includes:

[0019] Determine whether the user is taking rail transportation;

[0020] If so, a third function is started, where the third function is used to obtain the environmental noise signal.

[0021] In one embodiment, determining whether the user is riding a rail transit vehicle includes:

[0022] Determining whether a target terminal device interacts with rail transit via NFC, the target terminal device comprising a terminal device connected to the headset;

[0023] If so, it is determined that the user is riding on the rail transit vehicle.

[0024] In one embodiment, before determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data, the method further includes:

[0025] Receiving a first operation from a user;

[0026] In response to the first operation, the second function is started.

[0027] In one embodiment, after the rail transit station that the current rail transit vehicle is about to arrive at is broadcasted to the user through the earphone, the method further includes:

[0028] Turn off the first function of the headset.

[0029] In a second aspect, an embodiment of the present application provides a rail transit station announcement device, comprising:

[0030] A detection module, used to determine whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data;

[0031] The activation module is used to start the first function if a match is found, and the first function is used to obtain the station broadcast information of the current rail transit vehicle;

[0032] An acquisition module, used to determine the rail transit station that the current rail transit vehicle is about to arrive at according to the station broadcast information of the current rail transit vehicle;

[0033] The announcement module is used to announce to the user through headphones the rail transit station that the current rail transit vehicle is about to arrive at.

[0034] In one embodiment, the detection module is specifically used to: obtain a first moment, the first moment being the moment when the current rail transit vehicle starts to decelerate; taking the first moment as the starting moment, obtaining an acceleration curve of the current rail transit vehicle within a preset time length; obtaining a fitting error based on the acceleration curve of the current rail transit vehicle and the acceleration curve in the preset arrival data; if the fitting error is less than a threshold fitting error, determining that the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data.

[0035] In one embodiment, the acquisition module is further used to acquire an environmental noise signal before determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data, and determine whether the environmental noise signal belongs to a rail transit noise signal;

[0036] If so, a second function is started, where the second function is used to obtain acceleration data of the rail transit vehicle.

[0037] In one embodiment, the apparatus further comprises:

[0038] A judgment module, used to judge whether the user is riding on a rail transit vehicle before obtaining an environmental noise signal and determining whether the environmental noise signal belongs to a rail transit noise signal;

[0039] If so, a third function is started, where the third function is used to obtain the environmental noise signal.

[0040] In one embodiment, the judgment module is specifically used to: determine whether the target terminal device interacts with the rail transit through NFC, and the target terminal device includes a terminal device connected to the headset; if so, determine that the user is riding the rail transit vehicle.

[0041] In one embodiment, the apparatus further comprises:

[0042] A starting module, used for receiving a first operation of a user before determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data;

[0043] In response to the first operation, the second function of the headset is enabled.

[0044] In one embodiment, the apparatus further comprises:

[0045] The closing module is used to close the first function after the rail transit station that the current rail transit vehicle is about to arrive at is announced to the user through the earphone.

[0046] In a third aspect, an embodiment of the present application provides a computer device comprising: a memory and a processor, the memory being used to store a computer program; the processor being used to execute the steps of the rail transit station broadcasting method described in the first aspect or any optional implementation manner of the first aspect when calling the computer program.

[0047] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the rail transit station broadcasting method described in the first aspect or any optional implementation manner of the first aspect.

[0048] The rail transit station announcement method provided in the first aspect embodiment of the present application determines whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; if it matches, starts the first function for obtaining the station announcement information of the current rail transit vehicle; determines the rail transit station that the current rail transit vehicle is about to arrive at based on the station announcement information of the current rail transit vehicle; and announces the rail transit station that the current rail transit vehicle is about to arrive at to the user through headphones. On the one hand, the embodiment of the present application can quickly determine whether the current rail transit vehicle is about to arrive at the rail transit station by comparing the acceleration data included in the preset arrival data with the acceleration data of the current rail transit vehicle, thereby improving the efficiency of determining whether the current rail transit vehicle is about to arrive at the rail transit station; on the other hand, after determining through the acceleration data that the current rail transit vehicle is about to arrive at the rail transit station, the first function is started to obtain and broadcast the rail transit station that the current rail transit vehicle is about to arrive at, that is, before it is determined that the current rail transit vehicle is about to arrive at the transportation station, the first function is not turned on, which can save earphone power; the earphone determines the rail transit station that the current rail transit vehicle is about to arrive at through the station broadcast information of the current rail transit vehicle, and then broadcasts it to the user, so that the user can clearly hear the rail transit station that the rail transit vehicle they are riding is about to arrive at through the earphone, avoiding the problem of missing the get-off station due to failure to hear the station broadcast information of the rail transit vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0050] In order to more clearly illustrate the embodiments of the present application 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 work.

[0051] Figure 1 An application scenario diagram of a rail transit station announcement method provided by an embodiment of the present application;

[0052] Figure 2 A flowchart of the steps of a rail transit station announcement method provided in one embodiment of the present application;

[0053] Figure 3 A flowchart of the steps of a rail transit station announcement method provided in another embodiment of the present application;

[0054] Figure 4This is a structural block diagram of a rail transit station announcement device in one embodiment of the present application;

[0055] Figure 5 This is a structural block diagram of a rail transit station announcement device in another embodiment of the present application;

[0056] Figure 6 This is an internal structure diagram of a computer device in one embodiment of the present application;

[0057] Figure 7 This is a diagram of the internal structure of an electronic device in one embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. It should be noted that the embodiments of the present application and the features in the embodiments may be combined with each other in the absence of conflict.

[0059] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.

[0060] The terms "first" and "second" in the specification and claims of this application are used to distinguish synchronous objects rather than to describe a specific order of objects. For example, a first function and a second function are used to distinguish different functions rather than to describe a specific order of functions.

[0061] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way. In addition, in the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more.

[0062] First, an example description of the application scenario of the embodiment of the present application is given: headphones as accessories for audio transmission greatly meet the needs of users for listening to voice, music, etc., but when the user is in a noisy environment, the effect of listening to music through headphones may not be ideal, that is, the sound of the external environment may affect the sound quality of the music listened to by the user. In order to meet the user's requirements for the sound quality of the music or voice they listen to, noise reduction technology has been applied to headphones, such as TWS headphones. TWS headphones can shield the sound of the surrounding environment and improve the quality of the sound heard by the user through the headphones, such as clarity and sound quality.

[0063] However, since noise-canceling headphones block out the sounds of the surrounding environment, they inevitably block out the sounds of the environment that the user needs to obtain. For example, when a user takes public transportation, he or she needs to listen to the public transportation station broadcast information to determine whether to get off. However, when wearing noise-canceling headphones, he or she may not hear the public transportation station broadcast information, and may easily miss the getting off point, resulting in a poor user experience.

[0064] Based on this, an embodiment of the present application provides a rail transit station announcement method. When it is determined that the rail transit vehicle (current rail transit vehicle) that the user is riding is about to arrive at the station, the station announcement information of the current rail transit vehicle is obtained, and the rail transit station that the current rail transit vehicle is about to arrive at is determined according to the station announcement information of the current rail transit vehicle. The rail transit station that is about to arrive is announced to the user through headphones to prevent the user from missing the alighting station due to not being able to hear the station announcement information of the rail transit vehicle.

[0065] The method may be executed by the headset alone, or by the headset and a terminal device connected to the headset, and the embodiment of the present application does not specifically limit this.

[0066] For example, refer to Figure 1 As shown, the rail transit station broadcasting method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Figure 1 In the application environment shown, the earphone 110 is connected to the terminal device 120. In this environment, the rail transit station announcement method provided in the embodiment of the present application can be executed by the earphone 110, and can also be executed based on the interaction between the earphone 110 and the terminal device 120.

[0067] The headset 110 may be a wired headset or a wireless headset, etc. The terminal device 120 may be, but is not limited to, a mobile phone, a tablet computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart watch, a smart bracelet, etc., or the terminal device may be other types of terminal devices. The connection between the terminal device 120 and the headset may be a wired connection or a short-range wireless communication connection, which is not specifically limited in the embodiments of the present application.

[0068] The rail transit station announcement method provided by the present application is described in detail below through several specific embodiments. It should be noted that the following embodiments mainly introduce the scheme of the present application by using headphones to execute the rail transit station announcement method alone.

[0069] Figure 2 A flowchart of a rail transit station announcement method provided in one embodiment of the present application, referring to Figure 2 As shown, the rail transit station announcement method provided in this embodiment includes the following steps:

[0070] S210: Determine whether the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data.

[0071] Wherein, the current rail transit vehicle includes the rail transit vehicle currently ridden by the user; the acceleration data of the current rail transit vehicle may be an acceleration curve obtained according to the acceleration of the current rail transit vehicle within a preset time period, or may be acceleration values ​​corresponding to multiple moments within a preset time period, wherein the preset time period is the time period between the moment when the rail transit vehicle begins to decelerate when it is about to arrive at the rail transit station and the moment when the speed is reduced to zero. The preset arrival data includes the arrival data of multiple rail transit lines, and the arrival data of each rail transit line includes the station information of the line and the speed data and acceleration data corresponding to each station, and the speed data and acceleration data corresponding to each station include the speed data and acceleration data of the rail transit vehicle within the preset time period.

[0072] The determination of whether the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data is to determine whether the acceleration data of the current rail transit vehicle within the preset time length from the moment when the deceleration starts to match the acceleration data corresponding to the preset arrival data. The preset time length is less than the time length corresponding to the preset time period, that is, it is determined whether the acceleration data of the current rail transit vehicle within the preset time length from the moment when the deceleration starts to match a part of the acceleration data corresponding to the preset arrival data, and the part of the acceleration data is the acceleration data corresponding to the preset time length in the preset time period.

[0073] When the earphone used by the user executes this step, the preset arrival data is saved in advance. When the terminal device connected to the earphone executes this step, the terminal device saves the preset arrival data.

[0074] If they match, the headset executes the following step S220; if they do not match, the headset continues to obtain the acceleration data of the current rail transit vehicle, and determines whether the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data.

[0075] Optionally, when the acceleration data is an acceleration curve, determining whether the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data can be achieved by the following steps:

[0076] Step A: obtaining a first moment, where the first moment is the moment when the current rail transit vehicle starts to decelerate.

[0077] For example, the headset can obtain acceleration data through a built-in sensor for detecting acceleration, and then determine whether the current rail vehicle begins to decelerate. The sensor mentioned here can be any sensor for detecting acceleration data, such as but not limited to an IMU sensor.

[0078] Step B: Taking the first moment as the starting moment, obtaining the acceleration curve of the current rail transit vehicle within a preset time period.

[0079] Step C: obtaining a fitting error according to the acceleration curve of the current rail transit vehicle and the acceleration curve in the preset arrival data.

[0080] The acceleration curve in the preset arrival data is pre-stored in a storage module of the earphone.

[0081] Step D: If the fitting error is less than a threshold fitting error, it is determined that the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data.

[0082] Specifically, if the fitting error is less than the threshold fitting error, it indicates that the acceleration curve of the current rail transit vehicle within the preset time length is consistent or approximately consistent with the acceleration curve in the preset arrival data, indicating that the current rail transit vehicle is in a deceleration state before stopping. It should be noted that the fitting error of the two curves can be calculated according to the existing technology, which is not described in detail here.

[0083] S220: Start the first function.

[0084] The first function of the headset is to obtain the station announcement information of the current rail transit vehicle. The first function of the headset can be activated by means of a terminal device connected to the headset.

[0085] When the terminal device executes to obtain the station broadcast information of the current rail transit vehicle, the first function is the first function of the terminal device.

[0086] The station broadcast information at least includes the name of the upcoming rail transit station, and may also include the remaining time to reach the rail transit station, and other prompt terms, etc., which are not specifically limited in this embodiment.

[0087] S230: Determine the rail transit station that the current rail transit vehicle is about to arrive at according to the station broadcast information of the current rail transit vehicle.

[0088] Optionally, the headset obtains the station announcement information of the current rail transit vehicle, performs voice recognition, and obtains the station name of the rail transit station in the station announcement information.

[0089] S240: broadcasting the rail transit station that the current rail transit vehicle is about to arrive at to the user through headphones.

[0090] For example, the current rail transit vehicle announces the upcoming rail transit station, such as "XXX station has arrived, please prepare to get off", and the headset obtains the rail transit station XXX station that the current rail transit vehicle is about to arrive at through voice recognition, and then announces it to the user, prompting the user that XXX station is about to arrive. This solution does not limit the specific content of the headset announcement, but at least includes the name of the acquired rail transit station.

[0091] Alternatively, after determining that the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data, the headset Bluetooth BLE broadcast mode is activated to determine the rail transit station that the current rail transit vehicle is about to arrive at based on the Bluetooth device Mac address information.

[0092] It should be noted that when the headset is running Figure 2In each step of the illustrated embodiment, the headset may not be connected to any terminal device and may be used alone as a rail transit station announcement device.

[0093] The rail transit station announcement method provided in the first aspect embodiment of the present application determines whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; if it matches, starts the first function for obtaining the station announcement information of the current rail transit vehicle; determines the rail transit station that the current rail transit vehicle is about to arrive at based on the station announcement information of the current rail transit vehicle; and announces the rail transit station that the current rail transit vehicle is about to arrive at to the user through headphones. On the one hand, the embodiment of the present application can quickly determine whether the current rail transit vehicle is about to arrive at the rail transit station by comparing the acceleration data included in the preset arrival data with the acceleration data of the current rail transit vehicle, thereby improving the efficiency of determining whether the current rail transit vehicle is about to arrive at the rail transit station; on the other hand, after determining through the acceleration data that the current rail transit vehicle is about to arrive at the rail transit station, the first function is started to obtain and broadcast the rail transit station that the current rail transit vehicle is about to arrive at, that is, before it is determined that the current rail transit vehicle is about to arrive at the transportation station, the first function is not turned on, which can save earphone power; the earphone determines the rail transit station that the current rail transit vehicle is about to arrive at through the station broadcast information of the current rail transit vehicle, and then broadcasts it to the user, so that the user can clearly hear the rail transit station that the rail transit vehicle they are riding is about to arrive at through the earphone, avoiding the problem of missing the get-off station due to failure to hear the station broadcast information of the rail transit vehicle.

[0094] Reference Figure 3 As shown, Figure 3 A flowchart of a rail transit station announcement method provided by another embodiment of the present application, combined with Figure 2 As shown, in Figure 2 Based on the embodiment shown, the following steps S310 to S320 are also included before step S210. Figure 2 For detailed explanation and description of the same or similar steps in the embodiment shown, please refer to Figure 2 The explanations and illustrations in the illustrated embodiments are not repeated here.

[0095] S310: Acquire an environmental noise signal, and determine whether the environmental noise signal is a rail transit noise signal.

[0096] Among them, the headset has a built-in voice recognition chip to obtain environmental noise signals.

[0097] Before acquiring the environmental noise signal, a sound model is pre-established according to the rail transit noise signal, and then the input rail transit signal is analyzed and feature extracted to construct a rail transit noise signal template, and the rail transit noise signal template is stored in the earphone.

[0098] After acquiring the ambient noise signal, the sound pickup of the earphone determines whether the acquired ambient noise signal matches the rail transit noise signal template. If so, it determines that the acquired ambient noise signal belongs to the rail transit noise signal.

[0099] If it is determined that the environmental noise signal belongs to the rail transit noise signal, step S320 is executed; if not, the environmental noise signal is continuously acquired to determine whether the environmental noise signal belongs to the rail transit noise signal.

[0100] S320: Start the second function.

[0101] Among them, the second function of the headset is used to obtain acceleration data of rail transportation vehicles.

[0102] In this embodiment, when the headset executes the steps in this embodiment, after determining that the user is in a rail transit environment, the acceleration data acquisition function is started. That is, in a non-traffic rail environment, the second function of the headset is in a turned off state, which helps to reduce the power consumption of the headset and save battery power.

[0103] Optionally, the second function may be started by acquiring a first operation of the user and starting the second function in response to the first operation.

[0104] The user can activate the second function of the headset by means of a terminal device connected to the headset, or can directly operate the headset to activate the second function. Exemplarily, the user's first operation can be an operation of turning on a second function peripheral switch of the terminal device and / or the headset, or a voice command input by the user, etc.

[0105] Optionally, before starting the second function, the following steps S301 to S302 are also included.

[0106] S301: Determine whether the user takes a rail transit vehicle.

[0107] Optionally, whether the user is riding on rail transit can be determined by determining whether the target terminal device interacts with rail transit through NFC.

[0108] The target terminal device includes a terminal device connected to the headset.

[0109] If yes, execute the following step S302; if no, continue to determine whether the user takes a rail transit vehicle.

[0110] S302: Start the third function.

[0111] Among them, the third function of the earphone is used to obtain environmental noise signals.

[0112] Optionally, starting the third function may be achieved by: obtaining a second operation of the user, and starting the third function in response to the second operation of the user. The second operation of the user may be an operation of turning on a third function peripheral switch of the terminal device and / or the headset by the user, or a voice command input by the user, etc.

[0113] When the headset is not connected to the terminal device, the third function can be started by obtaining the second operation of the user and responding to the second operation of the user.

[0114] Optional, in Figure 2 or Figure 3 On the basis of the illustrated embodiment, after the rail transit station that the current rail transit vehicle is about to arrive at is announced to the user through the earphone, the first function is turned off.

[0115] That is, the function of the headset to obtain the station broadcast information of the current rail transit vehicle is turned off. Exemplarily, after the headset broadcasts the rail transit station A that the current rail transit vehicle is about to arrive at, the first function is turned off and the acquisition of the station broadcast information of the current rail transit vehicle is suspended; until it is detected that the current rail transit vehicle has experienced the acceleration and constant speed stages, and then starts to decelerate again, and the acceleration data corresponding to the deceleration matches the acceleration data corresponding to the preset arrival data, the first function is started again. This process is a process that is repeated multiple times.

[0116] In addition to the above-mentioned method of automatically turning off the first function after the rail transit station is broadcast to the user, the first function of the headset can also be turned off by obtaining a third operation of the user and responding to the third operation.

[0117] After the user is informed of the rail transit station that the current rail transit vehicle is about to arrive at, the first function is turned off, which can effectively save the power of the headset. In addition, the first function is automatically turned off after the rail transit station is announced to the user through the headset, without the need for manual operation by the user, which can improve the user's experience.

[0118] Below, the steps of executing the rail transit station announcement method of the present application through the target terminal device and headphones are exemplified.

[0119] The target terminal device determines whether it interacts with the rail transit through NFC. If so, it determines that the user is riding on a rail transit vehicle; the third function of the target terminal device is activated to obtain an environmental noise signal, and determines whether the environmental noise signal is a traffic noise signal; if so, an instruction message for starting the second function is sent to the headset, and the headset activates the second function of the headset according to the received instruction message; the headset detects the acceleration data of the current rail transit vehicle, and determines whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; if they match, the first function of the headset is activated to obtain the station broadcast information of the current rail transit vehicle, and the station name of the rail transit station that the current rail transit vehicle is about to arrive at is obtained according to the station broadcast information of the current rail transit vehicle; and the rail transit station that the current rail transit vehicle is about to arrive at is broadcast to the user.

[0120] Based on the same inventive concept, as an implementation of the above method, the embodiment of the present application also provides a rail transit station broadcasting device, and the device embodiment corresponds to the above method embodiment. For the convenience of reading, the present device embodiment will no longer repeat the details of the above method embodiment one by one, but it should be clear that the rail transit station broadcasting device in this embodiment can correspond to all the contents of the above method embodiment.

[0121] Figure 4 The structural block diagram of the rail transit station announcement device provided in the embodiment of the present application is as follows: Figure 4 As shown, the rail transit station announcement device 400 provided in this embodiment includes:

[0122] A detection module 410 is used to determine whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data;

[0123] The activation module 420 is used to start a first function if a match is found, wherein the first function is used to obtain the station broadcast information of the current rail transit vehicle;

[0124] The acquisition module 430 is used to determine the rail transit station that the current rail transit vehicle is about to arrive at according to the station broadcast information of the current rail transit vehicle;

[0125] The announcement module 440 is used to announce to the user, via headphones, the rail transit station at which the current rail transit vehicle is about to arrive.

[0126] As an optional implementation of the embodiment of the present application, the detection module 410 is specifically used to obtain a first moment, where the first moment is the moment when the current rail transit vehicle starts to decelerate; taking the first moment as the starting moment, obtaining the acceleration curve of the current rail transit vehicle within a preset time length; obtaining a fitting error based on the acceleration curve of the current rail transit vehicle and the acceleration curve in the preset arrival data; if the fitting error is less than a threshold fitting error, determining that the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data.

[0127] As an optional implementation of the embodiment of the present application, the acquisition module is also used to obtain the environmental noise signal before determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data, and determine whether the environmental noise signal belongs to the rail transit noise signal; if so, start the second function, which is used to obtain the acceleration data of the rail transit vehicle.

[0128] Figure 5 A structural block diagram of a rail transit station announcement device 400 provided in another embodiment of the present application is shown in FIG. Figure 5 As shown, in Figure 4 Based on the device shown, the device also includes: a judgment module 510, which is used to determine whether the user is riding a rail transit vehicle before obtaining the environmental noise signal and determining whether the environmental noise signal belongs to a rail transit noise signal; if so, a third function is started, and the third function is used to obtain the environmental noise signal.

[0129] As an optional implementation of the embodiment of the present application, the judgment module 510 is specifically used to: determine whether the target terminal device interacts with the rail transit through NFC, and the target terminal device includes a terminal device connected to the headset; if so, determine that the user is riding the rail transit vehicle.

[0130] As an optional implementation of the embodiment of the present application, the rail transit station broadcasting device 400 also includes: a starting module 520, which is used to receive a first operation of the user before determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; in response to the first operation, turn on the second function of the headset.

[0131] As an optional implementation of the embodiment of the present application, the rail transit station announcement device 400 also includes: a closing module 530, which is used to close the first function after announcing the rail transit station that the current rail transit vehicle is about to arrive at to the user through headphones.

[0132] The rail transit station announcement device provided in the embodiment of the present application determines whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; if it matches, starts the first function for obtaining the station announcement information of the current rail transit vehicle; determines the rail transit station that the current rail transit vehicle is about to arrive at based on the station announcement information of the current rail transit vehicle; and announces the rail transit station that the current rail transit vehicle is about to arrive at to the user through headphones. On the one hand, the embodiment of the present application can quickly determine whether the current rail transit vehicle is about to arrive at the rail transit station by comparing the acceleration data included in the preset arrival data with the acceleration data of the current rail transit vehicle, thereby improving the efficiency of determining whether the current rail transit vehicle is about to arrive at the rail transit station; on the other hand, after determining through the acceleration data that the current rail transit vehicle is about to arrive at the rail transit station, the first function is started to obtain and broadcast the rail transit station that the current rail transit vehicle is about to arrive at, that is, before it is determined that the current rail transit vehicle is about to arrive at the transportation station, the first function is not turned on, which can save earphone power; the earphone determines the rail transit station that the current rail transit vehicle is about to arrive at through the station broadcast information of the current rail transit vehicle, and then broadcasts it to the user, so that the user can clearly hear the rail transit station that the rail transit vehicle they are riding is about to arrive at through the earphone, avoiding the problem of missing the get-off station due to failure to hear the station broadcast information of the rail transit vehicle.

[0133] The rail transit station announcement device provided in this embodiment can execute the rail transit station announcement method provided in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0134] For the specific limitations of the rail transit station broadcasting device, please refer to the limitations of the rail transit station broadcasting method above, which will not be repeated here. The various modules in the above-mentioned rail transit station broadcasting device can be implemented in whole or in part through software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0135] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for broadcasting a rail transit station is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0136] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0137] In one embodiment, the rail transit station announcement provided by the present application can be implemented in the form of a computer program. The computer program can be Figure 6 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the rail transit station announcement device, for example, Figure 4 The detection module 410, acquisition module 430 and announcement module 440 are shown. The computer program composed of various program modules enables the processor to execute the steps of the rail transit station announcement method of each embodiment of the present application described in this specification.

[0138] In one embodiment, an electronic device is provided, referring to Figure 7 As shown, it includes a memory 71 and a processor 72, the memory stores a computer program, and the processor implements the following steps when executing the computer program: determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; if matched, starting the first function, the first function is used to obtain the station broadcast information of the current rail transit vehicle; determining the rail transit station that the current rail transit vehicle is about to arrive at according to the station broadcast information of the current rail transit vehicle; and broadcasting the rail transit station that the current rail transit vehicle is about to arrive at to the user through headphones.

[0139] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining a first moment, the first moment being the moment when the current rail transit vehicle starts to decelerate; taking the first moment as the starting moment, obtaining an acceleration curve of the current rail transit vehicle within a preset time length; obtaining a fitting error based on the acceleration curve of the current rail transit vehicle and the acceleration curve in the preset arrival data; if the fitting error is less than a threshold fitting error, determining that the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data.

[0140] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining an environmental noise signal, and determining whether the environmental noise signal belongs to a rail transit noise signal; if so, starting a second function for obtaining acceleration data of a rail transit vehicle.

[0141] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining whether the user is riding in a rail transit vehicle; if so, starting a third function, wherein the third function is used to obtain the environmental noise signal.

[0142] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining whether the target terminal device interacts with the rail transit through NFC, and the target terminal device includes a terminal device connected to the headset; if so, determining that the user is riding the rail transit vehicle.

[0143] In one embodiment, when the processor executes the computer program, the following steps are further implemented: receiving a first operation of a user; and starting the second function in response to the first operation.

[0144] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: turning off the first function of the headset.

[0145] When executing the rail transit station announcement method, the electronic device provided in the embodiment of the present application determines whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; if it matches, starts the first function for obtaining the station announcement information of the current rail transit vehicle; determines the rail transit station that the current rail transit vehicle is about to arrive at based on the station announcement information of the current rail transit vehicle; and announces the rail transit station that the current rail transit vehicle is about to arrive at to the user through headphones. On the one hand, the embodiment of the present application can quickly determine whether the current rail transit vehicle is about to arrive at the rail transit station by comparing the acceleration data included in the preset arrival data with the acceleration data of the current rail transit vehicle, thereby improving the efficiency of determining whether the current rail transit vehicle is about to arrive at the rail transit station; on the other hand, after determining through the acceleration data that the current rail transit vehicle is about to arrive at the rail transit station, the first function is started to obtain and broadcast the rail transit station that the current rail transit vehicle is about to arrive at, that is, before it is determined that the current rail transit vehicle is about to arrive at the transportation station, the first function is not turned on, which can save earphone power; the earphone determines the rail transit station that the current rail transit vehicle is about to arrive at through the station broadcast information of the current rail transit vehicle, and then broadcasts it to the user, so that the user can clearly hear the rail transit station that the rail transit vehicle they are riding is about to arrive at through the earphone, avoiding the problem of missing the get-off station due to failure to hear the station broadcast information of the rail transit vehicle.

[0146] The electronic device provided in this embodiment can implement the rail transit station broadcasting method provided in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0147] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; if so, starting a first function, the first function being used to obtain the station broadcast information of the current rail transit vehicle; determining the rail transit station that the current rail transit vehicle is about to arrive at based on the station broadcast information of the current rail transit vehicle; and broadcasting the rail transit station that the current rail transit vehicle is about to arrive at to the user through headphones.

[0148] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a first moment, the first moment being the moment when the current rail transit vehicle starts to decelerate; taking the first moment as the starting moment, obtaining an acceleration curve of the current rail transit vehicle within a preset time length; obtaining a fitting error based on the acceleration curve of the current rail transit vehicle and the acceleration curve in the preset arrival data; if the fitting error is less than a threshold fitting error, determining that the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data.

[0149] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining an environmental noise signal, determining whether the environmental noise signal belongs to a rail transit noise signal; if so, starting a second function for obtaining acceleration data of a rail transit vehicle.

[0150] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining whether the user is riding in a rail transit vehicle; if so, starting a third function, wherein the third function is used to obtain the environmental noise signal.

[0151] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining whether the target terminal device interacts with the rail transit through NFC, and the target terminal device includes a terminal device connected to the headset; if so, determining that the user is riding the rail transit vehicle.

[0152] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: receiving a first operation of a user; and starting the second function in response to the first operation.

[0153] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: turning off the first function of the headset.

[0154] When the computer program provided in the embodiment of the present application is executed by a processor, it is determined whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data; if a match is found, a first function for obtaining the station broadcast information of the current rail transit vehicle is started; based on the station broadcast information of the current rail transit vehicle, the rail transit station that the current rail transit vehicle is about to arrive at is determined; and the rail transit station that the current rail transit vehicle is about to arrive at is broadcast to the user through headphones. On the one hand, the embodiment of the present application can quickly determine whether the current rail transit vehicle is about to arrive at the rail transit station by comparing the acceleration data included in the preset arrival data with the acceleration data of the current rail transit vehicle, thereby improving the efficiency of determining whether the current rail transit vehicle is about to arrive at the rail transit station; on the other hand, after determining through the acceleration data that the current rail transit vehicle is about to arrive at the rail transit station, the first function is started to obtain and broadcast the rail transit station that the current rail transit vehicle is about to arrive at, that is, before it is determined that the current rail transit vehicle is about to arrive at the transportation station, the first function is not turned on, which can save earphone power; the earphone determines the rail transit station that the current rail transit vehicle is about to arrive at through the station broadcast information of the current rail transit vehicle, and then broadcasts it to the user, so that the user can clearly hear the rail transit station that the rail transit vehicle they are riding is about to arrive at through the earphone, avoiding the problem of missing the get-off station due to failure to hear the station broadcast information of the rail transit vehicle.

[0155] The computer program stored on the computer-readable storage medium provided in this embodiment can implement the rail transit station broadcasting method provided in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0156] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).

[0157] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0158] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A rail transit station broadcasting method, characterized in that: The method comprises: Acquire a first moment, where the first moment is the moment when the current rail transit vehicle starts to decelerate; Taking the first moment as the starting moment, obtaining an acceleration curve of the current rail transit vehicle within a preset time period; Obtaining a fitting error according to the acceleration curve of the current rail transit vehicle and the acceleration curve in the preset arrival data; If the fitting error is less than a threshold fitting error, determining that the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data; Starting a first function, the first function is used to obtain the station broadcast information of the current rail transit vehicle; Determining the rail transit station that the current rail transit vehicle is about to arrive at according to the station broadcast information of the current rail transit vehicle; The user is informed via headphones of the rail transit station that the current rail transit vehicle is about to arrive at; The first function is turned off until it is detected that the current rail transit vehicle has gone through the acceleration and constant speed running stages and then starts to decelerate again, and the acceleration data corresponding to the second deceleration matches the acceleration data corresponding to the preset arrival data, and then the first function is started again.

2. The method according to claim 1, characterized in that Before determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data, the method further includes: Acquire an environmental noise signal, and determine whether the environmental noise signal is a rail transit noise signal; If so, a second function is started, where the second function is used to obtain acceleration data of the rail transit vehicle.

3. The method according to claim 2, characterized in that Before obtaining the environmental noise signal and determining whether the environmental noise signal belongs to a rail transit noise signal, the method further includes: Determine whether the user is taking rail transportation; If so, a third function is started, where the third function is used to obtain the environmental noise signal.

4. The method according to claim 3, characterized in that The determining whether the user is riding a rail transit vehicle comprises: Determining whether a target terminal device interacts with rail transit via NFC, the target terminal device comprising a terminal device connected to the headset; If so, it is determined that the user is riding on the rail transit vehicle.

5. The method according to claim 1, characterized in that Before determining whether the acceleration data of the current rail transit vehicle matches the acceleration data included in the preset arrival data, the method further includes: Receiving a first operation from a user; In response to the first operation, a second function is initiated.

6. A rail transit station announcement device, characterized in that: include: The detection module obtains a first moment, where the first moment is the moment when the current rail transit vehicle starts to decelerate; takes the first moment as the starting moment, and obtains an acceleration curve of the current rail transit vehicle within a preset time length; obtains a fitting error according to the acceleration curve of the current rail transit vehicle and the acceleration curve in the preset arrival data; if the fitting error is less than a threshold fitting error, it is determined that the acceleration data of the current rail transit vehicle matches the acceleration data corresponding to the preset arrival data; The activation module is used to start the first function if a match is found, and the first function is used to obtain the station broadcast information of the current rail transit vehicle; An acquisition module, used to determine the rail transit station that the current rail transit vehicle is about to arrive at according to the station broadcast information of the current rail transit vehicle; A broadcasting module, used to broadcast to the user through headphones the rail transit station that the current rail transit vehicle is about to arrive at; A closing module, used to close the first function; The activation module is used to restart the first function until it is detected that the current rail transit vehicle has gone through the acceleration and constant speed running stages and then starts to decelerate again, and the acceleration data corresponding to the second deceleration matches the acceleration data corresponding to the preset arrival data.

7. A computer device, characterized in that: include: A memory and a processor, the memory is used to store a computer program; the processor is used to execute the rail transit station broadcasting method described in any one of claims 1-5 when calling the computer program.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the rail transit station broadcasting method described in any one of claims 1-5 is implemented.

Citation Information

Patent Citations

  • Station-arrival reminding processing method, device and terminal

    CN105654767A