CN114302378A - Bluetooth mode switching method of display device, display device and terminal - Google Patents

Bluetooth mode switching method of display device, display device and terminal Download PDF

Info

Publication number
CN114302378A
CN114302378A CN202110678652.0A CN202110678652A CN114302378A CN 114302378 A CN114302378 A CN 114302378A CN 202110678652 A CN202110678652 A CN 202110678652A CN 114302378 A CN114302378 A CN 114302378A
Authority
CN
China
Prior art keywords
bluetooth
module
mode
bluetooth module
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110678652.0A
Other languages
Chinese (zh)
Inventor
肖成创
张敬坤
刘美玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202110678652.0A priority Critical patent/CN114302378A/en
Publication of CN114302378A publication Critical patent/CN114302378A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment provides a bluetooth mode switching method for a display device, the display device and a terminal, wherein a controller of the display device of the embodiment receives an NFC sensing signal on the terminal within an NFC module sensing range of the display device, and generates a first mode switching instruction according to the sensing signal when the modes of the bluetooth module of the display device and the bluetooth module of the terminal are both master modes. And responding to the first mode switching instruction, and controlling the mode of the Bluetooth module of the display device to be switched from the master mode to the slave mode. When the mode of the Bluetooth module is a master mode, the Bluetooth module cannot be searched by other Bluetooth equipment, and when the mode of the Bluetooth module is a slave mode, the Bluetooth module can be searched by other Bluetooth equipment. The display device provided by the embodiment can automatically switch the Bluetooth mode, and does not need manual operation of a user, so that the use experience of the user is improved.

Description

