CN113543104A - Bluetooth communication method, multimedia device and storage medium - Google Patents
Bluetooth communication method, multimedia device and storage medium Download PDFInfo
- Publication number
- CN113543104A CN113543104A CN202110792459.XA CN202110792459A CN113543104A CN 113543104 A CN113543104 A CN 113543104A CN 202110792459 A CN202110792459 A CN 202110792459A CN 113543104 A CN113543104 A CN 113543104A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- multimedia
- communication method
- virtual node
- equipment
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 135
- 238000004891 communication Methods 0.000 title claims abstract description 50
- 230000006870 function Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a Bluetooth communication method, a multimedia device and a storage medium, which start a Bluetooth quick back connection process after a Bluetooth device virtual node is established in a starting-up stage, read historical Bluetooth pairing information by using the Bluetooth quick back connection process, establish Bluetooth connection between the Bluetooth device virtual node and a target Bluetooth device, perform read-write operation on the Bluetooth device virtual node by using the Bluetooth quick back connection process so as to read operation information of the target Bluetooth device based on the Bluetooth connection, send the operation information to an operating system of the multimedia device through a virtual input device, realize that the multimedia device can be directly paired with the Bluetooth device through pairing information of the Bluetooth device which is successfully paired last time in the starting-up stage, and solve the technical problem that the multimedia device cannot start Bluetooth service in the starting-up stage, the use experience of the user in the process of using the Bluetooth device is improved.
Description
Technical Field
The present invention relates to the field of multimedia communication, and in particular, to a bluetooth communication method, a multimedia device, and a storage medium.
Background
At present, Android platform smart televisions are gradually popularized, and with the continuous development of technologies, remote control equipment of the televisions is also changed from infrared remote controllers to Bluetooth remote controllers. Compared with an infrared remote controller, the Bluetooth remote controller has the advantages of strong penetrating power, strong anti-interference capability, no dead angle of 360 degrees and the like.
However, the full bluetooth remote control scheme requires the bluetooth device to be connected after the bluetooth device is started due to the limitation of the Android system. For the smart television, in actual life, the requirement of operating the remote controller at the power-on stage is faced, such as adjusting the volume of the power-on video. In order to meet the requirement, the invention provides a Bluetooth communication method, which realizes the back connection of a Bluetooth remote controller at the startup stage of a television so as to complete corresponding key operation.
Disclosure of Invention
The invention mainly aims to provide Bluetooth communication, equipment and a storage medium, aiming at solving the technical problem that the Bluetooth equipment cannot be used for operating multimedia equipment through a Bluetooth connection service in the starting-up stage.
To achieve the above object, the present invention provides a bluetooth communication method for a multimedia device having a bluetooth connection function, the bluetooth communication method comprising the steps of:
starting a Bluetooth quick reconnection process after a Bluetooth device virtual node is established in a starting-up stage;
reading historical Bluetooth pairing information by using the Bluetooth quick reconnection process, wherein the historical Bluetooth pairing information comprises pairing information of a target Bluetooth device which is successfully paired with the multimedia at the latest time;
establishing Bluetooth connection between the Bluetooth equipment virtual node and the target Bluetooth equipment;
performing read-write operation on the virtual node of the Bluetooth equipment by using the Bluetooth quick back-connection process so as to read the operation information of the target Bluetooth equipment based on the Bluetooth connection;
transmitting the operation information to an operating system of the multimedia device through a virtual input device, the virtual input device being created based on the Bluetooth fast loopback procedure,
optionally, before the step of reading the historical bluetooth pairing information by using the bluetooth fast backhaul, the method further includes:
creating the virtual input device using the Bluetooth quick-connect procedure,
optionally, the bluetooth device communication node corresponds to an idle flag, the idle flag has a first value and a second value, and after the step of sending the operation information to the operating system of the multimedia device through the virtual input device, the method further includes:
judging whether the idle mark is a second value or not;
if the value is the second value, the native Bluetooth service process of the operating system of the multimedia device is carried out,
optionally, before the step of determining whether the idle flag is the second value, the method further includes:
judging whether the starting-up stage is finished or not;
if the process is finished, the idle mark is set as a second value, and the Bluetooth fast back-connecting process is finished,
optionally, before the step of establishing the bluetooth connection between the bluetooth device virtual node and the target bluetooth device, the method further includes:
judging whether the pairing information is read successfully;
if the reading is unsuccessful, setting the idle mark as a second value, and ending the Bluetooth fast loopback process;
if the reading is successful, starting to pair with the target Bluetooth equipment based on the pairing information;
judging whether the pairing with the target Bluetooth equipment is successful or not;
if the pairing is not successful, setting the idle mark as a second value, and ending the Bluetooth fast loopback process;
if the pairing is successful, setting the space mark as a first value, and executing the following steps: establishing a Bluetooth connection between the Bluetooth device virtual node and the target Bluetooth device,
optionally, before the step of creating a virtual input device using the bluetooth quick-connect procedure, the method further includes:
creating the bluetooth device virtual node using an initialization procedure,
optionally, after the virtual node of the bluetooth device is created in the startup phase and before the step of starting the bluetooth fast reconnection procedure, the method further includes:
judging whether the virtual node of the Bluetooth equipment is successfully established;
if the virtual node of the Bluetooth equipment is successfully established, executing the following steps: creating a virtual input device using the bluetooth quick-connect procedure,
optionally, after the step of sending the operation information to the operating system of the multimedia device through the virtual input device, the method further includes:
and the operating system of the multimedia equipment correspondingly operates the multimedia based on the operation information.
In addition, to achieve the above object, the present invention further provides a multimedia device, further comprising: a memory, a processor and a bluetooth communication program stored on the memory and executable on the processor, the bluetooth communication program when executed by the processor implementing the steps of the bluetooth communication method as previously described.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having a bluetooth communication program stored thereon, which when executed by a processor implements the steps of the bluetooth communication method as described above.
According to the Bluetooth communication method provided by the embodiment of the invention, after the virtual node of the Bluetooth equipment is established in the starting-up stage, the Bluetooth quick-back connection process is started; reading historical Bluetooth pairing information by using the Bluetooth quick reconnection process, wherein the historical Bluetooth pairing information comprises pairing information of a target Bluetooth device which is successfully paired with the multimedia at the latest time; establishing Bluetooth connection between the Bluetooth equipment virtual node and the target Bluetooth equipment; performing read-write operation on the virtual node of the Bluetooth equipment by using the Bluetooth quick back-connection process so as to read the operation information of the target Bluetooth equipment based on the Bluetooth connection; the operation information is sent to the operating system of the multimedia device through the virtual input device, the virtual input device is established based on the Bluetooth quick-connection process, the multimedia device can be directly paired with the Bluetooth device through the pairing information of the Bluetooth device successfully paired last time in the starting-up stage, the technical problem that the Bluetooth service cannot be started by the multimedia device in the starting-up stage is solved, and the use experience of a user in the process of using the Bluetooth device is improved.
Drawings
FIG. 1 is a schematic diagram of a hardware structure according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a Bluetooth communication method according to the present invention;
fig. 3 is a flowchart illustrating a bluetooth communication method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows:
because of the limitation of the operating system of the multimedia device in the prior art, the bluetooth service can be started only after the multimedia device is started, but the requirement of operating the remote controller in the starting-up stage is met in the actual life, and the prior art cannot meet the requirement.
The invention provides a solution, which enables a multimedia device to operate the multimedia device at a starting-up stage by a Bluetooth device through establishing a Bluetooth fast-back connection process and utilizing the Bluetooth fast-back connection process.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a multimedia device in a hardware operating environment according to an embodiment of the present invention.
The multimedia equipment in the embodiment of the invention can be an intelligent television, and also can be multimedia equipment with a Bluetooth connection function, such as an intelligent mobile phone, a tablet personal computer and a portable computer.
Generally, the multimedia device comprises: at least one processor 301, a memory 302, and a bluetooth communication program stored on the memory and operable on the processor.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 301 may further include an AI (Artificial Intelligence) processor for processing operations related to bluetooth communication, so that a method model of bluetooth communication can be trained and learned autonomously, improving efficiency and accuracy.
In some embodiments, the multimedia device may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include a bluetooth network, NFC (Near Field Communication, short-range wireless Communication) related circuit, which is not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 2 does not constitute a limitation of the multimedia device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Based on the hardware structure, the invention provides an embodiment of a Bluetooth communication method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a bluetooth communication method, where the bluetooth communication method provided by the embodiment of the present invention is applied to a multimedia device, and includes the following steps:
s10 starts the bluetooth fast backhaul procedure after the bluetooth device virtual node is created during the power-on phase.
In the specific implementation process, the multimedia device starts an initialization process at the startup stage, and creates a virtual node of the bluetooth device by using the initialization process.
As an embodiment, an initialization process starts a driver loading service, loads a bluetooth driver by using the driver loading service, and finally creates a virtual node of a bluetooth device through the bluetooth driver, wherein the initialization process (init process) is a first user-level process started by a kernel, and the init has many important tasks, such as starting getty (for user login), realizing a running level, and processing an isolated process; the driver is a special program added to the operating system, which contains information about the hardware device. This information enables the computer to communicate with the corresponding device. The driver is a configuration file written by a hardware manufacturer according to an operating system, and it can be said that hardware in a computer cannot work without the driver, and it can be understood that the bluetooth driver is a driver for enabling corresponding hardware equipment to work when bluetooth service is required. It should be noted that, communication between other processes of the system and the external bluetooth device is established on the virtual node of the bluetooth device, wherein the system is an Operating System (OS), which is a computer program for managing hardware and software resources of the computer. The operating system needs to handle basic transactions such as managing and configuring memory, determining the priority of system resources, controlling input devices and output devices, operating the network, and managing the file system, and also provides an operating interface for the user to interact with the system. Meanwhile, the bluetooth device virtual node can only be occupied by one process, so that the native bluetooth service and the bluetooth quick reconnection process of the operating system need to be processed in a time-sharing manner, and whether the bluetooth device virtual node is occupied or not is determined through the value of an idle mark corresponding to the bluetooth device virtual node.
As another embodiment, when the idle flag is the first value, it is determined that the virtual node of the bluetooth device is in an occupied state, and when the idle flag is the second value, it is determined that the virtual node of the bluetooth device is in an idle state. In the logic circuit, the first value is usually 0 to indicate that it is not set, and the second value is usually 1 to indicate that it is set.
After the bluetooth virtual device node is created, the bluetooth fast loopback process is started, and it should be noted that the bluetooth fast loopback process is an execution process of a bluetooth fast loopback program.
As an embodiment, after the bluetooth fast backhaul procedure is started, it needs to be determined whether the virtual node of the bluetooth device is successfully created, and if the virtual node of the bluetooth device is successfully created, the virtual input device is created by using the bluetooth fast backhaul procedure. It should be noted that the virtual input device is a virtual hardware device, and received information sent by the external device needs to be thrown to the operating system through the virtual input device, so that the operating system performs corresponding operations. It can be understood that, because the bluetooth connection service needs to occupy the bluetooth device virtual node, when the bluetooth device virtual node is not successfully established, it will be continuously detected whether the bluetooth device virtual node is successfully established, and the subsequent steps will not be performed until the bluetooth device virtual node is successfully established.
S20, reading historical Bluetooth pairing information by using the Bluetooth quick back-connecting process;
in a specific implementation process, the historical bluetooth pairing information includes pairing information of a target bluetooth device that has been successfully paired with the multimedia device last time.
It is understood that, in some cases, the multimedia device may fail to read the bluetooth pairing information, and at this time, the operating system of the multimedia device may continuously run the bluetooth fast-connection program, resulting in a waste of resources, so as to be an embodiment, referring to fig. 3, fig. 3 is a flowchart illustrating an embodiment of a bluetooth communication method, including steps S201 to S204:
s201, judging whether the pairing information is read successfully;
if the reading is not successful, go to step S205;
if the reading is successful, executing step S202;
s202 starts to pair with the target bluetooth device based on the pairing information, it should be noted that, in the pairing process, the pairing may fail due to the bluetooth device being too far away, so step S203 is performed after step S202,
s203, judging whether the pairing with the target Bluetooth device is successful;
if the pairing is not successful, go to step 205;
if the pairing is successful, go to step 204;
s204, setting the space mark as a first value, and executing the step 30;
s205 sets the idle flag to a second value and ends the Bluetooth fast loopback process.
S30 establishing the Bluetooth connection between the Bluetooth device virtual node and the target Bluetooth device;
it should be noted that, based on the pairing information read in step S20, the bluetooth protocol stack is skipped to directly perform bluetooth connection with the target bluetooth device.
S40, utilizing the Bluetooth quick back-connection process to perform read-write operation on the Bluetooth device virtual node so as to read the operation information of the target Bluetooth device based on the Bluetooth connection;
in a specific implementation process, the virtual node of the bluetooth device is used to acquire operation information of the target bluetooth device through bluetooth connection, for example, operation instructions such as volume adjustment and power-on advertisement skipping sent by the bluetooth device.
It should be noted that the virtual node of the bluetooth device is a virtual hardware device, and the hardware device needs to be read and written by software to obtain the operation information sent by the bluetooth device.
S50 sends the operation information to the operating system of the multimedia device through the virtual input device.
In a specific implementation process, the operation information is sent to the operating system of the multimedia device through the hardware device, so that the operation information obtained by the bluetooth fast loopback process is sent to the operating system by using the virtual input device created before, so that the operating system of the multimedia device performs a corresponding operation based on the operation information.
It can be understood that, since one bluetooth device node can only be occupied by one process, when starting the native bluetooth service process of the system, it needs to check whether the idle flag of the bluetooth device node is set, and if the idle flag is set, it indicates that the bluetooth fast-loopback process has been ended, and the native bluetooth service process of the operating system of the multimedia device is performed.
It should be noted that after the boot phase is finished, the system will start the native bluetooth service process, and since the native bluetooth service process can provide more functions, the bluetooth needs to be quickly returned to the end of the connection process. As an embodiment, it is determined whether the startup phase is finished, and if the startup phase is finished, the bluetooth fast reconnection procedure is finished, and the idle flag is set, that is, the idle flag is set to the second value.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and those skilled in the art can set the technical solution based on the needs in practical application, and the technical solution is not limited herein.
Through the above description, it is easy to find that the bluetooth communication method provided in this embodiment starts a bluetooth fast backhaul procedure after a virtual node of a bluetooth device is created in a startup phase; reading historical Bluetooth pairing information by using the Bluetooth quick reconnection process, wherein the historical Bluetooth pairing information comprises pairing information of a target Bluetooth device which is successfully paired with the multimedia at the latest time; establishing Bluetooth connection between the Bluetooth equipment virtual node and the target Bluetooth equipment; performing read-write operation on the virtual node of the Bluetooth equipment by using the Bluetooth quick back-connection process so as to read the operation information of the target Bluetooth equipment based on the Bluetooth connection; the operation information is sent to the operating system of the multimedia device through the virtual input device, the virtual input device is established based on the Bluetooth quick-connection process, the multimedia device can be directly paired with the Bluetooth device through the pairing information of the Bluetooth device successfully paired last time in the starting-up stage, the technical problem that the multimedia device cannot start the Bluetooth service in the starting-up stage is solved, the original Bluetooth service of the system cannot be influenced in the using process, and the use experience of a user in the process of using the Bluetooth device is improved.
Further, to achieve the above object, the present invention provides a computer readable storage medium having a bluetooth communication program stored thereon, which when executed by a processor, implements the steps of the bluetooth communication method as described in the previous method embodiment. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. It is determined that, by way of example, the program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A bluetooth communication method for a multimedia device having a bluetooth connection function, the bluetooth communication method comprising the steps of:
starting a Bluetooth quick reconnection process after a Bluetooth device virtual node is established in a starting-up stage;
reading historical Bluetooth pairing information by using the Bluetooth quick reconnection process, wherein the historical Bluetooth pairing information comprises pairing information of a target Bluetooth device which is successfully paired with the multimedia at the latest time;
establishing Bluetooth connection between the Bluetooth equipment virtual node and the target Bluetooth equipment;
performing read-write operation on the virtual node of the Bluetooth equipment by using the Bluetooth quick back-connection process so as to read the operation information of the target Bluetooth equipment based on the Bluetooth connection;
and sending the operation information to an operation system of the multimedia equipment through a virtual input device, wherein the virtual input device is created based on the Bluetooth quick loopback process.
2. The bluetooth communication method of claim 1, wherein said step of reading historical bluetooth pairing information using said bluetooth fast backhaul further comprises, prior to said step of reading historical bluetooth pairing information:
creating the virtual input device using the Bluetooth quick loopback procedure.
3. The bluetooth communication method according to claim 1 or 2, wherein the bluetooth device communication node corresponds to an idle flag, the idle flag has a first value and a second value, and after the step of sending the operation information to the operating system of the multimedia device through the virtual input device, the method further comprises:
judging whether the idle mark is a second value or not;
if the value is the second value, the Bluetooth quick connection process is ended, and a native Bluetooth service process of an operating system of the multimedia device is started.
4. The bluetooth communication method according to claim 3, wherein before the step of determining whether the idle flag is the second value, the method further comprises:
judging whether the starting-up stage is finished or not;
and if so, setting the idle mark as a second value.
5. The bluetooth communication method of claim 3, wherein prior to the step of establishing the bluetooth connection of the bluetooth device virtual node with the target bluetooth device, the method further comprises:
judging whether the pairing information is read successfully;
if the reading is unsuccessful, setting the idle mark as a second value, and ending the Bluetooth fast loopback process;
if the reading is successful, performing pairing action with the target Bluetooth equipment based on the pairing information;
judging whether the pairing with the target Bluetooth equipment is successful or not;
if the pairing is not successful, setting the idle mark as a second value, and ending the Bluetooth fast loopback process;
if the pairing is successful, setting the space mark as a first value, and executing the following steps: and establishing the Bluetooth connection between the Bluetooth equipment virtual node and the target Bluetooth equipment.
6. The bluetooth communication method of claim 2, wherein prior to the step of creating a virtual input device using the bluetooth fast-connect procedure, the method further comprises:
and creating the virtual node of the Bluetooth equipment by utilizing an initialization process.
7. The bluetooth communication method according to claim 6, wherein before the step of starting the bluetooth fast loopback procedure after the creation of the virtual node of the bluetooth device is completed in the power-on stage, the method further comprises:
judging whether the virtual node of the Bluetooth equipment is successfully established;
if the virtual node of the Bluetooth equipment is successfully established, executing the following steps: and creating a virtual input device by using the Bluetooth quick loopback process.
8. The bluetooth communication method according to claim 1, wherein the step of transmitting the operation information to the operating system of the multimedia device through the virtual input device is followed by further comprising:
and the operating system of the multimedia equipment correspondingly operates the multimedia based on the operation information.
9. A multimedia device, the multimedia device characterized in that the mobile terminal further comprises: memory, a processor and a bluetooth communication program stored on the memory and executable on the processor, the bluetooth communication program, when executed by the processor, implementing the steps of the bluetooth communication method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having a bluetooth communication program stored thereon, which when executed by a processor implements the steps of the bluetooth communication method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110792459.XA CN113543104B (en) | 2021-07-13 | 2021-07-13 | Bluetooth communication method, multimedia device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110792459.XA CN113543104B (en) | 2021-07-13 | 2021-07-13 | Bluetooth communication method, multimedia device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113543104A true CN113543104A (en) | 2021-10-22 |
CN113543104B CN113543104B (en) | 2023-10-24 |
Family
ID=78098948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110792459.XA Active CN113543104B (en) | 2021-07-13 | 2021-07-13 | Bluetooth communication method, multimedia device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113543104B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114173315A (en) * | 2022-02-14 | 2022-03-11 | 荣耀终端有限公司 | Bluetooth reconnection method and terminal equipment |
CN114640980A (en) * | 2022-04-21 | 2022-06-17 | 四川长虹电器股份有限公司 | Bluetooth communication method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090023389A1 (en) * | 2007-07-18 | 2009-01-22 | Broadcom Corporation | System and method for remotely controlling bluetooth enabled electronic equipment |
CN106412656A (en) * | 2016-10-26 | 2017-02-15 | 四川长虹电器股份有限公司 | Method enabling Android smart device to quickly connect with Bluetooth |
CN106714084A (en) * | 2016-12-19 | 2017-05-24 | 四川长虹电器股份有限公司 | Method for rapidly connecting android smart device with Bluetooth |
CN107635214A (en) * | 2017-08-21 | 2018-01-26 | 深圳创维-Rgb电子有限公司 | Response method, device, system and readable storage medium storing program for executing based on blue Tooth remote controller |
CN108737869A (en) * | 2018-05-08 | 2018-11-02 | 康佳集团股份有限公司 | Smart television starting processing method based on human body sensing and intelligent television system |
CN110662097A (en) * | 2019-09-02 | 2020-01-07 | 深圳创维-Rgb电子有限公司 | One-key pairing Bluetooth connection processing method, system, remote controller, terminal and medium |
CN112203132A (en) * | 2020-11-13 | 2021-01-08 | 四川长虹电器股份有限公司 | Method for quickly connecting Bluetooth remote controller during startup of android smart television |
-
2021
- 2021-07-13 CN CN202110792459.XA patent/CN113543104B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090023389A1 (en) * | 2007-07-18 | 2009-01-22 | Broadcom Corporation | System and method for remotely controlling bluetooth enabled electronic equipment |
CN106412656A (en) * | 2016-10-26 | 2017-02-15 | 四川长虹电器股份有限公司 | Method enabling Android smart device to quickly connect with Bluetooth |
CN106714084A (en) * | 2016-12-19 | 2017-05-24 | 四川长虹电器股份有限公司 | Method for rapidly connecting android smart device with Bluetooth |
CN107635214A (en) * | 2017-08-21 | 2018-01-26 | 深圳创维-Rgb电子有限公司 | Response method, device, system and readable storage medium storing program for executing based on blue Tooth remote controller |
CN108737869A (en) * | 2018-05-08 | 2018-11-02 | 康佳集团股份有限公司 | Smart television starting processing method based on human body sensing and intelligent television system |
CN110662097A (en) * | 2019-09-02 | 2020-01-07 | 深圳创维-Rgb电子有限公司 | One-key pairing Bluetooth connection processing method, system, remote controller, terminal and medium |
CN112203132A (en) * | 2020-11-13 | 2021-01-08 | 四川长虹电器股份有限公司 | Method for quickly connecting Bluetooth remote controller during startup of android smart television |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114173315A (en) * | 2022-02-14 | 2022-03-11 | 荣耀终端有限公司 | Bluetooth reconnection method and terminal equipment |
CN114640980A (en) * | 2022-04-21 | 2022-06-17 | 四川长虹电器股份有限公司 | Bluetooth communication method and system |
Also Published As
Publication number | Publication date |
---|---|
CN113543104B (en) | 2023-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111142711B (en) | Firmware configuration method and device, storage medium and mobile terminal | |
US11057762B2 (en) | Electronic device and method for switching electronic device between dual standby mode and single standby mode | |
US11048495B2 (en) | Method and apparatus for multimodal operation of near field communications circuitry | |
CN113543104B (en) | Bluetooth communication method, multimedia device and storage medium | |
US11704072B2 (en) | Electronic device and method of utilizing storage space thereof | |
EP3714591B1 (en) | Method for adaptively controlling low power display mode and electronic device thereof | |
US11740681B2 (en) | Electronic device and application managing method thereof | |
CN112689172A (en) | Program playing method and device, set top box and storage medium | |
CN111399874A (en) | System upgrading method and device, storage medium and intelligent wearable device | |
CN111726848B (en) | Equipment binding method, target starting device, fixed terminal and storage medium | |
CN112612526B (en) | Application program control method, device, terminal equipment and storage medium | |
CN112612593B (en) | Bluetooth control method, device, terminal equipment and computer readable storage medium | |
CN112527425A (en) | Startup picture display method, terminal and storage medium | |
US11868249B2 (en) | Method and apparatus for reducing operation of garbage collection | |
CN114594965A (en) | Application software installation method and device, terminal equipment and storage medium | |
CN107015874B (en) | Data transmission control method, device and terminal | |
WO2022127546A1 (en) | Gateway service processing method, gateway, receiving terminal, gateway service processing system, and storage medium | |
WO2022183667A1 (en) | Method and apparatus for modifying refurbishment package, and terminal device and storage medium | |
CN112559081A (en) | Data loading method, device, equipment and computer readable storage medium | |
CN112346885A (en) | Electronic device control method, device, equipment and computer readable storage medium | |
US20240256231A1 (en) | Electronic device and method for displaying home screen using same | |
CN112631639B (en) | Patch code adding method, device, equipment and computer readable storage medium | |
CN112584215B (en) | Video transmission method and device, intelligent television and storage medium | |
US20240231855A1 (en) | Method and electronic device for using data of external electronic device | |
CN113079412A (en) | Advertisement playing method and device, television and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |