WO2023246786A1 - 处理广播信息的方法及终端设备 - Google Patents
处理广播信息的方法及终端设备 Download PDFInfo
- Publication number
- WO2023246786A1 WO2023246786A1 PCT/CN2023/101421 CN2023101421W WO2023246786A1 WO 2023246786 A1 WO2023246786 A1 WO 2023246786A1 CN 2023101421 W CN2023101421 W CN 2023101421W WO 2023246786 A1 WO2023246786 A1 WO 2023246786A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- bluetooth
- information
- broadcast
- user
- broadcast information
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H20/00—Arrangements for broadcast or for distribution combined with broadcast
- H04H20/02—Arrangements for relaying broadcast information
- H04H20/08—Arrangements for relaying broadcast information among terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Definitions
- the present application relates to the field of Bluetooth communication technology, and in particular to methods and terminal devices for processing broadcast information.
- a user when waiting for a flight at the airport, a user may wear noise-cancelling headphones to listen to music and watch short videos.
- the airport broadcasts flight information
- the user may not be able to hear the flight information. Therefore, how to prevent users from missing broadcast information when using mobile phones in public places is an urgent problem that needs to be solved.
- This application provides a method and terminal equipment for processing broadcast information, which solves the problem in the prior art that users miss broadcast information when using mobile phones in public places.
- a first aspect provides a method for processing broadcast information.
- the method includes: scanning a Bluetooth broadcast channel; when a target channel is scanned, monitoring the target channel, and the target channel is a Bluetooth broadcast channel in the target public place; Receive broadcast information through the target channel; perform any one or more operations of displaying or playing the broadcast information.
- the above method can be executed by a terminal device or a chip in the terminal device.
- the terminal device scans the Bluetooth broadcast channels that exist around it to find the Bluetooth broadcast channel (i.e., the target channel) corresponding to the target public place that it wants to monitor; then, the terminal device monitors the broadcast information (such as flight information, flight information, etc.) broadcast by the target channel. Waiting information and other itinerary-related information), and deliver the monitored broadcast information to the user through any one or more operations in display or playback, so as to prevent the user from missing important information when using the terminal device (such as a mobile phone) broadcast information.
- the Bluetooth broadcast channel i.e., the target channel
- the broadcast information such as flight information, flight information, etc.
- Waiting information and other itinerary-related information deliver the monitored broadcast information to the user through any one or more operations in display or playback, so as to prevent the user from missing important information when using the terminal device (such as a mobile phone) broadcast information.
- scanning the Bluetooth broadcast channel includes: obtaining current location information and target location information input by the user, where the target location information is the location information of the target public place; when the current location information indicates that the terminal When the distance between the device's location and the location indicated by the target location information is less than a preset distance, the Bluetooth broadcast channel is scanned.
- the terminal device does not scan the Bluetooth broadcast channels around it all the time, nor does it start scanning the Bluetooth broadcast channels when it is far away from the target public place, but when the distance between the current location of the terminal device and the target location is When the distance is less than the preset distance, the Bluetooth broadcast channel around the target public place will be scanned. This can not only reduce the power consumption of the terminal device, but also increase the probability of the terminal device scanning the target channel.
- the target public place is a station
- the broadcast information is station reporting information
- the Bluetooth broadcast equipment on the train will broadcast station information to passengers at certain intervals; usually users are only interested in sites near the target location. Therefore, when the current location of the terminal device is the same as the target location, When the distance is less than the preset distance (the terminal device is very close to the target location), the terminal device scans the surrounding Bluetooth broadcast channels and finds the target channel (i.e., the Bluetooth broadcast channel of the Bluetooth broadcast device on the train) from the scanned Bluetooth broadcast channels; The terminal device starts monitoring the Target channel, and receive the station reporting information of several stations very close to the target location broadcast by the target channel, without the need to monitor the station reporting information of each station during the entire journey (that is, during the ride). This method not only allows users to receive useful broadcast information in a timely manner, but also avoids the frequent interference of useless station announcement information to users during their rides.
- any one or more operations of displaying or playing the broadcast information including: displaying the broadcast information when the terminal device is in silent mode; or, when the terminal device is in non-silent mode mode, play the broadcast information.
- the terminal device when the user sets the terminal device to silent mode, it means that the user does not want to be disturbed by external information received by the terminal device; at this time, the terminal device will remind the user of the received broadcast information in the form of text display. ; When the terminal device is set to non-silent mode, it means that the user does not want to miss the broadcast information received by the terminal device. At this time, the terminal device can play the received broadcast information to the user in the form of voice. It can be seen that the terminal device provides the user with a suitable broadcast information delivery method according to the working mode set by the user, which not only allows the user to obtain important broadcast information in a timely manner (for example, valid flight and other itinerary information), but also Ensure that users can use terminal equipment and travel smoothly.
- the broadcast information is text information.
- the method includes: converting the text information into voice information; and playing the broadcast information includes: playing the voice information.
- the terminal device when the broadcast information received by the terminal device is text information, and when the user selects the voice playback mode to view the text information, it means that it is currently inconvenient for the user to open the terminal device to view the text information; at this time , the terminal device can first convert the received text information into voice information, and then play the text information to the user in the form of voice, so that the user can listen to the text information in the form of voice without the need for the user to go to the target public place. Go to the screen to view the text (i.e. subtitles) information being played.
- the terminal device can first convert the received text information into voice information, and then play the text information to the user in the form of voice, so that the user can listen to the text information in the form of voice without the need for the user to go to the target public place. Go to the screen to view the text (i.e. subtitles) information being played.
- the broadcast information is voice information.
- the method includes: converting the voice information into text information; and displaying the broadcast information includes: displaying the text. information.
- the broadcast information received by the terminal device is voice information
- the user selects text viewing mode to view the voice information it means that it is inconvenient for the user to listen to the voice information at this time.
- the terminal device can The received voice information is first converted into text information, and then the voice information is displayed to the user in the form of text to facilitate the user to view the voice information in the form of text.
- playing the broadcast information includes: when the terminal device is connected to a headset, playing the broadcast information through the headset; when the terminal device is not connected to a headset, playing the broadcast through a speaker information.
- the terminal device when the terminal device plays broadcast information to the user, the terminal device can select an appropriate and effective broadcast information delivery method according to whether the user is currently wearing headphones. For example, when the user is wearing headphones, the terminal device can send the broadcast information to the user. The information is played to the user through headphones; when the user is not wearing headphones, the terminal device can play the broadcast information to the user through the speaker, allowing the user to immerse themselves in using the mobile phone while also receiving the broadcast information broadcast by the target channel in a timely and accurate manner. .
- the method further includes: when the terminal device is playing the first audio, pause the playing of the first audio, or lower the first audio frequency. volume.
- the terminal device when the terminal device plays broadcast information, and when the user is currently using the terminal device to play the first audio (for example, music), the terminal device can pause the playback of the first audio or reduce the playback volume of the first audio. to play the broadcast information without requiring the user to exit the current audio and video playback interface, thereby improving the user experience.
- the terminal device when the terminal device plays broadcast information, and when the user is currently using the terminal device to play the first audio (for example, music), the terminal device can pause the playback of the first audio or reduce the playback volume of the first audio. to play the broadcast information without requiring the user to exit the current audio and video playback interface, thereby improving the user experience.
- the first audio for example, music
- a terminal device in a second aspect, includes a processor and a memory.
- the memory is used to store a computer program.
- the processor is used to call and run the computer program from the memory, so that the The terminal device performs the method described in any one of the first aspects.
- a computer-readable storage medium stores a computer program.
- the processor is caused to execute any one of the first aspects. Methods.
- a computer program product includes: computer program code.
- the terminal device causes the terminal device to execute any method in the first aspect.
- a chip system in a fifth aspect, includes a memory and a processor.
- the processor is configured to execute a computer program stored in the memory to implement the method of any one of the first aspects.
- Figure 1 is a schematic structural diagram of a terminal device 100 provided by an embodiment of the present application.
- Figure 2 is a schematic diagram of the software structure of a terminal device 100 provided by an embodiment of the present application.
- Figure 3 is a schematic diagram of an interface for installing Bluetooth application software on a mobile phone provided by an embodiment of the present application
- Figure 4 is a schematic interface diagram of a Bluetooth application software scanning and monitoring Bluetooth broadcast channels provided by an embodiment of the present application
- Figure 5 is a schematic flowchart of a method for processing broadcast information provided by an embodiment of the present application.
- Figure 6 is a schematic diagram of a positioning service setting interface and a scanning parameter setting interface provided by an embodiment of the present application
- Figure 7 is a schematic interface diagram of a scanning confirmation dialog box provided by an embodiment of the present application.
- Figure 8 is a schematic diagram of a monitoring parameter setting interface provided by an embodiment of the present application.
- Figure 9 is a schematic diagram of a monitoring confirmation interface provided by an embodiment of the present application.
- Figure 10 is a schematic diagram of an application scenario for users taking a subway provided by an embodiment of the present application.
- Figure 11 is a schematic diagram of a broadcast message reminder interface provided by an embodiment of the present application.
- Figure 12 is a schematic diagram of a broadcast message reminder and playback interface provided by an embodiment of the present application.
- Figure 13 is a schematic diagram of a broadcast message reminder and text display interface provided by an embodiment of the present application.
- Figure 14 is a schematic diagram of another broadcast message reminder and playback interface provided by an embodiment of the present application.
- Figure 15 is a schematic diagram of another broadcast message reminder and text display interface provided by an embodiment of the present application.
- Figure 16 is a schematic diagram of a historical message setting and text display interface provided by an embodiment of the present application.
- Figure 17 is a schematic diagram of a historical message playback interface provided by an embodiment of the present application.
- Figure 18 is a schematic flowchart of a method for processing broadcast information provided by an embodiment of the present application.
- Figure 19 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- Figure 1 shows a schematic structural diagram of a terminal device 100.
- the terminal device 100 may include a mobile phone, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal computer Digital assistant (personal digital assistant, PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (artificial intelligence, AI) device, wearable device, vehicle-mounted device, smart home equipment, or at least one of smart city equipment.
- PDA personal digital assistant
- AR augmented reality
- VR virtual reality
- AI artificial intelligence
- wearable device wearable device
- vehicle-mounted device smart home equipment
- smart home equipment smart home equipment
- the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) connector 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor 180, button 190, indicator 191, subscriber identification module (subscriber identification module, SIM) card interface 192, Bluetooth 193, positioning device 194, display screen 195, etc.
- a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) connector 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor 180, button 190, indicator 191, subscriber identification module (
- the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100.
- the terminal device 100 may include more or fewer components than in Figure 1 , or combine some components, or split some components, or arrange different components.
- the components in Figure 1 may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units.
- the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc.
- application processor application processor, AP
- modem processor graphics processing unit
- GPU graphics processing unit
- image signal processor image signal processor
- ISP image signal processor
- controller video codec
- digital signal processor digital signal processor
- DSP digital signal processor
- baseband processor baseband processor
- neural network processor neural-network processing unit
- the processor can generate operation control signals based on the instruction opcode and timing signals to complete the control of fetching and executing instructions.
- the processor 110 may also be provided with a memory for storing instructions and data.
- the memory in processor 110 may be a cache memory.
- the memory may store instructions or data that have been used by the processor 110 or are used more frequently. If the processor 110 needs to use the instructions or data, it can be called directly from the memory. Avoid repeated access and reduce the number of processors 110 waiting time, thus improving the efficiency of the system.
- processor 110 may include one or more interfaces. Interfaces may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiver and transmitter (universal asynchronous receiver/transmitter (UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and /or universal serial bus (USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- UART universal asynchronous receiver and transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the interface connection relationships between the modules illustrated in the embodiments of the present application are only schematic illustrations and do not constitute a structural limitation on the terminal device 100 .
- the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
- the USB connector 130 is an interface that complies with USB standard specifications and can be used to connect the terminal device 100 and peripheral devices. Specifically, it can be a Mini USB connector, a Micro USB connector, a USB Type C connector, etc.
- the USB connector 130 can be used to connect to a charger to charge the terminal device 100, or can be used to connect to other terminal devices to transmit data between the terminal device 100 and other terminal devices. It can also be used to connect headphones to output the audio stored in the terminal device through the headphones. This connector can also be used to connect other terminal equipment, such as VR equipment.
- the standard specifications of the universal serial bus may be USB1.x, USB2.0, USB3.x, and USB4.
- the charging management module 140 is used to receive charging input from the charger.
- the charger can be a wireless charger or a wired charger.
- the charging management module 140 may receive charging input from the wired charger through the USB connector 130 .
- the charging management module 140 may receive wireless charging input through the wireless charging coil of the terminal device 100 . While charging the battery 142, the charging management module 140 can also provide power to the terminal device through the power management module 141.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charging management module 140 to provide power to the processor 110, the internal memory 121, the display screen 195, the wireless communication module 160, and the like.
- the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
- the power management module 141 may also be provided in the processor 110 .
- the power management module 141 and the charging management module 140 may also be provided in the same device.
- the wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in terminal device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
- the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to the terminal device 100.
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
- the mobile communication module 150 can receive electromagnetic waves through the antenna 1, perform filtering, amplification and other processing on the received electromagnetic waves, and transmit them to the modem processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves through the antenna 1 for radiation.
- at least part of the functional modules of the mobile communication module 150 may be disposed in the processor 110 .
- at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
- a modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
- the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 195 .
- the modem processor may be a stand-alone device.
- the modem processor may be independent of the processor 110 and may be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide a network that is applied on the terminal device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (bluetooth, BT), and Bluetooth low power. consume (bluetooth low energy, BLE), ultra wide band (UWB), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC) ), infrared technology (infrared, IR) and other wireless communication solutions.
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
- the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other terminal devices through wireless communication technology.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (code division multiple access, CDMA), broadband code Wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.
- the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi- zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS Beidou navigation satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite based augmentation systems
- the terminal device 100 can implement display functions through a GPU, a display screen 195, an application processor, and the like.
- the GPU is an image processing microprocessor and is connected to the display screen 195 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
- Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100.
- the external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. Such as saving music, videos, etc. files in external memory card. Or transfer music, video and other files from the terminal device to an external memory card.
- Internal memory 121 may be used to store computer executable program code, which includes instructions.
- the internal memory 121 may include a program storage area and a data storage area.
- the stored program area can store the operating system, at least one application program required for a function (for example, a sound playback function, an image playback function, etc.), etc.
- the storage data area may store data created during use of the terminal device 100 (such as audio data, phone book, etc.).
- the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
- the processor 110 executes various functional methods or data processing of the terminal device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
- the terminal device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playback, recording, etc.
- the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
- Speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
- the terminal device 100 can listen to music through the speaker 170A, or output audio signals for hands-free calls.
- Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
- the terminal device 100 answers a call or a voice message, the voice can be heard by bringing the receiver 170B close to the human ear.
- Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak close to the microphone 170C with the human mouth and input the sound signal to the microphone 170C.
- the terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, the terminal device 100 can also be equipped with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions, etc.
- the headphone interface 170D is used to connect wired headphones.
- the headphone interface 170D may be a USB connector 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA Cellular Telecommunications Industry Association of the USA
- Sensors 180 may include pressure sensors, gyroscope sensors, air pressure sensors, magnetic sensors, acceleration sensors, distance sensors, etc.
- Distance sensors, proximity light sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc. are used to convert various signals from the outside world into electrical signals or other required forms of information output.
- the buttons 190 may include a power button, a volume button (for example, the user can adjust the volume for listening to broadcast information through the volume button), etc.
- Key 190 may be a mechanical key. It can also be a touch button.
- the terminal device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100 .
- the indicator 191 can be an indicator light, which can be used to indicate charging status, power changes, or can be used to indicate information (for example, the indicator light can indicate broadcast information received by the Bluetooth application software through Bluetooth 193), missed calls, notifications, etc. .
- the SIM card interface 192 is used to connect a SIM card.
- the SIM card can be connected to or separated from the terminal device 100 by inserting it into the SIM card interface 192 or pulling it out from the SIM card interface 192 .
- the terminal device 100 may support one or more SIM card interfaces 192.
- SIM card interface 192 can support Nano SIM card, Micro SIM card, SIM card, etc. Multiple cards can be inserted into the same SIM card interface 192 at the same time. Multiple cards can be of the same type or different types.
- the SIM card interface 192 can also be compatible with different types of SIM cards.
- the SIM card interface 192 is also compatible with external memory cards.
- the terminal device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
- the terminal device 100 adopts eSIM, that is, an embedded SIM card.
- the eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100 .
- Bluetooth 193 is used to scan and monitor the broadcast information broadcast by the Bluetooth broadcast channel.
- Bluetooth 193 can be a Bluetooth chip integrated on the terminal device, such as the Bluetooth chip in Kirin Solution (Hisilicon), the Bluetooth in Qualcomm Solution (Qualcomm) Chips, Bluetooth chips in MTK solutions, etc.
- the positioning device 194 is used to provide users with accurate positioning, speed measurement and other functions.
- the positioning device 194 may include a global positioning system (Global Positioning System, GPS), base station positioning (Location Based Service, LB), wireless positioning (WIreless-FIdelity, WIFI), assisted global satellite positioning system (Assisted Global Positioning System, AGPS) and At least one positioning device in the Beidou positioning system.
- Global Positioning System GPS
- base station positioning Location Based Service
- WIFI Wireless-FIdelity
- AGPS assisted global satellite positioning system
- At least one positioning device in the Beidou positioning system At least one positioning device in the Beidou positioning system.
- the display screen 195 is used to display data such as images, text, and videos.
- the display screen 195 can be used to display broadcast information received by the Bluetooth 193 .
- Display 195 includes a display panel.
- the display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode).
- terminal device 100 may include one or more display screens 195.
- the above-mentioned terminal device 100 can also adopt other architectures.
- the embodiment of the present invention can also take the Harmony system as an example to illustrate the software architecture of the terminal device 100 .
- FIG. 2 is a schematic diagram of the software structure of the terminal device 100 according to the embodiment of the present application.
- the Harmony system includes four layers, from bottom to top: kernel layer, system basic service layer, framework layer and application layer.
- the Harmony system adopts a multi-core design, optionally including the Linux kernel, Harmony microkernel and LiteOS. With this design, devices with different device capabilities can choose the appropriate system core.
- the kernel layer also includes the Kernel Abstract Layer, which provides basic kernel capabilities to other Harmony layers, such as process management, thread management, memory management, file system management, network management, and peripheral management.
- the system basic service layer is the core capability set of the Harmony system, which supports the Harmony system to provide application services through the framework layer in multi-device deployment scenarios.
- This layer optionally includes the following parts:
- System basic capability subsystem set Provides basic capabilities for the operation, scheduling, migration and other operations of distributed applications on multiple devices of the Harmony system. It consists of distributed soft bus, distributed data management and file management, distributed task scheduling, and Ark It consists of runtime, distributed security and privacy protection. Among them, the Ark runtime provides C/C++/JavaScript multi-language runtime and basic system class libraries, and also provides static Java programs using the Ark compiler (that is, the parts of the application or framework layer developed using the Java language). Runtime.
- Basic software service subsystem set Provides public and general software services for the Harmony system, consisting of graphics and images, distributed media, distributed AI, multi-mode input, MSDP&DV, event notification, telephone service, distributed DFX and other subsystems .
- the basic software service subsystem set can be deployed according to the deployment environment of different device forms, and each subsystem can be tailored according to the functional granularity.
- Enhanced software service subsystem set (see the enhanced software part outlined by the dotted line in Figure 2): Provides differentiated capability-enhanced software services for the Harmony system for different devices, consisting of tablet business software, smart screen business software, car and machine software It is composed of subsystems such as business software and IoT business software.
- the enhanced software service subsystem set can be tailored according to the deployment environment of different device forms, and can be tailored according to the subsystem granularity, and each subsystem can be tailored according to the functional granularity.
- Harmony Driver Framework and Hardware Abstraction Adaptation Layer (HAL): are the basis for the openness of the Harmony system hardware ecosystem. They provide hardware capability abstraction for hardware upwards and development frameworks and operating environments for various peripheral drivers downwards.
- Hardware service subsystem set Provides public and adapted hardware services for the Harmony system, consisting of pan-Sensor, location, power, USB, biometric and other hardware service subsystems.
- the hardware service subsystem set can be deployed according to the deployment environment of different device forms, and each subsystem can be tailored according to functional granularity.
- Proprietary hardware service subsystem (see the proprietary hardware part outlined by the dotted line in Figure 2): Provides differentiated hardware services for the Harmony system for different devices, optionally including tablet-specific hardware services and car-specific hardware services. Subsystems such as hardware services, wearable proprietary hardware services, and IoT proprietary hardware services.
- the proprietary hardware service subsystem can be tailored according to the subsystem granularity, and each subsystem can be tailored according to the functional granularity.
- the framework layer provides multi-language user program frameworks and meta-capability frameworks such as Java/C/C++/JavaScript for Harmony system applications, as well as multi-language framework APIs for various software and hardware services that are open to the outside world.
- the application layer includes system applications and third-party applications (or extended applications), which can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth application software, music, video, short message and other applications.
- Third-party applications or extended applications
- Applications in the Harmony system are built based on Atomic Ability (AA) and Feature Ability (FA).
- the following exemplifies the workflow of the software system and hardware system of the terminal device 100 with reference to FIG. 1 and FIG. 2 .
- the Bluetooth application software is used to monitor the broadcast information broadcast by the Bluetooth broadcast channel (ie, the target channel) in the target public place; when the user double-clicks the Bluetooth application software on the display screen 195 of the terminal device 100
- the Bluetooth application software will respond to the user's double-click operation and generate a Bluetooth application software startup request;
- the Bluetooth application software sends the Bluetooth application software startup request to the event notification management service subsystem of the framework layer through the application layer; event notification management
- the service subsystem generates an event to start the Bluetooth application software based on the received Bluetooth application software startup request, and then sends the event to start the Bluetooth application software to the Bluetooth driver module of the Hongmeng driver framework layer through the hardware abstraction layer; at this time, the Bluetooth driver module
- the event of starting the Bluetooth application software generates an instruction to start the Bluetooth 193, and sends the instruction to start the Bluetooth 193 to the Bluetooth 193;
- the Bluetooth 193 starts the work of the Bluetooth 193 according to the instruction to start the Bluetooth 193.
- the Bluetooth application software takes the user starting the Bluetooth application software to monitor the broadcast information broadcast by the target channel.
- the Bluetooth application software will generate a start listening request and pass the start listening request through the application.
- layer is sent to the event notification management service subsystem of the framework layer; the event notification management service subsystem generates a startup listening event based on the received startup listening request, and then sends the startup listening event to the Bluetooth driver module of the Hongmeng driver framework layer through the hardware abstraction layer.
- the Bluetooth driver module generates a command to start the Bluetooth 193 listening function according to the start listening event, and sends the command to start the Bluetooth 193 listening function to Bluetooth 193; the Bluetooth 193 starts monitoring the broadcast information broadcast by the target channel according to the command to start the Bluetooth 193 listening function.
- the Bluetooth 193 monitors the broadcast information A of the target channel, the Bluetooth 193 sends the broadcast information A to the processor 110; the processor 110 displays the broadcast information A on the display screen 195; or, the processor 110 displays the broadcast information A
- the speaker 170A connected through the audio module 170 or the earphone connected through the earphone interface 170D external to the audio module 170 is played to the user.
- the Bluetooth application software when the Bluetooth application software scans the target channel through Bluetooth 193, the Bluetooth 193 feeds back the result of scanning the target channel to the processor 110; after receiving the feedback result, the processor 110 sends a message to the Bluetooth application software. Inquiry request of whether to monitor or not; after receiving the inquiry request of whether to monitor, the Bluetooth application software will display the inquiry request of whether to monitor to the user through the display screen 195; when the user selects to confirm the monitoring target channel, the Bluetooth application software will confirm the monitoring target.
- the channel instructions are sent to the event notification management service subsystem of the framework layer through the application layer; the event notification management service subsystem will determine the instructions to monitor the target channel, generate the event to determine the target channel to monitor, and pass the event to determine the target channel to monitor through the hardware.
- the abstraction layer sends it to the Bluetooth driver module of the Hongmeng driver framework layer; the Bluetooth driver module generates a command to start Bluetooth 193 to monitor the target channel based on the event that determines the monitoring target channel, and sends the command to start Bluetooth 193 to monitor the target channel to Bluetooth 193; Bluetooth 193 based on The command to start Bluetooth 193 to monitor the target channel starts Bluetooth 193 to monitor the broadcast information broadcast by the target channel.
- Bluetooth 193 listens to the broadcast information K broadcast by the target channel, Bluetooth 193 sends the result R of the broadcast information K to The Bluetooth driver module of Hongmeng driver framework layer; the Bluetooth driver module sends the result R to the event notification management service subsystem of the framework layer through the hardware abstraction layer; the event notification management service subsystem generates an event for monitoring broadcast information based on the received result R X, and sends the event X to the Bluetooth application software through the application layer; the Bluetooth application software generates a display request according to the event user.
- this application only uses the visual Bluetooth application software as an example to illustrate the method of processing broadcast information.
- this application can also add a Bluetooth module to the terminal device, so that the Bluetooth module has functions such as scanning and monitoring Bluetooth broadcast channels.
- the Bluetooth module has functions such as scanning and monitoring Bluetooth broadcast channels.
- the following embodiments of the present application will take the terminal device 100 having the structure shown in Figures 1 and 2 as an example.
- the method for processing broadcast information provided by the embodiments of the present application will be specifically described in conjunction with the drawings and application scenarios. It should be understood that the terminal equipment applicable to this method is not limited to the software and hardware structures shown in Figures 1 and 2.
- the software and hardware system architecture shown in Figures 1 and 2 can be modified according to specific application scenarios. This application There is no limit to this.
- this application proposes a method for processing broadcast information, as shown in Figure 5; this method can prevent users from missing important broadcast information when using mobile phones in public places.
- FIG 3 shows an application scenario suitable for this application.
- the mobile phone is installed with Bluetooth application software.
- the Bluetooth application software is used to scan the target public place and its nearby Bluetooth broadcast channels; the Bluetooth application software uses a shortcut icon.
- the form is displayed in area 301 on the mobile phone display 195, as shown in (a) of Figure 3; when the user double-clicks the shortcut icon of the Bluetooth application software (see (a) of Figure 3), the Bluetooth The application software responds to the user's double-click operation and opens the main interface of the Bluetooth application software, as shown in (b) of Figure 3. Users can set relevant parameters for scanning and monitoring Bluetooth broadcast channels on the main interface of the Bluetooth application.
- the main interface shown in (b) of Figure 3 includes four areas, namely area 302, area 303, area 304 and area 305.
- Area 302 is used for users to set positioning services, scanning parameters, monitoring parameters and Other parameters, for example, if the user clicks the position shown as 401 in (a) of Figure 4 with his hand, the location service settings tab 402 will pop up on the main interface; the location service settings tab 402 includes location services, scanning parameters, and monitoring parameters.
- the positioning service is used by the user to set the location information to be visited, so that the Bluetooth application software can determine whether to start the function of scanning the Bluetooth broadcast channel or whether to start the function of monitoring the target channel based on the location information; the scanning parameters are used
- the user sets parameters such as the scanning time interval for the Bluetooth application software to scan the Bluetooth broadcast channel;
- the monitoring parameter is used for the user to set the time interval and other parameters for the Bluetooth application software to monitor the target channel.
- the user sets location service parameters so that the Bluetooth application software can determine whether to activate the Bluetooth 193 function of scanning Bluetooth broadcast channels near the mobile phone based on the current location of the mobile phone (ie the user); since the user is carrying the mobile phone, the mobile phone Location information is the user's location information.
- the user sets the scanning parameters so that the Bluetooth 193 can scan the Bluetooth broadcast channels in the target public place or near the target public place according to the scanning time interval, scanning frequency range and other parameters set by the user.
- Monitoring parameters are used for users to set monitoring time intervals, information playback methods (for example, in non-silent mode, give priority to voice playback; or, in silent mode, give priority to text viewing) and other parameters; other options are used for users to set whether to open floating windows, text Display font style size, etc.
- Area 303 is a listenable Bluetooth channel area, which is used to display the available Bluetooth broadcast channels scanned by Bluetooth 193 from or near the target public place; the user can select the target channel to be monitored in area 303 (For example, the user wants to listen to the flight information, waiting information, etc. broadcast by the airport's Bluetooth broadcast channel through the Bluetooth application software).
- Area 304 is a monitoring Bluetooth channel area.
- This monitoring Bluetooth channel area is used to display the target channel that the Bluetooth application software is currently monitoring. For example, the user selects the Bluetooth broadcast channel D (i.e., the target channel) that needs to be monitored from area 303.
- the Bluetooth broadcast channel Broadcast channel D will be displayed at the position shown in area 304; the user clicks (i.e. selects) Bluetooth broadcast channel D in area 304 with his hand, and clicks the monitor button in area 305.
- Bluetooth 193 starts to monitor the Bluetooth broadcast channel D broadcast. Broadcast information.
- the target public place for example, XXX Airport
- near the target public place for example, distance (20 meters away from XXX Airport
- the Bluetooth application software For example, if the user wants to take flight G000 at XXX Airport to point A, the user opens the Bluetooth application software and scans the Bluetooth broadcast channel of XXX Airport through Bluetooth 193; if the Bluetooth broadcast channel scanned by Bluetooth 193 at XXX Airport is channel 001, channel 002, channel 003, then the Bluetooth application software will display channel 001, channel 002, and channel 003 in the Bluetooth channel area that can be monitored in (b) of Figure 4.
- channel 001 is the XXX airport broadcast channel, and the channel 001 is used The airport ground staff broadcast flight schedules, waiting information and other information;
- channel 002 is the broadcast channel of X supermarket, which is used by supermarket personnel to broadcast information such as recent supermarket promotions;
- channel 003 is the broadcast channel of Y clothing store;
- channel 003 is used for Clothing store staff broadcast clothing discount activities, new product launches and other information.
- the user can select the XXX airport broadcast channel (i.e. channel 001) that needs to be monitored from the Bluetooth channel area that can be monitored, that is, the user clicks the position indicated by 404 in (b) in Figure 4 with his finger; the user clicks on the (b) After channel 001 indicated by 404 in the figure, channel 001 will display the position indicated by 405 in (c) in Figure 4 in the listening Bluetooth channel area; the user clicks on (c) in Figure 4 with his hand. Press the listening button indicated by 406, and the Bluetooth application software starts to monitor the broadcast information broadcast by channel 001.
- channel 001 the XXX airport broadcast channel
- the above-mentioned area 305 is a toolbar.
- the user can click the scanning and monitoring buttons in the area 305 to start the scanning and monitoring functions of the Bluetooth application software.
- the scan button is used to start the function of the Bluetooth application software to scan the Bluetooth broadcast channel.
- the monitoring button is used to start the Bluetooth application software to monitor the target channel (for example, the Bluetooth broadcast channel of XXX Airport); the advanced option button is used to set some special functions (such as channel noise reduction function, etc.); the exit button is used to exit Bluetooth application software.
- This advanced option setting interface is used to set special functions including but not limited to channel noise reduction function, history clearing function and low power operation mode. Users can use " ⁇ " on the advanced option setting interface to check the functions that need to be set. For example, if the user wants to set the history clearing function of broadcast information, at this time, the user only needs to "broadcast information" in the advanced option setting interface.
- the Bluetooth application software will check whether the history records are greater than 20 at intervals. If there are more than 20 records, they will be cleared. Otherwise, the historical records will be retained.
- the method of processing broadcast information by the Bluetooth application software is performed according to the flow diagram shown in Figure 5. The method includes:
- the user can turn on the scanning function of the Bluetooth application software at any time to scan whether there is a Bluetooth broadcast channel that can be monitored around the mobile phone; when the Bluetooth broadcast channel that he wants to monitor (i.e., the target channel) is scanned, he can turn on the Bluetooth Use the listening function of the software to monitor the broadcast information broadcast by the target channel.
- the Bluetooth application software can turn on the scanning function of the Bluetooth application software to allow the Bluetooth application software to scan whether there is a Bluetooth broadcast channel in Hospital A; when the Bluetooth application software scans multiple Bluetooth broadcast channels, it can Select the Bluetooth broadcast channel D of hospital A that you want to monitor among the Bluetooth broadcast channels (for example, the Bluetooth broadcast channel D is used to broadcast the calling information of doctors in different clinics) to monitor; the Bluetooth application software will broadcast the Bluetooth broadcast channel D. Broadcast information (for example, doctor's call information) is displayed and/or played to the user.
- Broadcast information for example, doctor's call information
- the Bluetooth application software can determine whether to enable the scanning function of the Bluetooth application software based on the current location information of the user (ie, the mobile phone) and the location information of the target public place. It should be understood that the above current location information refers to the current location information of the mobile phone; usually the user carries the mobile phone, therefore, the current location information of the mobile phone is also the current location information of the user.
- the above-mentioned scanning of the Bluetooth broadcast channel includes: obtaining the current location information and the target location information input by the user.
- the target location information is the location information of the target public place; when the current location information indicates the location of the terminal device (such as a mobile phone) (That is, the current location information indicates the user's location)
- the terminal device such as a mobile phone
- the current location information indicates the user's location
- scan This Bluetooth broadcast channel scan This Bluetooth broadcast channel.
- the above target public places include but are not limited to high-speed rail stations, airports, subway stations, bus terminals, subway trains, high-speed rail trains, buses and hospitals.
- Bluetooth broadcast device in the above-mentioned target public place that broadcasts some broadcast information related to the itinerary through the Bluetooth broadcast channel.
- the user needs to use Bluetooth application software to scan and monitor the Bluetooth broadcast channel corresponding to the target public place (i.e., the target channel) ;
- the target public place i.e., the target channel
- the target public place is an airport
- the airport's Bluetooth broadcast equipment broadcasts flight information, waiting information, registration information, etc. through the airport Bluetooth broadcast channel
- the target public place is a subway train
- Broadcasting equipment broadcasts train station information.
- the Bluetooth broadcast equipment supported by the above target public places includes but is not limited to Bluetooth version 5.2 and Bluetooth 5.3.
- the location indicated by the target location information refers to the boundary location of the target public place.
- the above preset distance is the user's current location (i.e., the current location of the mobile phone) allowed when Bluetooth 193 is able to scan the Bluetooth broadcast channel near the target public place.
- the above-mentioned preset distance is a real number greater than or equal to 0.
- the preset distance can be 0 meters, 2 meters, 10 meters, 20 meters or other customized distances. This application does not limit this.
- the target public place W as an example, if the above preset distance is set to 0 meters, then when the distance between the position indicated by the user's current location information and the boundary position of the target public place W is less than or equal to 0 meters, it means that the user Currently located at the target public place W; if the distance between the location indicated by the user's current location information and the boundary position of the target public place W is greater than 0 meters, it means that the user is currently located near the target public place W.
- the default distance is set to 10 meters.
- the Bluetooth application software determines that the location indicated by the user's current location information is less than 10 meters from the boundary of XXX Airport, it means that the user is currently located at or near XXX Airport.
- the Bluetooth application software automatically starts Bluetooth 193 to scan the Bluetooth broadcast channels at or near XXX Airport based on the "auto scan" parameters set by the user in the location service.
- Bluetooth application software can obtain the user's current location information and target through the positioning function of the mobile phone and the positioning software installed on the mobile phone (for example, Baidu Map, Amap and other map application software on the market) Location information for public places.
- the location information includes but is not limited to latitude and longitude coordinates, location name and location range.
- the user turns on the positioning function of the mobile phone (that is, starts the positioning device 194 of the mobile phone) and starts the positioning software; the user enters the name of the target public place or the location information of the target public place (for example, the location of the boundary of the target public place) in the positioning software. information); the positioning software obtains the user's current location information through the positioning device 194, and sends the user's current location information and the location information of the target public place to the Bluetooth application software; the Bluetooth application software sends the user's current location information based on the positioning software and The location information of the target public place can determine whether the user has arrived at the target public place.
- the Bluetooth application software itself has a location service function; the Bluetooth application software obtains the user's current location information and the location information of the target public place based on its own location service. For example, after the user starts the Bluetooth application software, he will find the location service setting option on the main interface of the Bluetooth application software; the Bluetooth application software can obtain the user's current location information and the location information of the target public place through the location service parameters set by the user.
- the user can click the location service option (see the location indicated by 601) with his hand on the location service setting tab 402 shown in (a) of Figure 6, and the Bluetooth application software will pop up (b) of Figure 6
- the location service setting interface indicated by 602 in the figure the user can set whether to automatically scan, the name of the public place he wants to go to (i.e., the name of the target public place), and the location of the public place (i.e., the target public place). geographical location), automatic scanning range, and whether to automatically monitor;
- the hollow circle on the positioning service setting interface indicated by 602 in (b) of Figure 6 indicates that the user has not selected this option, and a solid black dot is added to the hollow circle to indicate The user selects this option.
- the user can set whether to activate the positioning function of the mobile phone in the "Whether to enable positioning” option in (b) of Figure 6; if the user selects the "Yes” option, the mobile phone will activate the positioning device 194 to obtain the user's current location information; if If the user selects "No", the mobile phone will not activate the positioning device 194 to obtain the user's current location information.
- the user After the user chooses to activate the mobile phone positioning function on the location service setting interface indicated by 602, he can fill in the name of the target public place (for example, XXX Airport) and the geographical location of the target public place in the two options of public place name and public place location.
- Information for example, No. 1, H Road, District Y, City reach target Public places.
- the Bluetooth application software determines whether to automatically start Bluetooth 193 to scan the target public place based on the parameters set by the user in the "Whether to scan automatically" option in (b) of Figure 6 Functionality of the venue's Bluetooth broadcast channel.
- the user can set whether to automatically start the Bluetooth application software to scan the Bluetooth broadcast channel through Bluetooth 193 through the "Auto Scan” option in (b) of Figure 6. If the user selects the "Yes” option, when the Bluetooth application software determines that the user's current location information is in the target public place, it is determined to automatically turn on the function of scanning the Bluetooth broadcast channel, that is, when the user's current location information indicates that the user is in the target public place.
- the Bluetooth application software will automatically turn on the function of Bluetooth 193 to scan the Bluetooth broadcast channel; if the user selects "No", the Bluetooth application software will not automatically turn on the function of Bluetooth 193 to scan the Bluetooth broadcast channel based on the user's current location information, but will When the user's current location information indicates that the user is in the target public place, a scanning confirmation dialog box is generated to allow the user to manually select whether the Bluetooth 193 function of scanning Bluetooth broadcast channels needs to be turned on.
- a scan confirmation dialog box will pop up on the phone's display interface; the scan confirmation dialog box displays "The phone is currently within the range of XXX Airport" "Do you want to enable the function of scanning Bluetooth broadcast channels?” content, as shown in 701 in (a) of Figure 7; or, when the main interface of the Bluetooth application software is opened, it will pop up on the main interface of the Bluetooth application software.
- the Bluetooth application software will immediately turn on the function of Bluetooth 193 to scan the Bluetooth broadcast channel; if the user chooses not to turn it on temporarily, the Bluetooth application software will not turn on the function of Bluetooth 193 to scan the Bluetooth broadcast channel for the time being.
- the user can set the "automatic scanning range" on the location service setting interface shown in (b) of Figure 6; the automatic scanning range option is used to set the Bluetooth 193 to be able to scan nearby Bluetooth The maximum distance range of the broadcast channel.
- the user can select the automatic scanning range to be 10 meters (i.e. 10m) on the location service setting interface shown in (b) of Figure 6.
- Bluetooth 193 can scan the devices within 10 meters of itself (i.e. mobile phone or user). Bluetooth broadcast channel.
- the "automatic scanning range" can be 10m, 20m, or 50m, or a user-defined scanning range. This application does not impose any restrictions on the user-defined scanning range. Users can set it according to the actual application scenario.
- the Bluetooth 193 may not scan the Bluetooth broadcast channels around the mobile phone all the time, but only scan the Bluetooth broadcast channels around the target public place when the user (i.e., the mobile phone) is located in or near the target public place. , which can not only reduce the power consumption of the mobile phone, but also increase the probability of scanning the Bluetooth broadcast channel (ie, the target channel) in the target public place.
- the target public place is a station
- the broadcast information is station reporting information
- the above-mentioned stations include but are not limited to high-speed rail stations, subway stations and bus stations; when users take the train to their destination, they will pass through many stations; while the user is riding, the Bluetooth broadcast equipment on the train will broadcast station information through the Bluetooth broadcast channel (That is, the station information of the broadcast train); the station information includes but is not limited to the current arrival information, the next station information and the arrival time of different stations.
- the Bluetooth application software when a user takes train D0001 at station A to the destination station B, he opens the Bluetooth application software to monitor the blue broadcast channel on train D0001.
- the user enters the name of the destination site B and its corresponding geographical location information in the two input boxes of "public place name and public place location" on the positioning service setting interface, and turns on the mobile phone positioning function (ie, turns on the positioning device 194) And turn on the automatic scanning and automatic monitoring functions;
- the Bluetooth application software when the user takes the D0001 train from site A to the destination site B, the Bluetooth application software will obtain the current location information of the user (i.e., mobile phone) in real time through the positioning device 194, and compare the user's location information in real time.
- the Bluetooth application automatically starts the function of scanning Bluetooth broadcast channels, and determines the target channel (i.e., the Bluetooth broadcast channel corresponding to the Bluetooth broadcast device on train D0001) based on the scanned channel identifiers of multiple Bluetooth broadcast channels and Bluetooth broadcast device identifiers, and automatically Listen to the target channel.
- this application uses the positioning service function of the Bluetooth application software to enable the user to start scanning and detecting the train when it arrives near the destination.
- the function of monitoring the Bluetooth broadcast channel of the train means that the user can use the Bluetooth application software to monitor the station announcement information of several stations before the destination (i.e. the target location) without having to monitor the Bluetooth broadcast equipment on the train throughout the whole journey (i.e. the user's entire ride). All broadcast station information.
- This method not only allows users to receive important and useful station information in a timely manner, but also reduces the power consumption of mobile phones and avoids frequent interference with useless station information during the user's ride.
- Bluetooth 193 When Bluetooth 193 scans the Bluetooth broadcast channel in the target public place, it will receive broadcast information broadcast by different Bluetooth broadcast devices through the Bluetooth broadcast channel; Bluetooth 193 will send the multiple broadcast information received to the processor 110; the above broadcast information includes but is not limited to Channel name (for example, channel 001), public place name (for example, airport), device identification (for example, the device starting with JCE is an airport Bluetooth broadcast device), broadcast content (for example, flight information, waiting information, etc.); different Bluetooth broadcast devices will have different device identifiers; the Bluetooth broadcast channels corresponding to different Bluetooth broadcast devices will also have different channel identifiers; for example, the Bluetooth broadcast device identifier at the airport is a serial number starting with FJHB (for example, FJHB0983088).
- the Bluetooth broadcast channel identification corresponding to the device is JCXD001.
- the processor 110 will parse the information of different Bluetooth broadcast channels (such as channel identifiers, channel names, etc.) from the multiple broadcast information, and send the parsed information of different Bluetooth broadcast channels to the Bluetooth application software; the Bluetooth application The software will display the information of different Bluetooth broadcast channels in the monitorable Bluetooth channel area shown as 303 in (b) of Figure 3; for example, channel 001 (i.e. channel identification), XXX Airport Broadcast Channel (i.e. channel name) .
- channel 001 i.e. channel identification
- XXX Airport Broadcast Channel i.e. channel name
- the user can select the Bluetooth broadcast channel that needs to be monitored in the monitorable Bluetooth channel area shown as 303 in (b) of Figure 3; for example, the user wants to monitor channel 001 (i.e., the target channel), Then the user can select channel 001 among the multiple Bluetooth broadcast channels scanned in the monitorable Bluetooth channel area, and click the monitor button shown as 406 in (c) of Figure 4; the Bluetooth application software starts to monitor the broadcast broadcast by channel 001 information.
- the monitorable Bluetooth channel area shown as 303 in (b) of Figure 3
- the user wants to monitor channel 001 (i.e., the target channel)
- the user can select channel 001 among the multiple Bluetooth broadcast channels scanned in the monitorable Bluetooth channel area, and click the monitor button shown as 406 in (c) of Figure 4; the Bluetooth application software starts to monitor the broadcast broadcast by channel 001 information.
- the Bluetooth application software can set "whether to automatically listen” based on the user's settings in the location service setting interface. Parameters to determine whether to enable the function of monitoring the target channel.
- the Bluetooth application software When the user selects automatic monitoring in the "Whether to automatically monitor” option in (b) of Figure 6, the Bluetooth application software will automatically enable the function of Bluetooth 193 to monitor the target channel; when the user chooses not to activate automatic monitoring, the Bluetooth application software A monitoring confirmation dialog box will be generated for the user to manually choose whether to enable Bluetooth 193 to monitor the target channel.
- the preset distance is 10 meters
- the positioning parameters are set on the positioning service setting interface of the Bluetooth application software: the user sets the mobile phone positioning function to be turned on (ie, starts the positioning device 194), turns on Automatically scan and enter the name of the public place you want to go to as XXX Airport and the corresponding geographical location of XXX Airport as No. 1, H Road, District Y, X City, and set the automatic scanning range to 10 meters and activate the automatic monitoring function.
- the Bluetooth application software obtains the user's current location information (i.e., the current location information of the mobile phone) through the positioning device 194, and compares the distance between the user's current location and the center of XXX Airport in real time; when the user's current location and the center of XXX Airport When the distance of the location is less than the preset distance of 10 meters, it means that the user has reached the XXX airport; the Bluetooth application software will control Bluetooth 193 to automatically scan the Bluetooth broadcast channels within 10m around the user (i.e. mobile phone); when Bluetooth 193 scans to XXX When the Bluetooth broadcast channel of the airport (i.e. the target channel) is detected, the function of monitoring the Bluetooth broadcast channel of the XXX airport will be automatically started.
- the Bluetooth broadcast channel of the airport i.e. the target channel
- the user selects the ask user option in the "Whether to automatically monitor” option on the location service setting interface.
- Bluetooth 193 scans the Bluetooth broadcast channel (that is, the target channel) of XXX Airport
- a monitoring confirmation dialog box will be generated for the user. Manually choose whether to enable the function of monitoring the target channel.
- the Bluetooth application software when the Bluetooth application software is running in the background of the mobile phone, the Bluetooth application software will pop up a message on the display interface of the mobile phone that displays "The Bluetooth broadcast channel of XXX Airport is currently scanned.
- the content monitoring confirmation dialog box is shown as 901 in (a) of Figure 9; or when the user opens the main interface of the Bluetooth application software, a pop-up message showing "Currently scanned to The Bluetooth broadcast channel of XXX Airport, please enable the function of monitoring this channel" is displayed in the monitoring confirmation dialog box, as shown in 902 in (b) of Figure 9. If the user chooses to turn it on immediately, the Bluetooth application software will immediately turn on the function of Bluetooth 193 monitoring the target channel; if the user chooses not to turn it on temporarily, the Bluetooth application software will not turn on the function of Bluetooth 193 monitoring the target channel for the time being.
- the user before the user uses the Bluetooth application software to scan and monitor the Bluetooth broadcast channel in the target public place, the user can set the scanning parameters and monitoring parameters on the Bluetooth application software.
- the user can use the default scanning parameters and monitoring parameters of the Bluetooth application software, and this application does not limit this.
- the above scanning time interval is used to set the frequency of Bluetooth 193 scanning Bluetooth broadcast channels. Users can choose to scan in real time, or scan every 2min (i.e. 2 minutes) or every 5min (i.e. 5 minutes). They can also automatically scan according to the actual application scenario. Define the scanning time interval, which is not limited by this application.
- the above scanning frequency range is used to set the scanning frequency range of Bluetooth 193.
- the frequency range of Bluetooth communication is 2.4GHz–2.4835GHz, and the user can set the scanning frequency range of Bluetooth 193 to 2.4GHz–2.4835GHz.
- the above-mentioned Bluetooth scanning bandwidth is used to set the bandwidth at which Bluetooth 193 scans each time.
- the user can set the Bluetooth scanning bandwidth to 0.1GHz (i.e. 100MHz).
- users can also set the scanning bandwidth of Bluetooth 193 according to actual application scenarios, and this application does not impose any restrictions on this.
- the user can set monitoring parameters on the main interface of the Bluetooth application software. For example, the user clicks the position indicated by 801 in (a) of Figure 8 with his hand to open the monitoring parameter setting interface.
- the monitoring parameter setting interface will pop up on the main interface of the Bluetooth application software, as shown in (b) of Figure 8
- the interface shown in 802; the user can set monitoring parameters on the interface shown in 802.
- the user can set the listening time interval on the interface shown in 802.
- the listening time interval is used to set the interval for Bluetooth 193 to monitor (i.e. detect) whether there is broadcast information on the target channel; the user can set 2min (i.e. 2 minutes) , you can also set 5min (i.e. 5 minutes), you can also set 10min (i.e. 10 minutes), or you can define the appropriate monitoring time interval according to the actual application scenario, this application does not limit this.
- users can also set the reminder method and playback method of broadcast information in the monitoring parameter setting interface.
- the user can set the information reminder method on the interface shown in 802.
- This information reminder method is used to set the Bluetooth application software to remind the user to listen or view the broadcast information monitored by Bluetooth 193 from the target channel; set the mobile phone to non-silent mode
- the phone When the phone is set to silent mode, the user can choose to vibrate or ring to remind themselves to check or listen to broadcast information to avoid missing important broadcast information; when the phone is set to silent mode, it means that the user does not want to be disturbed by information received from the outside world.
- Users can choose vibration or light flashing (i.e. signal light indication) to remind themselves to check or listen to broadcast information to avoid missing important broadcast information.
- the user can set the information playback mode on the interface shown in 802.
- the information playback mode is used to set the way the Bluetooth application software plays or displays broadcast information; when the mobile phone is set to non-silent mode, the user can choose to prioritize voice playback. Broadcast information to avoid missing important broadcast information; when the mobile phone is set to silent mode, it means that the user does not want to be disturbed by external information (for example, the user is using the mobile phone to hold a video conference while waiting at the airport); at this time, the user can Choose to obtain broadcast information in silent mode by prioritizing text viewing. This will not only obtain broadcast information in a timely manner, but also prevent audio playback from interfering with the user's work.
- the user can also set a preset location for playback on the monitoring parameter setting interface shown at 802.
- the user needs to take a subway train, high-speed train, etc. to go to the destination.
- the user can set the preset location to play so that the Bluetooth application software monitors and plays the broadcast information near the destination, or monitors and plays the broadcast information throughout the entire process; Among them, monitoring and playing broadcast information near the destination is used to set the Bluetooth application software to start scanning the Bluetooth broadcast channel and monitor the broadcast information broadcast by the target channel only when the user arrives near the destination; for example, when the train A the user is riding is a distance
- the Bluetooth application starts to scan the Bluetooth broadcast channel (i.e., the target channel) corresponding to the Bluetooth broadcast device on train A through Bluetooth 193, and monitors the station reporting information broadcast by the target channel through Bluetooth 193; when When Bluetooth 193 monitors the station reporting information from the target channel, the Bluetooth application software will play or display the station reporting information received by Bluetooth 193 to the user.
- Bluetooth application software to monitor and play broadcast information near the destination can not only reduce the power consumption of mobile phones and prevent useless station reporting information from disturbing users, but also allow users to learn important and useful station reporting information in a timely manner.
- the above-mentioned monitoring and playing of broadcast information throughout the entire process is used to set the function of the Bluetooth application software to monitor and play the broadcast information broadcast by the target channel throughout the user's ride in the car. For example, when the train A the user is riding is very close to the destination (for example, the user only needs to take three subway stops to reach the destination), the user can choose to listen and play the entire journey (that is, when the user takes train A to the destination).
- the Bluetooth broadcast channel i.e., the target channel
- S503. Receive broadcast information through the target channel.
- Bluetooth 193 can monitor the broadcast information broadcast by the target channel in real time, and can also monitor the broadcast information broadcast by the target channel at a certain interval.
- the above broadcast information includes voice information and text information; for example, Bluetooth 193 can receive some flight voice information, flight text information, waiting voice information, and error recovery voice broadcast by the airport's Bluetooth broadcast equipment through the airport's Bluetooth broadcast channel (i.e., the target channel) Information etc.
- Bluetooth 193 can receive some flight voice information, flight text information, waiting voice information, and error recovery voice broadcast by the airport's Bluetooth broadcast equipment through the airport's Bluetooth broadcast channel (i.e., the target channel) Information etc.
- S504 perform any one or more operations of displaying or playing broadcast information.
- the Bluetooth application software will perform any one or more operations in display or playback to deliver the broadcast information monitored by Bluetooth 193 to the user; for example, The Bluetooth application software can display the monitored broadcast information to the user, play it to the user, or both display it to the user and play it to the user at the same time.
- the Bluetooth application software when the broadcast information is text information, the Bluetooth application software will display the text information to the user through the display screen 195 of the mobile phone; or, when the broadcast information is text information, the Bluetooth application software will first convert the text information into speech. The information is then played to the user through the speaker 170A connected to the audio module 170 or the headphones connected through the headphone interface 170D connected to the audio module 170; or, when the broadcast information is a text message, the Bluetooth application software uses the display screen of the mobile phone on the one hand. 195 displays the text message to the user for viewing. On the other hand, the text message is first converted into voice information and then played to the user through the speaker 170A connected in the audio module 170 or the headphones connected through the headphone interface 170D connected to the audio module 170 .
- the Bluetooth application software When the broadcast information is voice information, the Bluetooth application software will play the voice information to the user through the speaker 170A connected to the audio module 170 or the earphone connected through the headphone interface 170D connected to the audio module 170; or, when the broadcast information is voice information, When sending a message, the Bluetooth application software will first convert the voice message into a text message and then display it to the user through the display screen 195 of the mobile phone; or when the broadcast message is a voice message, the Bluetooth application software will convert the voice message through audio on the one hand.
- the speaker 170A connected in the module 170 or the earphone connected through the earphone interface 170D connected to the audio module 170 plays it to the user.
- the voice information is first converted into text information and then displayed to the user for viewing through the display screen 195 of the mobile phone.
- the broadcast information is text information.
- the above method includes: converting the text information into voice information; and playing the broadcast information includes: playing the voice information.
- the Bluetooth application software requests the processor 110 of the mobile phone to play the text information in the form of voice; the processor 110 is playing Before sending the text information, the text information will be converted into voice information first, and then the converted voice information will be played to the user through the speaker 170A connected to the audio module 170 or the headphones connected through the headphone interface 170D connected to the audio module 170 .
- the processor 110 will play the converted voice information to the user through the headphones connected to the headphone interface 170D; if the user is not wearing headphones, the processor 110 will play the converted voice information through the speaker 170A. to users.
- the processor 110 can first convert the received text information into voice information, and then play the text information to the user in the form of voice, thereby making it convenient for the user to listen to the text information in the form of voice without the user having to go to the target public place. Go to the screen of the venue to view the text (i.e. subtitles) information being played.
- the broadcast information is voice information
- the method before displaying the broadcast information, the method includes: converting the voice information into text information; and displaying the broadcast information includes: displaying the text information.
- the Bluetooth application software when Bluetooth 193 receives voice information from the target channel, and when the user selects text viewing mode to view the voice information, the Bluetooth application software will request the processor 110 of the mobile phone to display the voice information in the form of text; the processor 110 Before displaying the voice information, the voice information is first converted into text information, and then the converted text information is displayed to the user through the display screen 195 .
- the broadcast information received by Bluetooth 193 is voice information
- the user selects the text viewing mode to view the voice information it means that it is inconvenient for the user to listen to the voice information at this time.
- the processor 110 The received voice information can be converted into text information first, and then the voice information can be displayed to the user in the form of text to facilitate the user to view the voice information in the form of text.
- playing broadcast information includes: when the terminal device (such as a mobile phone) is connected to a headset, playing the broadcast information through the headset; when the terminal device (such as a mobile phone) is not connected to a headset, playing the broadcast information through a speaker .
- the Bluetooth application software will request the processor 110 of the mobile phone to play the broadcast information through the audio module 170; at this time, the processor 110 will detect whether an external earphone is connected to the headphone interface 170D through the audio module 170; the earphone It may be a wired headset or a wireless Bluetooth headset, which is not limited in this application.
- the processor 110 detects through the audio module 170 that headphones are currently connected to the headphone interface 170D, it means that the user may use the headphones to watch videos or listen to music; the processor 110 may play the broadcast information to the user through the headphones.
- the processor 110 If the processor 110 detects through the audio module 170 that no headphones are currently connected to the headphone interface 170D, the processor 110 plays the broadcast information to the user through the speaker 170A connected to the audio module 170 .
- the processor 110 can select an appropriate and effective broadcast information delivery method based on whether the user is currently wearing headphones, thereby allowing the user to immerse himself in using the mobile phone while also receiving timely and accurate information.
- the broadcast information broadcast by the target channel is received.
- performing any one or more operations of displaying or playing broadcast information includes: displaying broadcast information when the terminal device (such as a mobile phone) is in silent mode; or, when the terminal device (such as a mobile phone) is in silent mode; When the mobile phone is in non-silent mode, broadcast information is played.
- the above silent mode means that the volume of various media on the current mobile phone will become muted. For example, there will be no sound for incoming call notifications, voice message notifications, voice calls, video calls, etc.; instead, the screen will light up or vibrate to remind the user to check various media. kind of information.
- the non-silent mode includes but is not limited to conference mode, standard mode and airplane mode; because in airplane mode, the mobile phone does not have a network, Bluetooth 193 cannot scan the Bluetooth broadcast channel, and cannot receive broadcast information from the target channel; however, the mobile phone in airplane mode , you can play the broadcast information that Bluetooth 193 has received from the target channel.
- the Bluetooth application software can display the broadcast information monitored by Bluetooth 193 from the target channel in the form of text. user.
- the user can select the information reminder mode as silent mode, vibration and light flashing (i.e. indicator light flashing), and the information playback mode as silent mode on the monitoring parameter setting interface shown in (b) of Figure 8.
- the Bluetooth application software reminds the user to view the broadcast information by vibrating and flashing lights, and displays the broadcast information as text.
- the form is displayed to the user through the display screen 195;
- the Bluetooth 193 monitors that the broadcast information sent by the target channel is a voice message, and when the mobile phone is set to silent mode, the Bluetooth application software reminds the user to view the message by vibrating and flashing lights.
- broadcast information convert the voice information into text information, and then display the converted text information to the user through the display screen 195 in the form of text.
- the Bluetooth application software can remind the user to check the broadcast information in a sound way, and play the broadcast information to the user in a voice way to prevent the user from missing important broadcast information.
- the user can select the information reminder mode on the monitoring parameter setting interface shown in (b) of Figure 8 to vibrate and ring in non-silent mode, and the information playback mode to give priority to voice playback in non-silent mode.
- the Bluetooth application software reminds the user to view the broadcast information by vibrating and ringing, and connects through the audio module 170 The speaker 170A or the headphones connected through the headphone interface 170D connected to the audio module 170 play to the user.
- Bluetooth 193 detects that the broadcast information sent by the target channel is a text message, and when the mobile phone is set to non-silent mode, the Bluetooth application software reminds the user to view the broadcast information by vibrating and ringing, and the monitored text The information is converted into voice information and then played to the user through the speaker 170A connected to the audio module 170 or the headphones connected through the headphone interface 170D connected to the audio module 170 .
- the Bluetooth application software can also request the processor 110 to remind the user that the broadcast information has been received through the Bluetooth 193 through the message prompt system of the mobile phone.
- This application does not limit the specific form in which the Bluetooth application software reminds the user to view broadcast information. In actual applications, the design can be based on actual application scenarios.
- the processor 110 of the mobile phone will receive the broadcast information via Bluetooth 193 and remind the user in the form of text display.
- the processor 110 of the mobile phone will play the received broadcast information to the user in the form of voice.
- the processor 110 of the mobile phone provides the user with a suitable broadcast information delivery method according to the working mode set by the user on the mobile phone, which not only allows the user to obtain important broadcast information in a timely manner (for example, valid flight and other itinerary information), but also It can ensure that users can use terminal equipment and travel smoothly.
- the following is a subway application scenario to illustrate how the Bluetooth application software reminds the user to view broadcast information and plays the broadcast information to the user when the mobile phone is in different modes.
- the display screen 1003 in the subway car displays route information and arrival information of XXXX Metro Line 1.
- black solid dots represent stations that have been passed, and empty circles represent stations that have not been reached.
- the Bluetooth broadcast equipment on the subway broadcasts the arrival information of the subway train through the speaker 1002 voice.
- the Bluetooth broadcast equipment on the subway can also broadcast the arrival information in the form of text information. Taking the voice broadcast station information of the Bluetooth broadcast equipment on the subway as an example, the user is taking XXXX Metro Line 1 to Station 009.
- the user While riding the subway, the user is wearing a wireless Bluetooth headset 1001 to watch videos on the mobile phone 1004, as shown in Figure 11
- a communication connection has been established between the wireless Bluetooth headset 1001 and the mobile phone 1004 in the user's hand. If the user sets the mobile phone 1004 to silent mode, and the user selects the message playback mode as silent mode in the monitoring parameter setting interface shown in (a) of Figure 8, giving priority to text playback, and selects the message reminder mode as silent mode.
- the Bluetooth 193 will vibrate and the light will flash.
- the Bluetooth 193 When the Bluetooth 193 receives the arrival information broadcast by the Bluetooth broadcast equipment on the subway through the speaker 1002, it will first convert the voice information (that is, the voice station announcement information) into text information, and pass Vibration and light flashing remind the user to view the broadcast information, and a dialog box for viewing the text of the broadcast message pops up on the main interface of the Bluetooth application software, as shown in (b) in Figure 11; the user can click on Click the text view button in Figure (b) to view the voice station announcement information broadcast by the Bluetooth broadcast device on the subway in the form of text.
- the voice information that is, the voice station announcement information
- pass Vibration and light flashing remind the user to view the broadcast information
- a dialog box for viewing the text of the broadcast message pops up on the main interface of the Bluetooth application software, as shown in (b) in Figure 11; the user can click on Click the text view button in Figure (b) to view the voice station announcement information broadcast by the Bluetooth broadcast device on the subway in the form of text.
- the user sets the mobile phone 1004 to a non-silent mode, and the user selects the information reminder mode as vibrating and ringing in the non-silent mode, and selects the information playback mode on the monitoring parameter setting interface shown in (b) of Figure 8
- voice playback is given priority.
- Bluetooth 193 receives the arrival voice message broadcast by the Bluetooth broadcast device on the subway through the speaker 1002, the Bluetooth application software will vibrate and ring to remind the user to check the broadcast.
- the voice playback dialog box of the broadcast message pops up on the main interface of the Bluetooth application software, as shown in (c) in Figure 11; the user can click the voice play button in (c) in Figure 11 to listen The Bluetooth broadcast equipment on the subway broadcasts the station announcement information via voice.
- the user does not need to set the information playback mode and select the information reminder mode on the monitoring parameter setting interface shown in (a) of Figure 8; when the Bluetooth 193 receives the Bluetooth broadcast device on the subway through the speaker 1002
- the Bluetooth application software will by default remind the user to view the broadcast message by vibrating and ringing, and pop up on the main interface of the Bluetooth application software. Broadcast message viewing dialog box to facilitate users to view the broadcast information.
- the Bluetooth application software receives a voice message from channel 005 through Bluetooth 193, and will generate a broadcast message reminder window for channel 005 on the main interface of the Bluetooth application software; if the user Click the voice play button, and a voice information play window numbered 20220721142412 will be generated on the main interface of the Bluetooth application software, as shown in (b) in Figure 12; among them, "2022/7/21 14:24:12 "Indicates that Bluetooth 193 received a voice message at 14:24:12 pm on July 21, 2022.
- the Bluetooth application software will assign a unique number to each broadcast information received by Bluetooth 193. The user can set it by himself. This application does not impose any restrictions on this.
- the above method further includes: when the terminal device (such as a mobile phone) is playing the third When the first audio is played, pause the playing of the first audio, or reduce the volume of the first audio.
- the above-mentioned first audio may be music audio or audio in a video. This application does not place any limitation on the first audio.
- the processor 110 when the user is watching a video using a mobile phone for entertainment, and when the Bluetooth application software requests the processor 110 of the mobile phone to play the broadcast information received by the Bluetooth 193 from the target channel, the processor 110 will pause the video playback, or reduce the quality of the current video. After the volume is played, the broadcast information is played to the user through the speaker 170A connected to the audio module 170 or the headphones connected to the audio module 170 through the headphone interface 170D.
- the Bluetooth application software will remind the user to view the text message by vibrating and ringing; at this time, the user can choose text viewing or voice playback to listen to the text message according to their own needs.
- the Bluetooth application software will request the processor 110 of the mobile phone to display the text information; at this time, the processor 110 will pause the current episode 7 video.
- Play as shown by "
- the Bluetooth application software vibrates and rings. method to remind the user to check the voice message; if the user clicks the voice play button to listen to the voice message (as shown in (c) of Figure 13), the Bluetooth application software will request the processor 110 of the mobile phone to play the voice message; at this time , the processor 110 will pause the playback of the current episode 7 video, as shown by "
- the Bluetooth application software vibrates and rings. method to remind the user to view the text message; if the user clicks the voice play button to listen to the text message (as shown in (a) of Figure 14), the Bluetooth application software requests the processor 110 of the mobile phone to play the text message; at this time, The processor 110 first converts the text information into voice information and then plays the converted voice information to the user.
- the processor 110 will not pause the playback of the current episode 7 video when playing the converted voice information, but will first Reduce the volume of the video playing Episode 7 and then play the converted voice information to the user; in (b) of Figure 14, in the volume adjustment tool shown as 1401 in the figure, the dotted hollow circle in 1401 represents Episode 7 before the broadcast information is played.
- the volume of the video playback, and the solid black circle represents the volume of the video in Episode 7 when the broadcast information is played; the volume of the black solid circle is stronger as it goes to the right (i.e., louder), and as it goes to the left, the volume becomes lower (i.e., smaller) ).
- the Bluetooth application software when Bluetooth 193 receives the broadcast information broadcast by the target channel, the Bluetooth application software will request the processor 110 of the mobile phone to display or play the broadcast information; when the user is using the mobile phone to play the first audio (for example, playing music), the processor 110 will pause the playback of the first audio or reduce the playback volume of the first audio, and then display or play the above broadcast information to the user without the user having to exit the current audio and video playback interface, thereby improving the user's experience.
- the first audio for example, playing music
- the above embodiment mainly describes the way in which Bluetooth application software reminds the user to check broadcast information when the mobile phone is in the unlocked screen state.
- the following describes some ways in which Bluetooth application software reminds the user to check broadcast information when the mobile phone is in the locked screen state.
- the mobile phone when the mobile phone is in the lock screen state, the mobile phone will display the broadcast information received by the Bluetooth application software from the target channel through Bluetooth 193 in the form of a prompt box on the lock screen interface to remind the user to check the broadcast information in time.
- the Bluetooth application software will pop up a broadcast message reminder window on the lock screen interface to remind the user that there is broadcast information that needs to be viewed; as shown in Figure 15
- a broadcast message reminder window pops up on the lock screen of the mobile phone. The user clicks the expand button indicated by 1501.
- the broadcast message reminder window will expand the specific content of the broadcast message reminder "Bluetooth on July 21, 2022.” 1 voice message was received from channel 001 at 14:24:12, click to view details >>", as shown in (b) in Figure 15; at this time, the expand button indicated by 1501 will change to 1502 the collapse button; when the user clicks the collapse button shown in 1502, the broadcast message reminder window shown in (b) of Figure 15 will become the broadcast message reminder shown in (a) of Figure 15 window.
- the broadcast information of interest can be viewed from the historical information records of the Bluetooth application software.
- the user can select channel 001 at the position shown as 1601 in Figure 16 (a); after that, Then click the expand button indicated by 1602 with your hand, and the tab shown as 1603 in (b) of Figure 16 will pop up on the main interface of the Bluetooth application software.
- the tab shown as 1603 includes add options, delete options and The historical information option, among which, the add option is used for the user to manually add the Bluetooth channel that needs to be monitored; the delete option is used for the user to delete the Bluetooth channel being monitored; the historical information option is used for the user to view the historical broadcast information records broadcast by the target channel.
- the user can click the historical information option with his hand, as shown in (b) of Figure 16, to open the historical information recording window of channel 001; the historical information recording window will display all historical broadcast information received by Bluetooth 193 from channel 001.
- a text window is generated that displays the historical broadcast information content shown in 1604, as shown in (d) of Figure 16; the user can view the historical broadcast information shown in 1604 on the text window.
- the Bluetooth application software will start to play the historical broadcast information shown in 1604, as shown in (b) in Figure 17;
- the Bluetooth application software shown in 1604 The play button of historical broadcast information (i.e., the black triangle in the circle in (a) in Figure 17) will become the button with double vertical lines in the circle in (b) in Figure 17, where, "2022/7/ 21 9:00:30” means that Bluetooth 193 received a voice message at 9:00:30 on July 21, 2022, "00:00:09” means that the current playback is at the 9th second, "00:00 :30” indicates that the total duration of the historical broadcast information shown in 1604 is 30 seconds.
- the user can check the historical broadcast information received by the target channel at any time through the historical information record of the Bluetooth application software. This can avoid the situation where the user cannot learn the important broadcast information previously broadcast if he misses the important broadcast information. .
- the Bluetooth application software determines whether there is a Bluetooth broadcast channel (i.e., target channel) in the target public place based on the channel identification of the Bluetooth broadcast channel and the device identification of the Bluetooth broadcast device; when it is determined that the target channel exists, the Bluetooth application software prompts (or asks ) Whether the user needs to monitor the target channel; if the user chooses to monitor, the Bluetooth application software starts monitoring the target channel.
- a Bluetooth broadcast channel i.e., target channel
- the Bluetooth application software finds broadcast information on the target channel, receives the broadcast information, and requests the processor 110 to play or display the broadcast information.
- the processor 110 of the mobile phone can generate a message reminder window on the main interface of the Bluetooth application software, or can use the mobile phone's message prompt system to remind the user of the Bluetooth application software through Bluetooth in the form of a system message.
- 193 receives the text message broadcast by the target channel.
- the specific way of reminding the user to check the broadcast information may be in the form of a pop-up box or in the form of a notification message. This application does not limit this. In actual applications, it can be designed according to specific application scenarios. In addition, after viewing the text information, the user can choose to save or not save it. This application does not limit this.
- the processor 110 of the mobile phone plays the voice information to the phone through the mobile phone audio system.
- user for example, played to the user through the speaker 170A connected to the audio module 170.
- the processor 110 can pause the current music playing and play the received voice message in the middle; it can also suppress the volume of the currently playing music and then play the received voice message. If the phone is not currently playing music, you can also play the current voice message through sound prompts.
- the terminal device scans the Bluetooth broadcast channels that exist around the target public place (such as the airport) to find the Bluetooth broadcast channel (i.e., the target channel) corresponding to the target public place that it wants to monitor; then, the terminal device passes the monitoring
- the target channel broadcasts broadcast information (such as flight information, waiting information and other itinerary-related information), and delivers the monitored broadcast information to the user through any one or more operations in display or playback to avoid Users miss important broadcast information when using terminal devices (such as mobile phones) in public places.
- broadcast information such as flight information, waiting information and other itinerary-related information
- the terminal device includes corresponding hardware structures and/or software modules for executing each function.
- the terminal device includes corresponding hardware structures and/or software modules for executing each function.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or by computer software driving the hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
- This application can divide the method of processing broadcast information into functional units according to the above method examples.
- each function can be divided into functional units, or two or more functions can be integrated into one unit.
- the above integrated units can be implemented in the form of hardware or software functional units. It should be noted that the division of units in this application is schematic and is only a logical function division. In actual implementation, there may be other division methods.
- Figure 19 shows a schematic structural diagram of a terminal device provided by this application.
- the dashed line in Figure 19 indicates that the unit or module is optional.
- the terminal device 1900 may be used to implement the method described in the above method embodiment.
- the terminal device 1900 may be a server or a chip (system).
- the terminal device 1900 includes one or more processors 1901, and the one or more processors 1901 can support the terminal device 1900 to implement the method in the method embodiment corresponding to Figure 5.
- Processor 1901 may be a general-purpose processor or a special-purpose processor.
- the processor 1901 may be a central processing unit (Central Processing Unit, CPU).
- the CPU can be used to control the terminal device 1900, execute software programs, and process data of the software programs.
- the terminal device 1900 may also include a communication unit 1905 to implement input (reception) and output (transmission) of signals.
- the above-mentioned terminal device 1900 may be a chip (system) that includes a memory and a processor, wherein the processor is configured to execute the computer program stored in the memory to implement the steps shown in the above embodiments. method.
- the communication unit 1905 may be an input and/or output circuit of the chip (system), or the communication unit 1905 may be a communication interface of the chip (system), which may be a component of the terminal device 1900 .
- the communication unit 1905 may be a transceiver of the terminal device 1900 , or the communication unit 1905 may be a transceiver circuit of the terminal device 1900 .
- the terminal device 1900 may include one or more memories 1902, on which a program 1904 is stored.
- the program 1904 may be run by the processor 1901 to generate instructions 1903, so that the processor 1901 executes the method described in the above method embodiment according to the instructions 1903.
- data may also be stored in the memory 1902 .
- the processor 1901 can also read the data stored in the memory 1902. The data can be stored at the same storage address as the program 1904, or the data can be stored at a different storage address as the program 1904.
- the processor 1901 and the memory 1902 can be provided separately or integrated together, for example, integrated on a system-on-chip (SOC) of the terminal device.
- SOC system-on-chip
- each step of the above method embodiment can be completed by a logic circuit in the form of hardware or instructions in the form of software in the processor 1901 .
- the processor 1901 can be a CPU, a digital signal processor (Digital Signal Processor, DSP), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, such as discrete gates, transistor logic devices or discrete hardware components.
- DSP Digital Signal Processor
- FPGA Field Programmable Gate Array
- This application also provides a computer program product, which, when executed by the processor 1901, implements the method of any method embodiment in this application.
- the computer program product may be stored in the memory 1902, such as a program 1904.
- the program 1904 is finally converted into an executable object file that can be executed by the processor 1901 through processes such as preprocessing, compilation, assembly, and linking.
- This application also provides a computer-readable storage medium on which a computer program is stored.
- a computer program When the computer program is executed by a computer, the method of any method embodiment in this application is implemented.
- the computer program may be a high-level language program or an executable object program.
- the computer-readable storage medium is memory 1902, for example.
- Memory 1902 may be volatile memory or nonvolatile memory, or memory 1902 may include both volatile memory and nonvolatile memory.
- non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
- Erase programmable read-only memory Electrode programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
- Volatile memory may be Random Access Memory (RAM), which is used as an external cache.
- RAM static random access memory
- DRAM dynamic random access memory
- DRAM synchronous dynamic random access memory
- SDRAM double data rate synchronous dynamic random access memory
- Double Data Rate SDRAM DDR SDRAM
- enhanced SDRAM ESDRAM
- SynchLink DRAM SLDRAM
- Direct Rambus RAM Direct Rambus RAM
- the disclosed systems, devices and methods can be implemented in other ways. For example, some features of the method embodiments described above may be omitted, or not performed.
- the device embodiments described above are only illustrative.
- the splitting of units is only a logical function splitting. In actual implementation, there may be other splitting methods. Multiple units or components may be combined or integrated into another unit. a system.
- the coupling between units or the coupling between components may be direct coupling or indirect coupling, and the above-mentioned coupling includes electrical, mechanical or other forms of connection.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
Abstract
本申请涉及蓝牙通信技术领域,提供了一种处理广播信息的方法及终端设备,该方法包括:扫描蓝牙广播信道;当扫描到目标信道时,监听所述目标信道,所述目标信道为所述目标公共场所的蓝牙广播信道;通过所述目标信道接收广播信息;执行显示或播放所述广播信息中的任意一项或多项操作。该方法能够避免用户在公共场所使用手机时错过广播信息。
Description
本申请要求于2022年06月25日提交国家知识产权局、申请号为202210731861.1、申请名称为“一种蓝牙广播方案”的中国专利申请的优先权,以及2022年09月14日提交国家知识产权局、申请号为202211120050.4、申请名称为“处理广播信息的方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及蓝牙通信技术领域,尤其涉及处理广播信息的方法及终端设备。
众所周知,很多出行的公共场所(高铁站、机场、地铁、公交、医院等)会通过语音广播以及文字信息的方式提示用户重要信息,比如,在地铁车厢中,会有语音广播通知用户当前列车的进出站信息,同时,车厢两侧的屏幕上也会显示当前列车的进出站信息。然而,用户在公共场所时往往喜欢使用手机进行娱乐,用户在使用手机娱乐时,大部分的注意力集中在手机上,往往容易错过公共场所广播的重要信息。
比如,用户在机场候机时,可能佩戴降噪耳机听音乐、观看短视频,当机场广播航班信息时,用户可能无法听到航班信息。因此,如何避免用户在公共场所使用手机时错过广播信息是当前亟需解决的问题。
发明内容
本申请提供一种处理广播信息的方法及终端设备,解决了现有技术中用户在公共场所使用手机时错过广播信息的问题。
为达到上述目的,本申请采用如下技术方案:
第一方面,提供一种处理广播信息的方法,该方法包括:扫描蓝牙广播信道;当扫描到目标信道时,监听所述目标信道,所述目标信道为所述目标公共场所的蓝牙广播信道;通过所述目标信道接收广播信息;执行显示或播放所述广播信息中的任意一项或多项操作。
上述方法可以由终端设备或者终端设备中的芯片执行。终端设备通过扫描其周围存在的蓝牙广播信道,找到想要监听的目标公共场所对应的蓝牙广播信道(即目标信道);随后,终端设备通过监听该目标信道广播的广播信息(比如,航班信息、候机信息等行程相关的信息),并通过显示或播放中的任意一项或多项操作将监听到的广播信息送达至用户,以避免用户在使用终端设备(比如,手机)时错过重要的广播信息。
可选地,所述扫描蓝牙广播信道,包括:获取当前位置信息以及用户输入的目标位置信息,所述目标位置信息为所述目标公共场所的位置信息;当所述当前位置信息指示所述终端设备的位置与所述目标位置信息指示的位置的距离小于预设距离时,扫描所述蓝牙广播信道。
在本实施例中,终端设备不是时刻都扫描其周围的蓝牙广播信道,也不是在距离目标公共场所很远的距离就开始扫描蓝牙广播信道,而是当终端设备的当前位置与目标位置的距离小于预设距离时,才开始扫描该目标公共场所周围的蓝牙广播信道,这样不仅可以降低终端设备的功耗,还可以提高终端设备扫描到目标信道的概率。
可选地,所述目标公共场所为车站,所述广播信息为报站信息。
当目标公共场所为车站时,列车上的蓝牙广播设备会间隔一定的事件为乘客广播报站信息;通常用户只对目标位置附近的站点感兴趣,因此,当终端设备的当前位置与目标位置的距离小于预设距离(终端设备距离目标位置很近)时,终端设备才扫描周围的蓝牙广播信道,并从扫描到的蓝牙广播信道找到目标信道(即列车上蓝牙广播设备的蓝牙广播信道);终端设备开始监听该
目标信道,并接收该目标信道广播的距离目标位置很近的几个站点的报站信息,而无需全程(即乘车期间)监听每个站点的报站信息。这种方式不仅能让用户及时接收到有用的广播信息,而且还能避免用户乘车期间,无用报站信息对用户的频繁干扰。
可选地,执行显示或播放所述广播信息中的任意一项或多项操作,包括:当所述终端设备处于静音模式时,显示所述广播信息;或者,当所述终端设备处于非静音模式时,播放所述广播信息。
在本实施例中,当用户将终端设备设置为静音模式时,说明用户不想被终端设备接收的外界信息所干扰;此时,终端设备会将接收到广播信息,以文本显示的方式提醒给用户;当终端设备被设置为非静音模式时,说明用户不想错过终端设备接收到的广播信息,此时,终端设备可以将接收到的广播信息,以语音的形式播放给用户。由此可见,终端设备根据用户将其自身设置的工作模式,为用户提供合适的广播信息送达方式,不仅能让用户及时获得重要的广播信息(比如,有效的航班等行程信息),还能确保用户使用终端设备和出行两不误。
可选地,所述广播信息为文本信息,所述播放所述广播信息之前,所述方法包括:将所述文本信息转换为语音信息;所述播放所述广播信息,包括:播放所述语音信息。
在本实施例中,当终端设备接收到的广播信息为文本信息时,并且,当用户选择语音播放的方式查看该文本信息时,说明用户当前不方便打开终端设备去查看该文本信息;此时,终端设备可以将接收到的文本信息先转换为语音信息,然后将该文本信息以语音的形式播放给用户,从而方便用户以语音的形式收听该文本信息,而无需用户跑到目标公共场所的屏幕前去查看播放的文本(即字幕)信息。
可选地,所述广播信息为语音信息,所述显示所述广播信息之前,所述方法包括:将所述语音信息转换为文本信息;所述显示所述广播信息,包括:显示所述文本信息。
在本实施例中,当终端设备接收到的广播信息为语音信息时,并且,当用户选择文本查看的方式查看该语音信息时,说明用户此刻不方便收听该语音信息,此时,终端设备可以将接收到的语音信息先转换为文本信息,然后将该语音信息以文本的形式显示给用户,以方便用户以文本的形式查看该语音信息。
可选地,所述播放所述广播信息,包括:当所述终端设备连接有耳机时,通过所述耳机播放所述广播信息;当所述终端设备未连接耳机时,通过扬声器播放所述广播信息。
在本实施例中,当终端设备播放广播信息给用户时,终端设备可以根据用户当前是否佩戴耳机而选择合适有效的广播信息送达方式,比如,当用户佩戴耳机时,终端设备可以将该广播信息通过耳机播放给用户;当用户未佩戴耳机时,终端设备可以将该广播信息通过扬声器播放给用户,从而能够让用户沉浸使用手机的同时,还能及时准确地接收到目标信道广播的广播信息。
可选地,当所述终端设备播放所述广播信息时,所述方法还包括:当所述终端设备正在播放第一音频时,暂停播放所述第一音频,或者,降低所述第一音频的音量。
在本实施例中,当终端设备播放广播信息时,并且,当用户当前正在使用终端设备播放第一音频(比如,音乐)时,终端设备可以暂停播放第一音频或者降低第一音频的播放音量来播放该广播信息,而无需用户退出当前的音视频播放界面,从而提高了用户体验。
第二方面,提供一种终端设备,所述终端设备包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于从所述存储器中调用并运行所述计算机程序,使得所述终端设备执行第一方面中任一项所述的方法。
第三方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储了计算机程序,当所述计算机程序被处理器执行时,使得所述处理器执行第一方面中任一项的方法。
第四方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码被终端设备运行时,使得该终端设备执行第一方面中任一种方法。
第五方面,提供了一种芯片系统,所述芯片系统包括存储器和处理器,所述处理器被配置为执行所述存储器中存储的计算机程序,以实现第一方面中任一项的方法。
在本申请的第二方面、第三方面、第四方面和第五方面的技术方案的有益效果与第一方面的技术方案的有益效果相同,不再赘述。
图1为本申请实施例提供的一种终端设备100的结构示意图;
图2为本申请实施例提供的一种终端设备100的软件结构示意图;
图3为本申请实施例提供的一种手机上安装蓝牙应用软件的界面示意图;
图4为本申请实施例提供的一种蓝牙应用软件扫描和监听蓝牙广播信道的界面示意图;
图5为本申请实施例提供的一种处理广播信息的方法流程示意图;
图6为本申请实施例提供的一种定位服务设置界面和扫描参数设置界面的示意图;
图7为本申请实施例提供的一种扫描确认对话框的界面示意图;
图8为本申请实施例提供的一种监听参数设置界面示意图;
图9为本申请实施例提供的一种监听确认界面示意图;
图10为本申请实施例提供的一种用户乘坐地铁的应用场景示意图;
图11为本申请实施例提供的一种广播消息提醒界面示意图;
图12为本申请实施例提供的一种广播消息提醒和播放界面示意图;
图13为本申请实施例提供的一种广播消息提醒和文本显示界面示意图;
图14为本申请实施例提供的又一种广播消息提醒和播放界面示意图;
图15为本申请实施例提供的又一种广播消息提醒和文本显示界面示意图;
图16为本申请实施例提供的一种历史消息设置和文本显示界面示意图;
图17为本申请实施例提供的一种历史消息播放界面示意图;
图18为本申请实施例提供的一种处理广播信息的方法流程步骤示意图;
图19为本申请实施例提供的一种终端设备的结构示意图。
下面将结合附图,对本申请实施例中的技术方案进行描述。
图1示出了一种终端设备100的结构示意图。
终端设备100可以包括手机、可折叠电子设备、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备、或智慧城市设备中的至少一种。本申请实施例对该终端设备100的具体类型不作特殊限制。
终端设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接头130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器180,按键190,指示器191、用户标识模块(subscriber identification module,SIM)卡接口192、蓝牙193、定位器件194以及显示屏195等。
可以理解的是,本申请实施例示意的结构并不构成对终端设备100的具体限定。在本申请另一些实施例中,终端设备100可以包括比图1更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图1中的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
处理器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110用过或使用频率较高的指令或数据。如果处理器110需要使用该指令或数据,可从该存储器中直接调用。避免了重复存取,减少了处理器
110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。处理器110可以通过以上至少一种接口连接触摸传感器、音频模块、无线通信模块、显示器、摄像头等模块。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端设备100的结构限定。在本申请另一些实施例中,终端设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
USB接头130是一种符合USB标准规范的接口,可以用于连接终端设备100和外围设备,具体可以是Mini USB接头,Micro USB接头,USB Type C接头等。USB接头130可以用于连接充电器,实现充电器为该终端设备100充电,也可以用于连接其他终端设备,实现终端设备100与其他终端设备之间传输数据。也可以用于连接耳机,通过耳机输出终端设备中存储的音频。该接头还可以用于连接其他终端设备,例如VR设备等。在一些实施例中,通用串行总线的标准规范可以为USB1.x、USB2.0、USB3.x和USB4。
充电管理模块140用于接收充电器的充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接头130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过终端设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为终端设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏195和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
终端设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。终端设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在终端设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏195显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在终端设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),蓝牙低功耗
(bluetooth low energy,BLE),超宽带(ultra wide band,UWB),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,终端设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得终端设备100可以通过无线通信技术与网络和其他终端设备通信。该无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。该GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
终端设备100可以通过GPU,显示屏195,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏195和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。或将音乐,视频等文件从终端设备传输至外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,该可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如,声音播放功能,图像播放功能等)等。存储数据区可存储终端设备100使用过程中所创建的数据(比如,音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行终端设备100的各种功能方法或数据处理。
终端设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。终端设备100可以通过扬声器170A收听音乐,或输出免提通话的音频信号。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当终端设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。终端设备100可以设置至少一个麦克风170C。在另一些实施例中,终端设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,终端设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接头130,也可以是3.5mm的开放移动终端设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
传感器180可以包括压力传感器、陀螺仪传感器、气压传感器、磁传感器、加速度传感器、距
离传感器、接近光传感器、指纹传感器、温度传感器、触摸传感器、环境光传感器、骨传导传感器等,用于将来自外界的各种信号转换成电信号或其他所需形式的信息输出。
按键190可以包括开机键,音量键(比如,用户可以通过该音量按键调节收听广播信息的音量)等。按键190可以是机械按键。也可以是触摸式按键。终端设备100可以接收按键输入,产生与终端设备100的用户设置以及功能控制有关的键信号输入。
指示器191可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示信息(比如,指示灯可以指示蓝牙应用软件通过蓝牙193接收到的广播信息),未接来电,通知等。
SIM卡接口192用于连接SIM卡。SIM卡可以通过插入SIM卡接口192,或从SIM卡接口192拔出,实现和终端设备100的接触和分离。终端设备100可以支持1个或多个SIM卡接口192。SIM卡接口192可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口192可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口192也可以兼容不同类型的SIM卡。SIM卡接口192也可以兼容外部存储卡。终端设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,终端设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在终端设备100中,不能和终端设备100分离。
蓝牙193用于扫描和监听蓝牙广播信道广播的广播信息,蓝牙193可以是终端设备上集成的蓝牙芯片,例如麒麟解决方案(海思)中的蓝牙芯片,骁龙解决方案(高通)中的蓝牙芯片、MTK解决方案中的蓝牙芯片等。
定位器件194用于向用户提供准确的定位、测速等功能。定位器件194可以包括全球定位系统(Global Positioning System,GPS)、基站定位(Location Based Service,LB)、无线定位(WIreless-FIdelity,WIFI)、辅助全球卫星定位系统(Assisted Global Positioning System,AGPS)和北斗定位系统中的至少一种定位器件。
显示屏195用于显示图像、文本、视频等数据,比如,显示屏195可以用于显示蓝牙193接收到的广播信息。显示屏195包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,终端设备100可以包括一个或多个显示屏195。
上述终端设备100还可以采用其他架构,本发明实施例还可以鸿蒙(Harmony)系统为例,示例性地说明终端设备100的软件架构。
图2是本申请实施例的终端设备100的软件结构示意图。
在一些实施方案中,Harmony系统包括四层,从下往上分别为内核层、系统基础服务层、框架层以及应用层。
Harmony系统采用多内核设计,可选地,包括Linux内核、鸿蒙微内核和LiteOS。通过这种设计,具有不同设备能力的设备能够选择合适的系统内核。内核层还包括内核抽象层(Kernal Abstract Layer),对其他Harmony层提供基础的内核能力,例如进程管理、线程管理、内存管理、文件系统管理、网络管理和外设管理等。
系统基础服务层是Harmony系统的核心能力集合,支持Harmony系统在多设备部署的场景下通过框架层对应用服务提供服务。该层可选地包括以下几个部分:
系统基本能力子系统集:为分布式应用在Harmony系统多设备上的运行、调度、迁移等操作提供了基础能力,由分布式软总线、分布式数据管理和文件管理、分布式任务调度、方舟运行时、分布式安全和隐私保护等组成。其中,方舟运行时提供了C/C++/JavaScript多语言运行时和基础的系统类库,也为使用方舟编译器静态化的Java程序(即应用程序或框架层中使用Java语言开发的部分)提供运行时。
基础软件服务子系统集:为Harmony系统提供公共的、通用的软件服务,由图形图像、分布式媒体、分布式AI、多模输入、MSDP&DV、事件通知、电话服务、分布式DFX等子系统组成。基础软件服务子系统集可以根据不同设备形态的部署环境,每个子系统内部可以按照功能粒度进行裁剪。
增强软件服务子系统集(见图2中虚线框出的增强软件部分):为Harmony系统提供针对不同设备的、差异化的能力增强型软件服务,由平板业务软件、智慧屏业务软件、车机业务软件、IoT业务软件等子系统组成。增强软件服务子系统集可以根据不同设备形态的部署环境,可以按子系统粒度进行裁剪,每个子系统内部又可以按功能粒度进行裁剪。
鸿蒙驱动框架(HDF)和硬件抽象适配层(HAL):是Harmony系统硬件生态开放的基础,向上对硬件提供硬件能力抽象,向下提供各种外设驱动的开发框架和运行环境。
硬件服务子系统集:为Harmony系统提供公共的、适配的硬件服务,由泛Sensor、位置、电源、USB、生物识别等硬件服务子系统组成。硬件服务子系统集能够根据不同设备形态的部署环境,每个子系统内部可以按功能粒度进行裁剪。
专有硬件服务子系统(见图2中虚线框出的专有硬件部分):为Harmony系统提供针对不同设备的、差异化的硬件服务,可选地包括平板专有硬件服务、车机专有硬件服务、穿戴专有硬件服务、IoT专有硬件服务等子系统。专有硬件服务子系统可以按子系统粒度进行裁剪,每个子系统颞部可以按功能粒度裁剪。
框架层为Harmony系统的应用程序提供了Java/C/C++/JavaScript等多语言的用户程序框架和元能力框架,以及各种软硬件服务对外开放的多语言框架API。
应用层包括系统应用和三方应用(或者拓展应用),可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙应用软件,音乐,视频,短信息等应用。Harmony系统中应用以原子能力(Atomic Ability,AA)和特征能力(Feature Ability,FA)为基础构建应用。
下面结合图1和图2,示例性说明终端设备100的软件系统和硬件系统的工作流程。
比如,以用户打开蓝牙应用软件为例,该蓝牙应用软件用于监听目标公共场所的蓝牙广播信道(即目标信道)广播的广播信息;当用户在终端设备100的显示屏195上双击蓝牙应用软件的快捷图标时,蓝牙应用软件会响应用户的双击操作,并生成蓝牙应用软件启动请求;蓝牙应用软件将蓝牙应用软件启动请求通过应用层发送给框架层的事件通知管理服务子系统;事件通知管理服务子系统根据接收到的蓝牙应用软件启动请求生成启动蓝牙应用软件的事件,再将启动蓝牙应用软件的事件通过硬件抽象层发送至鸿蒙驱动框架层的蓝牙驱动模块;此时,蓝牙驱动模块根据启动蓝牙应用软件的事件生成启动蓝牙193的指令,并将启动蓝牙193的指令发送给蓝牙193;蓝牙193根据启动蓝牙193的指令启动蓝牙193工作。此时,蓝牙193处于待机状态,等待应用层发送的扫描和监听指示。
再比如,以用户启动蓝牙应用软件监听目标信道广播的广播信息为例,当用户在蓝牙应用软件的主界面启动监听功能时,蓝牙应用软件会生成启动监听请求,并将该启动监听请求通过应用层发送给框架层的事件通知管理服务子系统;事件通知管理服务子系统根据接收到的启动监听请求生成启动监听事件,再将启动监听事件通过硬件抽象层发送至鸿蒙驱动框架层的蓝牙驱动模块;蓝牙驱动模块根据启动监听事件生成启动蓝牙193监听功能指令,并将该启动蓝牙193监听功能指令发送给蓝牙193;蓝牙193根据启动蓝牙193监听功能指令开始监听目标信道广播的广播信息。
若蓝牙193监听到目标信道的广播信息A,则蓝牙193将广播信息A发送给处理器110;处理器110将该广播信息A显示在显示屏195上;或者,处理器110将该广播信息A通过音频模块170连接的扬声器170A或通过音频模块170外接的耳机接口170D接入的耳机播放给用户。
在一些实施例中,当蓝牙应用软件通过蓝牙193扫描到目标信道时,蓝牙193将扫描到目标信道的结果反馈给处理器110;处理器110接收到该反馈结果后,会向蓝牙应用软件发送是否监听的询问请求;蓝牙应用软件接收到是否监听的询问请求后,会将是否监听的询问请求通过显示屏195显示给用户;当用户选择确定监听目标信道时,蓝牙应用软件会将确定监听目标信道的指令通过应用层发送给框架层的事件通知管理服务子系统;事件通知管理服务子系统将确定监听目标信道的指令生成确定监听目标信道的事件,并将该确定监听目标信道的事件通过硬件抽象层发送给鸿蒙驱动框架层的蓝牙驱动模块;蓝牙驱动模块根据确定监听目标信道的事件生成启动蓝牙193监听目标信道指令,并将该启动蓝牙193监听目标信道指令发送给蓝牙193;蓝牙193根据启动蓝牙193监听目标信道指令启动蓝牙193监听目标信道广播的广播信息。
当蓝牙193监听到目标信道广播的广播信息K时,蓝牙193将监听到广播信息K的结果R发送给
鸿蒙驱动框架层的蓝牙驱动模块;蓝牙驱动模块将结果R通过硬件抽象层发送给框架层的事件通知管理服务子系统;事件通知管理服务子系统根据接收到的结果R生成监听到广播信息的事件X,并将事件X通过应用层发送给蓝牙应用软件;蓝牙应用软件根据事件X生成显示请求,并将该显示请求发送给处理器110;处理器110根据该显示请求将广播信息显示或者播放给用户。
应理解,本申请仅以可视化的蓝牙应用软件为例阐述处理广播信息的方式。当然,本申请也可以是在终端设备中增加一个蓝牙模块,使得该蓝牙模块具有扫描和监听蓝牙广播信道等功能。实际应用中,实现扫描和监听蓝牙广播信道等功能的产品形式有很多种,可以是类似本申请中蓝牙应用软件的形式,也可以为蓝牙模块集成在终端设备中,本申请对此不作限定。
为了便于理解,本申请以下实施例将以具有图1和图2所示结构的终端设备100为例,结合附图和应用场景,对本申请实施例提供的处理广播信息的方法进行具体阐述。应理解,适用该方法的终端设备不局限于图1和图2所示的软硬件结构,实际应用中可以根据具体应用场景对图1和图2所示的软硬件系统架构进行变形,本申请对此不作限定。
下面以具备图1和图2所示结构的手机为例,介绍本申请提供的处理广播信息的方法。
由背景技术介绍的内容可知,用户在一些公共场所往往喜欢使用手机等终端设备进行娱乐,比如,聆听音乐、阅读电子书、观看视频、浏览购物网站等,以打发漫长的等待时间或者旅途时间;由于用户在使用手机娱乐时,大部分的注意力集中在手机上,因此,容易错过公共场所广播的广播信息,尤其是当用户使用一些降噪耳机聆听音乐时,很难听到外面广播的语音信息,因此,本申请提出了一种处理广播信息的方法,如图5所示;该方法能够避免用户在公共场所使用手机时错过重要的广播信息。
图3示出了一种适用于本申请的应用场景,该手机上安装有蓝牙应用软件,该蓝牙应用软件用于扫描目标公共场所及其附近的蓝牙广播信道;该蓝牙应用软件以快捷图标的形式显示在手机显示屏195上的301区域,如图3中的(a)图所示;当用户用手双击该蓝牙应用软件的快捷图标(参见图3中的(a)图)时,蓝牙应用软件响应用户的双击操作并打开蓝牙应用软件的主界面,如图3中的(b)图所示。用户可以在该蓝牙应用主界面上设置扫描和监听蓝牙广播信道的相关参数。
上述图3中的(b)图所示的主界面包括四个区域,分别为区域302、区域303、区域304和区域305,其中,区域302用于用户设置定位服务、扫描参数、监听参数以及其他参数,比如,用户用手点击图4中的(a)图中401所示的位置,主界面会弹出定位服务设置选项卡402;定位服务设置选项卡402包括定位服务、扫描参数、监听参数以及其他参数设置选项;其中,定位服务用于用户设置待前往的位置信息,以便于蓝牙应用软件根据该位置信息确定是否启动扫描蓝牙广播信道的功能或者是否启动监听目标信道的功能;扫描参数用于用户设置蓝牙应用软件扫描蓝牙广播信道的扫描时间间隔等参数;监听参数用于用户设置蓝牙应用软件监听目标信道的时间间隔等参数。
比如,用户通过设置定位服务参数,以使得蓝牙应用软件能够根据手机(即用户)当前所处的位置确定是否启动蓝牙193扫描手机附近蓝牙广播信道的功能;由于用户携带着手机,因此,手机的位置信息即为用户的位置信息。
再比如,用户通过设置扫描参数,以使得蓝牙193能够按照用户设置的扫描时间间隔、扫描频带范围等参数对目标公共场所或者目标公共场所附近的蓝牙广播信道进行扫描。
监听参数用于用户设置监听时间间隔、信息播放方式(比如,非静音模式下,优先语音播放;或者,静音模式下,优先文本查看)等参数;其他选项用于用户设置是否开启悬浮窗口、文本显示的字体样式大小等。
区域303为可监听蓝牙信道区域,该可监听蓝牙信道区域303用于显示蓝牙193从目标公共场所或者目标公共场所附近扫描到的可用的蓝牙广播信道;用户可以在区域303选择需要监听的目标信道(比如,用户想要通过蓝牙应用软件收听机场的蓝牙广播信道广播的航班信息、候机信息等)。
区域304为监听蓝牙信道区域,该监听蓝牙信道区域用于显示蓝牙应用软件当前正在监听的目标信道,比如,用户从区域303中选择需要监听的蓝牙广播信道D(即目标信道),该蓝牙广
播信道D会显示在区域304所示的位置;用户用手点击(即选中)区域304中的蓝牙广播信道D,并点击区域305中的监听按钮,蓝牙193开始监听该蓝牙广播信道D广播的广播信息。
为了便于理解,下面举例说明蓝牙应用软件通过蓝牙193从扫描蓝牙广播信道到监听目标信道这一过程的操作步骤。
比如,如图4中的(b)图所示,首先,用户点击403所指示的扫描按钮,蓝牙应用软件通过蓝牙193扫描目标公共场所(比如,XXX机场)或者目标公共场所附近(比如,距离XXX机场20米处)的蓝牙广播信道;当蓝牙193扫描到目标公共场所附近可用的蓝牙广播信道时,会将可用的蓝牙广播信道显示在可监听蓝牙信道区域。比如,用户想要在XXX机场乘坐G000次航班去A地,用户开启蓝牙应用软件并通过蓝牙193扫描XXX机场的蓝牙广播信道;若蓝牙193在XXX机场扫描到的蓝牙广播信道为信道001、信道002、信道003,则蓝牙应用软件会将信道001、信道002、信道003显示在图4中的(b)图中可监听蓝牙信道区域,其中,信道001为XXX机场广播信道,该信道001用于机场地勤人员广播航班班次、候机等信息;信道002为X超市广播信道,该信道002用于超市人员广播超市近期优惠活动等信息;信道003为Y服装店广播信道;该信道003用于服装店人员广播服装折扣活动、新品上架等信息。
用户可以从可监听蓝牙信道区域中选择需要监听的XXX机场广播信道(即信道001),即用户用手指点击图4中的(b)图中404所指示的位置;用户点击完图4中的(b)图中404所指示的信道001后,信道001就会显示监听蓝牙信道区域内图4中的(c)图中405所指示的位置;用户用手点击图4中的(c)图中406所指示的监听按钮,蓝牙应用软件开始监听信道001广播的广播信息。
上述区域305为工具栏,用户可以用手点击该区域305内的扫描和监听等按钮来启动蓝牙应用软件的扫描和监听等功能,其中,扫描按钮用于启动蓝牙应用软件扫描蓝牙广播信道的功能;监听按钮用于启动蓝牙应用软件监听目标信道(比如,XXX机场的蓝牙广播信道)的功能;高级选项按钮用于设置一些特殊的功能(比如,信道降噪功能等);退出按钮用于退出蓝牙应用软件。
比如,如图4中的(d)图所示,当用户手动点击407所指示的高级选项按钮时,蓝牙应用软件的主界面会弹出图4中的(d)图中408所指示的高级选项设置界面;该高级选项设置界面用于设置包括但不限于信道降噪功能、历史记录清除功能和低功耗运行模式等特殊功能。用户可以在该高级选项设置界面上使用“√”来勾选需要设置的功能,比如,用户想要设置广播信息的历史记录清除功能,此时,用户只需要在高级选项设置界面中“广播信息的历史记录大于20条,自动清除”选项前面的方框内打上“√”即可;当用户设置完历史记录清除功能后,蓝牙应用软件会间隔一段时间检查一下历史记录是否大于20条。若大于20条,则进行清除,反之,历史记录保留。
上面简单介绍了一下,蓝牙应用软件扫描和监听功能的操作流程,下面进一步结合具体实施例介绍,蓝牙应用软件按照图5所示的流程示意图执行处理广播信息的方法。该方法包括:
S501,扫描蓝牙广播信道。
在一种实施例中,用户可以随时打开蓝牙应用软件的扫描功能去扫描手机周围是否存在可监听的蓝牙广播信道;当扫描到想要监听的蓝牙广播信道(即目标信道)时,可以打开蓝牙应用软件的监听功能去监听目标信道广播的广播信息。
比如,用户在医院A排队看病期间,可以打开蓝牙应用软件的扫描功能,以让蓝牙应用软件扫描当前医院A有没有蓝牙广播信道;当蓝牙应用软件扫描到多个蓝牙广播信道后,可以从多个蓝牙广播信道中选择想要监听的医院A的蓝牙广播信道D(比如,该蓝牙广播信道D用于广播不同诊室医生的叫号信息)去监听;蓝牙应用软件会将蓝牙广播信道D广播的广播信息(比如,医生的叫号信息)显示和/或播放给用户。
在另一种实施例中,蓝牙应用软件可以根据用户(即手机)的当前位置信息以及目标公共场所的位置信息,确定是否开启蓝牙应用软件的扫描功能。应理解,上述当前位置信息是指手机的当前位置信息;通常用户会携带手机,因此,手机的当前位置信息也是用户的当前位置信息。
示例性地,上述扫描蓝牙广播信道,包括:获取当前位置信息以及用户输入的目标位置信息,该目标位置信息为目标公共场所的位置信息;当当前位置信息指示终端设备(比如,手机)的位置(即当前位置信息指示用户的位置)与目标位置信息指示的位置的距离小于预设距离时,扫描
该蓝牙广播信道。
上述目标公共场所包括但不限于高铁站、机场、地铁站、汽车客运站、地铁列车、高铁列车、公共汽车和医院。
通常,在上述目标公共场所会有蓝牙广播设备通过蓝牙广播信道广播一些与行程等相关的广播信息,用户需要通过蓝牙应用软件去扫描和监听该目标公共场所对应的蓝牙广播信道(即目标信道);例如,目标公共场所为机场,机场的蓝牙广播设备通过机场蓝牙广播信道广播航班信息、候机信息和登记信息等;再例如,目标公共场所为地铁列车,在地铁列车上也会有列车蓝牙广播设备广播列车站点信息。上述目标公共场所的蓝牙广播设备支持包括但不限于蓝牙5.2版本和蓝牙5.3版本。
在一种实施例中,上述目标位置信息指示的位置是指目标公共场所的边界位置。
由于目标公共场所在地图上占据一定面积的区域,因此,上述预设距离为在蓝牙193能够扫描到目标公共场所附近的蓝牙广播信道的情况下,允许用户的当前位置(即手机的当前位置)距离与目标公共场所边界区域(即边界位置)的最大距离。上述预设距离为大于或者等于0的实数,比如,预设距离可以是0米、2米或者10米或者20米或者其他自定义距离,本申请对此不做限定。
比如,以目标公共场所W为例,若上述预设距离设为0米,则当用户的当前位置信息所指示的位置与目标公共场所W的边界位置的距离小于或者等于0米时,说明用户当前位于目标公共场所W;若用户的当前位置信息所指示的位置与目标公共场所W的边界位置的距离大于0米,则说明用户当前位于目标公共场所W附近。
再比如,预设距离设定为10米,当蓝牙应用软件判断用户的当前位置信息指示的位置距离XXX机场边界的距离小于10米时,说明用户当前位于XXX机场或者XXX机场附近。当用户(即手机)位于XXX机场或者XXX机场附近时,蓝牙应用软件根据用户在定位服务中设置的“自动扫描”参数自动启动蓝牙193扫描XXX机场或者XXX机场附近的蓝牙广播信道。
对于上述当前位置信息的获取方式,蓝牙应用软件可以通过手机的定位功能以及手机上安装的定位软件(比如,市面上的百度地图、高德地图等地图应用软件)获取用户的当前位置信息和目标公共场所的位置信息。该位置信息包括但不限于经纬度坐标、位置名称和位置范围。
比如,用户开启手机的定位功能(即启动手机的定位器件194),并启动定位软件;用户在定位软件中输入目标公共场所的名称或者目标公共场所的位置信息(比如,目标公共场所边界的位置信息);定位软件通过定位器件194获取用户的当前位置信息,并将用户的当前位置信息以及目标公共场所的位置信息发送给蓝牙应用软件;蓝牙应用软件根据定位软件发送的用户的当前位置信息以及目标公共场所的位置信息可以判断用户是否到达目标公共场所。
再比如,蓝牙应用软件自身具有定位服务功能;蓝牙应用软件根据自身的定位服务获取用户的当前位置信息以及目标公共场所的位置信息。比如,用户启动蓝牙应用软件后,在蓝牙应用软件的主界面上找到定位服务设置选项;蓝牙应用软件可以通过用户设置的定位服务参数获取用户的当前位置信息以及目标公共场所的位置信息。
比如,用户可以在图6中的(a)图所示的定位服务设置选项卡402上用手点击定位服务选项(见601所指示的位置),蓝牙应用软件会弹出图6中的(b)图中602所指示的定位服务设置界面,用户可以在定位服务设置界面上设置是否自动扫描、想要前去的公共场所名称(即目标公共场所的名称)以及该公共场所位置(即目标公共场所的地理位置)、自动扫描范围、是否自动监听;图6中的(b)图中602所指示的定位服务设置界面上的空心圆圈表示用户未选中该选项,空心圆圈内增加黑色实心圆点表示用户选中该选项。
用户可以在图6中的(b)图中的“是否开启定位”选项设置是否启动手机的定位功能;若用户选择“是”选项,则手机会启动定位器件194获取用户的当前位置信息;若用户选择“否”,则手机不会启动定位器件194获取用户的当前位置信息。
用户在602所指示的定位服务设置界面上选择启动手机定位功能后,可以在公共场所名称和公共场所位置两个选项中填写目标公共场所的名称(比如,XXX机场)和目标公共场所的地理位置信息(比如,X市Y区H路1号);蓝牙应用软件可以通过定位器件194获取用户的当前位置信息,以及根据用户的当前位置信息和用户设置的目标公共场所的地理位置信息判断用户是否到达目标
公共场所。
当蓝牙应用软件确定用户的当前位置信息位于目标公共场所时,蓝牙应用软件会根据用户在图6中的(b)图中“是否自动扫描”选项设置的参数确定是否自动启动蓝牙193扫描目标公共场所的蓝牙广播信道的功能。
比如,用户可以通过图6中的(b)图中的“是否自动扫描”选项设置是否自动启动蓝牙应用软件通过蓝牙193扫描蓝牙广播信道的功能。若用户选择“是”选项,则当蓝牙应用软件判断出用户的当前位置信息位于目标公共场所时,确定自动开启扫描蓝牙广播信道的功能,即当用户的当前位置信息指示用户处于目标公共场所时,蓝牙应用软件会自动开启蓝牙193扫描蓝牙广播信道的功能;若用户选择“否”,则蓝牙应用软件不会根据用户的当前位置信息自动开启蓝牙193扫描蓝牙广播信道的功能,而是会当用户的当前位置信息指示用户处于目标公共场所时,生成一个扫描确认对话框让用户手动选择是否需要开启蓝牙193扫描蓝牙广播信道的功能。
比如,以用户当前位于XXX机场为例,当蓝牙应用软件在手机后台运行时,会在手机的显示界面上弹出一个扫描确认对话框;该扫描确认对话框上显示着“手机当前处于XXX机场范围内,请问是否开启扫描蓝牙广播信道的功能”内容,如图7中的(a)图中701所示;或者,当蓝牙应用软件的主界面打开时,会在蓝牙应用软件的主界面上弹出一个扫描确认对话框;该扫描确认对话框上显示着“手机当前处于XXX机场范围内,请问是否开启扫描蓝牙广播信道的功能”的内容,如图7中的(b)图中702所示。若用户选择立即开启,则蓝牙应用软件会立即开启蓝牙193扫描蓝牙广播信道的功能;若用户选择暂不开启,则蓝牙应用软件暂时不会开启蓝牙193扫描蓝牙广播信道的功能。
在一些可选的实施例中,用户可以设置图6中的(b)图所示的定位服务设置界面上的“自动扫描范围”;该自动扫描范围选项用于设置蓝牙193能够扫描到附近蓝牙广播信道的最大距离范围。
比如,用户可以在图6中的(b)图所示的定位服务设置界面上选择自动扫描范围为10米(即10m),蓝牙193能够扫描自身(即手机或者用户)附近10米范围内的蓝牙广播信道。“自动扫描范围”可以是10m或者20m,或者50m,再或者是用户自定义的扫描范围,本申请对用户自定义的扫描范围不作任何限定,用户可以根据实际应用场景自行进行设置。
在本实施例中,蓝牙193可以不是时时刻刻扫描手机周围的蓝牙广播信道,而是当用户(即手机)位于目标公共场所或者目标公共场所附近时,才扫描目标公共场所周围的蓝牙广播信道,这样不仅可以降低手机的功耗,还可以提高扫描到目标公共场所的蓝牙广播信道(即目标信道)的概率。
在另外一些实施例中,上述目标公共场所为车站,广播信息为报站信息。
上述车站包括但不限于高铁站、地铁站和公交车站;用户搭乘列车前往目的地时,会途径很多车站;用户在乘车期间,列车上的蓝牙广播设备会通过蓝牙广播信道广播报站信息(即广播列车的站点信息);该报站信息包括但不限于当前到站信息、下一站点信息和不同站点的到站时间。
比如,用户在A站点搭乘D0001次列车前往目的地B站点时,开启蓝牙应用软件监听D0001次列车上的蓝广播信道。用户在定位服务设置界面上的“公共场所名称和公共场所位置”两个输入框中分别输入目的地B站点的名称及其对应的地理位置信息,并开启手机定位功能(即开启定位器件194)以及开启自动扫描和自动监听功能;用户在搭乘D0001次列车从A站点前往目的地B站点期间,蓝牙应用软件会通过定位器件194实时获取用户(即手机)的当前位置信息,并实时比较用户的当前位置与B站点的位置之间的距离;当用户的当前位置与B站点的位置之间的距离小于预设距离(即用户的当前位置信息指示用户快要达到目的地B站点)时,蓝牙应用软件自动启动扫描蓝牙广播信道的功能,并根据扫描到的多个蓝牙广播信道的信道标识以及蓝牙广播设备标识确定目标信道(即D0001次列车上的蓝牙广播设备对应的蓝牙广播信道),并自动监听该目标信道。
由此可见,相比用户乘车期间一直开启蓝牙应用软件监听列车上广播的报站信息,本申请通过蓝牙应用软件的定位服务功能实现用户所搭乘的列车在到达目的地附近时才开启扫描和监听列车的蓝牙广播信道的功能,即用户可以使用蓝牙应用软件监听目的地(即目标位置)前面几站的报站信息,而无需全程(即用户整个乘车期间)监听列车上的蓝牙广播设备广播的所有报站信息。
这种方式不仅能够及时让用户接收重要有用的报站信息,还能降低手机的功耗以及避免用户乘车期间无用报站信息对用户的频繁干扰。
S502,当扫描到目标信道时,监听目标信道,目标信道为目标公共场所的蓝牙广播信道。
蓝牙193在目标公共场所扫描蓝牙广播信道时,会接收不同蓝牙广播设备通过蓝牙广播信道广播的广播信息;蓝牙193将接收到的多个广播信息发送给处理器110;上述广播信息包括但不限于信道名称(比如,信道001)、公共场所名称(比如,机场)、设备标识(比如,JCE开头的设备为机场蓝牙广播设备)、广播内容(比如,航班信息、候机信息等);不同的蓝牙广播设备会不同的设备标识;不同的蓝牙广播设备对应的蓝牙广播信道也会有不同的信道标识;比如,机场的蓝牙广播设备标识为FJHB开头序列号(比如,FJHB0983088),机场的蓝牙广播设备对应的蓝牙广播信道标识为JCXD001。
处理器110会从多个广播信息中解析出不同的蓝牙广播信道的信息(比如,信道标识、信道名称等),并将解析出的不同的蓝牙广播信道的信息发送给蓝牙应用软件;蓝牙应用软件会将不同的蓝牙广播信道的信息显示在图3中的(b)图中303所示的可监听蓝牙信道区域;比如,信道001(即信道标识)、XXX机场广播信道(即信道名称)。
在一种实施例中,用户可以在图3中的(b)图中303所示的可监听蓝牙信道区域选择需要监听的蓝牙广播信道;比如,用户想要监听信道001(即目标信道),则用户可以在可监听蓝牙信道区域扫描到的多个蓝牙广播信道中选择信道001,并点击图4中的(c)图中406所示的监听按钮;蓝牙应用软件开始监听信道001广播的广播信息。
在另一种实施例中,当蓝牙193在目标公共场所扫描到目标公共场所对应的蓝牙广播信道(即目标信道)时,蓝牙应用软件可以根据用户在定位服务设置界面设置的“是否自动监听”参数来确定是否开启监听目标信道的功能。
当用户在图6中的(b)图中的“是否自动监听”选项选择自动监听时,蓝牙应用软件会自动开启蓝牙193监听目标信道的功能;当用户选择不启动自动监听时,蓝牙应用软件会生成一个监听确认对话框让用户手动选择是否开启蓝牙193监听目标信道的功能。
比如,预设距离为10米,用户想要前往XXX机场,并且,在蓝牙应用软件的定位服务设置界面上进行了定位参数设置:用户设置了开启手机定位功能(即启动定位器件194)、开启自动扫描以及输入了想要前往的公共场所的名称为XXX机场以及该XXX机场对应的地理位置为X市Y区H路1号,并设置了自动扫描范围为10米以及启动自动监听功能。蓝牙应用软件通过定位器件194获取用户的当前位置信息(即手机的当前位置信息),并实时比较用户的当前位置与XXX机场的中心位置之间的距离;当用户的当前位置与XXX机场的中心位置的距离小于预设距离10米时,则说明用户已经到达XXX机场范围内;蓝牙应用软件会控制蓝牙193自动扫描用户(即手机)周围10m范围内的蓝牙广播信道;当蓝牙193扫描到XXX机场的蓝牙广播信道(即目标信道)时,会自动启动监听该XXX机场的蓝牙广播信道的功能。
再比如,用户在定位服务设置界面上的“是否自动监听”选项中选择询问用户选项,当蓝牙193扫描到XXX机场的蓝牙广播信道(即目标信道)时,会生成一个监听确认对话框让用户手动选择是否开启监听目标信道的功能。如图9所示,当蓝牙应用软件在手机后台运行时,蓝牙应用软件会在手机的显示界面上弹出一个显示着“当前扫描到XXX机场的蓝牙广播信道,请问是否开启监听该信道的功能”内容的监听确认对话框,如图9中的(a)图中901所示;或者,当用户打开蓝牙应用软件的主界面时,蓝牙应用软件的主界面上会弹出一个显示着“当前扫描到XXX机场的蓝牙广播信道,请问是否开启监听该信道的功能”内容的监听确认对话框,如图9中的(b)图中902所示。若用户选择立即开启,则蓝牙应用软件会立即开启蓝牙193监听目标的功能;若用户选择暂不开启,则蓝牙应用软件暂时不会开启蓝牙193监听目标信道的功能。
在一些实施例中,用户使用蓝牙应用软件扫描和监听目标公共场所的蓝牙广播信道之前,可以在蓝牙应用软件上设置扫描参数和监听参数。当然用户可以使用蓝牙应用软件默认的扫描参数和监听参数,本申请对此不作限定。
(1)扫描参数设置
用户在蓝牙应用软件的主界面上找到扫描参数设置界面,并对扫描参数进行设置。如图6中的
(c)图所示,用户用手点击图6中的(c)图中603所指示的位置打开扫描参数设置界面;蓝牙应用软件的主界面上会弹出一个扫描参数设置界面,如图6中的(d)图中的604所示,用户可以在该扫描参数设置界面上设置蓝牙193扫描目标公共场所的蓝牙广播信道的扫描时间间隔、扫描频带范围和蓝牙扫描带宽。
上述扫描时间间隔用于设置蓝牙193扫描蓝牙广播信道的频次,用户可以选择实时扫描,也可以选择每2min(即2分钟)或者每5min(即5分钟)扫描一次,也可以根据实际应用场景自定义扫描时间间隔,本申请对此不作限定。
上述扫描频带范围用于设置蓝牙193的扫描频率范围,比如,蓝牙通信的频段范围为2.4GHz–2.4835GHz,而用户可以设置蓝牙193的扫描频带范围为2.4GHz–2.4835GHz。
上述蓝牙扫描带宽用于设置蓝牙193每次以多大带宽进行扫描,比如,用户可以设置蓝牙扫描带宽为0.1GHz(即100MHz)。当然,用户也可以根据实际应用场景设置蓝牙193的扫描带宽,本申请对此不作任何限定。
(2)监听参数设置
用户可以在蓝牙应用软件的主界面上设置监听参数。比如,用户用手点击图8中的(a)图中801所指示的位置打开监听参数设置界面,蓝牙应用软件的主界面上会弹出监听参数设置界面,如图8中的(b)图中802所示的界面;用户可以在802所示的界面上设置监听参数。
用户可以在802所示的界面上设置监听时间间隔,该监听时间间隔用于设置蓝牙193间隔多长时间去目标信道监听(即检测)是否有广播信息发出;用户可以设置2min(即2分钟)、也可以设置5min(即5分钟),还可以设置10min(即10分钟),也可以根据实际应用场景自行定义合适的监听时间间隔,本申请对此不作限定。
此外,用户还可以在监听参数设置界面设置广播信息的提醒方式和播放方式。
比如,用户可以在802所示的界面上设置信息提醒方式,该信息提醒方式用于设置蓝牙应用软件提醒用户收听或查看蓝牙193从目标信道监听到广播信息的方式;在手机设置为非静音模式时,用户可以选择震动或者响铃的方式提醒自己查看或者收听广播信息,以避免错过重要的广播信息;在手机设置为静音模式时,说明用户不想被外界接收到的信息所干扰,此时,用户可以选择震动或者灯闪烁(即信号灯指示)的方式提醒自己查看或者收听广播信息,以避免错过重要的广播信息。
再比如,用户可以在802所示的界面上设置信息播放方式,该信息播放方式用于设置蓝牙应用软件播放或者显示广播信息的方式;在手机设置为非静音模式时,用户可以选择优先语音播放广播信息,以避免错过重要的广播信息;在手机设置为静音模式时,说明用户不想被外界信息所干扰(比如,用户在机场候机时正使用手机上开视频会议);此时,用户可以选择在静音模式下,优先文本查看的方式获知广播信息,这样不仅能及时获知广播信息,还能避免有声播放干扰到用户工作。
另外,用户还可以在802所示的监听参数设置界面上设置预设地点播放。
在一些实施例中,用户需要乘坐地铁列车、高铁列车等前往目的地,用户可以通过设置预设地点播放使得蓝牙应用软件在目的地附近监听并播放广播信息,或者,全程监听并播放广播信息;其中,目的地附近监听并播放广播信息用于设置蓝牙应用软件在用户到达目的地附近时才开始扫描蓝牙广播信道和监听目标信道广播的广播信息的功能;比如,当用户所乘坐的列车A距离目的地还有两三站时,蓝牙应用软件通过蓝牙193才开始扫描列车A上蓝牙广播设备对应的蓝牙广播信道(即目标信道),并通过蓝牙193监听该目标信道广播的报站信息;当蓝牙193从目标信道监听到报站信息时,蓝牙应用软件会将蓝牙193接收到的报站信息播放或者显示给用户。
由此可见,蓝牙应用软件的目的地附近监听并播放广播信息的功能不仅可以降低手机的功耗以及避免无用报站信息干扰用户,还能及时让用户获知重要有用的报站信息。
上述全程监听并播放广播信息用于设置蓝牙应用软件在用户乘车期间全程监听并播放目标信道广播的广播信息的功能。比如,当用户所乘坐的列车A距离目的地很近(比如,用户只需要坐三站地铁就可以到达目的地)时,用户可以选择全程(即用户乘坐列车A前往目的地期间)监听并播放列车A上的蓝牙广播设备广播的报站信息;用户开启蓝牙应用软件后,蓝牙应用软件通过
蓝牙193开始扫描列车A上蓝牙广播设备对应的蓝牙广播信道(即目标信道),并通过蓝牙193全程监听该目标信道广播的每次报站信息;当蓝牙193从目标信道监听到A站点的报站信息时,会将该A站点的报站信息播放或者显示给用户。
由此可见,对于一些短距离的行程,用户可以选择全程监听并播放广播消息,这样可以避免错过重要的报站信息(比如,目的地的报站信息)。应理解,全程监听并播放广播信息也适用长距离的行程,本申请对此不作限定,用户可以根据实际出行需求选用合适的预设地点播放方式。
S503,通过目标信道接收广播信息。
在一些实施例中,蓝牙应用软件启动监听目标公共场所对应的蓝牙广播信道(即目标信道)后,会通过蓝牙193接收目标信道广播的广播信息。蓝牙193可以实时监听目标信道广播的广播信息,也可以间隔一定时间监听目标信道广播的广播信息。
上述广播信息包括语音信息和文本信息;比如,蓝牙193可以通过机场的蓝牙广播信道(即目标信道)接收机场的蓝牙广播设备广播一些航班语音信息、航班文本信息、候机语音信息、失误招领语音信息等。
S504,执行显示或播放广播信息中的任意一项或多项操作。
在一些实施例中,蓝牙193监听到目标信道广播的广播信息后,蓝牙应用软件会执行显示或播放中的任意一项或多项操作将蓝牙193监听到的广播信息送达至用户;比如,蓝牙应用软件可以将监听到的广播信息显示给用户,也可以播放给用户,还可以既显示给用户又同时播放给用户。
例如,当广播信息为文本信息时,蓝牙应用软件会将该文本信息通过手机的显示屏195显示给用户;或者,当广播信息为文本信息时,蓝牙应用软件会先将该文本信息转换为语音信息后再通过音频模块170连接的扬声器170A或者通过音频模块170连接的耳机接口170D接入的耳机播放给用户;再或者,当广播信息为文本消息时,蓝牙应用软件一方面通过手机的显示屏195将该文本消息显示给用户进行查看,另一方面先将该文本信息转换为语音信息再通过音频模块170中连接的扬声器170A或者通过音频模块170连接的耳机接口170D接入的耳机播放给用户。
当广播信息为语音信息时,蓝牙应用软件会将该语音信息通过音频模块170中连接的扬声器170A或者通过音频模块170连接的耳机接口170D接入的耳机播放给用户;或者,当广播信息为语音信息时,蓝牙应用软件会先将该语音信息转换为文本信息后再通过手机的显示屏195显示给用户;再或者,当广播信息为语音消息时,蓝牙应用软件一方面将该语音信息通过音频模块170中连接的扬声器170A或者通过音频模块170连接的耳机接口170D接入的耳机播放给用户,另一方面先将语音信息转为文本信息再通过手机的显示屏195显示给用户进行查看。
在一种实施例中,广播信息为文本信息,播放该广播信息之前,上述方法包括:将该文本信息转换为语音信息;播放广播信息,包括:播放语音信息。
当蓝牙193从目标信道接收到文本信息时,并且,当用户选择语音播放的方式查看该文本信息时,蓝牙应用软件请求手机的处理器110以语音的形式播放该文本信息;处理器110在播放该文本信息之前,会先将该文本信息转换为语音信息,再将该转换后的语音信息通过音频模块170中连接的扬声器170A或者通过音频模块170连接的耳机接口170D接入的耳机播放给用户。
比如,若用户佩戴着耳机,则处理器110将转换后的语音信息通过耳机接口170D接入的耳机播放给用户;若用户未佩戴耳机,则处理器110将转换后的语音信息通过扬声器170A播放给用户。
在本实施例中,当蓝牙193接收到的广播信息为文本信息时,并且,当用户选择语音播放的方式查看该文本信息时,说明用户当前不方便打开蓝牙应用软件去查看该文本信息;此时,处理器110可以将接收到的文本信息先转换为语音信息,然后将该文本信息以语音的形式播放给用户,从而方便用户以语音的形式收听该文本信息,而无需用户跑到目标公共场所的屏幕前去查看播放的文本(即字幕)信息。
在另一种实施例中,广播信息为语音信息,显示广播信息之前,方法包括:将语音信息转换为文本信息;显示广播信息,包括:显示文本信息。
比如,当蓝牙193从目标信道接收到语音信息时,并且,当用户选择文本查看的方式查看该语音信息时,蓝牙应用软件会请求手机的处理器110以文本的形式显示该语音信息;处理器110
在显示该语音信息之前,会先将该语音信息转换为文本信息,再将该转换后的文本信息通过显示屏195显示给用户。
在本实施例中,当蓝牙193接收到的广播信息为语音信息时,并且,当用户选择文本查看的方式查看该语音信息时,说明用户此刻不方便收听该语音信息,此时,处理器110可以将接收到的语音信息先转换为文本信息,然后将该语音信息以文本的形式显示给用户,以方便用户以文本的形式查看该语音信息。
在另一些实施例中,播放广播信息,包括:当终端设备(比如,手机)连接有耳机时,通过耳机播放广播信息;当终端设备(比如,手机)未连接耳机时,通过扬声器播放广播信息。
比如,当用户选择播放广播信息时,蓝牙应用软件会请求手机的处理器110通过音频模块170播放该广播信息;此时,处理器110会通过音频模块170检测耳机接口170D是否外接耳机;该耳机可以是有线耳机,也可以是无线蓝牙耳机,本申请对此不作限定。
若处理器110通过音频模块170检测到耳机接口170D当前连接着耳机,则说明用户可能使用耳机观看视频或者听音乐;处理器110可以通过耳机将该广播信息播放给用户。
若处理器110通过音频模块170检测到耳机接口170D当前未连接耳机,则处理器110将该广播信息通过音频模块170连接的扬声器170A播放给用户。
在本实施例中,当用户选择播放广播信息时,处理器110可以根据用户当前是否佩戴耳机而选择合适有效的广播信息送达方式,从而能够让用户沉浸使用手机的同时,还能及时准确地接收到目标信道广播的广播信息。
在又一些实施例中,执行显示或播放广播信息中的任意一项或多项操作,包括:当终端设备(比如,手机)处于静音模式时,显示广播信息;或者,当终端设备(比如,手机)处于非静音模式时,播放广播信息。
上述静音模式是指当前手机的各种媒体音量都会变成静音状态,比如,来电通知、语音消息通知、语音电话、视频电话等都不会有声音;而是以亮屏或者震动提醒用户查看各种信息。
而非静音模式包括但不限于会议模式、标准模式和飞行模式;由于在飞行模式下,手机没有网络,蓝牙193不能扫描蓝牙广播信道,也不能从目标信道接收广播信息;但是,手机在飞行模式下,可以播放蓝牙193已经从目标信道接收到的广播信息。
在一种实施例中,当用户在目标公共场所将手机设置为静音模式时,说明用户不想被外界信息所干扰,蓝牙应用软件可以将蓝牙193从目标信道监听的广播信息以文本的形式显示给用户。
比如,用户可以在图8中的(b)图所示的监听参数设置界面上选择信息提醒方式为静音模式下,震动和灯闪烁(即指示灯闪烁),以及信息播放方式为静音模式下,优先文本查看。当蓝牙193监听到目标信道发出的广播信息为文本信息时,并且,当手机设置为静音模式时,蓝牙应用软件通过震动和灯闪烁的方式提醒用户查看该广播信息,并将该广播信息以文本的形式通过显示屏195显示给用户;当蓝牙193监听到目标信道发出的广播信息为语音信息时,并且,当手机设置为静音模式时,蓝牙应用软件通过震动和灯闪烁的方式提醒用户查看该广播信息,并将该语音信息转为文本信息后再以文本的形式将转换后的文本信息通过显示屏195显示给用户。
在另一种实施例中,当用户在目标公共场所将手机设置为非静音模式时,说明用户不想错过一些重要的信息提醒。蓝牙应用软件可以以有声的方式提醒用户查看广播信息,以及以语音的方式将广播信息播放给用户,以避免用户错过重要的广播信息。
比如,用户可以在图8中的(b)图所示的监听参数设置界面上选择信息提醒方式为非静音模式下,震动和响铃,以及信息播放模式为非静音模式下,优先语音播放。当蓝牙193监听到目标信道发出的广播信息为语音信息时,并且,当手机设置为非静音模式时,蓝牙应用软件通过震动和响铃的方式提醒用户查看广播信息,并通过音频模块170中连接的扬声器170A或者通过音频模块170连接的耳机接口170D接入的耳机播放给用户。当蓝牙193监听到目标信道发出的广播信息为文本信息时,并且,当手机设置为非静音模式时,蓝牙应用软件通过震动和响铃的方式提醒用户查看该广播信息,并将监听到的文本信息转为语音信息再通过音频模块170中连接的扬声器170A或者通过音频模块170连接的耳机接口170D接入的耳机播放给用户。
在另一种实施例中,当蓝牙应用软件通过蓝牙193接收到目标信道广播的广播信息后,蓝牙
应用软件也可以请求处理器110将蓝牙193接收到广播信息的消息通过手机的消息提示系统提醒给用户。本申请对蓝牙应用软件具体通过哪种形式提醒用户查看广播信息的方式不作限定,实际应用中,可以根据实际应用场景进行设计。
由此可见,当用户将手机设置为静音模式时,说明用户不想被手机接收的外界信息所干扰;此时,手机的处理器110会将蓝牙193接收到广播信息,以文本显示的方式提醒给用户;当手机被设置为非静音模式时,说明用户不想错过手机接收到的广播信息,此时,手机的处理器110会将接收到的广播信息,以语音的形式播放给用户。如此以来,手机的处理器110根据用户将手机设置的工作模式,为用户提供合适的广播信息送达方式,不仅能让用户及时获得重要的广播信息(比如,有效的航班等行程信息),还能确保用户使用终端设备和出行两不误。
为了便于理解,下面结合地铁应用场景,说明手机处于不同模式下,蓝牙应用软件提醒用户查看广播信息的方式以及向用户播放广播信息的方式。
比如,如图10所示,地铁车厢内的显示屏1003上显示着XXXX地铁1号线的路线信息以及到站信息,其中,黑色实心圆点表示已经经过的站点,空心圆圈表示未到达的站点;可以看出XXXX地铁1号线当前到站004站;地铁上的蓝牙广播设备通过喇叭1002语音广播地铁列车的到站信息,当然,地铁上的蓝牙广播设备也可以以文本的形式广播到站信息。以地铁上的蓝牙广播设备语音广播报站信息为例,用户正乘坐XXXX地铁1号线前往009站,用户在乘坐地铁期间,正戴着无线蓝牙耳机1001在手机1004上观看视频,如图11中的(a)图所示;无线蓝牙耳机1001与用户手中的手机1004已经建立通信连接。若用户将手机1004设置为静音模式,并且,用户在图8中的(a)图所示的监听参数设置界面选择信息播放方式为静音模式下,优先文本播放,以及选择信息提醒方式为静音模式下,震动和灯闪烁,则当蓝牙193接收到地铁上的蓝牙广播设备通过喇叭1002语音广播的到站信息时,会先将该语音信息(即语音报站信息)转为文本信息,并通过震动和灯闪烁的方式提醒用户查看该广播信息,并在蓝牙应用软件的主界面上弹出广播消息的文本查看的对话框,如图11中的(b)图所示;用户可以点击图11中的(b)图中文本查看按钮,以文本的形式查看地铁上的蓝牙广播设备广播的语音报站信息。
若用户将手机1004设置为非静音模式,并且,用户在图8中的(b)图所示的监听参数设置界面选择信息提醒方式为非静音模式下,震动和响铃,以及选择信息播放方式为非静音模式下,优先语音播放,则当蓝牙193接收到地铁上的蓝牙广播设备通过喇叭1002语音广播的到站语音信息时,则蓝牙应用软件会通过震动和响铃的方式提醒用户查看广播信息,并在蓝牙应用软件的主界面上弹出广播消息的语音播放对话框,如图11中的(c)图所示;用户可以点击图11中的(c)图中的语音播放按钮,收听地铁上的蓝牙广播设备语音广播的报站信息。
在另一种实施例中,用户无需在图8中的(a)图所示的监听参数设置界面设置信息播放方式以及选择信息提醒方式;当蓝牙193接收到地铁上的蓝牙广播设备通过喇叭1002广播的到站信息(该报站信息可以是语音信息也可以是文本信息)时,蓝牙应用软件默认会通过震动和响铃的方式提醒用户查看广播消息,并在蓝牙应用软件的主界面上弹出广播消息查看对话框,以便于用户查看该广播信息。
比如,如图12中的(a)图所示,蓝牙应用软件通过蓝牙193从信道005接收到一条语音信息,会在蓝牙应用软件的主界面上生成一个信道005的广播消息提醒窗口;若用户点击语音播放按钮,则蓝牙应用软件的主界面上会生成一个编号为20220721142412的语音信息播放窗口,如图12中的(b)图所示;其中,“2022/7/21 14:24:12”表示蓝牙193在2022年7月21日,下午14时24分12秒接收到一条语音信息,“00:00:27”表示当前播放到第27秒,“00:01:20”表示编号为20220721142412的语音信息的总时长是1分20秒,黑色实心圆点表示当前播放的时刻。蓝牙应用软件会给蓝牙193接收到的每个广播信息赋一个唯一的编号,用户可以自行设置,本申请对此不作任何限定。
在一种实施例中,当终端设备(比如,手机)播放广播信息时(即当手机上的蓝牙应用软件播放广播信息时),上述方法还包括:当终端设备(比如,手机)正在播放第一音频时,暂停播放第一音频,或者,降低第一音频的音量。
上述第一音频可以是音乐音频,也可以是视频中的音频,本申请对第一音频不作任何限定。
比如,当用户正在使用手机娱乐观看视频时,并且,当蓝牙应用软件请求手机的处理器110播放蓝牙193从目标信道接收到的广播信息时,处理器110会暂停视频播放,或者降低当前视频的播放音量后,再通过与音频模块170连接的扬声器170A或者通过耳机接口170D与音频模块170连接的耳机播放给用户播放该广播信息。
比如,如图11中的(d)图所示,用户正在手机上观看《XXXXX》电视剧的第7集,其中,图11中的(d)图中黑色三角符号表示手机当前正在播放第7集;当蓝牙193接收到的广播信息为文本信息时,蓝牙应用软件通过震动和响铃的方式提醒用户查看文本信息;此时,用户可以根据自身需求选择文本查看或者语音播放的方式收听文本信息。当用户点击文本查看按钮时(如图13中的(a)图所示),蓝牙应用软件会请求手机的处理器110显示该文本信息;此时,处理器110会暂停当前第7集视频的播放,如图13中的(b)图中“||”所示,并在当前第7集视频界面上会弹出编号为20220721143245的文本信息显示窗口(如图13中的(b)图所示),以供用户查看;该文本信息显示窗口显示着“前往XXX的旅客朋友们请注意:您乘坐的MU002次航班,现在开始办理登记手续,请您尽快到值机柜台办理登记手续。谢谢。”的登记手续办理信息。
又比如,如图13中的(c)图所示,用户正在手机上观看《XXXXX》电视剧的第7集;当蓝牙193接收的广播信息为语音信息时,蓝牙应用软件通过震动和响铃的方式提醒用户查看该语音信息;若用户点击语音播放按钮收听该语音信息(如图13中的(c)图所示),则蓝牙应用软件会请求手机的处理器110播放该语音信息;此时,处理器110会暂停当前第7集视频的播放,如图13中的(d)图中“||”所示,并在当前第7集视频界面上会弹出编号为20220721193005的语音信息播放界面(如图13中的(d)图所示),其中,“2022/7/21 19:30:05”表示蓝牙193在2022年7月21日,下午19时30分零5秒接收到一条语音信息,“00:00:09”表示当前播放到第9秒,“00:00:30”表示编号为20220721193005的语音信息的总时长是30秒。
又比如,如图14中的(a)图所示,用户正在手机上观看《XXXXX》电视剧的第7集;当蓝牙193接收的广播信息为文本信息时,蓝牙应用软件通过震动和响铃的方式提醒用户查看该文本信息;若用户点击语音播放按钮收听该文本信息(如图14中的(a)图所示),则蓝牙应用软件请求手机的处理器110播放该文本信息;此时,处理器110先将该文本信息转换为语音信息再向用户播放转换后的语音信息,并且,处理器110在播放转换后的语音信息时不会暂停当前第7集视频的播放,而是会先降低播放第7集视频的音量再向用户播放转换后的语音信息;图14中的(b)图中1401所示的音量大小调节工具中,1401中虚线空心圆表示播放广播信息前第7集视频的播放的音量,而黑色实心圆表示播放广播信息时第7集视频的播放的音量;黑色实心圆越往右音量越强(即越大),而越往左音量越低(即越小)。
在本实施例中,当蓝牙193接收到目标信道广播的广播信息时,蓝牙应用软件会向手机的处理器110请求显示或者播放该广播信息;当用户正在使用手机播放第一音频(比如,播放音乐)时,处理器110会暂停播放第一音频后或者降低第一音频的播放音量后,再将上述广播信息显示或者播放给用户,而无需用户退出当前的音视频播放界面,从而提高了用户体验。
上述实施例讲述的主要是蓝牙应用软件在手机处于非锁屏状态下提醒用户查看广播信息的方式,下面介绍一些蓝牙应用软件在手机处于锁屏状态下提醒用户查看广播信息的方式。
在一些实施例中,当手机处于锁屏状态时,手机会将蓝牙应用软件通过蓝牙193从目标信道接收的广播信息以提示框的形式显示在锁屏界面,以提醒用户及时查看广播信息。
比如,当手机处于锁屏状态时,蓝牙193从目标信道接收到广播信息时,蓝牙应用软件会在锁屏界面上弹出一个广播消息提醒窗口,以提醒用户有广播信息需要查看;如图15中的(a)图所示,手机的锁屏界面上弹出一个广播消息提醒窗口,用户点击1501所指示的展开按钮,广播消息提醒窗口会展开广播消息提醒的具体内容“蓝牙于2022年07月21日14:24:12从信道001接收到1条语音信息,点击查看详情>>”,如图15中的(b)图所示;此时,1501所指示的展开按钮会变成1502所示的收起按钮;当用户点击1502所示的收起按钮,则图15中的(b)图所示的广播消息提醒窗口就会变成图15中的(a)图所示的广播消息提醒窗口。
用户用手点击图15中的(b)图所示的广播消息提醒窗口中的点击查看详情,手机会打开蓝牙应用软件的主界面;该蓝牙应用软件的主界面上会生成一个信道001的广播消息提醒窗口,该
信道001的广播消息提醒窗口显示着“当前接收到1条语音信息,请及时查看?”的消息提醒内容,如图15中的(c)图所示;用户用手点击图15中的(c)图中的文本查看按钮,蓝牙应用软件会请求处理器110显示该语音信息;此时,处理器110会先将编号为20220721142412的语音信息先转换为编号为20220721142412的文本信息,再以文本的形式显示在文本信息显示窗口上,如图15中的(d)图所示;图15中的(d)图所示的文本信息显示窗口上显示着转换后的编号为20220721142412的文本信息,且其内容为“乘坐的MU003次航班的旅客请注意,请还没进行安全检查的旅客,尽快进行安全检查,安全检查结束后,请到候机厅候机,谢谢”。
在另一些实施例中,当用户想要查看历史广播信息时,可以从蓝牙应用软件的历史信息记录中查看感兴趣的广播信息。
比如,如图16中的(a)图所示,用户想要查看信道001的历史广播信息,用户可以选中信道001,如图16中的(a)图中的1601所示的位置;之后,再用手点击1602所指示的展开按钮,蓝牙应用软件的主界面上会弹出图16中的(b)图中1603所示的选项卡,该1603所示的选项卡包括添加选项、删除选项和历史信息选项,其中,添加选项用于用户手动增加需要监听的蓝牙信道;删除选项用于用户删除正在监听的蓝牙信道;历史信息选项用于用户查看目标信道广播的历史广播信息记录。用户可以用手点击历史信息选项,如图16中的(b)图所示,打开信道001的历史信息记录窗口;该历史信息记录窗口会显示蓝牙193从信道001接收的所有历史广播信息。
若用户想要以文本的形式查看图16中的(c)图中1604所示的历史广播信息,则直接用手选中1604所示的历史广播信息;此时,蓝牙应用软件的主界面上会生成一个显示1604所示的历史广播信息内容的文本窗口,如图16中的(d)图所示;用户可以在该文本窗口上查看1604所示的历史广播信息。
若用户想要以语音播放的方式查看1604所示的历史广播信息,如图17中的(a)图所示,则用户用手点击1604所示的历史广播信息的播放按钮(即点击图17中的(a)图中圆圈内的黑色三角形);此时,蓝牙应用软件会开始播放1604所示的历史广播信息,如图17中的(b)图所示;此时,1604所示的历史广播信息的播放按钮(即图17中的(a)图中圆圈内的黑色三角形)会变成图17中的(b)图中圆圈内双竖线的按钮,其中,“2022/7/21 9:00:30”表示蓝牙193在2022年7月21日,上午9时0分30秒接收到一条语音信息,“00:00:09”表示当前播放到第9秒,“00:00:30”表示1604所示的历史广播信息的总时长是30秒。
在本实施例中,用户可以通过蓝牙应用软件的历史信息记录随时查看目标信道接收的历史广播信息,这样可以避免发生用户在错过重要广播信息的情况下无法得知先前广播的重要广播信息的情况。
为了便于理解,下面结合图18对本申请提供的处理广播信息的方法的整体流程步骤进行示例性说明。
(1)用户到达目标公共场所后,在手机上打开蓝牙应用软件,并开启蓝牙应用软件的扫描功能;此时,蓝牙应用软件开始扫描周围的蓝牙广播信道。
(2)蓝牙应用软件根据蓝牙广播信道的信道标识和蓝牙广播设备的设备标识确定是否存在目标公共场所的蓝牙广播信道(即目标信道);当确定存在目标信道时,蓝牙应用软件提示(或者询问)用户是否需要监听该目标信道;如果用户选择监听,则蓝牙应用软件启动对目标信道的监听。
(3)蓝牙应用软件在监听目标信道的过程中,如果发现目标信道有广播信息,则接收该广播信息,并请求处理器110播放或者显示该广播信息。
(4)如果广播信息是文本信息,则手机的处理器110可以在蓝牙应用软件的主界面上生成消息提醒窗口,也可以通过手机的消息提示系统以系统消息的方式提醒用户蓝牙应用软件通过蓝牙193接收到目标信道广播的文本信息。具体提醒用户查看广播信息的方式可以是弹出框的形式提醒用户、也可以是通知消息的方式提醒用户,本申请对此不作限定,实际应用中,可根据具体应用场景设计。此外,用户查看完文本信息,可以选择保存也可以选择不保存,本申请对此不作限定。
(5)如果广播信息是语音信息,则手机的处理器110将该语音信息通过手机音频系统播放给
用户(比如,通过音频模块170连接的扬声器170A播放给用户)。比如,如果手机当前正在播放音乐,处理器110可以暂停当前的音乐播放,中间插播收到的语音信息;也可以是抑制当前播放音乐的音量,再播放收到的语音信息。如果当前手机没有播放音乐,也可以通过声音提示的方式播放当前的语音信息。
综上所述,终端设备通过扫描目标公共场所(比如,机场)周围存在的蓝牙广播信道,找到想要监听的目标公供场所对应的蓝牙广播信道(即目标信道);随后,终端设备通过监听该目标信道广播的广播信息(比如,航班信息、候机信息等行程相关的信息),并通过显示或播放中的任意一项或多项操作将监听到的广播信息送达至用户,以避免用户在公共场所使用终端设备(比如,手机)时错过重要的广播信息。
上文详细介绍了本申请提供的处理广播信息的方法的示例。可以理解的是,终端设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请可以根据上述方法示例对处理广播信息的方法进行功能单元的划分,例如,可以将各个功能划分为各个功能单元,也可以将两个或两个以上的功能集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图19示出了本申请提供了一种终端设备的结构示意图。图19中的虚线表示该单元或该模块为可选的。终端设备1900可用于实现上述方法实施例中描述的方法。终端设备1900可以是服务器或芯片(系统)。
终端设备1900包括一个或多个处理器1901,该一个或多个处理器1901可支持终端设备1900实现图5所对应方法实施例中的方法。处理器1901可以是通用处理器或者专用处理器。例如,处理器1901可以是中央处理器(Central Processing Unit,CPU)。CPU可以用于对终端设备1900进行控制,执行软件程序,处理软件程序的数据。终端设备1900还可以包括通信单元1905,用以实现信号的输入(接收)和输出(发送)。
上述终端设备1900可以是一种芯片(系统),该芯片(系统)包括存储器和处理器,其中,处理器被配置为执行该存储器中存储的计算机程序,以实现上述各个实施例中示出的方法。
通信单元1905可以是该芯片(系统)的输入和/或输出电路,或者,通信单元1905可以是该芯片(系统)的通信接口,该芯片(系统)可以作为终端设备1900的组成部分。
又例如,通信单元1905可以是该终端设备1900的收发器,或者,通信单元1905可以是该终端设备1900的收发电路。
终端设备1900中可以包括一个或多个存储器1902,其上存有程序1904,程序1904可被处理器1901运行,生成指令1903,使得处理器1901根据指令1903执行上述方法实施例中描述的方法。可选地,存储器1902中还可以存储有数据。可选地,处理器1901还可以读取存储器1902中存储的数据,该数据可以与程序1904存储在相同的存储地址,该数据也可以与程序1904存储在不同的存储地址。
处理器1901和存储器1902可以单独设置,也可以集成在一起,例如,集成在终端设备的系统级芯片(System On Chip,SOC)上。
处理器1901执行处理广播信息的方法的具体方式可以参见方法实施例中的相关描述。
应理解,上述方法实施例的各步骤可以通过处理器1901中的硬件形式的逻辑电路或者软件形式的指令完成。处理器1901可以是CPU、数字信号处理器(Digital Signal Processor,DSP)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其它可编程逻辑器件,例如,分立门、晶体管逻辑器件或分立硬件组件。
本申请还提供了一种计算机程序产品,该计算机程序产品被处理器1901执行时实现本申请中任一方法实施例的方法。
该计算机程序产品可以存储在存储器1902中,例如是程序1904,程序1904经过预处理、编译、汇编和链接等处理过程最终被转换为能够被处理器1901执行的可执行目标文件。
本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被计算机执行时实现本申请中任一方法实施例的方法。该计算机程序可以是高级语言程序,也可以是可执行目标程序。
该计算机可读存储介质例如是存储器1902。存储器1902可以是易失性存储器或非易失性存储器,或者,存储器1902可以同时包括易失性存储器和非易失性存储器。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchLink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。
本领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的装置和设备的具体工作过程以及产生的技术效果,可以参考前述方法实施例中对应的过程和技术效果,在此不再赘述。
在本申请所提供的几个实施例中,所揭露的系统、装置和方法,可以通过其它方式实现。例如,以上描述的方法实施例的一些特征可以忽略,或不执行。以上所描述的装置实施例仅仅是示意性的,单元的拆分,仅仅为一种逻辑功能拆分,实际实现时可以有另外的拆分方式,多个单元或组件可以结合或者可以集成到另一个系统。另外,各单元之间的耦合或各个组件之间的耦合可以是直接耦合,也可以是间接耦合,上述耦合包括电的、机械的或其它形式的连接。
上述实施例仅用以说明本申请的技术方案,而非对其限制。尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换,而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。
最后,以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (12)
- 一种处理广播信息的方法,其特征在于,应用于终端设备,所述方法包括:扫描蓝牙广播信道;当扫描到目标信道时,监听所述目标信道,所述目标信道为所述目标公共场所的蓝牙广播信道;通过所述目标信道接收广播信息;执行显示或播放所述广播信息中的任意一项或多项操作。
- 根据权利要求1所述的方法,其特征在于,所述扫描蓝牙广播信道,包括:获取当前位置信息以及用户输入的目标位置信息,所述目标位置信息为所述目标公共场所的位置信息;当所述当前位置信息指示所述终端设备的位置与所述目标位置信息指示的位置的距离小于预设距离时,扫描所述蓝牙广播信道。
- 根据权利要求2所述的方法,其特征在于,所述目标公共场所为车站,所述广播信息为报站信息。
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述执行显示或播放所述广播信息中的任意一项或多项操作,包括:当所述终端设备处于静音模式时,显示所述广播信息;或者,当所述终端设备处于非静音模式时,播放所述广播信息。
- 根据权利要求4所述的方法,其特征在于,所述广播信息为文本信息,所述播放所述广播信息之前,所述方法包括:将所述文本信息转换为语音信息;所述播放所述广播信息,包括:播放所述语音信息。
- 根据权利要求4所述的方法,其特征在于,所述广播信息为语音信息,所述显示所述广播信息之前,所述方法包括:将所述语音信息转换为文本信息;所述显示所述广播信息,包括:显示所述文本信息。
- 根据权利要求1至6中任一项所述的方法,其特征在于,所述播放所述广播信息,包括:当所述终端设备连接有耳机时,通过所述耳机播放所述广播信息;当所述终端设备未连接耳机时,通过扬声器播放所述广播信息。
- 根据权利要求1至7中任一项所述的方法,其特征在于,当所述终端设备播放所述广播信息时,所述方法还包括:当所述终端设备正在播放第一音频时,暂停播放所述第一音频,或者,降低所述第一音频的音量。
- 一种终端设备,其特征在于,所述终端设备包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于从所述存储器中调用并运行所述计算机程序,使得所述终端设备执行权利要求1至8中任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储了计算机程序,当所述计算机程序被处理器执行时,使得所述处理器执行权利要求1至8中任一项所述的方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品被配置为在电子设备上运行时,使得电子设备执行如权利要求1至8任一项所述的方法。
- 一种芯片系统,其特征在于,所述芯片系统包括存储器和处理器,所述处理器被配置为执行所述存储器中存储的计算机程序,以实现如权利要求1至8任一项所述的方法。
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210731861.1 | 2022-06-25 | ||
CN202210731861 | 2022-06-25 | ||
CN202211120050.4A CN117335913A (zh) | 2022-06-25 | 2022-09-14 | 处理广播信息的方法及终端设备 |
CN202211120050.4 | 2022-09-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023246786A1 true WO2023246786A1 (zh) | 2023-12-28 |
Family
ID=89274261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/101421 WO2023246786A1 (zh) | 2022-06-25 | 2023-06-20 | 处理广播信息的方法及终端设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117335913A (zh) |
WO (1) | WO2023246786A1 (zh) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105654767A (zh) * | 2016-01-27 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | 一种到站提醒处理的方法、装置以及终端 |
CN107071711A (zh) * | 2017-04-12 | 2017-08-18 | 安徽华米信息科技有限公司 | 多媒体共享方法、装置及蓝牙设备 |
CN107452221A (zh) * | 2017-07-14 | 2017-12-08 | 北京小米移动软件有限公司 | 到站提醒方法及装置 |
CN112885121A (zh) * | 2021-01-26 | 2021-06-01 | 展讯通信(上海)有限公司 | 报站方法、系统、电子设备和广播设备 |
KR102308774B1 (ko) * | 2020-04-23 | 2021-10-06 | (주)이모션 | 버스 정류장 안내 시스템 및 방법 |
-
2022
- 2022-09-14 CN CN202211120050.4A patent/CN117335913A/zh active Pending
-
2023
- 2023-06-20 WO PCT/CN2023/101421 patent/WO2023246786A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105654767A (zh) * | 2016-01-27 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | 一种到站提醒处理的方法、装置以及终端 |
CN107071711A (zh) * | 2017-04-12 | 2017-08-18 | 安徽华米信息科技有限公司 | 多媒体共享方法、装置及蓝牙设备 |
CN107452221A (zh) * | 2017-07-14 | 2017-12-08 | 北京小米移动软件有限公司 | 到站提醒方法及装置 |
KR102308774B1 (ko) * | 2020-04-23 | 2021-10-06 | (주)이모션 | 버스 정류장 안내 시스템 및 방법 |
CN112885121A (zh) * | 2021-01-26 | 2021-06-01 | 展讯通信(上海)有限公司 | 报站方法、系统、电子设备和广播设备 |
Also Published As
Publication number | Publication date |
---|---|
CN117335913A (zh) | 2024-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020244622A1 (zh) | 一种通知的提示方法、终端及系统 | |
CN111724775B (zh) | 一种语音交互方法及电子设备 | |
CN112954749B (zh) | 一种网络切换方法及电子设备 | |
WO2020132818A1 (zh) | 无线短距离音频共享方法及电子设备 | |
WO2020006711A1 (zh) | 一种消息的播放方法及终端 | |
CN113794801A (zh) | 地理围栏的处理方法及装置 | |
WO2020133006A1 (zh) | 基于低功耗蓝牙的通信方法及相关装置 | |
CN110290262A (zh) | 一种通话方法及终端设备 | |
JP7234379B2 (ja) | スマートホームデバイスによってネットワークにアクセスするための方法および関連するデバイス | |
EP4138434B1 (en) | Method for detecting bluetooth positioning device, device, and storage medium | |
CN111222836B (zh) | 一种到站提醒方法及相关装置 | |
CN109286725A (zh) | 翻译方法及终端 | |
CN112150778A (zh) | 环境音处理方法及相关装置 | |
EP4535305A1 (en) | Vehicle searching method and apparatus, and electronic device | |
WO2023071940A1 (zh) | 跨设备的导航任务的同步方法、装置、设备及存储介质 | |
US20230269567A1 (en) | Application-based short-range notification method, electronic device, and system | |
WO2021218837A1 (zh) | 一种提醒方法及相关装置 | |
WO2023246786A1 (zh) | 处理广播信息的方法及终端设备 | |
WO2022226707A1 (zh) | 一种救援方法、装置、存储介质及芯片系统 | |
CN116266088B (zh) | 应用卡片显示方法、装置、终端设备及可读存储介质 | |
US12363504B2 (en) | Bluetooth positioning device detection method, device, and storage medium | |
CN115567817B (zh) | 一种音频输出设备工作模式的设置方法及电子设备 | |
CN114253495B (zh) | 一种显示方法及电子设备 | |
CN117376825A (zh) | 终端场景识别方法、装置、终端、存储介质及程序产品 | |
WO2023104075A1 (zh) | 一种分享导航信息的方法、电子设备和系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23826433 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 23826433 Country of ref document: EP Kind code of ref document: A1 |