Bluetooth mode switching method of display device, display device and terminal
Technical Field
The present application relates to the technical field of display devices, and in particular, to a bluetooth mode switching method for a display device, and a terminal.
Background
The bluetooth technology provides that when bluetooth communication is performed between terminals, the bluetooth mode of one terminal is a master mode, and the bluetooth mode of the other terminal is a slave mode. And the terminal with the Bluetooth mode as the main mode searches peripheral Bluetooth equipment, initiates a pairing request, and can perform data transmission after successful connection. The terminal with the Bluetooth mode as the slave mode waits for the pairing request of the other devices in the master mode. Typically the bluetooth mode of the terminal can be switched between a master mode and a slave mode.
At present, if the bluetooth of the smart television is in an undiscoverable state when the bluetooth mode of the smart television is the master mode, the external device cannot search for the bluetooth device of the smart television, and even cannot establish bluetooth connection with the smart television. The conventional method is to enter a bluetooth application of the smart television, and after the bluetooth mode of the smart television is switched to the slave mode, the external device may search for the smart television and establish a bluetooth connection.
However, the above method requires the user to manually switch the bluetooth mode of the smart television, and the operation is cumbersome, resulting in poor user experience.
Disclosure of Invention
The application provides a Bluetooth mode switching method of a display device, the display device and a terminal, which are used for solving the problem that the operation is more complicated and the use experience of a user is poorer due to the fact that the Bluetooth mode of an intelligent television needs to be manually switched at present.
In a first aspect, the present embodiment provides a display device comprising,
a display;
a first NFC module configured to sense an NFC sensing signal of a terminal;
a first Bluetooth module;
a controller configured to:
when an induction signal of a second NFC module on the terminal exists in the induction range of the first NFC module and the modes of the first Bluetooth module and the second Bluetooth module of the terminal are both master modes, generating a first mode switching instruction according to the induction signal;
and controlling the mode of the first Bluetooth module to be switched from the master mode to the slave mode in response to the first mode switching instruction, wherein when the mode of the Bluetooth module is the master mode, the Bluetooth module cannot be searched by other Bluetooth devices, and when the mode of the Bluetooth module is the slave mode, the Bluetooth module can be searched by other Bluetooth devices.
In a second aspect, the present embodiment provides a terminal, including:
a second NFC module;
a second Bluetooth module;
a controller configured to:
when an induction signal of a first NFC module on the display device exists in the induction range of a second NFC module, generating a Bluetooth module starting instruction according to the induction signal, and controlling the second NFC module to read stored Bluetooth information of the first Bluetooth module of the display device from the first NFC module;
responding to the Bluetooth module starting instruction, and controlling the second Bluetooth module to start;
generating a pairing connection request according to the Bluetooth information of the first Bluetooth module, and sending the pairing connection request to a controller of the display device, so that the controller of the display device controls the first Bluetooth module and the second Bluetooth module to establish pairing connection according to the pairing connection request.
In a third aspect, the present embodiment provides a bluetooth mode switching method for a display device, where the method is applied to the display device and includes:
when an induction signal of a second NFC module on the terminal exists in an induction range of a first NFC module of the display device and the modes of the first Bluetooth module of the display device and the second Bluetooth module of the terminal are both main modes, generating a first mode switching instruction according to the induction signal;
and controlling the mode of the first Bluetooth module to be switched from the master mode to the slave mode in response to the first mode switching instruction, wherein when the mode of the Bluetooth module is the master mode, the Bluetooth module cannot be searched by other Bluetooth devices, and when the mode of the Bluetooth module is the slave mode, the Bluetooth module can be searched by other Bluetooth devices.
The controller of the display device provided in this embodiment generates the first mode switching instruction according to the sensing signal when the NFC sensing signal at the terminal is present in the NFC module sensing range of the display device, and the modes of the bluetooth module of the display device and the bluetooth module at the terminal are both the master mode. And responding to the first mode switching instruction, and controlling the mode of the Bluetooth module of the display device to be switched from the master mode to the slave mode. When the mode of the Bluetooth module is a master mode, the Bluetooth module cannot be searched by other Bluetooth equipment, and when the mode of the Bluetooth module is a slave mode, the Bluetooth module can be searched by other Bluetooth equipment. The display device provided by the embodiment can automatically switch the Bluetooth mode, and does not need manual operation of a user, so that the use experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
fig. 2 illustrates a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;
FIG. 5 illustrates an icon control interface display of an application in display device 200, in accordance with some embodiments;
FIG. 6 illustrates a Bluetooth mode switching system diagram of a display device according to some embodiments;
FIG. 7 illustrates a schematic user interface in a display device 200 according to some embodiments;
fig. 8 illustrates a signaling diagram of a bluetooth mode switching method of a display device according to some embodiments.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code that is capable of performing the functionality associated with that element.
Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in fig. 1, the display apparatus 200 is also in data communication with a server 400, and a user can operate the display apparatus 200 through the smart device 300 or the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 in a wireless or wired manner. The user may control the display apparatus 200 by inputting a user instruction through at least one of a key on a remote controller, a voice input, a control panel input, and the like.
In some embodiments, the smart device 300 may include any of a mobile terminal 300A, a tablet, a computer, a laptop, an AR/VR device, and the like.
In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.
In some embodiments, the smart device 300 and the display device may also be used for communication of data.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice instruction control of the user may be directly received by a module configured inside the display device 200 to obtain a voice instruction, or may be received by a voice control apparatus provided outside the display device 200.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
In some embodiments, software steps executed by one step execution agent may be migrated on demand to another step execution agent in data communication therewith for execution. Illustratively, software steps performed by the server may be migrated to be performed on a display device in data communication therewith, and vice versa, as desired.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
In some embodiments, the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.
In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key, or an alternative module.
Fig. 3 shows a hardware configuration block diagram of the display apparatus 200 according to an exemplary embodiment.
In some embodiments, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, a user interface.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
In some embodiments, the display 260 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.
A CPU processor. For executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal displayed or played on the direct display device 200.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for outputting the video output signal after the frame rate conversion is received, and changing the signal to be in accordance with the signal of the display format, such as outputting an RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may input a user command on a graphical user interface (G UI) displayed on the display 260, and the user input interface receives the user input command through a Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some embodiments, user interface 280 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).
In some embodiments, a system of a display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
Referring to fig. 4, in some embodiments, the system is divided into four layers, which are an Application (Applications) layer (abbreviated as "Application layer"), an Application Framework (Application Framework) layer (abbreviated as "Framework layer"), an Android runtime (Android runtime) and system library layer (abbreviated as "system runtime library layer"), and a kernel layer from top to bottom.
In some embodiments, at least one application program runs in the application program layer, and the application programs may be windows (windows) programs carried by an operating system, system setting programs, clock programs or the like; or an application developed by a third party developer. In particular implementations, the application packages in the application layer are not limited to the above examples.
The framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. The application framework layer acts as a processing center that determines to have the application in the application layer act. The application program can access the resources in the system and obtain the services of the system in execution through the API interface.
As shown in fig. 4, in the embodiment of the present application, the application framework layer includes a manager (Managers), a Content Provider (Content Provider), and the like, where the manager includes at least one of the following modules: an activity manager (ActivityManager) is used to interact with all activities running in the system; the Location Manager (Location Manager) is used for providing the system service or application with the access of the system Location service; a Package Manager (Package Manager) for retrieving various information related to an application Package currently installed on the device; a Notification Manager (Notification Manager) for controlling display and clearing of Notification messages; a Window Manager (Window Manager) is used to manage the icons, windows, toolbars, wallpapers, and desktop components on a user interface.
In some embodiments, the activity manager is used to manage the lifecycle of the various applications as well as general navigational fallback functions, such as controlling exit, opening, fallback, etc. of the applications. The window manager is used for managing all window programs, such as obtaining the size of a display screen, judging whether a status bar exists, locking the screen, intercepting the screen, controlling the change of the display window (for example, reducing the display window, displaying a shake, displaying a distortion deformation, and the like), and the like.
In some embodiments, the system runtime layer provides support for the upper layer, i.e., the framework layer, and when the framework layer is used, the android operating system runs the C/C + + library included in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. As shown in fig. 4, the core layer includes at least one of the following drivers: audio drive, demonstration drive, bluetooth drive, camera drive, WIFI drive, USB drive, H DMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
In some embodiments, the display device may directly enter the interface of the preset vod program after being activated, and the interface of the vod program may include at least a navigation bar 510 and a content display area located below the navigation bar 510, as shown in fig. 5, where the content displayed in the content display area may change according to the change of the selected control in the navigation bar. The programs in the application program layer can be integrated in the video-on-demand program and displayed through one control of the navigation bar, and can also be further displayed after the application control in the navigation bar is selected.
In some embodiments, the display device may directly enter a display interface of a signal source selected last time after being started, or a signal source selection interface, where the signal source may be a preset video-on-demand program, or may be at least one of an HDMI interface, a live tv interface, and the like, and after a user selects different signal sources, the display may display contents obtained from different signal sources.
The bluetooth technology provides that when bluetooth communication is performed between terminals, the bluetooth mode of one terminal is a master mode, and the bluetooth mode of the other terminal is a slave mode. And the terminal with the Bluetooth mode as the main mode searches peripheral Bluetooth equipment, initiates a pairing request, and can perform data transmission after successful connection. The terminal with the Bluetooth mode as the slave mode waits for the pairing request of the other devices in the master mode. Typically the bluetooth mode of the terminal can be switched between a master mode and a slave mode.
At present, it is a common practice to select a "bluetooth mode" in a "bluetooth" option in a setting user interface after a "setting" program is started on a display device, and then perform a switching operation on the "bluetooth mode". Therefore, the user needs to manually switch the bluetooth mode, the operation is complicated, and the use experience of the user is poor.
In order to solve the above problem, as shown in fig. 6, the present application provides a bluetooth mode switching system for a display device, the system includes a display device 200 and a terminal 600, the terminal 600 of the present application may be an intelligent device such as a mobile phone and a display device, and the present application does not limit this.
The display device 200 integrates hardware such as an NFC module, a bluetooth module, and a sound playing module, and has an operating system (controller) to control the hardware. The terminal 600 also integrates hardware such as an NFC module and a bluetooth module, and has an operating system (controller) to control the hardware.
For convenience of explanation, the respective modules in the display device 200 and the terminal 600 are distinguished, and the NFC module in the display device 200 is referred to as a first NFC module, and the NFC module in the terminal 600 is referred to as a second NFC module. The bluetooth module in the display device 200 is referred to as a first bluetooth module, and the bluetooth module in the terminal 600 is referred to as a second bluetooth module.
After the hardware of the display device 200 is powered on and the operating system is started, the controller of the display device 200 reads the bluetooth information of the first bluetooth module, specifically, the bluetooth MAC address can be read. The controller of the display device 200 also sets the first NFC module to a readable state. And simultaneously writing the Bluetooth MAC address into the first NFC module. Specifically, it can be specified in accordance with NFCForum-AD-BTSSP, i.e.)
Figure BDA0003121910970000091
And writing the Bluetooth MAC address into the first NFC module according to an NDEF format defined in a Secure Simple Pairing Using NFC protocol.
For example, the bluetooth MAC address of the first bluetooth module is 12: 34: 56: 78: 90: and AB, writing the Bluetooth MAC address into the storage record of the first NFC module according to the protocol, wherein the storage record is as follows:
FORMAT is Media, namely 0x02
The TYPE is: application/vnd
DATA is 16-ary DATA: 0x 080 x 000 xAB 0x 900 x 780 x 560 x 340 x12
Where 0x08 represents the record length, 0x00 is the separator, and 0xAB 0x 900 x 780 x 560 x 340 x12 is the MAC address in the small storage order.
When the user needs to establish a bluetooth wireless connection between the display device 200 and the terminal 600, the user may bring the second NFC module close to the first NFC module. The display device 200 monitors whether an NFC sensing signal on the terminal 600 exists within the sensing range of the first NFC module, that is, whether an NFC reading device is close to the first NFC module is monitored.
And if the NFC reading equipment is monitored to be close to the first NFC module, further determining the mode state of the first Bluetooth module. If the mode of the first bluetooth module is the slave mode, the display apparatus 200 may be searched by other master apparatuses as a slave at this time. In this embodiment, the mode of the terminal 600 is always the main mode. Thus, when the display apparatus 200 functions as a slave apparatus, it can be searched by the terminal 600 that functions as a master apparatus.
And if the mode of the first Bluetooth module is the master mode, the controller generates a first mode switching instruction according to the NFC induction signal. And controlling the mode of the first Bluetooth module to be switched from the master mode to the slave mode in response to the first mode switching instruction. After the mode of the first bluetooth module is switched from the master mode to the slave mode, the display device 200 may be used as a slave device, and searched by the terminal 600 used as a master device.
In some embodiments, the specific process of controlling the mode of the first bluetooth module to switch from the master mode to the slave mode is as follows:
the behavior of the protocol is typically implemented by the bluetooth protocol stack of the bluetooth module. The bluetooth module may provide an interface for switching protocol exchanges to other hardware, such as serial communication with an operating system, etc.
The NFC module is used as a peripheral device, and a communication interface exists between the NFC module and an operating system and software running on a mainboard. And after the first NFC module senses the induction signal of the second NFC module, the touch event is transmitted to the operating system through the communication interface. The operating system may generate a mode switching instruction according to the sensing signal, and then the mode switching instruction is sent to the first bluetooth module through the communication interface provided by the first bluetooth module, so that the first bluetooth module is notified to switch the mode from the master mode to the slave mode.
After the first bluetooth module receives the mode switching instruction, if the current mode of the first bluetooth module is the slave mode, the mode switching instruction can be ignored, and the bluetooth pairing connection process can be directly carried out. And if the current mode of the first Bluetooth module is the slave mode, controlling the mode of the first Bluetooth module to be switched from the master mode to the slave mode.
In some embodiments, when the second NFC module is within the sensing range of the first NFC module, the second NFC module reads the bluetooth information of the first bluetooth module from the first NFC module. The operating system of the terminal 600 itself implements the NFCForum-AD-BTSSP protocol specification. After reading the bluetooth information of the first bluetooth module, the second NFC module first detects whether the bluetooth information is an information record conforming to the NDEF format of the protocol specification NFCForum-AD-BTSSP. If the protocol specification of NFCF0rum-AD-BTSSP is met, the operating system of the terminal 600 parses the bluetooth MAC address in the information record according to the protocol specification.
It should be noted that, in this embodiment of the application, while the first NFC module induces the sensing signal of the second NFC module in the sensing range, the second NFC module also induces the sensing signal of the first NFC module in the sensing range. After the second NFC module senses the sensing signal of the first NFC module, a Bluetooth module starting instruction can be generated according to the sensing signal. And responding to the Bluetooth module starting instruction, and controlling the second Bluetooth module to start. This may be accomplished by automatically starting the bluetooth module of terminal 600 without requiring the user to manually turn on the bluetooth module of terminal 600.
Furthermore, the second Bluetooth module automatically searches other Bluetooth devices in the sensing range of the second Bluetooth module after being started. After searching, if the searched Bluetooth MAC address of the Bluetooth device has the Bluetooth device matched with the read Bluetooth MAC address, sending a pairing connection request to the Bluetooth device. Therefore, the second Bluetooth module sends the pairing connection request to the first Bluetooth module.
In some embodiments, after the mode of the first bluetooth module is switched from the master mode to the slave mode, if the first bluetooth module does not receive the pairing connection request sent by the second bluetooth module within the preset interval time. The pairing connection request is not issued, for example, due to a power down of the terminal 600. At this time, the operating system of the display apparatus 200 generates a mode switching instruction again. And then the mode switching instruction is sent to the first Bluetooth module through a communication interface provided by the first Bluetooth module, namely, the first Bluetooth module is informed to switch the transmission mode from the slave mode to the master mode. So that the display device 200 resumes the normal operation mode.
In some embodiments, after the first bluetooth module receives the pairing connection request sent by the second bluetooth module, the pairing connection request may carry bluetooth information of the second bluetooth module. The operating system of the display device 200 determines whether the second bluetooth module is a paired bluetooth device according to the bluetooth information of the second bluetooth module. And if the second Bluetooth module and the first Bluetooth module are paired Bluetooth equipment, completing Bluetooth pairing connection.
And if the second Bluetooth module and the first Bluetooth module are unpaired Bluetooth equipment, popping up a Bluetooth pairing dialog box on a display user interface. The bluetooth pairing dialog box may display device information of the terminal 600 requesting the pairing request. The user may enter the confirmation pairing instruction or disagree with the pairing instruction after viewing the device information. If the pairing confirmation instruction is input, the display device 200 feeds back the pairing confirmation information to the terminal 600, and the bluetooth pairing connection is completed. And if the pairing instruction is not approved, interrupting the Bluetooth pairing connection process.
In some embodiments, since the display device is an Audio device, when the display device transmits data with other terminal devices through bluetooth, A2DP (Advanced Audio Distribution Profile bluetooth Audio transmission model protocol) protocol of the bluetooth protocol is generally used. Two roles are defined in the A2DP protocol: source and Sink. The Source end is an output end of the audio data, and the Sink end is a receiving end and a playing end of the audio data.
For a module, the protocol stack running therein can usually only serve one of two roles. The protocol interaction for which the two roles interact during the interaction is different. For example, it is common for a device on the Source side to search for a device on the Sink side. The Sink device needs to set itself to be in a discoverable state, and can reply to search requests of other Bluetooth devices. The Source end equipment needs to encode data, and the Sink end needs to decode received data and decode data.
The display device, as a media Source device, usually operates in Source mode. That is, the display device generally searches for surrounding terminal devices, for example, devices in Sink roles such as bluetooth speakers and bluetooth power amplifiers, so as to output data through the Sink devices. When the terminal is used as a media source and needs to transmit media data to the display device for playing and displaying, the display device needs to be used as a Sink role, is discovered by other terminals, and receives the media data. At this time, the display device needs to perform switching of the bluetooth mode.
The specific switching process is as follows: when there is an induction signal of a second NFC module on the terminal in the first NFC module induction range, and the modes of the first bluetooth module and the second bluetooth module are both master modes, that is, the display device 200 and the terminal 600 are both Source-side devices, the controller generates a first mode switching instruction according to the induction signal. And controlling the first Bluetooth module to switch from the master mode to the slave mode in response to the first mode switching instruction. At this time, the mode of the first bluetooth module is a slave mode, the mode of the second bluetooth module is a master mode, the display device 200 serves as a Sink device, and the terminal 600 serves as a Source device.
After the bluetooth pairing process in the above embodiment, the display device 200 establishes a bluetooth connection with the terminal 600, that is, data transmission can be achieved through bluetooth. At this time, the audio data of the terminal 600 may be output to the display apparatus 200 by the operating system of the terminal 600 through bluetooth. After receiving the audio data through bluetooth, the display device 200 decodes the audio data, and so on. And finally, the operating system sends the processed audio data to the sound playing module, and the sound playing module makes sound according to the processed audio data. It should be noted that the sound playing module may be a speaker carried by the display device 200, or may be an external sound output device.
An embodiment of the present application provides a bluetooth mode switching method, such as a signaling diagram of the bluetooth mode switching method of a display device shown in fig. 7, where the method includes the following steps:
step one, a second NFC module of the terminal 600 is close to a first NFC module of the display device 200, so that the first NFC module has an induction signal of the second NFC module within an induction range of the first NFC module, and sends the induction signal to a controller of the display device 200.
And step two, the controller judges whether the current mode of the first Bluetooth module is a master mode, and if the current mode of the first Bluetooth module is a slave mode, the Bluetooth pairing connection process is directly carried out. And if the current mode of the first Bluetooth module is the master mode, generating a first mode switching instruction according to the induction signal, and sending the first mode switching instruction to the first Bluetooth module.
And step three, after receiving the first mode switching instruction, the first Bluetooth module switches the mode from the master mode to the slave mode according to the first mode switching instruction.
It should be noted that, when the mode of the bluetooth module is the master mode, the bluetooth module cannot be searched by other bluetooth devices, and when the mode of the bluetooth module is the slave mode, the bluetooth module can be searched by other bluetooth modules. The Bluetooth mode switching method provided by the embodiment can realize automatic switching without manual operation of a user, thereby improving the use experience of the user.
The embodiment of the present application provides another bluetooth mode switching method, such as a signaling diagram of the bluetooth mode switching method of a display device shown in fig. 8.
Since the display device is an audio device, when the display device transmits data with other terminal devices via bluetooth, the A2DP protocol of the bluetooth protocol is generally used. The bluetooth communication of the display device of this embodiment is based on the A2DP protocol. Therefore, the bluetooth module of the display device of this embodiment can be switched between Source and Sink roles, i.e., can be switched between being used as a data output terminal and a data input terminal.
The method of the embodiment comprises the following steps:
step one, a second NFC module of the terminal 600 is close to a first NFC module of the display device 200, so that the first NFC module has an induction signal of the second NFC module within an induction range of the first NFC module, and sends the induction signal to a controller of the display device 200.
And step two, the controller judges whether the current mode of the first Bluetooth module is an information sink mode, and if the current mode of the first Bluetooth module is the information sink mode, the Bluetooth pairing connection process and the data transmission process are directly carried out. And if the current mode of the first Bluetooth module is the information source mode, generating a first mode switching instruction according to the sensing signal, and sending the first mode switching instruction to the first Bluetooth module.
And step four, after receiving the first mode switching instruction, the first Bluetooth module switches the mode from the information source mode to the information sink mode according to the first mode switching instruction.
And step five, after the first bluetooth module is switched to the sink mode, the terminal 600 sends a pairing connection request to the display device 200. The pairing connection request is a request generated according to the Bluetooth information of the first Bluetooth module. The Bluetooth information of the first Bluetooth module is read from the first NFC module by the second NFC module.
And step six, after receiving the pairing connection request, the display device 200 controls the first bluetooth module and the second bluetooth module to establish pairing connection according to the pairing connection request.
And step seven, after the first bluetooth module and the second bluetooth module establish pairing connection, the display device 200 serves as a data receiving end, and receives audio data from the terminal 600 through the bluetooth module. And the controller of the display equipment sends the audio data to the sound playing module of the display equipment. And finally, the sound playing module sends out and outputs sound according to the received audio data.
The same or similar contents in the embodiments of the present application may be referred to each other, and the related embodiments are not described in detail.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
a display;
a first NFC module configured to sense an NFC sensing signal of a terminal;
a first Bluetooth module;
a controller configured to:
when an induction signal of a second NFC module on the terminal exists in the induction range of the first NFC module, and the mode of the first Bluetooth module and the mode of the second Bluetooth module of the terminal are both master modes, generating a first mode switching instruction according to the induction signal;
and controlling the mode of the first Bluetooth module to be switched from the master mode to the slave mode in response to the first mode switching instruction, wherein when the mode of the Bluetooth module is the master mode, the Bluetooth module cannot be searched by other Bluetooth devices, and when the mode of the Bluetooth module is the slave mode, the Bluetooth module can be searched by other Bluetooth devices.
2. The display device according to claim 1, wherein the first NFC module stores bluetooth information of the first bluetooth module, and when the first NFC module senses a sensing signal of the second NFC module, the second NFC module reads the bluetooth information of the first bluetooth module from the first NFC module;
after the mode of the first bluetooth module is switched from the master mode to the slave mode, the controller is further configured to:
receiving a pairing connection request sent by the terminal, wherein after the second NFC module reads the Bluetooth information of the first Bluetooth module, a controller of the terminal controls the second Bluetooth module to start, and the pairing connection request is a request generated according to the Bluetooth information of the first Bluetooth module after the second Bluetooth module starts;
and controlling the first Bluetooth module and the second Bluetooth module to establish pairing connection according to the pairing connection request.
3. The display device of claim 2, wherein after the mode of the first bluetooth module is switched from the master mode to the slave mode, the controller is further configured to:
and when a pairing connection request sent by the terminal is not received within a preset interval time, generating a second mode switching instruction, and responding to the second mode switching instruction to control the mode of the first Bluetooth module to be switched from the slave mode to the master mode.
4. The display device of claim 2, further comprising a sound playing module, wherein when the bluetooth module is in a master mode, audio data can be output to other bluetooth devices through the bluetooth module, and when the bluetooth module is in a slave mode, audio data can be received from other bluetooth devices through the bluetooth module, and after the first bluetooth module and the second bluetooth module establish a pairing connection, the controller is further configured to:
the first Bluetooth module receives audio data from the terminal and sends the audio data to the sound playing module, so that the sound playing module makes sound according to the audio data.
5. The display device of claim 2, wherein the bluetooth information comprises at least a MAC address of the first bluetooth module.
6. A terminal, comprising:
a second NFC module;
a second Bluetooth module;
a controller configured to:
when an induction signal of a first NFC module on the display device exists in the induction range of a second NFC module, generating a Bluetooth module starting instruction according to the induction signal, and controlling the second NFC module to read stored Bluetooth information of the first Bluetooth module of the display device from the first NFC module;
responding to the Bluetooth module starting instruction, and controlling the second Bluetooth module to start;
generating a pairing connection request according to the Bluetooth information of the first Bluetooth module, and sending the pairing connection request to a controller of the display device, so that the controller of the display device controls the first Bluetooth module and the second Bluetooth module to establish pairing connection according to the pairing connection request.
7. A Bluetooth mode switching method of a display device is applied to the display device and is characterized by comprising the following steps:
when an induction signal of a second NFC module on the terminal exists in an induction range of a first NFC module of the display device and the modes of the first Bluetooth module of the display device and the second Bluetooth module of the terminal are both main modes, generating a first mode switching instruction according to the induction signal;
and controlling the mode of the first Bluetooth module to be switched from the master mode to the slave mode in response to the first mode switching instruction, wherein when the mode of the Bluetooth module is the master mode, the Bluetooth module cannot be searched by other Bluetooth devices, and when the mode of the Bluetooth module is the slave mode, the Bluetooth module can be searched by other Bluetooth devices.
8. The method as claimed in claim 7, wherein the first NFC module stores the Bluetooth information of the first Bluetooth module, and when the first NFC module senses the sensing signal of the second NFC module within the sensing range of the first NFC module, the second NFC module reads the Bluetooth information of the first Bluetooth module from the first NFC module;
after the mode of the first bluetooth module is switched from the master mode to the slave mode, the controller is further configured to:
receiving a pairing connection request sent by the terminal, wherein after the second NFC module reads the Bluetooth information of the first Bluetooth module, a controller of the terminal controls the second Bluetooth module to start, and the pairing connection request is a request generated according to the Bluetooth information of the first Bluetooth module after the second Bluetooth module starts;
and controlling the first Bluetooth module and the second Bluetooth module to establish pairing connection according to the pairing connection request.
9. The method of claim 8, wherein after the mode of the first bluetooth module is switched from the master mode to the slave mode, the controller is further configured to:
and when a pairing connection request sent by the terminal is not received within a preset interval time, generating a second mode switching instruction, and responding to the second mode switching instruction to control the mode of the first Bluetooth module to be switched from the slave mode to the master mode.
10. The method of claim 8, wherein the display device further comprises a sound playing module, wherein when the bluetooth module is in a master mode, sound data can be transmitted to other bluetooth devices through the bluetooth module, and when the bluetooth module is in a slave mode, sound data can be received from other bluetooth devices through the bluetooth module, and after the first bluetooth module and the second bluetooth module establish a pairing connection, the controller is further configured to:
and receiving audio data from the terminal through the first Bluetooth module, and sending the audio data to the sound playing module so that the sound playing module makes a sound according to the audio data.
CN202110678652.0A 2021-06-18 2021-06-18 Bluetooth mode switching method of display device, display device and terminal Pending CN114302378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110678652.0A CN114302378A (en) 2021-06-18 2021-06-18 Bluetooth mode switching method of display device, display device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110678652.0A CN114302378A (en) 2021-06-18 2021-06-18 Bluetooth mode switching method of display device, display device and terminal

Publications (1)

Publication Number Publication Date
CN114302378A true CN114302378A (en) 2022-04-08

Family

ID=80964087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110678652.0A Pending CN114302378A (en) 2021-06-18 2021-06-18 Bluetooth mode switching method of display device, display device and terminal

Country Status (1)

Country Link
CN (1) CN114302378A (en)

Similar Documents

Publication Publication Date Title
CN114302219B (en) Display equipment and variable frame rate display method
CN112019782B (en) Control method and display device of enhanced audio return channel
WO2022073392A1 (en) Picture display method, and display device
CN112672195A (en) Remote controller key setting method and display equipment
CN112612443A (en) Audio playing method, display device and server
CN112188279A (en) Channel switching method and display equipment
WO2022048203A1 (en) Display method and display device for manipulation prompt information of input method control
CN112199064B (en) Interaction method of browser application and system platform and display equipment
CN113821184A (en) Pairing method of control device and display equipment
CN113490024A (en) Control device key setting method and display equipment
CN112911380A (en) Display device and connection method with Bluetooth device
CN112463750A (en) File synchronization method and display device
CN111954059A (en) Screen saver display method and display device
CN112243141A (en) Display method and display equipment for screen projection function
CN111818654B (en) Channel access method and display device
CN114286137A (en) Mirror image screen projection method, display device and terminal
CN112637957A (en) Display device and communication method of display device and wireless sound box
CN112214190A (en) Display equipment resource playing method and display equipment
CN116017006A (en) Display device and method for establishing communication connection with power amplifier device
CN112256449A (en) Interface calling method of webpage application program, display equipment and server
CN113542852B (en) Display device and control method for fast pairing with external device
CN114302070B (en) Display device and audio output method
CN115022688A (en) Display device and media data relay method
CN113784198A (en) Display device, intelligent device and program recording control method
CN112885347A (en) Voice control method of display device, display device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination