WO2024001435A1 - Display apparatus and data processing method - Google Patents

Display apparatus and data processing method Download PDF

Info

Publication number
WO2024001435A1
WO2024001435A1 PCT/CN2023/088758 CN2023088758W WO2024001435A1 WO 2024001435 A1 WO2024001435 A1 WO 2024001435A1 CN 2023088758 W CN2023088758 W CN 2023088758W WO 2024001435 A1 WO2024001435 A1 WO 2024001435A1
Authority
WO
WIPO (PCT)
Prior art keywords
display device
control device
link
cis
broadcast isochronous
Prior art date
Application number
PCT/CN2023/088758
Other languages
French (fr)
Chinese (zh)
Inventor
周颖昕
杨坤
姜晓胜
邓子敬
Original Assignee
海信视像科技股份有限公司
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
Priority claimed from CN202210770347.9A external-priority patent/CN115278322B/en
Priority claimed from CN202210771143.7A external-priority patent/CN115278928A/en
Priority claimed from CN202210771127.8A external-priority patent/CN115175156A/en
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Publication of WO2024001435A1 publication Critical patent/WO2024001435A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the embodiments of the present application relate to Bluetooth technology, and in particular, to a display device and a data processing method.
  • the existing Bluetooth communication between the display device and the control device all transmits data through the Asynchronous Connection-oriented link (ACL) link.
  • the control device corresponds to the user control instructions through the ACL link.
  • the data is sent to the display device to control the display device.
  • This application provides a display device and a data processing method, which can improve the flexibility of data transmission, and when multiple data need to be transmitted, parallel transmission of data can be realized and the transmission efficiency can be improved.
  • this application provides a display device, which includes:
  • a communicator for communicating with an external device under the control of the processor, the external device including a control device;
  • Memory used to store computer instructions
  • the processor coupled to the memory, is configured to execute computer instructions such that the display device: receives the control device via an isochronous flow CIS link connecting the display device and the control device.
  • the target data sent, the target data is generated by the control device according to the received user control instruction;
  • this application provides a data processing method for a display device, the method includes:
  • Figure 1 is an operation scene between the control device and the display device according to the embodiment of the present application
  • FIG. 2 is a hardware configuration block diagram of the control device 100 according to the embodiment of the present application.
  • FIG. 3 is a hardware configuration block diagram of the display device 200 according to the embodiment of the present application.
  • Figure 4 is a schematic diagram of the interaction flow between the control device and the display device according to the embodiment of the present application.
  • Figure 5 is a schematic diagram of using the CIE flag to end a CIS event according to an embodiment of the present application
  • Figure 6 is a schematic diagram of the CIS PDU Header in the embodiment of this application.
  • Figure 7 is one of the flow diagrams of a data processing method according to an embodiment of the present application.
  • Figure 8 is a second schematic flowchart of a data processing method according to an embodiment of the present application.
  • Figure 9 is the third flowchart of a data processing method according to the embodiment of the present application.
  • Figure 10 is the fourth schematic flowchart of a data processing method according to the embodiment of the present application.
  • Figure 11 is a schematic flowchart 5 of a data processing method according to an embodiment of the present application.
  • Figure 12 is one of the schematic diagrams showing how different transmission parameters affect transmission results according to an embodiment of the present application.
  • Figure 13 is a second schematic diagram showing how different transmission parameters affect the transmission results according to the embodiment of the present application.
  • Figure 14 is the third schematic diagram showing how different transmission parameters affect the transmission results according to the embodiment of the present application.
  • Figure 15 is the fourth schematic diagram showing how different transmission parameters affect the transmission results according to the embodiment of the present application.
  • Figure 16 is a schematic diagram of a software configuration of the display device 200.
  • FIG. 17 is a schematic diagram of the control device in the embodiment of the present application.
  • Figure 18 is a schematic diagram of broadcast isochronous group data packets in the embodiment of the present application.
  • Figure 19 is a schematic diagram of broadcast isochronous group data packets in the embodiment of the present application.
  • Figure 20 is a schematic diagram of broadcast isochronous group data packets in the embodiment of the present application.
  • Figure 21 is a schematic diagram of broadcast isochronous group data packets in the embodiment of the present application.
  • FIG. 22 is a schematic diagram of the control device in the embodiment of the present application.
  • Figure 23 is a flow chart of the OTA upgrade method in the embodiment of the present application.
  • Figure 24 is a flow chart of the OTA upgrade method in the embodiment of the present application.
  • Figure 25 is one of the interactive flow charts of the control method of the display device in the embodiment of the present application.
  • Figure 26 is the second interactive flow chart of the control method of the display device in the embodiment of the present application.
  • Figure 27 is the third interactive flow chart of the control method of the display device in the embodiment of the present application.
  • Figure 28 is the fourth interactive flow chart of the control method of the display device in the embodiment of the present application.
  • Figure 29 is the fifth interactive flow chart of the control method of the display device in the embodiment of the present application.
  • Figure 30 is the sixth interactive flow chart of the control method of the display device in the embodiment of the present application.
  • the display device provided by the embodiment of the present application can have a variety of implementation forms, for example, it can be a TV, a smart TV, a laser projection device, a monitor, an electronic bulletin board, an electronic table, a mobile phone, Tablets, laptops, PDAs, vehicle electronic devices, etc.
  • FIG. 1 is a schematic diagram of an operation scenario between a display device and a control device according to an embodiment, where the control device includes an intelligent device or a control device. As shown in FIG. 1 , the user can operate the display device 200 through the smart device 300 or the control device 100 .
  • control device 100 may be a remote controller.
  • the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods to control the display device 200 through wireless or wired methods.
  • the user can control the display device 200 by inputting user instructions through buttons on the remote control, voice input, control panel input, etc.
  • a smart device 300 (such as a mobile terminal, a tablet, a computer, a laptop, etc.) can also be used to control the display device 200 .
  • the display device 200 is controlled using an application running on the smart device.
  • the display device may not use the above-mentioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
  • the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300 .
  • the display device 200 can directly receive the user's voice command control through a module configured inside the display device 200 to obtain voice commands.
  • the user's voice command control can also be received through a voice control device provided outside the display device 200 .
  • display device 200 also communicates data with server 400.
  • the display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.
  • the server 400 can provide various content and interactions to the display device 200.
  • the server 400 may be a cluster or multiple clusters, and may include one or more types of servers.
  • FIG. 2 schematically shows a configuration block diagram of the control device 100 according to an exemplary embodiment.
  • the control device 100 includes a processor 110, a communication interface 130, a user input/output interface 140, an external memory, and a power supply.
  • the control device 100 can receive input operation instructions from the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, thereby mediating the interaction between the user and the display device 200 .
  • the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a processor 250, a display 260, an audio output interface 270, a user interface 280, an external memory, and a power supply. At least one.
  • the processor includes a video processor, an audio processor, a graphics processor, RAM, ROM, first to nth interfaces for input/output.
  • the display 260 includes a display screen component for presenting images, a driving component for driving image display, a component for receiving image signals output from the processor, displaying video content, image content, menu control interface components, and a user control UI interface. .
  • the display 260 can be a liquid crystal display, an OLED display, a projection display, or a projection device and a projection screen.
  • the communicator 220 is a component for communicating with external devices or servers according to various communication protocol types.
  • the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or near field communication protocol chips, and an infrared receiver.
  • the display device 200 can establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220 .
  • the user interface 280 can be used to receive control signals from the control device 100 (such as an infrared remote control, etc.). It can also be used to directly receive user input operation instructions and convert the operation instructions into instructions that the display device 200 can recognize and respond to. In this case, it can be called a user input interface.
  • the detector 230 is used to collect signals from the external environment or interactions with the outside.
  • the detector 230 includes a light receiver, a sensor used to collect ambient light intensity; or the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures, or , the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
  • the external device interface 240 may include, but is not limited to, any one of 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, etc., or Multiple interfaces. It can also be a composite input/output interface formed by the above-mentioned plurality of interfaces.
  • HDMI high-definition multimedia interface
  • component analog or data high-definition component input interface
  • CVBS composite video input interface
  • USB USB input interface
  • RGB port etc.
  • Multiple interfaces or Multiple interfaces. It can also be a composite input/output interface formed by the above-mentioned plurality of interfaces.
  • the tuner 210 receives broadcast television signals via wired or wireless reception, and receives broadcast television signals from a plurality of wireless or wired broadcast television signals. Demodulate audio and video signals, such as EPG data signals.
  • the processor 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the processor 250 is located, such as an external set-top box. wait.
  • the processor 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory (internal memory or external memory).
  • the processor 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on display 260, processor 250 may perform operations related to the object selected by the user command.
  • the processor includes a central processing unit (CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), and a random access memory (Random Access Memory, RAM). , read-only memory (Read-Only Memory, ROM), at least one of the first to nth interfaces for input/output, communication bus (Bus), etc.
  • RAM is also called main memory, which is an internal memory that directly exchanges data with the processor. It can be read and written at any time (except when refreshing), is very fast, and is often used as a temporary data storage medium for the operating system or other running programs.
  • the biggest difference between it and ROM is the volatility of data, that is, the stored data will be lost once the power is turned off.
  • RAM is used in computers and digital systems to temporarily store programs, data, and intermediate results. ROM works in a non-destructive reading mode and can only read information but cannot write information. Once the information is written, it is fixed and will not be lost even if the power is turned off, so it is also called fixed memory.
  • the user may input a user command into a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI).
  • GUI graphical user interface
  • the user can input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
  • the display device provided by the embodiment of the present application includes: a display and a processor, where the processor corresponds to the processor 260 in Figure 3 above.
  • the control device in the embodiment of the present application may be the control device 100 in FIG. 1
  • the display device may be the display device 200 in FIG. 1 .
  • An embodiment of the present application provides a display device.
  • the display device includes: a processor and a display.
  • the processor is configured to: pass a Connected Isochronous Stream (CIS) chain between the display device and the control device. path to receive target data sent by the control device.
  • the target data is generated by the control device according to the received user control instructions; through the CIS link, a reply message is sent to the control device.
  • the reply message is used to represent that the target data has been received; based on the target data , obtain the target information corresponding to the user control instruction; the display is configured to: display the target information.
  • CIS Connected Isochronous Stream
  • Figure 16 is a schematic diagram of a software configuration of a display device. As shown in Figure 16, the system is divided into four layers. From top to bottom they are the Applications layer (referred to as the "Application layer”), the Application Framework Framework) layer (referred to as “framework layer”), Android runtime (Android runtime) and system library layer (referred to as “system runtime library layer”), and kernel layer.
  • the kernel layer contains at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply Driver etc.
  • An embodiment of the present application provides a control device.
  • the control device includes: a processor configured to: receive user control instructions; generate target data based on the user control instructions; and send data to the control device through a CIS link between the control device and the display device.
  • the display device sends target data so that the display device displays target information corresponding to the user control instruction based on the target data; through the CIS link, a reply message sent by the display device is received, and the reply message is used to indicate that the display device has received the target data.
  • the control device generates target data based on user control instructions, sends the target data to the display device through the CIS link between the control device and the display device, and the display device receives the target data sent by the control device through the CIS link and sends a reply to the control device.
  • message (the reply message is used to indicate that the display device has received the target data) and based on the target data, obtain the target information corresponding to the user control instruction, display the target information, and control the device to receive the reply message.
  • the user control instructions can be the user's voice control instructions, the user's key control instructions, or other user control instructions. Control instructions are not limited in the embodiments of this application.
  • the target data is generated based on a complete user control instruction.
  • the target data includes at least one data packet. Specifically, based on the size of the target data and the length of each data packet, it is determined how many data packets the target data needs to be sent.
  • the target data is sent to the display device through the CIS link between the control device and the display device.
  • the control device divides the target data into at least one data packet and sends it to the display device.
  • the display device will reply with a A message used to indicate that a data packet has been received.
  • the reply message sent by the display device in the embodiment of the present application to the control device is used to indicate that the display device has completed receiving the target data.
  • CIS is a data stream transmission channel with a fixed time interval (ISO Interval) established between connected devices based on the established ACL link.
  • the ACL link and CIS link are both low-power Bluetooth transmission links. .
  • Displaying target information may include at least one of the following: updating the interface (such as interface switching), displaying pop-up messages (such as popping up a window on the current interface or displaying another interface in a floating manner on the current interface), moving the focus of the display device (such as : the focus of the display device moves from one control to another), the display target information is specifically determined according to the actual situation, and is not limited in the embodiments of this application.
  • the object where the focus is located is the object currently in the selected state.
  • the display target information is to update the interface of channel 1 to the interface of channel 2; if the user If the user's control instruction is a voice control instruction, and the content of the instruction is "today's weather", the display target information is to display information about today's weather conditions in a pop-up window on the current interface; if the user's control instruction is a voice control instruction, and the content of the instruction is is "xxx TV series”, the display target information is to display all the information about "xxx TV series” in the current interface; if the current interface is selected control 1 and the user's control instruction is to select control 2, the display target information is to focus from Move control 1 to control 2 and select control 2.
  • the control device generates target data based on user control instructions, and sends the target data to the display device through the CIS link between the control device and the display device.
  • Send target data the display device receives the target data sent by the control device through the CIS link, sends a reply message to the control device (the reply message is used to indicate that the display device has received the target data) and based on the target data (the control device receives the reply message) , obtain the target information corresponding to the user control instruction, and display the target information.
  • the CIS link is based on the ACL link, there are both ACL links and CIS links that can be used for data transmission between the control device and the display device in this solution.
  • ACL link is based on the ACL link, there are both ACL links and CIS links that can be used for data transmission between the control device and the display device in this solution.
  • This solution adds a CIS link on the basis of the ACL link, which can improve the flexibility of data transmission.
  • parallel transmission of data can be achieved. Improve transmission efficiency.
  • target data is sent to the display device through the CIS link.
  • the link for sending the target data can be determined based on whether the ACL link is occupied. For example, when the ACL link between the control device and the display device is occupied, the target data is sent to the display device through the CIS link; when the ACL link between the control device and the display device is not occupied , sending target data to the display device through the ACL link.
  • the link to which the target data is sent can also be determined based on whether the link is occupied.
  • target data is sent to the display device through the CIS link; when the ACL link between the control device and the display device When the ACL link is not occupied and the CIS link is occupied, the target data is sent to the display device through the ACL link; when the ACL link between the control device and the display device is not occupied and the CIS link is not occupied Next, send the target data to the display device through either ACL link or CIS link.
  • the target data when the ACL link between the control device and the display device is occupied, the target data is sent to the display device through the CIS link; in this way, when the ACL link is in use, the target data is sent through the CIS link Transmitting target data can realize parallel transmission of data, saving time and improving transmission efficiency.
  • the target data is sent to the display device through the CIS link.
  • the link for sending the target data is determined: when the user control instruction is a voice control instruction, the target data is sent to the display device through the CIS link; When the user control instruction is other control instruction (such as key control instruction, etc.), the target data is sent to the display device through the ACL link.
  • the target data is sent to the display device through the CIS link; when the user control instruction is other control instructions, the target data is sent to the display device through the ACL link.
  • Send target data Among the data transmitted between the display device and the control device, voice data has the highest requirements on the link and consumes the most resources. Therefore, the most resource-consuming voice data is transmitted through the CIS link, and the ACL link is no longer needed. It is established or maintained according to the configuration that has the highest link requirements for transmitting voice data, thus saving a lot of resources. At the same time, parallel transmission of target data generated by voice control instructions and other control instructions can be achieved, improving transmission efficiency.
  • the control device before the control device sends target data to the display device, the control device first determines whether there is a CIS link with the display device. When a CIS link exists between the control device and the display device, target data is sent to the display device through the CIS link, and the display device receives the target data. When there is no CIS link between the control device and the display device, the control device sends a request message to the display device. The request message is used to request the establishment of a CIS link; the display device receives the request message and sends a response message to the control device. The response message is used to represent the agreement to establish a CIS link. The control device receives the response message sent by the display device. Based on the response message, a CIS link is established between the control device and the display device, and target data is sent to the display device through the CIS link.
  • the CIS link can be established before the control device and the display device communicate, or it can be a CIS link established only when data needs to be transmitted through the CIS link. Specifically, it can be determined according to actual needs. This application The examples are not limiting.
  • the control device before the control device sends target data to the display device, the control device first determines whether there is a CIS link between the control device and the display device. If there is a CIS link between the control device and the display device, the control device uses the CIS link, sending target data to the display device, and the display device receives the target data. When there is no CIS link between the control device and the display device, the control device sends a request message to the display device. The request message is used to request the establishment of a CIS link. path; the display device receives the request message and sends a response message to the control device. The response message is used to indicate the agreement to establish the CIS link.
  • the control device receives the response message sent by the display device, and based on the response message, establishes a connection between the control device and the display device.
  • CIS link Send target data to the display device through the CIS link. Therefore, the timing of establishing the CIS link can be flexibly selected. It can be established before the control device communicates with the display device, or it can be established when the CIS link needs to be used.
  • the user control instruction is a voice control instruction.
  • the display device After receiving the reply message sent by the display device through the CIS link, the display device resets the timer and starts the timer timing; the control device does not receive the message when the timer times out.
  • the CIS link is disconnected; when a new voice control command is received before the timer times out, the timer is stopped.
  • the target data generated based on the user's voice control instruction is sent to the display device.
  • the display device has completed the reception, resets the timer, and starts the timer timing.
  • the control device is in If a new voice control command from the user is received before the timer expires, the timing will be stopped; if the control device does not receive a new voice control command from the user before the timer expires, the control device sends a message to the display device for disconnection.
  • the display device receives the instruction from the control device to disconnect the CIS link and releases the resources used by the display device to maintain the CIS link.
  • the total time duration of the timer can be set to a preset duration, and whether the timer times out can be determined based on whether the timer's timing duration is equal to the preset duration.
  • the timer's timing duration is equal to the preset duration, it is determined that the timer has timed out.
  • the preset duration can be a fixed value, and the preset duration can also be dynamically adjusted according to the user's history of using voice control instructions.
  • FIG. 4 it is a schematic flowchart of using a timer to determine whether the CIS link needs to be disconnected, including steps 401 to 413.
  • the control device receives the user's voice control instruction.
  • the control device determines whether a CIS link exists.
  • the control device sends a request message to the display device.
  • the request message is used to request the establishment of a CIS link.
  • the display device receives the request message sent by the control device.
  • the display device sends a response message to the control device according to the request message.
  • the control device receives the response message sent by the display device.
  • the control device establishes a CIS link based on the response message.
  • the control device generates target data based on voice control instructions.
  • the control device sends target data to the display device through the CIS link.
  • the display device receives the target data sent by the control device.
  • the display device obtains target information corresponding to the user instruction based on the target data.
  • the display device displays target information.
  • the display device sends a reply message to the control device through the CIS link.
  • the control device receives the reply message sent by the display device.
  • the control device determines whether a new voice control command is received before the timer times out.
  • the control device sends a disconnection CIS link instruction to the display device and releases resources.
  • the display device receives the disconnection CIS link instruction sent by the control device and releases the resources.
  • steps 401 to 419 is determined according to actual needs and is not limited in the embodiments of this application.
  • step 402 and step 409 can be executed at the same time, or step 409 can be executed first and then step 402.
  • the user control instruction is a voice control instruction.
  • the display device After the display device receives the reply message sent by the display device through the CIS link, it resets the timer and starts the timer timing; the control device does not receive the message when the timer times out. If a new voice control command is received, the CIS link is disconnected; if a new voice control command is received before the timer times out, the timer is stopped. Because the frequency of users using the voice control function of the control device is relatively low, leaving the CIS link idle for a long time will waste resources. Therefore, by setting a timer, when the timer times out, the control device has not received the user's voice control. command, the CIS link can be disconnected, thereby reducing idle waste of resources.
  • the control device sends target data to the display device through at least one CIS event on the CIS link, and each CIS event includes at least one CIS sub-event; the display device uses at least one CIS event on the CIS link , receive the target data, and the display device sends a reply message to the control device.
  • the control device After the control device receives the reply message sent by the display device, the control device sends an instruction message to the display device.
  • the instruction message is used to indicate that the target data corresponding to the user control instruction has been sent.
  • the display device receives the instruction message, and according to the instruction message, closes the last CIS event in at least one CIS event, so that the display device no longer listens to the CIS sub-event of the last CIS event.
  • a CIS event has a fixed interval duration, and the interval duration can be adjusted according to actual needs;
  • a CIS event includes at least one CIS sub-event, and each sub-event also has a fixed interval duration.
  • the interval length can also be adjusted according to actual needs.
  • a data packet is transmitted through a CIS sub-event.
  • a CIS link includes at least one CIS event, and each CIS event includes at least one CIS sub-event. Each sub-event is used to transmit a data packet.
  • a CIS link includes N(N is an integer greater than 0) CIS events, wherein both CIS event 1 and CIS event N include 4 CIS sub-events, and each of the CIS events not shown between CIS event 1 and CIS event N also has Including 4 CIS sub-events, each CIS sub-event is used to transmit a data packet. Therefore, up to 4 data packets can be transmitted in any CIS event on the CIS link. Specifically, each CIS event can transmit up to 4 data packets.
  • Transmitting 4 data packets can be understood as being affected by other factors (such as the number of bursts, network environment congestion, etc.).
  • Each CIS event can actually transmit 1, 2, 3 or 4 data packets, for example, in Figure 12
  • One CIS event can be used to transmit one data packet.
  • one CIS event can be used to transmit 2 data packets.
  • one CIS event can be used to transmit 4 data packets.
  • the target data is divided into at least one data packet, and the control device sends at least one data packet to the display device through at least one corresponding CIS sub-event (one data packet corresponds to one CIS sub-event), and the display device responds in each sub-event.
  • a reply message is sent to the control device through the CIS sub-event, and the control device receives the reply message of the data packet corresponding to the last CIS sub-event (that is, the control device receives the reply message of the last data packet in the target data) Afterwards, the control device sends an instruction message to the display device. After receiving the instruction message, the display device closes the CIS event where the last CIS sub-event is located.
  • the display device will no longer continue to listen for the remaining duration of the CIS event interval.
  • no data packet is sent in the sub-event (that is, the display device no longer continues to listen to the sub-event after the sub-event of receiving the indication message in the last CIS event).
  • the display device continues to listen. Subevent in the next CIS event.
  • the sender in order to use the CIE flag bit to close the CIS event in advance, in the Nth CIS (CIS N event) event, the sender completes sending the data (Data) and receives the Ack reply from the receiver. Finally, the sender sends a data packet with a CIE of 1. After receiving the data packet with a CIE of 1, the receiving end ends the CIS N event early.
  • CIS sub-event 3 CIS sub-event 4
  • CIS sub-event 4 During the entire interval, that is, from the time after the CIE of sub-event 2 of the CIS N event is sent to the arrival of the next CIS event (the shaded area indicated by the label 600), the display device does not need to monitor the sub-events within this time period. Therefore, during this time Within the duration, resources can be allocated to other operations.
  • the indication message is used to indicate that the target data corresponding to the user control instruction has been sent.
  • the display device receives the indication message, it can determine that the target data has been sent, and therefore the last CIS event used to transmit the target data can be closed.
  • the indication message may include information that the target data has been sent.
  • the indication message may also include a flag bit indicating that the target data has been sent. It may also include a flag bit indicating closing the current CIS event (the last CIS event). It may also include Other contents can be determined according to actual needs and are not limited in the embodiments of this application.
  • the packet header (Connected Isochronous Protocol Data Unit Header, CIS PDU Header) of the CIS protocol data unit, in which the Close Isochronous Event (CIE) flag is set to 1, that is Close the current CIS event, therefore, the data packet with CIE 1 can be used as an indication message.
  • CIE Close Isochronous Event
  • the control device sends target data to the display device through at least one CIS event on the CIS link, and each CIS event includes at least one CIS sub-event; the display device uses at least one CIS event on the CIS link, After receiving the target data, the display device sends a reply message to the control device. After the control device receives the reply message sent by the display device, the control device sends an instruction message to the display device. The instruction message is used to indicate that the target data corresponding to the user control instruction has been sent. , the display device receives the instruction message, and according to the instruction message, closes the last CIS event in at least one CIS event, so that the display device no longer listens to the CIS sub-event of the last CIS event.
  • the control device After the control device receives the reply message from the display device and determines that the display device has completed receiving the target data, it sends an instruction message to the display device to indicate that the target data corresponding to the user control instruction has been sent, and the CIS event can be closed.
  • the display device closes the current CIS event (i.e., the last CIS event), so that the display device does not need to monitor the subsequent CIS sub-events of the CIS event, that is, the CIS event ends early. In this way, after the CIS event for the rest of the time, Resources can be allocated to other operations (such as interacting with other Bluetooth devices, sending and receiving WiFi data, etc.), thus saving resources and improving the work efficiency of the display device.
  • a data processing method for a display device is provided. As shown in Figure 7 , the method includes the following steps 101 to 108.
  • the control device receives user control instructions.
  • the control device generates target data based on user control instructions.
  • the control device sends the target data to the display device.
  • the display device receives the target data sent by the control device.
  • the display device obtains target information corresponding to the user control instruction based on the target data.
  • the display device sends a reply message to the control device.
  • the reply message is used to indicate that the target data has been received;
  • the control device receives the reply message sent by the display device.
  • the control device generates target data based on user control instructions, and sends the target data to the display device through the CIS link between the control device and the display device.
  • Send target data the display device receives the target data sent by the control device through the CIS link, sends a reply message to the control device (the reply message is used to indicate that the display device has received the target data) and based on the target data (the control device receives the reply message) , obtain the target information corresponding to the user control instruction, and display the target information.
  • the CIS link is based on the ACL link, there are both ACL links and CIS links that can be used for data transmission between the control device and the display device in this solution.
  • ACL link is based on the ACL link, there are both ACL links and CIS links that can be used for data transmission between the control device and the display device in this solution.
  • This solution adds a CIS link on the basis of the ACL link, which can improve the flexibility of data transmission.
  • parallel transmission of data can be achieved. Improve transmission efficiency.
  • step 103 may be implemented through the following step 103a or step 103b.
  • the control device sends the target data to the display device through the CIS link.
  • the control device sends target data to the display device through the CIS link.
  • the target data when the ACL link between the control device and the display device is occupied, the target data is sent to the display device through the CIS link; or, when the user control instruction is a voice control instruction, Send the target data to the display device through the CIS link.
  • the target data when the ACL link is in use, the target data is transmitted through the CIS link, or the voice data that consumes Bluetooth resources is transmitted through the CIS link. Data can be realized. parallel transmission to improve data transmission efficiency.
  • step 103 can be implemented specifically through the following steps 103c to 103i.
  • the control device determines whether there is a CIS link between the control device and the display device.
  • step 103i If there is a CIS link between the control device and the display device, step 103i is executed; otherwise, step 103d is executed.
  • the control device sends a request message to the display device, and the request message is used to request the establishment of the CIS link.
  • the display device receives the request message sent by the control device.
  • the display device sends a response message to the control device according to the request message.
  • the response message is used to indicate agreement to establish the CIS link.
  • the control device receives a response message sent by the display device.
  • the response message is used to indicate that the display device agrees to establish the CIS link.
  • the control device establishes a CIS link between the control device and the display device based on the response message.
  • the control device sends target data to the display device.
  • the control device before the control device sends target data to the display device, the control device first determines whether there is a CIS link between the control device and the display device. If there is a CIS link between the control device and the display device, the control device uses the CIS link, sending target data to the display device, and the display device receives the target data. When there is no CIS link between the control device and the display device, the control device sends a request message to the display device. The request message is used to request the establishment of a CIS link. path; the display device receives the request message and sends a response message to the control device. The response message is used to indicate the agreement to establish the CIS link.
  • the control device receives the response message sent by the display device, and based on the response message, establishes a connection between the control device and the display device.
  • CIS link Send target data to the display device through the CIS link. Therefore, the timing of establishing the CIS link can be flexibly selected. It can be established before the control device communicates with the display device, or it can be established when the CIS link needs to be used.
  • the user control instructions are voice control instructions.
  • the data processing method in the embodiment of the present application also includes the following steps 109, 110 and 110a. That is step 110b.
  • the control device determines whether a new voice control command is received before the timer times out.
  • step 110b If a new voice control instruction is received, step 110b is executed, otherwise step 110a is executed.
  • the user control instruction is a voice control instruction.
  • the display device After the display device receives the reply message sent by the display device through the CIS link, it resets the timer and starts the timer timing; the control device does not receive the message when the timer times out. If a new voice control command is received, the CIS link is disconnected; if a new voice control command is received before the timer times out, the timer is stopped. Because the frequency of users using the voice control instructions of the control device is relatively low, and the CIS link is idle for a long time, it will waste resources. Therefore, by setting a timer, when the timer times out, the control device has not received the user's voice control. command, the CIS link can be disconnected, thereby reducing idle waste of resources.
  • the above step 103 can be implemented through the following step 103j, and the above step 104 can be implemented through the following step 104a.
  • the data processing method also includes the following steps 111 to 113.
  • the control device sends target data to the display device through at least one CIS event on the CIS link, and each CIS event includes at least one CIS sub-event.
  • the display device receives the target data through at least one CIS event on the CIS link.
  • the control device sends an instruction message to the display device.
  • the instruction message is used to indicate that the target data corresponding to the user control instruction has been sent.
  • the display device receives the instruction message sent by the control device.
  • the display device closes the last CIS event among at least one CIS event according to the instruction message.
  • the display device after the display device closes the last CIS event in at least one CIS event, the display device no longer monitors the CIS sub-event of the last CIS event.
  • the control device sends target data to the display device through at least one CIS event on the CIS link, and each CIS event includes at least one CIS sub-event; the display device uses at least one CIS event on the CIS link, After receiving the target data, the display device sends a reply message to the control device. After the control device receives the reply message sent by the display device, the control device sends an instruction message to the display device. The instruction message is used to indicate that the target data corresponding to the user control instruction has been sent. , the display device receives the instruction message, and according to the instruction message, closes the last CIS event in at least one CIS event, so that the display device no longer listens to the CIS sub-event of the last CIS event.
  • the control device receives the reply message from the display device and confirms that the display device has completed receiving the target data. Afterwards, an instruction message is sent to the display device to indicate that the target data corresponding to the user control instruction has been sent and the CIS event can be closed. After receiving the instruction message, the display device closes the current CIS event (i.e., the last CIS event). , so that the display device does not need to monitor the subsequent CIS sub-events of the CIS event, that is, the CIS event ends early. In this way, in the remaining time of the CIS event, resources can be allocated to other operations (such as interacting with other Bluetooth devices) , WiFi data sending and receiving, etc.), thereby saving resources and improving the work efficiency of the display device.
  • the current CIS event i.e., the last CIS event
  • the transmission parameters of the CIS link when the network environment is not congested, are adjusted to the first target parameter; when the network environment is congested, the transmission parameters of the CIS link are adjusted to the second target parameter;
  • the transmission parameters of the CIS link include at least one of the following: burst number (BN), number of subevents (NSE), flush timeout (FT), and the NSE in the first target parameter is greater than The NSE in the second target parameter, the BN in the first target parameter are greater than the BN in the second target parameter, and the FT in the first target parameter is smaller than the FT in the second target parameter.
  • BN is used to indicate the number of different data packets allowed to be sent in a CIS event
  • NSE is used to indicate the maximum number of sub-events allowed to exist in a CIS event
  • FT is used to indicate that the same sub-event is allowed to exist in FT at most. Sent in event.
  • the data transmission rate can be increased by increasing NSE, and/or increasing BN, and/or decreasing FT.
  • PDUs Protocol Data Units
  • the network environment is congested and four PDUs need to be transmitted. Each PDU needs to be sent three times.
  • a maximum of two different packets are allowed to be sent per CIS event.
  • the PDU corresponding to 1 was lost, and the PDU corresponding to 2 was sent 3 times in the second CIS event and received.
  • the PDU corresponding to 3 was sent once in the second CIS event but no response was received, but it could not be sent further in the third CIS event, so the PDU corresponding to 3 was lost. Therefore, the transmission was completed 0, 1, 2,
  • the number of CIS events required for the four PDUs corresponding to 3 is 2 (that is, 2 intervals are required), but the first PDU and the third PDU are both lost, and the packet loss rate is 50%.
  • each CIS sub-event is allowed to be sent in two CIS events, then the PDU corresponding to 0 is sent 3 times and a response is received, and the PDU corresponding to 1 is sent once in the first CIS event. No response was received, and the response was received after sending two more times in the second CIS event. The PDU corresponding to 2 was sent two times in the second CIS event but no response was received. It was continued to be sent once and received in the third CIS event. When the response is received, the PDU corresponding to 3 is sent three times in the third CIS event and the response is received.
  • the number of CIS events required to complete the transmission of the 4 PDUs corresponding to 0, 1, 2, and 3 is 3 (that is, 3 intervals are required ), but all PDUs are transmitted without packet loss; it can be seen that when FT increases from 1 to 2 and the same 4 PDUs are transmitted, the packet loss rate in Figure 14 is 50%. In Figure 15, no packet is lost, which reduces the loss rate. Package rate.
  • the transmission parameters of the CIS link when the network environment is not congested, are adjusted to the first target parameter; when the network environment is congested, the transmission parameters of the CIS link are adjusted to the second target parameter; CIS
  • the transmission parameters of the link include at least one of the following: the number of bursts BN, the number of sub-events NSE, and the refresh timeout FT.
  • the NSE in the first target parameter is greater than the NSE in the second target parameter.
  • the BN in the first target parameter is greater than the NSE in the second target parameter.
  • FT in the first target parameter is smaller than FT in the second target parameter.
  • FIG 17 is a schematic diagram of a display device in an embodiment of the present application.
  • the display device 1700 includes: a display 1730 for displaying images and/or user interfaces from the broadcast system and the network, and a memory 1740 configured to store a computer Instructions and code stream data, communicator, configured to communicate with external devices over the network;
  • the processor 1710 connected to the display 1730, the memory 1740 and the communicator 1720, is configured to execute computer instructions so that the display device: obtains firmware data, divides the firmware data into multiple sub-data, and generates corresponding corresponding sub-data. Broadcast isochronous streaming packets.
  • Firmware data is an upgrade file used for OTA upgrade of the control device and is stored in the display device. Since firmware data usually occupies a large storage space, the firmware data can be divided into multiple sub-data and then each sub-data is transmitted to the control device.
  • this application can fill a single sub-data into a single broadcast isochronous flow data packet (ie, BIS data packet), thereby generating a broadcast isochronous flow data packet corresponding to each sub-data.
  • broadcast isochronous flow data packets can form a broadcast isochronous group data packet
  • multiple broadcast isochronous group data packets can be generated based on multiple broadcast isochronous flow data packets.
  • N N is a positive integer, for example, it can be 2, 3, 4, 5, etc.
  • broadcast isochronous flow data packets can be combined into one broadcast isochronous group data packet. Assume that a total of 15 broadcast isochronous flow data packets are included, and 5 broadcast isochronous flow data packets are used as one broadcast isochronous group data packet, and 3 broadcast isochronous group data packets can be generated.
  • the processor is configured to: broadcast and send multiple broadcast isochronous group data packets, so that one or more control devices obtain firmware data from the broadcast isochronous group data after receiving the broadcast isochronous group data packet, and obtain firmware data according to the broadcast isochronous group data packet.
  • the firmware data can be downloaded over the air to upgrade the control device.
  • the multiple broadcast isochronous group data packets may be broadcast and sent.
  • the plurality of broadcast isochronous group data packets may be broadcast and sent periodically.
  • One or more control devices can receive broadcast isochronous group data packets at the same time.
  • 31 control devices can receive broadcast isochronous group data packets at the same time.
  • the control device After the control device receives multiple broadcast isochronous group data packets, it can obtain firmware data from the broadcast isochronous group data packets to perform OTA upgrades on itself.
  • the control device may be a remote control that communicates with the display device according to a Bluetooth protocol, for example, the technical standard of Low Energy Audio (Low Energy Audio).
  • Low Energy Audio Low Energy Audio
  • the processor 1710 can process each broadcast isochronous stream data packet in sequence. Numbering so that each broadcast isochronous flow packet has sequentially numbered sequence number information. For example, the numbering can start from 0, and the sequence number information of each broadcast isochronous flow data packet is 0, 1, 2, 3... See Figure 18, which is a type of broadcast isochronous group data packet in the embodiment of the present application. Schematic diagram. It can be seen that there are a total of 12 broadcast isochronous flow data packets, and the sequence number information is from 0 to 11.
  • broadcast isochronous flow data packets form a broadcast isochronous group data packet
  • a total of 3 broadcast isochronous groups can be generated. data pack. It can be understood that the number of broadcast isochronous flow data packets contained in a broadcast isochronous group data packet may be uniform or uneven. Here, the uniform case is taken as an example for explanation.
  • the sequence number information of the broadcast isochronous flow data packet can be filled in the broadcast isochronous group data, so that a single broadcast isochronous group data packet includes One or more broadcast isochronous flow data packets and sequence number information of one or more broadcast isochronous flow data packets.
  • the control device receives the broadcast isochronous group data packet, it can determine whether packet loss has occurred based on the sequence number information in the broadcast isochronous group data packet and the received broadcast isochronous flow data packet.
  • the display device only needs to maintain an ACL (Asynchronous Connectionless Link) with any one of one or more control devices, that is, one control device only needs to feedback the packet loss situation to the display device.
  • ACL Asynchronous Connectionless Link
  • the communicator receives the sequence number information of the lost broadcast isochronous flow data packet sent by any control device, and rebroadcasts and sends the broadcast containing the lost broadcast isochronous flow data packet according to the sequence number information of the lost broadcast isochronous flow data packet. time group packets so that one or more control devices receive the missing broadcast isochronous flow packets.
  • control device that maintains an ACL connection with the display device can still receive broadcast isochronous group data packets in the BIS method. At the same time, it will count the lost broadcast isochronous flow packets and store the lost broadcast isochronous flow data in real time. The sequence number information of the packet is fed back to the display device through the ACL link.
  • the processor 1710 is configured to: fill a broadcast isochronous group data packet with the sequence number information of the currently sent first broadcast isochronous flow data packet and the to-be-sent second broadcast isochronous flow data packet. to generate a broadcast isochronous group data packet corresponding to the first broadcast isochronous flow data packet.
  • the control device can grasp the status of the broadcast isochronous flow data packet it receives in real time based on the sequence number information, and determine whether packet loss has occurred, and when loss occurs. packet time, the sequence number information of the lost broadcast isochronous flow data packet, etc.
  • the sequence number information of the first broadcast isochronous flow data packet currently sent is N
  • the sequence number information of the second broadcast isochronous flow data packet to be sent is N+1.
  • the display device displays the broadcast isochronous group data packets currently sent by the device. Includes the first broadcast isochronous stream packet and N+1. After the control device receives the broadcast isochronous group data packet, according to N+1, it can know that the display device has sent N broadcast isochronous flow data packets.
  • N-1 broadcast isochronous flow data packets If it currently receives N-1 broadcast isochronous flow data packets, it can It is determined that packet loss currently occurs, and the sequence number information of the lost broadcast isochronous flow data packet is N; if N broadcast isochronous flow data packets are currently received, it can be determined that no packet loss currently occurs.
  • a pre-transmission mechanism can also be used to reduce the packet loss rate and improve the OTA upgrade success rate.
  • the processor 1710 is configured to: combine the currently sent first broadcast isochronous flow data packet, the sequence number information of the first broadcast isochronous flow data packet, the second broadcast isochronous flow data packet to be sent, and the second broadcast isochronous flow data packet.
  • the sequence number information of the flow data packet is filled into a broadcast isochronous group data packet to generate a broadcast isochronous group data packet corresponding to the first broadcast isochronous flow data packet.
  • a total of 3 broadcast isochronous group data packets are included. If the first broadcast isochronous group data packet is currently sent, then the currently sent first broadcast isochronous flow data packet includes: sequence number information is 0 ⁇ 3
  • the second broadcast isochronous flow data packet to be sent includes: the broadcast isochronous flow data packet with sequence number information 4 to 7.
  • the second broadcast isochronous stream data packet to be sent can be filled into the currently sent first broadcast isochronous group data packet. If the second broadcast isochronous flow data packet to be sent is directly filled into the first broadcast isochronous group data packet, the length of the first broadcast isochronous group data packet will be longer.
  • the first broadcast isochronous flow currently sent can be Data packets are adapted accordingly.
  • the first broadcast isochronous flow data packet may be a broadcast isochronous flow data packet with sequence number information, or may be a broadcast isochronous flow data packet containing two or more sequence number information.
  • broadcast isochronous flow data packets with sequence number information 0 to 1 can be used as the currently sent
  • broadcast isochronous flow data packets with sequence number information 2 to 3 are used as broadcast isochronous flow data packets to be sent.
  • the generated broadcast isochronous group data packet is shown in Figure 19. It can be seen that the broadcast isochronous flow data packet with sequence number information 2 to 3 is not only located in the first broadcast isochronous group data packet, but also in the second broadcast isochronous group data packet, and the broadcast isochronous flow data packet with sequence number information 4 to 5 The isochronous flow packet is not only in the second broadcast isochronous group packet, but also in the third broadcast isochronous group packet, and so on.
  • the broadcast isochronous flow data packet with sequence number information of 2 or 3
  • the broadcast isochronous flow packet can be discarded. If the broadcast isochronous flow packet is not received in the first broadcast isochronous group packet, the broadcast isochronous flow packet can be received from the second broadcast isochronous group packet. If the broadcast isochronous flow data packet is still not received in the second broadcast isochronous group data packet, it means that the broadcast isochronous flow data packet is lost.
  • the currently sent first broadcast isochronous flow data packet can also be repeatedly sent, and the type and quantity of the second broadcast isochronous flow data packet to be sent can be set. That is, the number of first broadcast isochronous flow data packets contained in one broadcast isochronous group data packet is the first preset number, the number of second broadcast isochronous flow data packets included in one broadcast isochronous group data packet is the second preset number, the second broadcast isochronous flow data packet is the second preset number, and the second broadcast isochronous flow data packet is the second preset number.
  • the time flow data packet includes one or more broadcast isochronous flow data packets, that is, the second broadcast isochronous flow data packet can be a broadcast isochronous flow data packet with sequence number information, or it can also contain two or more sequence number information. of broadcast isochronous flow packets.
  • the first preset number and the second preset number are integers greater than 1.
  • the second broadcast isochronous flow data packet can contain two or more broadcast isochronous flow data packets with sequence number information, and broadcast isochronous flow data with a single sequence number information.
  • the number of packages can be one.
  • the first broadcast isochronous flow data packet contains a broadcast isochronous flow data packet with sequence number information.
  • the number of first broadcast isochronous flow data packets can be 2, and the second broadcast isochronous flow data packet can contain two sequence number information. of broadcast isochronous flow data packets, and the number of broadcast isochronous flow data packets of a single sequence number information is one.
  • the generated broadcast isochronous group data packet is shown in Figure 20.
  • Figure 20 shows 4 broadcast isochronous group data packets.
  • the first broadcast isochronous flow data packet currently sent in the first broadcast isochronous group data packet The sequence number information is 0, the sequence number information of the second broadcast isochronous flow data packet to be sent is 1 and 2; the sequence number information of the first broadcast isochronous flow data packet currently sent in the second broadcast isochronous group data packet is 1.
  • the sequence number information of the second broadcast isochronous stream data packet to be sent is 2 and 3, and so on.
  • the remaining broadcast isochronous flow packets exist in 3 broadcast isochronous group packets, and are repeatedly filled in one of the broadcast isochronous group packets, In this way, the packet loss rate can be reduced and the OTA upgrade success rate can be improved.
  • any control device can maintain an ACL connection with the display device, and when packet loss occurs, send the sequence number information of the lost broadcast isochronous flow packet to the display device.
  • broadcast isochronous group data packet 1 broadcast isochronous group data packet 2 and broadcast isochronous group data packet 3 all receive broadcast isochronous flow data packets with sequence number information of 2, the sequence number information can be 2 is sent to the display device.
  • the display device can rebroadcast and send the broadcast isochronous group data packet 3 that has been sent in the broadcast isochronous group data packet 5, that is, the data in the broadcast isochronous group data packet 5 is the same as the data in the broadcast isochronous group data packet 3. .
  • the data in the broadcast isochronous group data packets can be flexibly filled, for example, the broadcast isochronous flow data packets are sequentially numbered, and in the broadcast, etc.
  • the time group data packet is filled with the sequence number information of the broadcast isochronous flow data packet to be sent, so as to inform in advance the sequence number information of the broadcast isochronous flow data packet to be sent.
  • the control device can grasp the status of the broadcast isochronous stream data packets it receives in real time, and determine whether packet loss has occurred and which packets have been lost.
  • the same broadcast isochronous flow data packet is sent repeatedly, and the broadcast isochronous flow data packet that has been sent is supplementary sent to reduce the packet loss rate. And after the control device detects packet loss, it can receive the lost packets by providing feedback to the display device, ensuring the success rate of OTA upgrade.
  • control device 2200 includes:
  • the communicator 2210 is configured to: receive multiple broadcast isochronous group data packets broadcast and sent by the display device, the multiple broadcast isochronous group data packets are generated based on the multiple broadcast isochronous flow data packets, and the single broadcast isochronous flow data packet is based on Single sub-data corresponding to firmware data is generated;
  • the processor 2220 is configured to: obtain firmware data from broadcast isochronous group data, and perform over-the-air download technology upgrades to the control device based on the firmware data.
  • each broadcast isochronous flow data packet has sequentially numbered sequence number information;
  • a single broadcast isochronous group data packet includes one or more broadcast isochronous flow data packets and the sequence numbers of one or more broadcast isochronous flow data packets information;
  • the processor 2220 in any control device is configured to: determine whether packet loss occurs based on the sequence number information and the received broadcast isochronous flow data packet; and, if packet loss occurs, determine the location of the lost broadcast isochronous flow data packet.
  • Serial number information
  • the communicator 2210 in any control device is configured to: send the sequence number information of the lost broadcast isochronous stream data packet to the display device. information, so that the display device re-broadcasts and sends the broadcast isochronous group data packet containing the lost broadcast isochronous flow data packet based on the sequence number information of the lost broadcast isochronous flow data packet;
  • the communicator 2210 in one or more control devices is configured to: receive the broadcast isochronous group data packet containing the lost broadcast isochronous flow data packet to obtain the lost broadcast isochronous flow data packet.
  • the currently received broadcast isochronous group data packet includes: sequence number information of the first broadcast isochronous flow data packet currently sent by the display device and the second broadcast isochronous flow data packet to be sent;
  • the processor 2220 is configured to: determine the first number of broadcast isochronous flow data packets that have been sent by the display device based on the sequence number information of the second broadcast isochronous flow data packet;
  • the lost broadcast isochronous flow data packet is the first broadcast isochronous flow data packet.
  • the currently received broadcast isochronous group data packet includes: the first broadcast isochronous flow data packet currently sent by the display device, the first sequence number information of the first broadcast isochronous flow data packet, and the first broadcast isochronous flow data packet to be sent by the display device.
  • the second broadcast isochronous flow data packet and the second sequence number information of the second broadcast isochronous flow data packet includes: the first broadcast isochronous flow data packet currently sent by the display device, the first sequence number information of the first broadcast isochronous flow data packet, and the first broadcast isochronous flow data packet to be sent by the display device.
  • the processor 2220 is configured to: if no broadcast isochronous flow data packet with the second sequence number information is received in neither the currently received broadcast isochronous group data packet nor the to-be-received broadcast isochronous group data packet, determine The broadcast isochronous flow data packet with the second sequence number information is lost;
  • the number of first broadcast isochronous flow data packets is a first preset number
  • the number of second broadcast isochronous flow data packets is a second preset number
  • the second broadcast isochronous flow data packet includes one or
  • the first preset number and the second preset number are integers greater than 1.
  • FIG 22 shows an embodiment on the control device side. The specific details have been described in detail on the display device side, so they will not be described again here.
  • Figure 23 is a flow chart of an OTA upgrade method in an embodiment of the present application. It is applied to a display device and may include the following steps:
  • Step S2310 Obtain firmware data, divide the firmware data into multiple sub-data, and generate broadcast isochronous flow data packets corresponding to each sub-data.
  • Step S2320 Generate multiple broadcast isochronous group data packets based on multiple broadcast isochronous flow data packets.
  • Step S2330 Broadcast and send multiple broadcast isochronous group data packets, so that one or more control devices obtain firmware data from the broadcast isochronous group data after receiving the broadcast isochronous group data packet, and control the control device according to the firmware data.
  • the equipment undergoes over-the-air technology upgrades.
  • each broadcast isochronous flow data packet has sequentially numbered sequence number information; a single broadcast isochronous group data packet includes one or more broadcast isochronous flow data packets and the sequence numbers of one or more broadcast isochronous flow data packets information; methods also include:
  • sequence number information of the lost broadcast isochronous flow data packet sent by any control device; the sequence number information of the lost broadcast isochronous flow data packet is based on the sequence number information in the broadcast isochronous group data packet and the received broadcast isochronous flow Packet OK;
  • sequence number information of the lost broadcast isochronous flow data packet rebroadcast and send the broadcast isochronous group data packet containing the lost broadcast isochronous flow data packet, so that one or more control devices receive the lost broadcast isochronous flow data Bag.
  • the number of first broadcast isochronous flow data packets is a first preset number
  • the number of second broadcast isochronous flow data packets is a second preset number
  • the second broadcast isochronous flow data packet includes one or
  • the first preset number and the second preset number are integers greater than 1.
  • Figure 24 is a flow chart of an OTA upgrade method in an embodiment of the present application. When applied to a control device, it may include the following steps:
  • Step S2410 Receive multiple broadcast isochronous group data packets broadcast and sent by the display device.
  • the multiple broadcast isochronous group data packets are generated based on multiple broadcast isochronous flow data packets.
  • a single broadcast isochronous flow data packet is based on a single broadcast isochronous flow data packet corresponding to the firmware data. Subdata generation.
  • Step S2420 Obtain firmware data from the broadcast isochronous group data, and perform over-the-air download technology upgrades on the control device based on the firmware data.
  • each broadcast isochronous flow data packet has sequentially numbered sequence number information; a single broadcast isochronous group data packet includes one or more broadcast isochronous flow data packets and the sequence numbers of one or more broadcast isochronous flow data packets information; methods also include:
  • Any control device determines whether packet loss has occurred based on the sequence number information and the received broadcast isochronous flow data packet; and, if packet loss occurs, determines the sequence number information of the lost broadcast isochronous flow data packet and sends the lost broadcast to the display device The sequence number information of the isochronous flow data packet, so that the display device re-broadcasts and sends the broadcast isochronous group data packet containing the lost broadcast isochronous flow data packet according to the sequence number information of the lost broadcast isochronous flow data packet;
  • One or more control devices receive the broadcast isochronous group packet containing the lost broadcast isochronous flow packet to obtain the lost broadcast isochronous flow packet.
  • the currently received broadcast isochronous group data packet includes: sequence number information of the first broadcast isochronous flow data packet currently sent by the display device and the second broadcast isochronous flow data packet to be sent;
  • the lost broadcast isochronous flow data packet is the first broadcast isochronous flow data packet.
  • the currently received broadcast isochronous group data packet includes: the first broadcast isochronous flow data packet currently sent by the display device, the first sequence number information of the first broadcast isochronous flow data packet, and the first broadcast isochronous flow data packet to be sent by the display device.
  • the second broadcast isochronous flow data packet and the second sequence number information of the second broadcast isochronous flow data packet includes: the first broadcast isochronous flow data packet currently sent by the display device, the first sequence number information of the first broadcast isochronous flow data packet, and the first broadcast isochronous flow data packet to be sent by the display device.
  • broadcast isochronous flow data packet with the second sequence number information If the broadcast isochronous flow data packet with the second sequence number information is not received in the currently received broadcast isochronous group data packet and the to-be-received broadcast isochronous group data packet, then determine the broadcast isochronous flow data packet with the second sequence number information. Packet loss occurs when streaming data packets occur;
  • the number of first broadcast isochronous flow data packets is a first preset number
  • the number of second broadcast isochronous flow data packets is a second preset number
  • the second broadcast isochronous flow data packet includes one or
  • the first preset number and the second preset number are integers greater than 1.
  • the display device receives the mode switching instruction.
  • the mode switching instruction is used to switch the Bluetooth connection mode between the display device and the control device to a multi-connection mode.
  • the multi-connection mode is a Bluetooth connection mode in which one control device connects to multiple display devices.
  • Bluetooth SIG Bluetooth SIG
  • Low Energy Audio Low Energy Audio
  • the implementation of the display device receiving the mode switching instruction includes: the display device first displays the connection mode selection interface 261 in response to the user operation, and the connection mode selection interface 261 includes: "Prohibit connection”, “Multiple connection mode” and “single connection mode” are available for the user to choose.
  • the user inputs a selection operation for "multiple connection mode" it can be determined that the display device has received the mode switching instruction.
  • the display device determines the current Bluetooth connection mode and the connection status with the control device.
  • the determination results in the above step S2502 may include the following:
  • the current Bluetooth connection mode of the display device is to prohibit Bluetooth connection with the control device.
  • the current Bluetooth connection mode of the display device is single connection mode, but no Bluetooth connection link has been established with the control device.
  • the current Bluetooth connection mode of the display device is single connection mode, and the first link is established with the first control device.
  • the current Bluetooth connection mode of the display device is multi-connection mode, but no Bluetooth connection link has been established with the control device.
  • the current Bluetooth connection mode of the display device is multi-connection mode, and a Bluetooth connection link has been established with the control device.
  • step S2502 if the determination result is result 3 (the display device and the first control device have established a first link, and the first link is a Bluetooth connection link established in the single connection mode), then the control method of the display device provided by the embodiment of the present application continues to execute the following steps S2503 and S2504:
  • the display device sends a control instruction to the first control device through the first link.
  • the first control device receives the control instruction sent by the display device through the first link.
  • control instruction is used to instruct the first control device to enter the multi-connection mode.
  • the first link may be a Bluetooth Low Energy (BLE) link established based on the Generic Attribute Profile (GATT).
  • BLE Bluetooth Low Energy
  • the first control device determines whether it supports the multi-connection mode.
  • step S2504 if the first control device does not support the multi-connection mode, the process of the control method of the display device provided by the embodiment of the present application ends. If the first control device supports the multi-connection mode, the present application The control method of the display device provided by the embodiment continues to execute the following steps S2505 to S2510:
  • the first control device sends confirmation information to the display device through the first link.
  • the display device receives the confirmation information sent by the first control device through the first link.
  • the display device disconnects the first link.
  • the display device actively disconnects the Bluetooth connection link established with the first control device in the single connection mode.
  • the display device enters the multi-connection mode.
  • the display device converts the role in the Bluetooth connection relationship to the receiver (Acceptor), and does the work to establish a Bluetooth connection link with the initiator as one of the multiple receivers connected to the initiator via Bluetooth. Be prepared.
  • the first control device enters the multi-connection mode.
  • the first control device converts the role in the Bluetooth connection relationship to the initiator (Initiator), and is prepared to establish Bluetooth connection links with multiple receivers as the initiator (Initiator).
  • the first control device sends a connection request to the display device.
  • the display device receives the connection request sent by the first control device.
  • the first control device may send the connection request in a broadcast manner to send the connection request to the display device.
  • the display device may first perform steps S2506 and S2507, and then the first control device may perform step S2508, or the first control device may first perform the steps S2506 and S2507.
  • Step S2508 is executed, and then the display device executes steps S2506 and S2507.
  • the display device and the first control device may also execute step S2508 synchronously.
  • the display device establishes a second link with the first control device in the multi-connection mode.
  • the first control device establishes a second link with the display device in the multi-connection mode.
  • the second link may be a Connected Isochronous Streams (CIS) link established based on the Low Energy Audio (LE Audio, LE Audio) technical standard.
  • CIS Connected Isochronous Streams
  • the implementation process of establishing the second link between the first control device and the display device may include the following steps a to step d:
  • Step a The first control device sends a connection establishment request to the display device.
  • the display device receives the establishment request.
  • the establishment request is used to request the establishment of an isochronous channel connection.
  • Step b The display device establishes an isochronous channel connection with the first control device in response to the connection establishment request.
  • Step c An ACL (Indicates a low level) link is established between the first control device and the display device.
  • Step d Establish a GATT link or an EATT link between the first control device and the display device.
  • Step e Send interaction instructions.
  • the display device control method When receiving a mode switching instruction to switch the Bluetooth connection mode between the display device and the control device to the multi-connection mode, the display device control method provided by the embodiment of the present application first determines whether the display device is in the single connection mode.
  • a Bluetooth connection link is established with the control device, and a first link is established between the display device and the first control device, and the first link is a Bluetooth connection link established in single connection mode.
  • sending a control instruction instructing the first control device to enter the multi-connection mode to the first control device through the first link and receiving the control instruction sent by the first control device through the first link.
  • disconnect the first link After receiving the confirmation information, disconnect the first link, enter the multi-connection mode, and respond to the connection request sent by the first control device, conduct the communication with the first control device in the multi-connection mode.
  • Embodiments of the present application can connect multiple display devices through one control device and control multiple display devices at the same time without having to control the display devices individually one-to-one through the control device. Therefore, embodiments of the present application can include multiple display devices. It simplifies the operation of controlling multiple display devices in scenarios and solves the problem that one-to-one control of display devices will be very cumbersome.
  • step S271 the control method of the display device provided by the embodiment of the present application is as follows step S271:
  • the display device sends link information to the first control device through the first link.
  • the first control device receives the link information sent by the display device through the first link.
  • the link information includes information about the display device that the control device needs to use during the process of establishing the second link.
  • the link information may include the media access control address (MAC address) of the display device, the Bluetooth device address (BD_ADDR), the system clock used to generate the device access code (Device Access Code), the user Information such as normal and synchronization mode device categories, device names, supported service classes, etc. used to establish links.
  • MAC address media access control address
  • BD_ADDR Bluetooth device address
  • Device Access Code the system clock used to generate the device access code
  • user Information such as normal and synchronization mode device categories, device names, supported service classes, etc. used to establish links.
  • the above step S2509 (the first control device sends a connection request to the display device) includes: sending a connection request to the display device based on the link information.
  • the device sends a connection request.
  • step S2510 (the first control device establishes the second link with the control device in the multi-connection mode) includes: based on the link information, establishes the second link with the display device in the multi-connection mode. Perform establishment of the second link.
  • the display device before disconnecting the first link, the display device sends link information to the first control device through the first link, so the first control device can directly use the link information Quickly establish a second link with the display device, thereby switching the Bluetooth connection link between the display device and the first control device from the first link to the second link without the user being aware of it.
  • Figure 28 exemplarily shows a schematic flowchart of the control method of the display device provided by the embodiment of the present application.
  • the control method of the display device provided by the embodiment of the present application includes the following steps:
  • the display device receives the mode switching instruction.
  • the display device determines the current Bluetooth connection mode and the connection status with the control device.
  • the determination results in the above step S2802 may include the following:
  • the current Bluetooth connection mode of the display device is to prohibit Bluetooth connection with the control device, and no Bluetooth connection has been established with any control device.
  • the current Bluetooth connection mode of the display device is single connection mode, but no Bluetooth connection link has been established with the control device.
  • the current Bluetooth connection mode of the display device is single connection mode, and the first link is established with the first control device.
  • the current Bluetooth connection mode of the display device is multi-connection mode, but no Bluetooth connection link has been established with the control device.
  • the current Bluetooth connection mode of the display device is multi-connection mode, and a Bluetooth connection link has been established with the control device.
  • step S2802 if the determination result is result 1 (the current Bluetooth connection mode of the display device is to prohibit Bluetooth connection with the control device) or 2 (the current Bluetooth connection mode of the display device is single connection mode, but no Bluetooth connection is established with the control device) connection link), then the control method of the display device provided by the embodiment of the present application continues to perform the following steps S2803 and S2804:
  • the display device enters the multi-connection mode.
  • the display device converts the role in the Bluetooth connection relationship to the receiver (Acceptor), and does the work to establish a Bluetooth connection link with the initiator as one of the multiple receivers connected to the initiator via Bluetooth. Be prepared.
  • the second control device sends a connection request to the display device.
  • the display device receives the connection request sent by the second control device.
  • the second control device may send the connection request in a broadcast manner to send the connection request to the display device.
  • the implementation method of triggering the second control device to send the connection request in a broadcast manner may be the same as the embodiment shown in FIG. 25 .
  • the display device establishes a second link with the second control device in the multi-connection mode.
  • the second control device establishes a second link with the display device in the multi-connection mode.
  • the determination result in the above step S2502 or S2802 may also be the above result 4 (the current Bluetooth connection mode of the display device is multi-connection mode, but a Bluetooth connection chain is not established with the control device. Road) Result 5 (the current Bluetooth connection mode of the display device is multi-connection mode, and a Bluetooth connection link has been established with the control device).
  • the result may also be the above Result 4 or Result 5, because the current Bluetooth connection mode of the display device The multi-connection mode has been entered, so the received mode switching command can be ignored and the mode switching command directly waits and received.
  • control method of the display device provided by the embodiment of the present application also includes :
  • the display device sends the value code table of the display device to the control device through the second link.
  • the first control device or the second control device receives the value code table of the display device sent by the display device through the second link.
  • the value code table includes a code value corresponding to at least one operation instruction of the display device.
  • the display device sends the value code table of the display device to the control device through the second link, which means that when the display device establishes the second link with the first control device, the display device The device sends the value code table of the display device to the first control device through the second link.
  • the display device transmits the value code table to the first control device through the second link.
  • the second link sends the value code table of the display device to the second control device.
  • the display device has established a second link with the first control device, so the above step S2901 includes: the display device sends the value of the display device to the first control device through the second link.
  • the code table, and the first control device receives the value code table of the display device sent by the display device through the second link.
  • step S2901 includes: the display device sends the value of the display device to the second control device through the second link.
  • the code table, and the second control device receives the value code table of the display device sent by the display device through the second link.
  • the value code table of the display device can be as shown in Table 1 below:
  • the control device receives the operation instruction input by the user.
  • the user can operate the keys of the control device, so that the control device receives operation instructions input by the user.
  • the user may also input operation instructions to the control device through gravity changes, voice input, presence and absence input, etc., so that the control device receives the operation instructions input by the user.
  • the control device (the first control device or the second control device) obtains the code value corresponding to the operation instruction according to the value code table of the display device.
  • step S2903 will be explained by taking the following example where the control device is connected to two display devices (display device A and display device B) via Bluetooth.
  • code value table of display device A is shown in Table 1 above, and the code value table of display device A is shown in Table 2 below:
  • the control device sends the code value corresponding to the operation instruction to the display device.
  • the display device receives the code value sent by the control device (the first control device or the second control device) through the second link device.
  • the control device has two display devices (display device A and display device B) connected via Bluetooth, and the value code table of display device A is as shown in Table 1 above, and the value code table of display device B is as shown in Table 2 above.
  • the display device obtains the operation instruction corresponding to the code value according to the value code table of the display device.
  • both display device A and display device B can obtain the operation command corresponding to the received code value as "shutdown”.
  • the control device receives the operation command input by the user as "volume + "
  • the value code received by display device A is "0000”
  • the value code received by display device A is "1111”.
  • both display device A and display device B can The operation command corresponding to the received code value is "volume +".
  • the display device executes the operation instruction corresponding to the code value.
  • the display device first sends a value code table including code values corresponding to at least one operation instruction of the display device to the display device.
  • the control device receives the control instruction input by the user, it can control the display device according to the value of each display device.
  • the code table sends the code values corresponding to the control instructions to each display device. Therefore, the above embodiment can control the display device to perform the same control operation through different code values when the control device receives the control instructions input by the user.
  • FIG. 30 Exemplarily, refer to Figure 30.
  • the opposite end of the second link is set as the control device.
  • the control device is Bluetooth connected to display device A and display device B.
  • the value code tables of display device A and display device B are Take Table 1 and Table 2 above as examples to illustrate, as shown in Figure 30
  • the control methods of the display device include:
  • Display device A sends the value code table shown in Table 1 to the control device.
  • control device receives the value code table shown in Table 1 sent by the display device A.
  • Display device B sends the value code table shown in Table 2 to the control device.
  • control device receives the value code table shown in Table 2 sent by display device B.
  • the control device receives the operation command "volume +" input by the user.
  • the control device determines the code value "0000" according to the value code table shown in Table 1.
  • the control device sends the code value "0000" to the display device A.
  • display device A receives the code value "0000" sent by the control device.
  • Display device A determines the operation command "volume +" according to the value code table shown in Table 1 and the code value "0000".
  • the control device determines the code value "1111" according to the value code table shown in Table 2.
  • the control device sends the code value “1111” to display device B.
  • display device B receives the code value "1111" sent by the control device.
  • Display device B determines the operation command "volume +" according to the value code table shown in Table 2 and the code value "1111".
  • Display device B executes the operation command "volume +".
  • Embodiments of the present invention also provide a computer-readable non-volatile storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program When the computer program is executed by a processor, the computer program implements various processes executed by the above data processing method, and can To achieve the same technical effect, to avoid repetition, we will not repeat them here.
  • the computer-readable storage medium can be read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the present invention provides a computer program product, which includes: when the computer program product is run on a computer, the computer implements the above data processing method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present disclosure relates to a display apparatus and a data processing method, which are applied to the technical field of Bluetooth. The display apparatus comprises: a display, a communicator, a memory, and a processor. The processor is configured to execute a computer instruction in the memory so as to enable the display apparatus to: receive, by means of a connected isochronous stream (CIS) link between the display apparatus and a control apparatus, target data sent by the control apparatus, the target data being generated by the control apparatus according to a received user control instruction; send a reply message to the control apparatus by means of the CIS link, the reply message being used for representing that the target data is received; and obtain, on the basis of the target data, target information corresponding to the user control instruction. The display is configured to display the target information. The flexibility of data transmission can be improved, and when a plurality of pieces of data needs to be transmitted, parallel data transmission can be realized, such that the transmission efficiency is improved.

Description

一种显示设备和数据处理方法A display device and data processing method
相关申请的交叉引用Cross-references to related applications
在2022年06月30日提交、申请号为202210771143.7;在2022年06月30日提交、申请号为202210771127.8;在2022年06月30日提交、申请号为202210770347.9的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The priority of the Chinese patent application submitted on June 30, 2022, with application number 202210771143.7; submitted on June 30, 2022, with application number 202210771127.8; and submitted on June 30, 2022, with application number 202210770347.9, The entire contents are incorporated herein by reference.
技术领域Technical field
本申请实施例涉及蓝牙技术,尤其涉及一种显示设备和数据处理方法。The embodiments of the present application relate to Bluetooth technology, and in particular, to a display device and a data processing method.
背景技术Background technique
现有的显示设备与控制设备之间的蓝牙通信均是通过面向连接的异步传输(Asynchronous Connection-oriented link,ACL)链路进行数据传输的,具体为控制设备通过ACL链路将用户控制指令对应的数据发送至显示设备,实现对显示设备的控制。The existing Bluetooth communication between the display device and the control device all transmits data through the Asynchronous Connection-oriented link (ACL) link. Specifically, the control device corresponds to the user control instructions through the ACL link. The data is sent to the display device to control the display device.
但由于ACL链路上数据的传输是串行的,当有多个数据需要传输时,传输效率较低。However, since data transmission on the ACL link is serial, when there is multiple data to be transmitted, the transmission efficiency is low.
发明内容Contents of the invention
本申请提供了一种显示设备和数据处理方法,可以提高数据传输的灵活性,而且在多个数据需要传输的情况下,可以实现数据的并行传输,提高传输效率。This application provides a display device and a data processing method, which can improve the flexibility of data transmission, and when multiple data need to be transmitted, parallel transmission of data can be realized and the transmission efficiency can be improved.
第一方面,本申请提供了一种显示设备,所述显示设备包括:In a first aspect, this application provides a display device, which includes:
通信器,用于在处理器的控制下与外部设备通信,所述外部设备包括控制设备;a communicator for communicating with an external device under the control of the processor, the external device including a control device;
存储器,用于存储计算机指令;Memory, used to store computer instructions;
所述处理器,与所述存储器连接,被配置为执行计算机指令以使得所述显示设备:通过所述显示设备与所述控制设备之间的连接等时流CIS链路,接收所述控制设备发送的目标数据,所述目标数据是所述控制设备根据接收的用户控制指令生成的;The processor, coupled to the memory, is configured to execute computer instructions such that the display device: receives the control device via an isochronous flow CIS link connecting the display device and the control device. The target data sent, the target data is generated by the control device according to the received user control instruction;
通过所述CIS链路,向所述控制设备发送回复消息,所述回复消息用于表征已接收到所述目标数据;Send a reply message to the control device through the CIS link, where the reply message is used to indicate that the target data has been received;
基于所述目标数据,获取与所述用户控制指令对应的目标信息;Based on the target data, obtain target information corresponding to the user control instruction;
显示器,用于显示所述目标信息。A display used to display the target information.
第二方面,本申请提供了一种用于显示设备的数据处理方法,所述方法包括:In a second aspect, this application provides a data processing method for a display device, the method includes:
通过所述显示设备与控制设备之间的CIS链路,接收所述控制设备发送的目标数据,所述目标数据是所述控制设备根据接收的用户控制指令生成的;Receive target data sent by the control device through the CIS link between the display device and the control device, where the target data is generated by the control device according to the received user control instruction;
通过所述CIS链路,向所述控制设备发送回复消息,所述回复消息用于表征已接收到所述目标数据;Send a reply message to the control device through the CIS link, where the reply message is used to indicate that the target data has been received;
基于所述目标数据,获取与所述用户控制指令对应的目标信息;Based on the target data, obtain target information corresponding to the user control instruction;
显示所述目标信息。 Display the target information.
附图说明Description of drawings
图1为本申请实施例的控制设备与显示设备之间的操作场景;Figure 1 is an operation scene between the control device and the display device according to the embodiment of the present application;
图2为本申请实施例的控制装置100的硬件配置框图;Figure 2 is a hardware configuration block diagram of the control device 100 according to the embodiment of the present application;
图3为本申请实施例的显示设备200的硬件配置框图;Figure 3 is a hardware configuration block diagram of the display device 200 according to the embodiment of the present application;
图4为本申请实施例的控制设备与显示设备的交互流程示意图;Figure 4 is a schematic diagram of the interaction flow between the control device and the display device according to the embodiment of the present application;
图5为本申请实施例的使用CIE标志位结束CIS事件的示意图;Figure 5 is a schematic diagram of using the CIE flag to end a CIS event according to an embodiment of the present application;
图6为本申请实施例的CIS PDU Header的示意图;Figure 6 is a schematic diagram of the CIS PDU Header in the embodiment of this application;
图7为本申请实施例的一种数据处理方法的流程示意图之一;Figure 7 is one of the flow diagrams of a data processing method according to an embodiment of the present application;
图8为本申请实施例的一种数据处理方法的流程示意图之二;Figure 8 is a second schematic flowchart of a data processing method according to an embodiment of the present application;
图9为本申请实施例的一种数据处理方法的流程示意图之三;Figure 9 is the third flowchart of a data processing method according to the embodiment of the present application;
图10为本申请实施例的一种数据处理方法的流程示意图之四;Figure 10 is the fourth schematic flowchart of a data processing method according to the embodiment of the present application;
图11为本申请实施例的一种数据处理方法的流程示意图之五;Figure 11 is a schematic flowchart 5 of a data processing method according to an embodiment of the present application;
图12为本申请实施例的不同传输参数影响传输结果的示意图之一;Figure 12 is one of the schematic diagrams showing how different transmission parameters affect transmission results according to an embodiment of the present application;
图13为本申请实施例的不同传输参数影响传输结果的示意图之二;Figure 13 is a second schematic diagram showing how different transmission parameters affect the transmission results according to the embodiment of the present application;
图14为本申请实施例的不同传输参数影响传输结果的示意图之三;Figure 14 is the third schematic diagram showing how different transmission parameters affect the transmission results according to the embodiment of the present application;
图15为本申请实施例的不同传输参数影响传输结果的示意图之四;Figure 15 is the fourth schematic diagram showing how different transmission parameters affect the transmission results according to the embodiment of the present application;
图16为显示设备200的一种软件配置示意图;Figure 16 is a schematic diagram of a software configuration of the display device 200;
图17为本申请实施例中控制设备的一种示意图;Figure 17 is a schematic diagram of the control device in the embodiment of the present application;
图18为本申请实施例中广播等时组数据包的一种示意图;Figure 18 is a schematic diagram of broadcast isochronous group data packets in the embodiment of the present application;
图19为本申请实施例中广播等时组数据包的一种示意图;Figure 19 is a schematic diagram of broadcast isochronous group data packets in the embodiment of the present application;
图20为本申请实施例中广播等时组数据包的一种示意图;Figure 20 is a schematic diagram of broadcast isochronous group data packets in the embodiment of the present application;
图21为本申请实施例中广播等时组数据包的一种示意图;Figure 21 is a schematic diagram of broadcast isochronous group data packets in the embodiment of the present application;
图22为本申请实施例中控制设备的一种示意图;Figure 22 is a schematic diagram of the control device in the embodiment of the present application;
图23为本申请实施例中OTA升级方法的一种流程图;Figure 23 is a flow chart of the OTA upgrade method in the embodiment of the present application;
图24为本申请实施例中OTA升级方法的一种流程图;Figure 24 is a flow chart of the OTA upgrade method in the embodiment of the present application;
图25为本申请实施例中的显示设备的控制方法的交互流程图之一;Figure 25 is one of the interactive flow charts of the control method of the display device in the embodiment of the present application;
图26为本申请实施例中的显示设备的控制方法的交互流程图之二;Figure 26 is the second interactive flow chart of the control method of the display device in the embodiment of the present application;
图27为本申请实施例中的显示设备的控制方法的交互流程图之三;Figure 27 is the third interactive flow chart of the control method of the display device in the embodiment of the present application;
图28为本申请实施例中的显示设备的控制方法的交互流程图之四;Figure 28 is the fourth interactive flow chart of the control method of the display device in the embodiment of the present application;
图29为本申请实施例中的显示设备的控制方法的交互流程图之五;Figure 29 is the fifth interactive flow chart of the control method of the display device in the embodiment of the present application;
图30为本申请实施例中的显示设备的控制方法的交互流程图之六。Figure 30 is the sixth interactive flow chart of the control method of the display device in the embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的和实施方式更加清楚,下面将结合本申请示例性实施例中的附图,对本申请示例性实施方式进行清楚、完整地描述,显然,描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。In order to make the purpose and implementation of the present application clearer, the exemplary embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only for the purpose of this application. Apply for some of the embodiments, not all of them.
本申请实施方式提供的显示设备可以具有多种实施形式,例如,可以是电视、智能电视、激光投影设备、显示器(monitor)、电子白板(electronic bulletin board)、电子桌面(electronic table)、手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备等。 The display device provided by the embodiment of the present application can have a variety of implementation forms, for example, it can be a TV, a smart TV, a laser projection device, a monitor, an electronic bulletin board, an electronic table, a mobile phone, Tablets, laptops, PDAs, vehicle electronic devices, etc.
图1为根据实施例中显示设备与控制设备之间操作场景的示意图,其中控制设备包括智能设备或控制装置。如图1所示,用户可通过智能设备300或控制装置100操作显示设备200。FIG. 1 is a schematic diagram of an operation scenario between a display device and a control device according to an embodiment, where the control device includes an intelligent device or a control device. As shown in FIG. 1 , the user can operate the display device 200 through the smart device 300 or the control device 100 .
在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式,通过无线或有线方式来控制显示设备200。用户可以通过遥控器上按键、语音输入、控制面板输入等输入用户指令,来控制显示设备200。In some embodiments, the control device 100 may be a remote controller. The communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods to control the display device 200 through wireless or wired methods. The user can control the display device 200 by inputting user instructions through buttons on the remote control, voice input, control panel input, etc.
在一些实施例中,也可以使用智能设备300(如移动终端、平板电脑、计算机、笔记本电脑等)以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。In some embodiments, a smart device 300 (such as a mobile terminal, a tablet, a computer, a laptop, etc.) can also be used to control the display device 200 . For example, the display device 200 is controlled using an application running on the smart device.
在一些实施例中,显示设备可以不使用上述的智能设备或控制设备接收指令,而是通过触摸或者手势等接收用户的控制。In some embodiments, the display device may not use the above-mentioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
在一些实施例中,显示设备200还可以采用除了控制装置100和智能设备300之外的方式进行控制,例如,可以通过显示设备200设备内部配置的获取语音指令的模块直接接收用户的语音指令控制,也可以通过显示设备200设备外部设置的语音控制设备来接收用户的语音指令控制。In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300 . For example, the display device 200 can directly receive the user's voice command control through a module configured inside the display device 200 to obtain voice commands. , the user's voice command control can also be received through a voice control device provided outside the display device 200 .
在一些实施例中,显示设备200还与服务器400进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。In some embodiments, display device 200 also communicates data with server 400. The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 can provide various content and interactions to the display device 200. The server 400 may be a cluster or multiple clusters, and may include one or more types of servers.
图2示例性示出了根据示例性实施例中控制装置100的配置框图。如图2所示,控制装置100包括处理器110、通信接口130、用户输入/输出接口140、外部存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。FIG. 2 schematically shows a configuration block diagram of the control device 100 according to an exemplary embodiment. As shown in Figure 2, the control device 100 includes a processor 110, a communication interface 130, a user input/output interface 140, an external memory, and a power supply. The control device 100 can receive input operation instructions from the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, thereby mediating the interaction between the user and the display device 200 .
如图3,显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、处理器250、显示器260、音频输出接口270、用户接口280、外部存储器、供电电源中的至少一种。As shown in Figure 3, the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a processor 250, a display 260, an audio output interface 270, a user interface 280, an external memory, and a power supply. At least one.
在一些实施例中处理器包括视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。In some embodiments the processor includes a video processor, an audio processor, a graphics processor, RAM, ROM, first to nth interfaces for input/output.
显示器260包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件,用于接收源自处理器输出的图像信号,进行显示视频内容、图像内容以及菜单操控界面的组件以及用户操控UI界面。The display 260 includes a display screen component for presenting images, a driving component for driving image display, a component for receiving image signals output from the processor, displaying video content, image content, menu control interface components, and a user control UI interface. .
显示器260可为液晶显示器、OLED显示器、以及投影显示器,还可以为一种投影装置和投影屏幕。The display 260 can be a liquid crystal display, an OLED display, a projection display, or a projection device and a projection screen.
通信器220是用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信器可以包括Wifi模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备200可以通过通信器220与外部控制装置100或服务器400建立控制信号和数据信号的发送和接收。The 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, other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220 .
用户接口280,可用于接收控制装置100(如:红外遥控器等)的控制信号。也可以用于直接接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,此时可以称为用户输入接口。The user interface 280 can be used to receive control signals from the control device 100 (such as an infrared remote control, etc.). It can also be used to directly receive user input operation instructions and convert the operation instructions into instructions that the display device 200 can recognize and respond to. In this case, it can be called a user input interface.
检测器230用于采集外部环境或与外部交互的信号。例如,检测器230包括光接收器,用于采集环境光线强度的传感器;或者,检测器230包括图像采集器,如摄像头,可以用于采集外部环境场景、用户的属性或用户交互手势,再或者,检测器230包括声音采集器,如麦克风等,用于接收外部声音。The detector 230 is used to collect signals from the external environment or interactions with the outside. For example, the detector 230 includes a light receiver, a sensor used to collect ambient light intensity; or the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures, or , the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
外部装置接口240可以包括但不限于如下:高清多媒体接口(HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(CVBS)、USB输入接口(USB)、RGB端口等任一个或多个接口。也可以是上述多个接口形成的复合型的输入/输出接口。The external device interface 240 may include, but is not limited to, any one of 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, etc., or Multiple interfaces. It can also be a composite input/output interface formed by the above-mentioned plurality of interfaces.
调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号 中解调出音视频信号,如以及EPG数据信号。The tuner 210 receives broadcast television signals via wired or wireless reception, and receives broadcast television signals from a plurality of wireless or wired broadcast television signals. Demodulate audio and video signals, such as EPG data signals.
在一些实施例中,处理器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在处理器250所在的主体设备的外置设备中,如外置机顶盒等。In some embodiments, the processor 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the processor 250 is located, such as an external set-top box. wait.
处理器250,通过存储在存储器(内部存储器或外部存储器)上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。处理器250控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器260上显示UI对象的用户命令,处理器250便可以执行与由用户命令选择的对象有关的操作。The processor 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory (internal memory or external memory). The processor 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on display 260, processor 250 may perform operations related to the object selected by the user command.
在一些实施例中处理器包括中央处理器(Central Processing Unit,CPU),视频处理器,音频处理器,图形处理器(Graphics Processing Unit,GPU),以及随机存取存储器(Random Access Memory,RAM),只读存储器(Read-Only Memory,ROM),用于输入/输出的第一接口至第n接口,通信总线(Bus)等中的至少一种。In some embodiments, the processor includes a central processing unit (CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), and a random access memory (Random Access Memory, RAM). , read-only memory (Read-Only Memory, ROM), at least one of the first to nth interfaces for input/output, communication bus (Bus), etc.
其中,RAM也叫主存,是与处理器直接交换数据的内部存储器。它可以随时读写(刷新时除外),而且速度很快,通常作为操作系统或其他正在运行中的程序的临时数据存储介质。它与ROM的最大区别是数据的易失性,即一旦断电所存储的数据将随之丢失。RAM在计算机和数字系统中用来暂时存储程序、数据和中间结果。ROM以非破坏性读出方式工作,只能读出无法写入信息。信息一旦写入后就固定下来,即使切断电源,信息也不会丢失,所以又称为固定存储器。Among them, RAM is also called main memory, which is an internal memory that directly exchanges data with the processor. It can be read and written at any time (except when refreshing), is very fast, and is often used as a temporary data storage medium for the operating system or other running programs. The biggest difference between it and ROM is the volatility of data, that is, the stored data will be lost once the power is turned off. RAM is used in computers and digital systems to temporarily store programs, data, and intermediate results. ROM works in a non-destructive reading mode and can only read information but cannot write information. Once the information is written, it is fixed and will not be lost even if the power is turned off, so it is also called fixed memory.
用户可在显示器260上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。The user may input a user command into a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user can input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
本申请实施例提供的显示设备包括:显示器和处理器,其中,处理器对应上述图3中的处理器260。本申请实施例中的控制设备可以为图1中的控制装置100,显示设备可以为图1中的显示设备200。The display device provided by the embodiment of the present application includes: a display and a processor, where the processor corresponds to the processor 260 in Figure 3 above. The control device in the embodiment of the present application may be the control device 100 in FIG. 1 , and the display device may be the display device 200 in FIG. 1 .
本申请实施例提供了一种显示设备,该显示设备包括:处理器和显示器,该处理器,被配置为:通过显示设备与控制设备之间的连接等时流(Connected Isochronous Stream,CIS)链路,接收控制设备发送的目标数据,目标数据是控制设备根据接收的用户控制指令生成的;通过CIS链路,向控制设备发送回复消息,回复消息用于表征已接收到目标数据;基于目标数据,获取与用户控制指令对应的目标信息;该显示器,被配置为:显示目标信息。An embodiment of the present application provides a display device. The display device includes: a processor and a display. The processor is configured to: pass a Connected Isochronous Stream (CIS) chain between the display device and the control device. path to receive target data sent by the control device. The target data is generated by the control device according to the received user control instructions; through the CIS link, a reply message is sent to the control device. The reply message is used to represent that the target data has been received; based on the target data , obtain the target information corresponding to the user control instruction; the display is configured to: display the target information.
图16为显示设备的一种软件配置示意图,如图16所示,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。Figure 16 is a schematic diagram of a software configuration of a display device. As shown in Figure 16, the system is divided into four layers. From top to bottom they are the Applications layer (referred to as the "Application layer"), the Application Framework Framework) layer (referred to as "framework layer"), Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and kernel layer. The kernel layer contains at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply Driver etc.
本申请实施例提供了一种控制设备,该控制设备包括:处理器,被配置为:接收用户控制指令;基于用户控制指令生成目标数据;通过控制设备与显示设备之间的CIS链路,向显示设备发送目标数据,以使显示设备基于目标数据,显示与用户控制指令对应的目标信息;通过CIS链路,接收显示设备发送的回复消息,回复消息用于表征显示设备已接收到目标数据。An embodiment of the present application provides a control device. The control device includes: a processor configured to: receive user control instructions; generate target data based on the user control instructions; and send data to the control device through a CIS link between the control device and the display device. The display device sends target data so that the display device displays target information corresponding to the user control instruction based on the target data; through the CIS link, a reply message sent by the display device is received, and the reply message is used to indicate that the display device has received the target data.
控制设备基于用户控制指令生成目标数据,通过控制设备与显示设备之间的CIS链路,向显示设备发送目标数据,显示设备通过CIS链路,接收控制设备发送的目标数据,向控制设备发送回复消息(回复消息用于表征显示设备已接收到目标数据)并基于目标数据,获取与用户控制指令对应的目标信息,显示目标信息,控制设备接收回复消息。The control device generates target data based on user control instructions, sends the target data to the display device through the CIS link between the control device and the display device, and the display device receives the target data sent by the control device through the CIS link and sends a reply to the control device. message (the reply message is used to indicate that the display device has received the target data) and based on the target data, obtain the target information corresponding to the user control instruction, display the target information, and control the device to receive the reply message.
用户控制指令可以是用户的语音控制指令,也可以是用户的按键控制指令,还可以是用户的其他控 制指令,本申请实施例不做限定。The user control instructions can be the user's voice control instructions, the user's key control instructions, or other user control instructions. Control instructions are not limited in the embodiments of this application.
目标数据为基于一条完整的用户控制指令生成的,目标数据包括至少一个数据包,具体地,根据目标数据的大小,以及每个数据包的长度,确定目标数据需要通过多少个数据包发送。The target data is generated based on a complete user control instruction. The target data includes at least one data packet. Specifically, based on the size of the target data and the length of each data packet, it is determined how many data packets the target data needs to be sent.
通过控制设备与显示设备之间的CIS链路,向显示设备发送目标数据,具体地,控制设备将目标数据分成至少一个数据包发送至显示设备,显示设备收到每个数据包均会回复一个用以表征接收到数据包的消息,本申请实施例中的显示设备向控制设备发送的回复消息,用以表征显示设备已经完成目标数据的接收。The target data is sent to the display device through the CIS link between the control device and the display device. Specifically, the control device divides the target data into at least one data packet and sends it to the display device. The display device will reply with a A message used to indicate that a data packet has been received. The reply message sent by the display device in the embodiment of the present application to the control device is used to indicate that the display device has completed receiving the target data.
CIS是在已建立的ACL链路的基础上,在相连设备间建立的固定时间间隔(ISO Interval)的数据流传输通道,其中,ACL链路和CIS链路都是低功耗蓝牙传输链路。CIS is a data stream transmission channel with a fixed time interval (ISO Interval) established between connected devices based on the established ACL link. The ACL link and CIS link are both low-power Bluetooth transmission links. .
显示目标信息可以包括以下至少一项:更新界面(如:界面切换),显示弹窗消息(如:在当前界面弹出一个窗口或者在当前界面悬浮显示另一界面),移动显示设备的焦点(如:显示设备的焦点从一控件移动至另一控件),显示目标信息具体地根据实际情况确定,本申请实施例不做限定。Displaying target information may include at least one of the following: updating the interface (such as interface switching), displaying pop-up messages (such as popping up a window on the current interface or displaying another interface in a floating manner on the current interface), moving the focus of the display device (such as : the focus of the display device moves from one control to another), the display target information is specifically determined according to the actual situation, and is not limited in the embodiments of this application.
其中,焦点所在的对象为当前处于选中状态的对象。Among them, the object where the focus is located is the object currently in the selected state.
示例性地,以显示设备是电视,控制设备是遥控器为例,若用户控制指令为从频道1切换为频道2,则显示目标信息为将频道1的界面更新为频道2的界面;若用户的控制指令为语音控制指令,且指令的内容为“今天天气”,则显示目标信息为在当前界面弹窗显示关于今天天气情况的信息;若用户的控制指令为语音控制指令,且指令的内容为“xxx电视剧”,则显示目标信息为在当前界面悬浮显示有关“xxx电视剧”的所有信息;若当前界面选中的为控件1,用户的控制指令为选中控件2,则显示目标信息为焦点从控件1移动至控件2,选中控件2。For example, assuming that the display device is a TV and the control device is a remote control, if the user control instruction is to switch from channel 1 to channel 2, the display target information is to update the interface of channel 1 to the interface of channel 2; if the user If the user's control instruction is a voice control instruction, and the content of the instruction is "today's weather", the display target information is to display information about today's weather conditions in a pop-up window on the current interface; if the user's control instruction is a voice control instruction, and the content of the instruction is is "xxx TV series", the display target information is to display all the information about "xxx TV series" in the current interface; if the current interface is selected control 1 and the user's control instruction is to select control 2, the display target information is to focus from Move control 1 to control 2 and select control 2.
本申请实施例提供的技术方案与现有技术相比具有如下优点:本申请实施例中,控制设备基于用户控制指令生成目标数据,通过控制设备与显示设备之间的CIS链路,向显示设备发送目标数据;显示设备通过CIS链路,接收控制设备发送的目标数据,向控制设备发送回复消息(回复消息用于表征显示设备已接收到目标数据)并基于目标数据(控制设备接收回复消息),获取与用户控制指令对应的目标信息,显示目标信息。由于CIS链路是建立在ACL链路基础上的,因此,本方案中的控制设备与显示设备之间同时存在可以用于数据传输的ACL链路和CIS链路,相较于现有技术只能通过ACL链路进行数据传输,本方案在ACL链路的基础上增加了CIS链路,可以提高数据传输的灵活性,而且在多个数据需要传输的情况下,可以实现数据的并行传输,提高传输效率。Compared with the existing technology, the technical solution provided by the embodiment of the present application has the following advantages: In the embodiment of the present application, the control device generates target data based on user control instructions, and sends the target data to the display device through the CIS link between the control device and the display device. Send target data; the display device receives the target data sent by the control device through the CIS link, sends a reply message to the control device (the reply message is used to indicate that the display device has received the target data) and based on the target data (the control device receives the reply message) , obtain the target information corresponding to the user control instruction, and display the target information. Since the CIS link is based on the ACL link, there are both ACL links and CIS links that can be used for data transmission between the control device and the display device in this solution. Compared with the existing technology, only Data can be transmitted through the ACL link. This solution adds a CIS link on the basis of the ACL link, which can improve the flexibility of data transmission. In addition, when multiple data needs to be transmitted, parallel transmission of data can be achieved. Improve transmission efficiency.
本申请一些实施例中,在控制设备与显示设备之间的ACL链路被占用的情况下,通过CIS链路,向显示设备发送目标数据。In some embodiments of the present application, when the ACL link between the control device and the display device is occupied, target data is sent to the display device through the CIS link.
可以理解,可以根据ACL链路是否被占用,确定发送目标数据的链路。例如,在控制设备与显示设备之间的ACL链路被占用的情况下,通过CIS链路,向显示设备发送目标数据;在控制设备与显示设备之间的ACL链路未被占用的情况下,通过ACL链路,向显示设备发送目标数据。也可以根据链路是否被占用,确定发送目标数据的链路。例如,在控制设备与显示设备之间的ACL链路被占用,CIS链路未被占用的情况下,通过CIS链路,向显示设备发送目标数据;在控制设备与显示设备之间的ACL链路未被占用,CIS链路被占用的情况下,通过ACL链路,向显示设备发送目标数据;在控制设备与显示设备之间的ACL链路未被占用且CIS链路未被占用的情况下,通过ACL链路或者CIS链路任一链路,向显示设备发送目标数据。It can be understood that the link for sending the target data can be determined based on whether the ACL link is occupied. For example, when the ACL link between the control device and the display device is occupied, the target data is sent to the display device through the CIS link; when the ACL link between the control device and the display device is not occupied , sending target data to the display device through the ACL link. The link to which the target data is sent can also be determined based on whether the link is occupied. For example, when the ACL link between the control device and the display device is occupied and the CIS link is not occupied, target data is sent to the display device through the CIS link; when the ACL link between the control device and the display device When the ACL link is not occupied and the CIS link is occupied, the target data is sent to the display device through the ACL link; when the ACL link between the control device and the display device is not occupied and the CIS link is not occupied Next, send the target data to the display device through either ACL link or CIS link.
本申请实施例中,在控制设备与显示设备之间的ACL链路被占用的情况下,通过CIS链路,向显示设备发送目标数据;如此,在ACL链路正在使用时,通过CIS链路传输目标数据,可以实现数据的并行传输,节约了时间,进而提升了传输效率。 In the embodiment of the present application, when the ACL link between the control device and the display device is occupied, the target data is sent to the display device through the CIS link; in this way, when the ACL link is in use, the target data is sent through the CIS link Transmitting target data can realize parallel transmission of data, saving time and improving transmission efficiency.
本申请一些实施例中,在用户控制指令为语音控制指令的情况下,通过CIS链路,向显示设备发送目标数据。In some embodiments of the present application, when the user control instruction is a voice control instruction, the target data is sent to the display device through the CIS link.
可以理解,根据用户的控制指令是语音控制指令或者按键控制指令,确定发送目标数据的链路:在用户控制指令为语音控制指令的情况下,通过CIS链路,向显示设备发送目标数据;在用户控制指令为其他控制指令(如按键控制指令等)的情况下,通过ACL链路,向显示设备发送目标数据。It can be understood that depending on whether the user's control instruction is a voice control instruction or a key control instruction, the link for sending the target data is determined: when the user control instruction is a voice control instruction, the target data is sent to the display device through the CIS link; When the user control instruction is other control instruction (such as key control instruction, etc.), the target data is sent to the display device through the ACL link.
本申请实施例中,在用户控制指令为语音控制指令的情况下,通过CIS链路,向显示设备发送目标数据,在用户控制指令为其他控制指令的情况下,通过ACL链路,向显示设备发送目标数据。在显示设备与控制设备之间传输的数据中,语音数据对链路的要求最高,耗费的资源也最多,因此,将最耗费资源的语音数据通过CIS链路传输,ACL链路则不再需要按照对链路要求最高的传输语音数据的配置去建立或者维持,从而节约大量资源,同时,可以实现对语音控制指令和其他控制指令生成的目标数据的并行传输,提高了传输效率。In the embodiment of the present application, when the user control instruction is a voice control instruction, the target data is sent to the display device through the CIS link; when the user control instruction is other control instructions, the target data is sent to the display device through the ACL link. Send target data. Among the data transmitted between the display device and the control device, voice data has the highest requirements on the link and consumes the most resources. Therefore, the most resource-consuming voice data is transmitted through the CIS link, and the ACL link is no longer needed. It is established or maintained according to the configuration that has the highest link requirements for transmitting voice data, thus saving a lot of resources. At the same time, parallel transmission of target data generated by voice control instructions and other control instructions can be achieved, improving transmission efficiency.
本申请一些实施例中,控制设备在向显示设备发送目标数据之前,控制设备先判断与显示设备之间是否存在CIS链路。在控制设备与显示设备之间存在CIS链路的情况下,通过CIS链路,向显示设备发送目标数据,显示设备接收目标数据。在控制设备与显示设备之间不存在CIS链路的情况下,控制设备向显示设备发送请求消息,请求消息用于请求建立CIS链路;显示设备接收请求消息,并向控制设备发送响应消息,响应消息用于表征同意建立CIS链路,控制设备接收显示设备发送的响应消息,基于响应消息,在控制设备与显示设备之间建立CIS链路,通过CIS链路,向显示设备发送目标数据。In some embodiments of the present application, before the control device sends target data to the display device, the control device first determines whether there is a CIS link with the display device. When a CIS link exists between the control device and the display device, target data is sent to the display device through the CIS link, and the display device receives the target data. When there is no CIS link between the control device and the display device, the control device sends a request message to the display device. The request message is used to request the establishment of a CIS link; the display device receives the request message and sends a response message to the control device. The response message is used to represent the agreement to establish a CIS link. The control device receives the response message sent by the display device. Based on the response message, a CIS link is established between the control device and the display device, and target data is sent to the display device through the CIS link.
可以理解,CIS链路可以是控制设备和显示设备在进行通信之前已经建立的,也可以是在需要通过CIS链路传输数据时才建立的CIS链路,具体地可以根据实际需要确定,本申请实施例不做限定。It can be understood that the CIS link can be established before the control device and the display device communicate, or it can be a CIS link established only when data needs to be transmitted through the CIS link. Specifically, it can be determined according to actual needs. This application The examples are not limiting.
本申请实施例中,控制设备在向显示设备发送目标数据之前,控制设备先判断与显示设备之间是否存在CIS链路,在控制设备与显示设备之间存在CIS链路的情况下,通过CIS链路,向显示设备发送目标数据,显示设备接收目标数据,在控制设备与显示设备之间不存在CIS链路的情况下,控制设备向显示设备发送请求消息,请求消息用于请求建立CIS链路;显示设备接收请求消息,并向控制设备发送响应消息,响应消息用于表征同意建立CIS链路,控制设备接收显示设备发送的响应消息,基于响应消息,在控制设备与显示设备之间建立CIS链路,通过CIS链路,向显示设备发送目标数据。由此,CIS链路的建立时机可以灵活选择,可以在控制设备与显示设备通信之前建立,也可以在需要使用CIS链路时再建立。In the embodiment of the present application, before the control device sends target data to the display device, the control device first determines whether there is a CIS link between the control device and the display device. If there is a CIS link between the control device and the display device, the control device uses the CIS link, sending target data to the display device, and the display device receives the target data. When there is no CIS link between the control device and the display device, the control device sends a request message to the display device. The request message is used to request the establishment of a CIS link. path; the display device receives the request message and sends a response message to the control device. The response message is used to indicate the agreement to establish the CIS link. The control device receives the response message sent by the display device, and based on the response message, establishes a connection between the control device and the display device. CIS link. Send target data to the display device through the CIS link. Therefore, the timing of establishing the CIS link can be flexibly selected. It can be established before the control device communicates with the display device, or it can be established when the CIS link needs to be used.
本申请一些实施例中,用户控制指令为语音控制指令,显示设备通过CIS链路,接收显示设备发送的回复消息之后,重置计时器,并开启计时器计时;控制设备在计时器超时未接收到新的语音控制指令的情况下,断开CIS链路;在计时器超时之前接收到新的语音控制指令的情况下,停止计时器计时。In some embodiments of the present application, the user control instruction is a voice control instruction. After receiving the reply message sent by the display device through the CIS link, the display device resets the timer and starts the timer timing; the control device does not receive the message when the timer times out. When a new voice control command is received, the CIS link is disconnected; when a new voice control command is received before the timer times out, the timer is stopped.
可以理解,在接收到显示设备发送的回复消息后,即基于用户的语音控制指令生成的目标数据发送至显示设备,显示设备已接收完成,重置计时器,并开启计时器计时,控制设备在计时器超时之前接收到用户新的语音控制指令的情况下,则停止计时;控制设备在计时器超时未接收到用户新的语音控制指令的情况下,控制设备向显示设备的发送用于断开CIS链路的指令,并释放控制设备中维持CIS链路使用的资源;显示设备接收到控制设备发送的断开CIS链路的指令,并释放显示设备中维持CIS链路使用的资源。It can be understood that after receiving the reply message sent by the display device, the target data generated based on the user's voice control instruction is sent to the display device. The display device has completed the reception, resets the timer, and starts the timer timing. The control device is in If a new voice control command from the user is received before the timer expires, the timing will be stopped; if the control device does not receive a new voice control command from the user before the timer expires, the control device sends a message to the display device for disconnection. The display device receives the instruction from the control device to disconnect the CIS link and releases the resources used by the display device to maintain the CIS link.
可以理解,可以设置计时器的总计时时长为预设时长,可以根据计时器的计时时长是否等于预设时长确定计时器是否超时,在计时器的计时时长等于预设时长时,确定计时器超时,在计时器计时的时长小于预设时长时,确定计时器未超时;其中,预设时长可以是固定值,预设时长也可以根据用户历史使用语音控制指令的间隔时长动态调整,具体地本申请实施例不做限定。 It can be understood that the total time duration of the timer can be set to a preset duration, and whether the timer times out can be determined based on whether the timer's timing duration is equal to the preset duration. When the timer's timing duration is equal to the preset duration, it is determined that the timer has timed out. , when the timer duration is less than the preset duration, it is determined that the timer has not timed out; wherein, the preset duration can be a fixed value, and the preset duration can also be dynamically adjusted according to the user's history of using voice control instructions. The application examples are not limiting.
如图4所示,为使用计时器确定CIS链路是否需要断开的流程示意图,包括步骤401至步骤413。As shown in Figure 4, it is a schematic flowchart of using a timer to determine whether the CIS link needs to be disconnected, including steps 401 to 413.
401、控制设备接收用户的语音控制指令。401. The control device receives the user's voice control instruction.
402、控制设备判断是否存在CIS链路。402. The control device determines whether a CIS link exists.
是则执行步骤403,否则执行步骤404。If yes, execute step 403; otherwise, execute step 404.
403、控制设备停止计时器计时。403. Control the device to stop the timer.
404、控制设备向显示设备发送请求消息。404. The control device sends a request message to the display device.
其中,请求消息用于请求建立CIS链路。The request message is used to request the establishment of a CIS link.
405、显示设备接收控制设备发送的请求消息。405. The display device receives the request message sent by the control device.
406、显示设备根据请求消息,向控制设备发送的响应消息。406. The display device sends a response message to the control device according to the request message.
407、控制设备接收显示设备发送的响应消息。407. The control device receives the response message sent by the display device.
408、控制设备基于响应消息,建立CIS链路。408. The control device establishes a CIS link based on the response message.
409、控制设备基于语音控制指令,生成目标数据。409. The control device generates target data based on voice control instructions.
410、控制设备通过CIS链路,向显示设备发送目标数据。410. The control device sends target data to the display device through the CIS link.
411、显示设备,接收控制设备发送的目标数据。411. The display device receives the target data sent by the control device.
412、显示设备基于目标数据,获取与用户指令对应的目标信息。412. The display device obtains target information corresponding to the user instruction based on the target data.
413、显示设备显示目标信息。413. The display device displays target information.
414、显示设备通过CIS链路,向控制设备发送回复消息。414. The display device sends a reply message to the control device through the CIS link.
415、控制设备接收显示设备发送的回复消息。415. The control device receives the reply message sent by the display device.
416、控制设备重置并启动计时器。416. Control the device to reset and start the timer.
417、控制设备判断计时器超时前是否收到新的语音控制指令。417. The control device determines whether a new voice control command is received before the timer times out.
是则执行步骤403,否则执行步骤418。If yes, execute step 403; otherwise, execute step 418.
418、控制设备向显示设备发送断开CIS链路指令,并释放资源。418. The control device sends a disconnection CIS link instruction to the display device and releases resources.
419、显示设备接收控制设备发送的断开CIS链路指令,并释放资源。419. The display device receives the disconnection CIS link instruction sent by the control device and releases the resources.
需要说明的是,步骤401至步骤419的执行顺序根据实际需要确定,本申请实施例不做限定中。如步骤402和步骤409可以同时执行,也可以先执行步骤409,再执行步骤402。It should be noted that the execution order of steps 401 to 419 is determined according to actual needs and is not limited in the embodiments of this application. For example, step 402 and step 409 can be executed at the same time, or step 409 can be executed first and then step 402.
本申请实施例中,用户控制指令为语音控制指令,显示设备通过CIS链路,接收显示设备发送的回复消息之后,重置计时器,并开启计时器计时;控制设备在计时器超时未接收到新的语音控制指令的情况下,断开CIS链路;在计时器超时之前接收到新的语音控制指令的情况下,停止计时器计时。因为用户使用控制设备的语音控制功能的频率相对低一些,CIS链路长时间闲置会浪费资源,因此,通过设置计时器,在计时器超时的情况下,控制设备还未接收到用户的语音控制指令,则可以将CIS链路断开,由此,可以减少资源的闲置浪费。In the embodiment of this application, the user control instruction is a voice control instruction. After the display device receives the reply message sent by the display device through the CIS link, it resets the timer and starts the timer timing; the control device does not receive the message when the timer times out. If a new voice control command is received, the CIS link is disconnected; if a new voice control command is received before the timer times out, the timer is stopped. Because the frequency of users using the voice control function of the control device is relatively low, leaving the CIS link idle for a long time will waste resources. Therefore, by setting a timer, when the timer times out, the control device has not received the user's voice control. command, the CIS link can be disconnected, thereby reducing idle waste of resources.
本申请一些实施例中,控制设备通过CIS链路上的至少一个CIS事件,向显示设备发送目标数据,每个CIS事件包括至少一个CIS子事件;显示设备通过CIS链路上的至少一个CIS事件,接收目标数据,显示设备向控制设备发送的回复消息,控制设备接收到显示设备发送的回复消息后,控制设备向显示设备发送指示消息,指示消息用于指示用户控制指令对应的目标数据已发送完成,显示设备接收到指示消息,根据指示消息,关闭至少一个CIS事件中的最后一个CIS事件,以使显示设备不再监听最后一个CIS事件的CIS子事件。In some embodiments of the present application, the control device sends target data to the display device through at least one CIS event on the CIS link, and each CIS event includes at least one CIS sub-event; the display device uses at least one CIS event on the CIS link , receive the target data, and the display device sends a reply message to the control device. After the control device receives the reply message sent by the display device, the control device sends an instruction message to the display device. The instruction message is used to indicate that the target data corresponding to the user control instruction has been sent. Completed, the display device receives the instruction message, and according to the instruction message, closes the last CIS event in at least one CIS event, so that the display device no longer listens to the CIS sub-event of the last CIS event.
可以理解,CIS链路上,一个CIS事件具有固定的间隔时长,该间隔时长可以根据实际需要调整;一个CIS事件包括至少一个CIS子事件,每个子事件也具有固定的间隔时长,每个子事件的间隔时长也可以根据实际需要调整。 It can be understood that on a CIS link, a CIS event has a fixed interval duration, and the interval duration can be adjusted according to actual needs; a CIS event includes at least one CIS sub-event, and each sub-event also has a fixed interval duration. The interval length can also be adjusted according to actual needs.
通常情况下,CIS链路上,通过一个CIS子事件传输一个数据包。Normally, on a CIS link, a data packet is transmitted through a CIS sub-event.
可以理解,一个CIS链路上包括至少一个CIS事件,每个CIS事件包括至少一个CIS子事件,每个子事件用于传输一个数据包,如图5所示,一个CIS链路上包括N(N为大于0的整数)个CIS事件,其中,CIS事件1和CIS事件N均包括4个CIS子事件,CIS事件1和CIS事件N之间未示出的CIS事件中每个CIS事件中也均包括4个CIS子事件,每个CIS子事件用于传输一个数据包,因此,在该CIS链路上的任一CIS事件中最多可以传输4个数据包,具体地,每个CIS事件最多可以传输4个数据包,可以理解为受其他因素的影响(如突发数量、网络环境拥塞情况等),每个CIS事件实际可以传输1、2、3或4个数据包,例如,图12中一个CIS事件可以用于传输一个数据包,图13中一个CIS事件可以用于传输2个数据包,图14和图15中一个CIS事件可以用于传输4个数据包。It can be understood that a CIS link includes at least one CIS event, and each CIS event includes at least one CIS sub-event. Each sub-event is used to transmit a data packet. As shown in Figure 5, a CIS link includes N(N is an integer greater than 0) CIS events, wherein both CIS event 1 and CIS event N include 4 CIS sub-events, and each of the CIS events not shown between CIS event 1 and CIS event N also has Including 4 CIS sub-events, each CIS sub-event is used to transmit a data packet. Therefore, up to 4 data packets can be transmitted in any CIS event on the CIS link. Specifically, each CIS event can transmit up to 4 data packets. Transmitting 4 data packets can be understood as being affected by other factors (such as the number of bursts, network environment congestion, etc.). Each CIS event can actually transmit 1, 2, 3 or 4 data packets, for example, in Figure 12 One CIS event can be used to transmit one data packet. In Figure 13, one CIS event can be used to transmit 2 data packets. In Figures 14 and 15, one CIS event can be used to transmit 4 data packets.
可以理解,将目标数据分为至少一个数据包,控制设备将至少一个数据包通过对应的至少一个CIS子事件发送至显示设备(一个数据包对应一个CIS子事件),显示设备在每个子事件的间隔时长内,通过该CIS子事件向控制设备发送回复消息,控制设备接收到最后一个CIS子事件对应的数据包的回复消息(即控制设备接收到目标数据中的最后一个数据包的回复消息)后,控制设备向显示设备发送一个指示消息,显示设备在接收到指示消息后,关闭最后一个CIS子事件所在的CIS事件,则在该CIS事件间隔时长剩余的时长内,显示设备不再继续监听该最后一个CIS事件中未发送数据包的子事件(即显示设备不再继续监听该最后一个CIS事件中接收指示消息的子事件之后的子事件),直到下一次CIS事件到来,显示设备继续监听下一个CIS事件中的子事件。It can be understood that the target data is divided into at least one data packet, and the control device sends at least one data packet to the display device through at least one corresponding CIS sub-event (one data packet corresponds to one CIS sub-event), and the display device responds in each sub-event. Within the interval, a reply message is sent to the control device through the CIS sub-event, and the control device receives the reply message of the data packet corresponding to the last CIS sub-event (that is, the control device receives the reply message of the last data packet in the target data) Afterwards, the control device sends an instruction message to the display device. After receiving the instruction message, the display device closes the CIS event where the last CIS sub-event is located. Then, the display device will no longer continue to listen for the remaining duration of the CIS event interval. In the last CIS event, no data packet is sent in the sub-event (that is, the display device no longer continues to listen to the sub-event after the sub-event of receiving the indication message in the last CIS event). Until the next CIS event arrives, the display device continues to listen. Subevent in the next CIS event.
示例性地,如图5所示,为利用CIE标志位提前关闭CIS事件示意图,在第N个CIS(CIS N事件)事件中,发送端数据(Data)发送完成,接收到接收端回复的Ack后,发送端发送CIE为1的数据包,接收端接收到CIE为1的数据包后,提前结束CIS N事件,那么在CIS子事件2剩余的时长内,CIS子事件3、CIS子事件4整个间隔时长内,即CIS N事件的子事件2发送完CIE之后至下一次CIS事件到来的时长内(标号600指示的阴影区域),显示设备无需监听该时长内的子事件,因此,在该时长内,可以将资源分配到其他操作上。For example, as shown in Figure 5, in order to use the CIE flag bit to close the CIS event in advance, in the Nth CIS (CIS N event) event, the sender completes sending the data (Data) and receives the Ack reply from the receiver. Finally, the sender sends a data packet with a CIE of 1. After receiving the data packet with a CIE of 1, the receiving end ends the CIS N event early. Then, within the remaining duration of the CIS sub-event 2, CIS sub-event 3 and CIS sub-event 4 During the entire interval, that is, from the time after the CIE of sub-event 2 of the CIS N event is sent to the arrival of the next CIS event (the shaded area indicated by the label 600), the display device does not need to monitor the sub-events within this time period. Therefore, during this time Within the duration, resources can be allocated to other operations.
可以理解,指示消息用于指示用户控制指令对应的目标数据已发送完成,显示设备接收到指示消息,则可以确定目标数据已发送完成,因此可以关闭用于传输目标数据的最后一个CIS事件。其中,指示消息可以包括目标数据已发送完成的信息,指示消息也可以包括指示目标数据已发送完成的标志位,也可以包括指示关闭当前CIS事件(最后一个CIS事件)的标志位,还可以包括其他的内容,具体可以根据实际需要确定,本申请实施例不做限定。It can be understood that the indication message is used to indicate that the target data corresponding to the user control instruction has been sent. When the display device receives the indication message, it can determine that the target data has been sent, and therefore the last CIS event used to transmit the target data can be closed. The indication message may include information that the target data has been sent. The indication message may also include a flag bit indicating that the target data has been sent. It may also include a flag bit indicating closing the current CIS event (the last CIS event). It may also include Other contents can be determined according to actual needs and are not limited in the embodiments of this application.
示例性地,如图6所示,为CIS协议数据单元的包头(Connected Isochronous Protocol Data Unit Header,CIS PDU Header),其中,关闭同步事件(Close Isochronous Event,CIE)标志位设置为1,即可关闭当前CIS事件,因此,CIE为1的数据包可以作为指示消息。For example, as shown in Figure 6, it is the packet header (Connected Isochronous Protocol Data Unit Header, CIS PDU Header) of the CIS protocol data unit, in which the Close Isochronous Event (CIE) flag is set to 1, that is Close the current CIS event, therefore, the data packet with CIE 1 can be used as an indication message.
本申请实施例中,控制设备通过CIS链路上的至少一个CIS事件,向显示设备发送目标数据,每个CIS事件包括至少一个CIS子事件;显示设备通过CIS链路上的至少一个CIS事件,接收目标数据,显示设备向控制设备发送的回复消息,控制设备接收到显示设备发送的回复消息后,控制设备向显示设备发送指示消息,指示消息用于指示用户控制指令对应的目标数据已发送完成,显示设备接收到指示消息,根据指示消息,关闭至少一个CIS事件中的最后一个CIS事件,以使显示设备不再监听最后一个CIS事件的CIS子事件。即在控制设备接收到显示设备的回复消息,确定显示设备完成目标数据的接收后,向显示设备发送指示消息,用于指示用户控制指令对应的目标数据已发送完成,可以关闭该次CIS事件,显示设备接收到指示消息后,关闭当前的CIS事件(即最后一个CIS事件),使得显示设备无需监听该CIS事件后续的CIS子事件,即提前结束了该CIS事件,如此,在该次CIS事件余下的时间中, 可以将资源分配到其他操作上(如与其他蓝牙设备交互、WiFi数据的收发等),进而节约了资源,提升了显示设备的工作效率。In the embodiment of the present application, the control device sends target data to the display device through at least one CIS event on the CIS link, and each CIS event includes at least one CIS sub-event; the display device uses at least one CIS event on the CIS link, After receiving the target data, the display device sends a reply message to the control device. After the control device receives the reply message sent by the display device, the control device sends an instruction message to the display device. The instruction message is used to indicate that the target data corresponding to the user control instruction has been sent. , the display device receives the instruction message, and according to the instruction message, closes the last CIS event in at least one CIS event, so that the display device no longer listens to the CIS sub-event of the last CIS event. That is, after the control device receives the reply message from the display device and determines that the display device has completed receiving the target data, it sends an instruction message to the display device to indicate that the target data corresponding to the user control instruction has been sent, and the CIS event can be closed. After receiving the instruction message, the display device closes the current CIS event (i.e., the last CIS event), so that the display device does not need to monitor the subsequent CIS sub-events of the CIS event, that is, the CIS event ends early. In this way, after the CIS event for the rest of the time, Resources can be allocated to other operations (such as interacting with other Bluetooth devices, sending and receiving WiFi data, etc.), thus saving resources and improving the work efficiency of the display device.
本申请实施例中,提供了一种用于显示设备的数据处理方法,如图7所示,该方法包括下述步骤101至步骤108。In an embodiment of the present application, a data processing method for a display device is provided. As shown in Figure 7 , the method includes the following steps 101 to 108.
101、控制设备接收用户控制指令。101. The control device receives user control instructions.
102、控制设备基于用户控制指令生成目标数据。102. The control device generates target data based on user control instructions.
103、通过控制设备与显示设备之间的CIS链路,控制设备向显示设备发送目标数据。103. Through the CIS link between the control device and the display device, the control device sends the target data to the display device.
104、通过显示设备与控制设备之间的CIS链路,显示设备接收控制设备发送的目标数据。104. Through the CIS link between the display device and the control device, the display device receives the target data sent by the control device.
105、显示设备基于目标数据,获取与用户控制指令对应的目标信息。105. The display device obtains target information corresponding to the user control instruction based on the target data.
106、显示设备,显示目标信息。106. Display device to display target information.
107、通过CIS链路,显示设备向控制设备发送回复消息,回复消息用于表征已接收到目标数据;107. Through the CIS link, the display device sends a reply message to the control device. The reply message is used to indicate that the target data has been received;
108、通过CIS链路,控制设备接收显示设备发送的回复消息。108. Through the CIS link, the control device receives the reply message sent by the display device.
本申请实施例提供的技术方案与现有技术相比具有如下优点:本申请实施例中,控制设备基于用户控制指令生成目标数据,通过控制设备与显示设备之间的CIS链路,向显示设备发送目标数据;显示设备通过CIS链路,接收控制设备发送的目标数据,向控制设备发送回复消息(回复消息用于表征显示设备已接收到目标数据)并基于目标数据(控制设备接收回复消息),获取与用户控制指令对应的目标信息,显示目标信息。由于CIS链路是建立在ACL链路基础上的,因此,本方案中的控制设备与显示设备之间同时存在可以用于数据传输的ACL链路和CIS链路,相较于现有技术只能通过ACL链路进行数据传输,本方案在ACL链路的基础上增加了CIS链路,可以提高数据传输的灵活性,而且在多个数据需要传输的情况下,可以实现数据的并行传输,提高传输效率。Compared with the existing technology, the technical solution provided by the embodiment of the present application has the following advantages: In the embodiment of the present application, the control device generates target data based on user control instructions, and sends the target data to the display device through the CIS link between the control device and the display device. Send target data; the display device receives the target data sent by the control device through the CIS link, sends a reply message to the control device (the reply message is used to indicate that the display device has received the target data) and based on the target data (the control device receives the reply message) , obtain the target information corresponding to the user control instruction, and display the target information. Since the CIS link is based on the ACL link, there are both ACL links and CIS links that can be used for data transmission between the control device and the display device in this solution. Compared with the existing technology, only Data can be transmitted through the ACL link. This solution adds a CIS link on the basis of the ACL link, which can improve the flexibility of data transmission. In addition, when multiple data needs to be transmitted, parallel transmission of data can be achieved. Improve transmission efficiency.
本申请一些实施例中,结合图7,如图8所示,上述步骤103具体可以通过下述步骤103a或者步骤103b实现。In some embodiments of the present application, as shown in FIG. 8 in conjunction with FIG. 7 , the above step 103 may be implemented through the following step 103a or step 103b.
103a、在控制设备与显示设备之间的ACL链路被占用的情况下,通过CIS链路,控制设备向显示设备发送目标数据。103a. When the ACL link between the control device and the display device is occupied, the control device sends the target data to the display device through the CIS link.
103b、在用户控制指令为语音控制指令的情况下,通过CIS链路,控制设备向显示设备发送目标数据。103b. When the user control instruction is a voice control instruction, the control device sends target data to the display device through the CIS link.
本申请实施例中,在控制设备与显示设备之间的ACL链路被占用的情况下,通过CIS链路,向显示设备发送目标数据;或者,在用户控制指令为语音控制指令的情况下,通过CIS链路,向显示设备发送目标数据,如此,如此,在ACL链路正在使用时,通过CIS链路传输目标数据,或者将比较耗费蓝牙资源的语音数据通过CIS链路传输,可以实现数据地并行传输,提高数据的传输效率。In the embodiment of the present application, when the ACL link between the control device and the display device is occupied, the target data is sent to the display device through the CIS link; or, when the user control instruction is a voice control instruction, Send the target data to the display device through the CIS link. In this way, when the ACL link is in use, the target data is transmitted through the CIS link, or the voice data that consumes Bluetooth resources is transmitted through the CIS link. Data can be realized. parallel transmission to improve data transmission efficiency.
本申请一些实施例中,结合图7,如图9所示,上述步骤103具体可以通过下述步骤103c至步骤103i实现。In some embodiments of the present application, as shown in FIG. 9 in conjunction with FIG. 7 , the above step 103 can be implemented specifically through the following steps 103c to 103i.
103c、控制设备判断与显示设备之间的是否存在CIS链路。103c. The control device determines whether there is a CIS link between the control device and the display device.
在控制设备与显示设备之间存在CIS链路的情况下,执行步骤103i,否则执行步骤103d。If there is a CIS link between the control device and the display device, step 103i is executed; otherwise, step 103d is executed.
103d、在控制设备与显示设备之间不存在CIS链路的情况下,控制设备向显示设备发送请求消息,请求消息用于请求建立CIS链路。103d. When there is no CIS link between the control device and the display device, the control device sends a request message to the display device, and the request message is used to request the establishment of the CIS link.
103e、显示设备接收控制设备发送的请求消息。103e. The display device receives the request message sent by the control device.
103f、显示设备根据请求消息,向控制设备发送响应消息,响应消息用于表征同意建立CIS链路。103f. The display device sends a response message to the control device according to the request message. The response message is used to indicate agreement to establish the CIS link.
103g、控制设备接收显示设备发送的响应消息,响应消息用于表征显示设备同意建立CIS链路。103g. The control device receives a response message sent by the display device. The response message is used to indicate that the display device agrees to establish the CIS link.
103h、控制设备基于响应消息,在控制设备与显示设备之间建立CIS链路。 103h. The control device establishes a CIS link between the control device and the display device based on the response message.
103i、通过CIS链路,控制设备向显示设备发送目标数据。103i. Through the CIS link, the control device sends target data to the display device.
本申请实施例中,控制设备在向显示设备发送目标数据之前,控制设备先判断与显示设备之间是否存在CIS链路,在控制设备与显示设备之间存在CIS链路的情况下,通过CIS链路,向显示设备发送目标数据,显示设备接收目标数据,在控制设备与显示设备之间不存在CIS链路的情况下,控制设备向显示设备发送请求消息,请求消息用于请求建立CIS链路;显示设备接收请求消息,并向控制设备发送响应消息,响应消息用于表征同意建立CIS链路,控制设备接收显示设备发送的响应消息,基于响应消息,在控制设备与显示设备之间建立CIS链路,通过CIS链路,向显示设备发送目标数据。由此,CIS链路的建立时机可以灵活选择,可以在控制设备与显示设备通信之前建立,也可以在需要使用CIS链路时再建立。In the embodiment of the present application, before the control device sends target data to the display device, the control device first determines whether there is a CIS link between the control device and the display device. If there is a CIS link between the control device and the display device, the control device uses the CIS link, sending target data to the display device, and the display device receives the target data. When there is no CIS link between the control device and the display device, the control device sends a request message to the display device. The request message is used to request the establishment of a CIS link. path; the display device receives the request message and sends a response message to the control device. The response message is used to indicate the agreement to establish the CIS link. The control device receives the response message sent by the display device, and based on the response message, establishes a connection between the control device and the display device. CIS link. Send target data to the display device through the CIS link. Therefore, the timing of establishing the CIS link can be flexibly selected. It can be established before the control device communicates with the display device, or it can be established when the CIS link needs to be used.
本申请一些实施例中,用户控制指令为语音控制指令,结合图7,如图10所示,上述步骤108之后,本申请实施例的数据处理方法还包括下述步骤109、步骤110和步骤110a即步骤110b。In some embodiments of the present application, the user control instructions are voice control instructions. As shown in Figure 10 in conjunction with Figure 7, after the above step 108, the data processing method in the embodiment of the present application also includes the following steps 109, 110 and 110a. That is step 110b.
109、控制设备重置计时器,并开启计时器计时。109. Control the device to reset the timer and start the timer.
110、控制设备判断计时器超时前是否收到新的语音控制指令。110. The control device determines whether a new voice control command is received before the timer times out.
如果接收到新的语音控制指令,执行步骤110b,否则执行110a。If a new voice control instruction is received, step 110b is executed, otherwise step 110a is executed.
110a、在计时器超时未接收到新的语音控制指令的情况下,断开CIS链路。110a. When the timer times out and no new voice control command is received, disconnect the CIS link.
110b、在计时器超时之前接收到新的语音控制指令的情况下,停止计时器计时。110b. When a new voice control instruction is received before the timer times out, stop the timer.
本申请实施例中,用户控制指令为语音控制指令,显示设备通过CIS链路,接收显示设备发送的回复消息之后,重置计时器,并开启计时器计时;控制设备在计时器超时未接收到新的语音控制指令的情况下,断开CIS链路;在计时器超时之前接收到新的语音控制指令的情况下,停止计时器计时。因为用户使用控制设备的语音控制指令的频率相对低一些,CIS链路长时间闲置会浪费资源,因此,通过设置计时器,在计时器超时的情况下,控制设备还未接收到用户的语音控制指令,则可以将CIS链路断开,由此,可以减少资源的闲置浪费。In the embodiment of this application, the user control instruction is a voice control instruction. After the display device receives the reply message sent by the display device through the CIS link, it resets the timer and starts the timer timing; the control device does not receive the message when the timer times out. If a new voice control command is received, the CIS link is disconnected; if a new voice control command is received before the timer times out, the timer is stopped. Because the frequency of users using the voice control instructions of the control device is relatively low, and the CIS link is idle for a long time, it will waste resources. Therefore, by setting a timer, when the timer times out, the control device has not received the user's voice control. command, the CIS link can be disconnected, thereby reducing idle waste of resources.
本申请一些实施例中,结合图7,如图11所示,上述步骤103具体可以通过下述步骤103j实现,上述步骤104可以通过下述步骤104a实现,上述步骤108之后,本申请实施例的数据处理方法还包括下述步骤111至步骤113。In some embodiments of the present application, as shown in Figure 11 in conjunction with Figure 7, the above step 103 can be implemented through the following step 103j, and the above step 104 can be implemented through the following step 104a. After the above step 108, the embodiment of the present application The data processing method also includes the following steps 111 to 113.
103j、控制设备通过CIS链路上的至少一个CIS事件,向显示设备发送目标数据,每个CIS事件包括至少一个CIS子事件。103j. The control device sends target data to the display device through at least one CIS event on the CIS link, and each CIS event includes at least one CIS sub-event.
104a、显示设备通过CIS链路上的至少一个CIS事件,接收目标数据。104a. The display device receives the target data through at least one CIS event on the CIS link.
111、控制设备向显示设备发送指示消息,指示消息用于指示用户控制指令对应的目标数据已发送完成。111. The control device sends an instruction message to the display device. The instruction message is used to indicate that the target data corresponding to the user control instruction has been sent.
112、显示设备接收控制设备发送的指示消息。112. The display device receives the instruction message sent by the control device.
113、显示设备根据指示消息,关闭至少一个CIS事件中的最后一个CIS事件。113. The display device closes the last CIS event among at least one CIS event according to the instruction message.
其中,显示设备关闭至少一个CIS事件中的最后一个CIS事件后,则显示设备不再监听最后一个CIS事件的CIS子事件。Among them, after the display device closes the last CIS event in at least one CIS event, the display device no longer monitors the CIS sub-event of the last CIS event.
本申请实施例中,控制设备通过CIS链路上的至少一个CIS事件,向显示设备发送目标数据,每个CIS事件包括至少一个CIS子事件;显示设备通过CIS链路上的至少一个CIS事件,接收目标数据,显示设备向控制设备发送的回复消息,控制设备接收到显示设备发送的回复消息后,控制设备向显示设备发送指示消息,指示消息用于指示用户控制指令对应的目标数据已发送完成,显示设备接收到指示消息,根据指示消息,关闭至少一个CIS事件中的最后一个CIS事件,以使显示设备不再监听最后一个CIS事件的CIS子事件。即在控制设备接收到显示设备的回复消息,确定显示设备完成目标数据的接收 后,向显示设备发送指示消息,用于指示用户控制指令对应的目标数据已发送完成,可以关闭该次CIS事件,显示设备接收到指示消息后,关闭当前的CIS事件(即最后一个CIS事件),使得显示设备无需监听该CIS事件后续的CIS子事件,即提前结束了该CIS事件,如此,在该次CIS事件余下的时间中,可以将资源分配到其他操作上(如与其他蓝牙设备交互、WiFi数据的收发等),进而节约了资源,提升了显示设备的工作效率。In the embodiment of the present application, the control device sends target data to the display device through at least one CIS event on the CIS link, and each CIS event includes at least one CIS sub-event; the display device uses at least one CIS event on the CIS link, After receiving the target data, the display device sends a reply message to the control device. After the control device receives the reply message sent by the display device, the control device sends an instruction message to the display device. The instruction message is used to indicate that the target data corresponding to the user control instruction has been sent. , the display device receives the instruction message, and according to the instruction message, closes the last CIS event in at least one CIS event, so that the display device no longer listens to the CIS sub-event of the last CIS event. That is, the control device receives the reply message from the display device and confirms that the display device has completed receiving the target data. Afterwards, an instruction message is sent to the display device to indicate that the target data corresponding to the user control instruction has been sent and the CIS event can be closed. After receiving the instruction message, the display device closes the current CIS event (i.e., the last CIS event). , so that the display device does not need to monitor the subsequent CIS sub-events of the CIS event, that is, the CIS event ends early. In this way, in the remaining time of the CIS event, resources can be allocated to other operations (such as interacting with other Bluetooth devices) , WiFi data sending and receiving, etc.), thereby saving resources and improving the work efficiency of the display device.
本申请一些实施例中,在网络环境无拥塞的情况下,调整CIS链路的传输参数至第一目标参数;在网络环境拥塞的情况下,调整CIS链路的传输参数至第二目标参数;CIS链路的传输参数包括以下至少一项:突发数量(burst number,BN)、子事件数量(number of subevent,NSE)、刷新超时(flush timeout,FT),第一目标参数中的NSE大于第二目标参数中的NSE,第一目标参数中的BN大于第二目标参数中的BN,第一目标参数中的FT小于第二目标参数中的FT。BN用于指示一个CIS事件中,允许发送的不同数据包的个数,NSE用于指示一个CIS事件中,允许最多存在的子事件的个数,FT用于指示同一子事件最多允许在FT个事件中发送。In some embodiments of the present application, when the network environment is not congested, the transmission parameters of the CIS link are adjusted to the first target parameter; when the network environment is congested, the transmission parameters of the CIS link are adjusted to the second target parameter; The transmission parameters of the CIS link include at least one of the following: burst number (BN), number of subevents (NSE), flush timeout (FT), and the NSE in the first target parameter is greater than The NSE in the second target parameter, the BN in the first target parameter are greater than the BN in the second target parameter, and the FT in the first target parameter is smaller than the FT in the second target parameter. BN is used to indicate the number of different data packets allowed to be sent in a CIS event, NSE is used to indicate the maximum number of sub-events allowed to exist in a CIS event, and FT is used to indicate that the same sub-event is allowed to exist in FT at most. Sent in event.
可以理解,在网络环境无拥塞的情况下,表明网络环境较好,可以通过增大NSE,和/或,增大BN,和/或,减小FT,来提升数据的传输速率。It can be understood that when the network environment is not congested, it indicates that the network environment is good, and the data transmission rate can be increased by increasing NSE, and/or increasing BN, and/or decreasing FT.
示例性地,以网络环境无拥塞,需要传输三个协议数据单元(Protocol Data Unit,PDU),即数据包,每个PDU均发送一次即可收到Ack(回复消息)为例进行说明,其中,NSE=4,FT=1,即一个CIS事件最多有4个CIS子事件,每个CIS子事件中最多允许在一个CIS事件中发送。如图12所示,通过改变BN来提升传输速率,BN=1,则在一次CIS事件中只允许发送一个不同的PDU,那么0对应的PDU在第一个CIS事件中发送,1对应的PDU在第二个PDU中发送,2对应的PDU在第三个CIS事件中发送,因此,传输完成0、1、2三个PDU需要的CIS事件的数量为3(即需要3个间隔时长);如图13所示,BN=2,则在一次CIS事件中允许发送两个不同的PDU,那么0和1对应的PDU可以在第一个CIS事件中发送,2对应的PDU在下一个CIS事件中发送,因此,传输完成三个PDU需要的CIS事件的数量为2(即需要2个间隔时长),由此可知,BN从1增加到2,传输同样的3个PDU,图13比图12中少一个CIS事件,进而节约了一个CIS事件的间隔时长,节约了时间,提升了传输效率。As an example, take a network environment without congestion and need to transmit three Protocol Data Units (PDUs), that is, data packets. Each PDU is sent once to receive an Ack (reply message). , NSE=4, FT=1, that is, a CIS event has at most 4 CIS sub-events, and each CIS sub-event is allowed to be sent in at most one CIS event. As shown in Figure 12, the transmission rate is increased by changing the BN. If BN=1, only one different PDU is allowed to be sent in a CIS event. Then the PDU corresponding to 0 is sent in the first CIS event, and the PDU corresponding to 1 is sent in the first CIS event. is sent in the second PDU, and the PDU corresponding to 2 is sent in the third CIS event. Therefore, the number of CIS events required to complete the transmission of PDUs 0, 1, and 2 is 3 (that is, 3 intervals are required); As shown in Figure 13, BN=2, then two different PDUs are allowed to be sent in one CIS event, then the PDUs corresponding to 0 and 1 can be sent in the first CIS event, and the PDU corresponding to 2 can be sent in the next CIS event. Therefore, the number of CIS events required to complete the transmission of three PDUs is 2 (that is, 2 intervals are required). It can be seen that, BN increases from 1 to 2, and the same 3 PDUs are transmitted. Figure 13 is larger than Figure 12 One less CIS event saves the interval between one CIS event, saves time, and improves transmission efficiency.
可以理解,在网络环境拥塞的情况下,表明网络环境较差,可以通过减小NSE和/或,减小BN,和/或,增大FT,来降低丢包率的同时,尽量节约传输时间。It can be understood that when the network environment is congested, it indicates that the network environment is poor. You can reduce the packet loss rate by reducing NSE and/or reducing BN and/or increasing FT to save transmission time as much as possible. .
示例性地,以网络环境拥塞,需要传输四个PDU,每个PDU均需发送3次为例进行说明,其中,NSE=4,BN=2,即一个CIS事件最多有4个CIS子事件,每个CIS事件中最多允许发送两个不同的数据包。如图14所示,通过改变FT来降低丢包率,FT=1,则每个CIS子事件只允许在一个CIS事件中发送,那么0对应的PDU发送3次收到响应,1对应的PDU在第一个CIS事件中发送一次未收到响应,但不能在第二个CIS事件中继续发送,因此1对应的PDU丢包,2对应的PDU在第二个CIS事件中发送3次收到响应,3对应的PDU在第二个CIS事件中发送一次未收到响应,但不能在第三个CIS事件中继续发送,因此3对应的PDU丢包,因此,传输完成0、1、2、3对应的4个PDU需要的CIS事件的数量为2(即需要2个间隔时长),但是第1个PDU和第3个PDU均丢失,丢包率为50%。如图15所示,FT=2,则每个CIS子事件允许在二个CIS事件中发送,那么0对应的PDU发送3次收到响应,1对应的PDU在第一个CIS事件中发送一次未收到响应,在第二个CIS事件中继续发送两次收到响应,2对应的PDU在第二个CIS事件中发送2次未收到响应,在第三个CIS事件中继续发送一次收到响应,3对应的PDU在第三个CIS事件中发送三次收到响应,那么传输完成0、1、2、3对应的4个PDU需要的CIS事件的数量为3(即需要3个间隔时长),但所有PDU均完成传输,未丢包;由此可知,FT从1增加到2,传输同样的4个PDU,图14丢包率为50%,图15中未丢包,降低了丢包率。 For example, the network environment is congested and four PDUs need to be transmitted. Each PDU needs to be sent three times. Among them, NSE=4, BN=2, that is, one CIS event has at most 4 CIS sub-events. A maximum of two different packets are allowed to be sent per CIS event. As shown in Figure 14, the packet loss rate is reduced by changing FT. FT=1, then each CIS sub-event is only allowed to be sent in one CIS event. Then the PDU corresponding to 0 is sent 3 times and a response is received, and the PDU corresponding to 1 is received. After sending once in the first CIS event, no response was received, but it could not continue to be sent in the second CIS event. Therefore, the PDU corresponding to 1 was lost, and the PDU corresponding to 2 was sent 3 times in the second CIS event and received. In response, the PDU corresponding to 3 was sent once in the second CIS event but no response was received, but it could not be sent further in the third CIS event, so the PDU corresponding to 3 was lost. Therefore, the transmission was completed 0, 1, 2, The number of CIS events required for the four PDUs corresponding to 3 is 2 (that is, 2 intervals are required), but the first PDU and the third PDU are both lost, and the packet loss rate is 50%. As shown in Figure 15, FT=2, then each CIS sub-event is allowed to be sent in two CIS events, then the PDU corresponding to 0 is sent 3 times and a response is received, and the PDU corresponding to 1 is sent once in the first CIS event. No response was received, and the response was received after sending two more times in the second CIS event. The PDU corresponding to 2 was sent two times in the second CIS event but no response was received. It was continued to be sent once and received in the third CIS event. When the response is received, the PDU corresponding to 3 is sent three times in the third CIS event and the response is received. Then the number of CIS events required to complete the transmission of the 4 PDUs corresponding to 0, 1, 2, and 3 is 3 (that is, 3 intervals are required ), but all PDUs are transmitted without packet loss; it can be seen that when FT increases from 1 to 2 and the same 4 PDUs are transmitted, the packet loss rate in Figure 14 is 50%. In Figure 15, no packet is lost, which reduces the loss rate. Package rate.
本申请实施例中,在网络环境无拥塞的情况下,调整CIS链路的传输参数至第一目标参数;在网络环境拥塞的情况下,调整CIS链路的传输参数至第二目标参数;CIS链路的传输参数包括以下至少一项:突发数量BN、子事件数量NSE、刷新超时FT,第一目标参数中的NSE大于第二目标参数中的NSE,第一目标参数中的BN大于第二目标参数中的BN,第一目标参数中的FT小于第二目标参数中的FT。如此,可以实现在网络环境较好的情况下,提升数据的传输效率,在网络环境较差的情况下,降低传输数据过程中的丢包率。In the embodiment of the present application, when the network environment is not congested, the transmission parameters of the CIS link are adjusted to the first target parameter; when the network environment is congested, the transmission parameters of the CIS link are adjusted to the second target parameter; CIS The transmission parameters of the link include at least one of the following: the number of bursts BN, the number of sub-events NSE, and the refresh timeout FT. The NSE in the first target parameter is greater than the NSE in the second target parameter. The BN in the first target parameter is greater than the NSE in the second target parameter. BN among the two target parameters, FT in the first target parameter is smaller than FT in the second target parameter. In this way, the data transmission efficiency can be improved when the network environment is good, and the packet loss rate during data transmission can be reduced when the network environment is poor.
参见图17,图17为本申请实施例中显示设备的一种示意图,显示设备1700包括:显示器1730,用于显示来自广播系统和网络的图像和/或用户界面,存储器1740,配置为存储计算机指令和码流数据,通信器,配置为通过网络与外部设备通信;Referring to Figure 17, Figure 17 is a schematic diagram of a display device in an embodiment of the present application. The display device 1700 includes: a display 1730 for displaying images and/or user interfaces from the broadcast system and the network, and a memory 1740 configured to store a computer Instructions and code stream data, communicator, configured to communicate with external devices over the network;
处理器1710,与显示器1730,存储器1740和通信器1720连接,被配置为执行计算机指令以使得所述显示设备:获取固件数据,将固件数据分割为多个子数据,并生成各个子数据分别对应的广播等时流数据包。The processor 1710, connected to the display 1730, the memory 1740 and the communicator 1720, is configured to execute computer instructions so that the display device: obtains firmware data, divides the firmware data into multiple sub-data, and generates corresponding corresponding sub-data. Broadcast isochronous streaming packets.
固件数据是用于对控制设备进行OTA升级的升级文件,存储在显示设备。由于固件数据通常占用较大的存储空间,因此,可以将固件数据分割为多个子数据,再将各个子数据传输至控制设备。本申请通过利用BIS技术,可以将单个子数据填充至单个广播等时流数据包(即BIS数据包)中,从而生成每个子数据分别对应的广播等时流数据包。Firmware data is an upgrade file used for OTA upgrade of the control device and is stored in the display device. Since firmware data usually occupies a large storage space, the firmware data can be divided into multiple sub-data and then each sub-data is transmitted to the control device. By using BIS technology, this application can fill a single sub-data into a single broadcast isochronous flow data packet (ie, BIS data packet), thereby generating a broadcast isochronous flow data packet corresponding to each sub-data.
由于一个或多个广播等时流数据包可以组成一个广播等时组数据包,因此,可以根据多个广播等时流数据包,生成多个广播等时组数据包。例如,可以将N(N为正整数,例如可以为2、3、4、5等)个广播等时流数据包组合为一个广播等时组数据包。假设一共包含15个广播等时流数据包,5个广播等时流数据包作为一个广播等时组数据包,可以生成3个广播等时组数据包。Since one or more broadcast isochronous flow data packets can form a broadcast isochronous group data packet, multiple broadcast isochronous group data packets can be generated based on multiple broadcast isochronous flow data packets. For example, N (N is a positive integer, for example, it can be 2, 3, 4, 5, etc.) broadcast isochronous flow data packets can be combined into one broadcast isochronous group data packet. Assume that a total of 15 broadcast isochronous flow data packets are included, and 5 broadcast isochronous flow data packets are used as one broadcast isochronous group data packet, and 3 broadcast isochronous group data packets can be generated.
处理器,被配置为:广播发送多个广播等时组数据包,以使一个或多个控制设备在接收到广播等时组数据包后,从广播等时组数据中获取固件数据,并根据固件数据对控制设备进行空中下载技术升级。The processor is configured to: broadcast and send multiple broadcast isochronous group data packets, so that one or more control devices obtain firmware data from the broadcast isochronous group data after receiving the broadcast isochronous group data packet, and obtain firmware data according to the broadcast isochronous group data packet. The firmware data can be downloaded over the air to upgrade the control device.
在生成多个广播等时组数据包后,可以广播发送该多个广播等时组数据包。例如,可以周期性地广播发送该多个广播等时组数据包。一个或多个控制设备可以同时接收广播等时组数据包,例如,可以有31个控制设备同时接收广播等时组数据包。控制设备接收到多个广播等时组数据包后,可以从广播等时组数据包中获取固件数据,从而对自身进行OTA升级。在一些实施例中,控制设备可以是根据蓝牙协议与显示设备通信的遥控器,例如,低功耗音频(Low Energy Audio)的技术标准。After multiple broadcast isochronous group data packets are generated, the multiple broadcast isochronous group data packets may be broadcast and sent. For example, the plurality of broadcast isochronous group data packets may be broadcast and sent periodically. One or more control devices can receive broadcast isochronous group data packets at the same time. For example, 31 control devices can receive broadcast isochronous group data packets at the same time. After the control device receives multiple broadcast isochronous group data packets, it can obtain firmware data from the broadcast isochronous group data packets to perform OTA upgrades on itself. In some embodiments, the control device may be a remote control that communicates with the display device according to a Bluetooth protocol, for example, the technical standard of Low Energy Audio (Low Energy Audio).
可见,在上述过程中,显示设备和控制设备之间无需配对、连接,操作比较简单,降低了升级操作复杂度。并且,可以同时对多个控制设备进行升级,从而可以提高升级效率。It can be seen that in the above process, there is no need to pair or connect the display device and the control device, the operation is relatively simple, and the complexity of the upgrade operation is reduced. Moreover, multiple control devices can be upgraded at the same time, thereby improving the upgrade efficiency.
可以理解的是,在数据传输过程中,可能会发生丢包,为了降低丢包率,提高OTA升级成功率,在一些实施例中,处理器1710可以对各个广播等时流数据包按顺序进行编号,使各个广播等时流数据包具有按顺序编号的序号信息。例如,可以从0开始编号,各个广播等时流数据包的序号信息分别为0、1、2、3……参见图18,图18为本申请实施例中广播等时组数据包的一种示意图。可以看出,一共包含12个广播等时流数据包,序号信息为从0~11,如果4个广播等时流数据包构成一个广播等时组数据包,一共可以生成3个广播等时组数据包。可以理解的是,一个广播等时组数据包中包含的广播等时流数据包的数量可以是均匀的,也可以是不均匀的,在此以均匀的情况为例进行说明。It can be understood that during the data transmission process, packet loss may occur. In order to reduce the packet loss rate and improve the OTA upgrade success rate, in some embodiments, the processor 1710 can process each broadcast isochronous stream data packet in sequence. Numbering so that each broadcast isochronous flow packet has sequentially numbered sequence number information. For example, the numbering can start from 0, and the sequence number information of each broadcast isochronous flow data packet is 0, 1, 2, 3... See Figure 18, which is a type of broadcast isochronous group data packet in the embodiment of the present application. Schematic diagram. It can be seen that there are a total of 12 broadcast isochronous flow data packets, and the sequence number information is from 0 to 11. If 4 broadcast isochronous flow data packets form a broadcast isochronous group data packet, a total of 3 broadcast isochronous groups can be generated. data pack. It can be understood that the number of broadcast isochronous flow data packets contained in a broadcast isochronous group data packet may be uniform or uneven. Here, the uniform case is taken as an example for explanation.
在根据多个广播等时流数据包,生成多个广播等时组数据包时,可以在广播等时组数据中填充广播等时流数据包的序号信息,使单个广播等时组数据包包括一个或多个广播等时流数据包和一个或多个广播等时流数据包的序号信息。这样,控制设备接收到广播等时组数据包后,可以基于广播等时组数据包中的序号信息和接收到的广播等时流数据包判断是否发生丢包。并且,在确定发生丢包时,确定丢失的 广播等时流数据包的序号信息,并将丢失的广播等时流数据包的序号信息反馈给显示设备。需要说明的是,显示设备与一个或多个控制设备中的任意一个保持ACL(Asynchronous Connectionless Link,异步链路连接)即可,也就是,一个控制设备向显示设备反馈丢包情况即可。When generating multiple broadcast isochronous group data packets based on multiple broadcast isochronous flow data packets, the sequence number information of the broadcast isochronous flow data packet can be filled in the broadcast isochronous group data, so that a single broadcast isochronous group data packet includes One or more broadcast isochronous flow data packets and sequence number information of one or more broadcast isochronous flow data packets. In this way, after the control device receives the broadcast isochronous group data packet, it can determine whether packet loss has occurred based on the sequence number information in the broadcast isochronous group data packet and the received broadcast isochronous flow data packet. And, when it is determined that packet loss occurs, it is determined that the lost Broadcast the sequence number information of the isochronous flow data packet, and feed back the sequence number information of the lost broadcast isochronous flow data packet to the display device. It should be noted that the display device only needs to maintain an ACL (Asynchronous Connectionless Link) with any one of one or more control devices, that is, one control device only needs to feedback the packet loss situation to the display device.
通信器接收任一控制设备发送的、丢失的广播等时流数据包的序号信息,根据丢失的广播等时流数据包的序号信息,重新广播发送包含丢失的广播等时流数据包的广播等时组数据包,以使一个或多个控制设备接收到丢失的广播等时流数据包。The communicator receives the sequence number information of the lost broadcast isochronous flow data packet sent by any control device, and rebroadcasts and sends the broadcast containing the lost broadcast isochronous flow data packet according to the sequence number information of the lost broadcast isochronous flow data packet. time group packets so that one or more control devices receive the missing broadcast isochronous flow packets.
可见,与显示设备保持ACL连接的控制设备,仍然可以采用BIS的方式接收广播等时组数据包,同时会对丢失的广播等时流数据包进行统计,并实时将丢失的广播等时流数据包的序号信息通过ACL链路反馈给显示设备。It can be seen that the control device that maintains an ACL connection with the display device can still receive broadcast isochronous group data packets in the BIS method. At the same time, it will count the lost broadcast isochronous flow packets and store the lost broadcast isochronous flow data in real time. The sequence number information of the packet is fed back to the display device through the ACL link.
在一些实施例中,处理器1710,被配置为:将当前发送的第一广播等时流数据包和待发送的第二广播等时流数据包的序号信息填充至一个广播等时组数据包中,以生成第一广播等时流数据包对应的广播等时组数据包。这样,通过预先通知待发送的广播等时流数据包的序号信息,控制设备可以根据该序号信息实时掌握其接收到的广播等时流数据包的情况,判断是否发生丢包,以及在发生丢包时,丢失的广播等时流数据包的序号信息等。In some embodiments, the processor 1710 is configured to: fill a broadcast isochronous group data packet with the sequence number information of the currently sent first broadcast isochronous flow data packet and the to-be-sent second broadcast isochronous flow data packet. to generate a broadcast isochronous group data packet corresponding to the first broadcast isochronous flow data packet. In this way, by notifying the sequence number information of the broadcast isochronous flow data packet to be sent in advance, the control device can grasp the status of the broadcast isochronous flow data packet it receives in real time based on the sequence number information, and determine whether packet loss has occurred, and when loss occurs. packet time, the sequence number information of the lost broadcast isochronous flow data packet, etc.
例如,当前发送的第一广播等时流数据包的序号信息为N,待发送的第二广播等时流数据包的序号信息为N+1,显示设备当前发送的广播等时组数据包中包括第一广播等时流数据包和N+1。控制设备接收到该广播等时组数据包后,根据N+1,可以知晓显示设备已经发送了N个广播等时流数据包,如果当前接收到了N-1个广播等时流数据包,可以确定当前发生了丢包,且丢失的广播等时流数据包的序号信息为N;如果当前接收到了N个广播等时流数据包,可以确定当前未发生丢包。For example, the sequence number information of the first broadcast isochronous flow data packet currently sent is N, and the sequence number information of the second broadcast isochronous flow data packet to be sent is N+1. The display device displays the broadcast isochronous group data packets currently sent by the device. Includes the first broadcast isochronous stream packet and N+1. After the control device receives the broadcast isochronous group data packet, according to N+1, it can know that the display device has sent N broadcast isochronous flow data packets. If it currently receives N-1 broadcast isochronous flow data packets, it can It is determined that packet loss currently occurs, and the sequence number information of the lost broadcast isochronous flow data packet is N; if N broadcast isochronous flow data packets are currently received, it can be determined that no packet loss currently occurs.
在一些实施例中,还可以通过预传输机制来降低丢包率,提高OTA升级成功率。处理器1710,被配置为:将当前发送的第一广播等时流数据包、第一广播等时流数据包的序号信息、待发送的第二广播等时流数据包和第二广播等时流数据包的序号信息填充至一个广播等时组数据包中,以生成第一广播等时流数据包对应的广播等时组数据包。In some embodiments, a pre-transmission mechanism can also be used to reduce the packet loss rate and improve the OTA upgrade success rate. The processor 1710 is configured to: combine the currently sent first broadcast isochronous flow data packet, the sequence number information of the first broadcast isochronous flow data packet, the second broadcast isochronous flow data packet to be sent, and the second broadcast isochronous flow data packet. The sequence number information of the flow data packet is filled into a broadcast isochronous group data packet to generate a broadcast isochronous group data packet corresponding to the first broadcast isochronous flow data packet.
如图18所示,一共包含3个广播等时组数据包,如果当前发送第一个广播等时组数据包,那么当前发送的第一广播等时流数据包包括:序号信息为0~3的广播等时流数据包,待发送的第二广播等时流数据包包括:序号信息为4~7的广播等时流数据包。通过预传输机制,可以将待发送的第二广播等时流数据包填充至当前发送第一个广播等时组数据包中。如果直接将待发送的第二广播等时流数据包填充至第一个广播等时组数据包中,会导致第一广播等时组数据包的长度较长。为了保持一个广播等时组数据包中包含的广播等时流数据包的数量不增加,或者不增加过多,在构建广播等时组数据包时,可以对当前发送的第一广播等时流数据包进行适应性的调整。例如,第一广播等时流数据包可以为一个序号信息的广播等时流数据包,也可以包含两个或更多个序号信息的广播等时流数据包。As shown in Figure 18, a total of 3 broadcast isochronous group data packets are included. If the first broadcast isochronous group data packet is currently sent, then the currently sent first broadcast isochronous flow data packet includes: sequence number information is 0~3 The second broadcast isochronous flow data packet to be sent includes: the broadcast isochronous flow data packet with sequence number information 4 to 7. Through the pre-transmission mechanism, the second broadcast isochronous stream data packet to be sent can be filled into the currently sent first broadcast isochronous group data packet. If the second broadcast isochronous flow data packet to be sent is directly filled into the first broadcast isochronous group data packet, the length of the first broadcast isochronous group data packet will be longer. In order to keep the number of broadcast isochronous flow data packets contained in a broadcast isochronous group data packet from increasing, or from increasing too much, when constructing a broadcast isochronous group data packet, the first broadcast isochronous flow currently sent can be Data packets are adapted accordingly. For example, the first broadcast isochronous flow data packet may be a broadcast isochronous flow data packet with sequence number information, or may be a broadcast isochronous flow data packet containing two or more sequence number information.
针对图18所示的场景,假设一个广播等时组数据包中包含的广播等时流数据包的数量仍然为4,可以将序号信息为0~1的广播等时流数据包作为当前发送的广播等时流数据包,将序号信息为2~3的广播等时流数据包作为待发送的广播等时流数据包。For the scenario shown in Figure 18, assuming that the number of broadcast isochronous flow data packets contained in a broadcast isochronous group data packet is still 4, the broadcast isochronous flow data packets with sequence number information 0 to 1 can be used as the currently sent For broadcast isochronous flow data packets, broadcast isochronous flow data packets with sequence number information 2 to 3 are used as broadcast isochronous flow data packets to be sent.
增加预传输机制后,生成的广播等时组数据包如图19所示。可以看出,序号信息为2~3的广播等时流数据包不仅位于第一个广播等时组数据包中,还位于第二个广播等时组数据包,序号信息为4~5的广播等时流数据包不仅位于第二个广播等时组数据包中,还位于第三个广播等时组数据包,以此类推。这样,针对序号信息为2或3的广播等时流数据包,如果在第一个广播等时组数据包接收到该广播等时流数据包,在接收到第二个广播等时组数据包时,可以丢弃掉该广播等时流数据包。如果在第一个广播等时组数据包未接收到该广播等时流数据包,可以从第二个广播等时组数据包接收该广播等时流数据包。 如果在第二个广播等时组数据包仍然未接收到该广播等时流数据包,那么,表示该广播等时流数据包发生丢包。After adding the pre-transmission mechanism, the generated broadcast isochronous group data packet is shown in Figure 19. It can be seen that the broadcast isochronous flow data packet with sequence number information 2 to 3 is not only located in the first broadcast isochronous group data packet, but also in the second broadcast isochronous group data packet, and the broadcast isochronous flow data packet with sequence number information 4 to 5 The isochronous flow packet is not only in the second broadcast isochronous group packet, but also in the third broadcast isochronous group packet, and so on. In this way, for the broadcast isochronous flow data packet with sequence number information of 2 or 3, if the broadcast isochronous flow data packet is received in the first broadcast isochronous group data packet, after the second broadcast isochronous group data packet is received, , the broadcast isochronous flow packet can be discarded. If the broadcast isochronous flow packet is not received in the first broadcast isochronous group packet, the broadcast isochronous flow packet can be received from the second broadcast isochronous group packet. If the broadcast isochronous flow data packet is still not received in the second broadcast isochronous group data packet, it means that the broadcast isochronous flow data packet is lost.
在一些实施例中,在预传输的同时,还可以对当前发送的第一广播等时流数据包进行重复发送,并且,设置待发送的第二广播等时流数据包的种类和数量。即,一个广播等时组数据包中包含的第一广播等时流数据包的数量为第一预设数量,第二广播等时流数据包的数量为第二预设数量,第二广播等时流数据包包括一种或多种广播等时流数据包,即第二广播等时流数据包可以是一个序号信息的广播等时流数据包,也可以包含两个或更多个序号信息的广播等时流数据包。其中,第一预设数量和所述第二预设数量为大于1的整数。In some embodiments, while pre-transmitting, the currently sent first broadcast isochronous flow data packet can also be repeatedly sent, and the type and quantity of the second broadcast isochronous flow data packet to be sent can be set. That is, the number of first broadcast isochronous flow data packets contained in one broadcast isochronous group data packet is the first preset number, the number of second broadcast isochronous flow data packets included in one broadcast isochronous group data packet is the second preset number, the second broadcast isochronous flow data packet is the second preset number, and the second broadcast isochronous flow data packet is the second preset number. The time flow data packet includes one or more broadcast isochronous flow data packets, that is, the second broadcast isochronous flow data packet can be a broadcast isochronous flow data packet with sequence number information, or it can also contain two or more sequence number information. of broadcast isochronous flow packets. Wherein, the first preset number and the second preset number are integers greater than 1.
为了在降低丢包率的同时,减少数据传输量,第二广播等时流数据包中可以包含两个或更多个序号信息的广播等时流数据包,单个序号信息的广播等时流数据包的数量可以为一个。In order to reduce the packet loss rate and the amount of data transmission at the same time, the second broadcast isochronous flow data packet can contain two or more broadcast isochronous flow data packets with sequence number information, and broadcast isochronous flow data with a single sequence number information. The number of packages can be one.
假设第一广播等时流数据包包含一个序号信息的广播等时流数据包,第一广播等时流数据包的数量可以为2个,第二广播等时流数据包可以包含两个序号信息的广播等时流数据包,且单个序号信息的广播等时流数据包的数量为一个。那么,生成的广播等时组数据包如图20所示,图20展示了4个广播等时组数据包,第一个广播等时组数据包中当前发送的第一广播等时流数据包的序号信息为0,待发送的第二广播等时流数据包的序号信息为1和2;第二个广播等时组数据包中当前发送的第一广播等时流数据包的序号信息为1,待发送的第二广播等时流数据包的序号信息为2和3,依次类推。除了前端2个和后端2个广播等时流数据包,剩余广播等时流数据包存在于3个广播等时组数据包中,并且,在其中一个广播等时组数据包中重复填充,通过该方式,可以降低丢包率,提高OTA升级成功率。Assume that the first broadcast isochronous flow data packet contains a broadcast isochronous flow data packet with sequence number information. The number of first broadcast isochronous flow data packets can be 2, and the second broadcast isochronous flow data packet can contain two sequence number information. of broadcast isochronous flow data packets, and the number of broadcast isochronous flow data packets of a single sequence number information is one. Then, the generated broadcast isochronous group data packet is shown in Figure 20. Figure 20 shows 4 broadcast isochronous group data packets. The first broadcast isochronous flow data packet currently sent in the first broadcast isochronous group data packet The sequence number information is 0, the sequence number information of the second broadcast isochronous flow data packet to be sent is 1 and 2; the sequence number information of the first broadcast isochronous flow data packet currently sent in the second broadcast isochronous group data packet is 1. The sequence number information of the second broadcast isochronous stream data packet to be sent is 2 and 3, and so on. In addition to the front-end 2 and back-end 2 broadcast isochronous flow packets, the remaining broadcast isochronous flow packets exist in 3 broadcast isochronous group packets, and are repeatedly filled in one of the broadcast isochronous group packets, In this way, the packet loss rate can be reduced and the OTA upgrade success rate can be improved.
如前所述,任一控制设备可以与显示设备保持ACL连接,并在发生丢包时,向显示设备发送丢失的广播等时流数据包的序号信息。参见图21,假设在广播等时组数据包1、广播等时组数据包2和广播等时组数据包3中均为接收到序号信息为2的广播等时流数据包,可以将序号信息2发送至显示设备。显示设备可以在广播等时组数据包5中重新广播发送已经发送过的广播等时组数据包3,即广播等时组数据包5中的数据和广播等时组数据包3中的数据相同。As mentioned above, any control device can maintain an ACL connection with the display device, and when packet loss occurs, send the sequence number information of the lost broadcast isochronous flow packet to the display device. Referring to Figure 21, assuming that broadcast isochronous group data packet 1, broadcast isochronous group data packet 2 and broadcast isochronous group data packet 3 all receive broadcast isochronous flow data packets with sequence number information of 2, the sequence number information can be 2 is sent to the display device. The display device can rebroadcast and send the broadcast isochronous group data packet 3 that has been sent in the broadcast isochronous group data packet 5, that is, the data in the broadcast isochronous group data packet 5 is the same as the data in the broadcast isochronous group data packet 3. .
本申请实施例中,在利用BIS技术传输广播等时组数据包时,可以灵活地对广播等时组数据包中的数据进行填充,例如对广播等时流数据包进行顺序编号,在广播等时组数据包中填充待发送的广播等时流数据包的序号信息,以提前告知待发送的广播等时流数据包的序号信息。控制设备根据该序号信息可以实时掌握其接收的广播等时流数据包的情况,判断是否发生丢包以及丢了哪些包等。或者,重复发送相同的广播等时流数据包,以及补充发送已经发送过的广播等时流数据包,以降低丢包率。且在控制设备监测到丢包后,通过向显示设备进行反馈,从而能够接收到已经丢失的包,确保OTA升级成功率。In the embodiment of the present application, when BIS technology is used to transmit broadcast isochronous group data packets, the data in the broadcast isochronous group data packets can be flexibly filled, for example, the broadcast isochronous flow data packets are sequentially numbered, and in the broadcast, etc. The time group data packet is filled with the sequence number information of the broadcast isochronous flow data packet to be sent, so as to inform in advance the sequence number information of the broadcast isochronous flow data packet to be sent. Based on the sequence number information, the control device can grasp the status of the broadcast isochronous stream data packets it receives in real time, and determine whether packet loss has occurred and which packets have been lost. Alternatively, the same broadcast isochronous flow data packet is sent repeatedly, and the broadcast isochronous flow data packet that has been sent is supplementary sent to reduce the packet loss rate. And after the control device detects packet loss, it can receive the lost packets by providing feedback to the display device, ensuring the success rate of OTA upgrade.
与上述显示设备相对应,本申请实施例还提供了一种控制设备,控制设备的数量可以是一个或多个。参见图22,控制设备2200包括:Corresponding to the above display device, embodiments of the present application also provide a control device, and the number of control devices may be one or more. Referring to Figure 22, the control device 2200 includes:
通信器2210,被配置为:接收显示设备广播发送的多个广播等时组数据包,多个广播等时组数据包根据多个广播等时流数据包生成,单个广播等时流数据包基于固件数据对应的单个子数据生成;The communicator 2210 is configured to: receive multiple broadcast isochronous group data packets broadcast and sent by the display device, the multiple broadcast isochronous group data packets are generated based on the multiple broadcast isochronous flow data packets, and the single broadcast isochronous flow data packet is based on Single sub-data corresponding to firmware data is generated;
处理器2220,被配置为:从广播等时组数据中获取固件数据,并根据固件数据对控制设备进行空中下载技术升级。The processor 2220 is configured to: obtain firmware data from broadcast isochronous group data, and perform over-the-air download technology upgrades to the control device based on the firmware data.
可选的,各个广播等时流数据包具有按顺序编号的序号信息;单个广播等时组数据包包括一个或多个广播等时流数据包和一个或多个广播等时流数据包的序号信息;Optionally, each broadcast isochronous flow data packet has sequentially numbered sequence number information; a single broadcast isochronous group data packet includes one or more broadcast isochronous flow data packets and the sequence numbers of one or more broadcast isochronous flow data packets information;
任一控制设备中的处理器2220,被配置为:基于序号信息和接收到的广播等时流数据包判断是否发生丢包;并且,如果发生丢包,确定丢失的广播等时流数据包的序号信息;The processor 2220 in any control device is configured to: determine whether packet loss occurs based on the sequence number information and the received broadcast isochronous flow data packet; and, if packet loss occurs, determine the location of the lost broadcast isochronous flow data packet. Serial number information;
该任一控制设备中的通信器2210,被配置为:向显示设备发送丢失的广播等时流数据包的序号信 息,以使显示设备根据丢失的广播等时流数据包的序号信息,重新广播发送包含丢失的广播等时流数据包的广播等时组数据包;The communicator 2210 in any control device is configured to: send the sequence number information of the lost broadcast isochronous stream data packet to the display device. information, so that the display device re-broadcasts and sends the broadcast isochronous group data packet containing the lost broadcast isochronous flow data packet based on the sequence number information of the lost broadcast isochronous flow data packet;
一个或多个控制设备中的通信器2210,被配置为:接收包含丢失的广播等时流数据包的广播等时组数据包,以获取丢失的广播等时流数据包。The communicator 2210 in one or more control devices is configured to: receive the broadcast isochronous group data packet containing the lost broadcast isochronous flow data packet to obtain the lost broadcast isochronous flow data packet.
可选的,当前接收到的广播等时组数据包包括:显示设备当前发送的第一广播等时流数据包和待发送的第二广播等时流数据包的序号信息;Optionally, the currently received broadcast isochronous group data packet includes: sequence number information of the first broadcast isochronous flow data packet currently sent by the display device and the second broadcast isochronous flow data packet to be sent;
处理器2220,被配置为:根据第二广播等时流数据包的序号信息,确定显示设备已发送的广播等时流数据包的第一数量;The processor 2220 is configured to: determine the first number of broadcast isochronous flow data packets that have been sent by the display device based on the sequence number information of the second broadcast isochronous flow data packet;
如果控制设备已接收到的广播等时流数据包的第二数量等于第一数量,确定未发生丢包;If the second number of broadcast isochronous flow data packets that the control device has received is equal to the first number, it is determined that no packet loss has occurred;
如果控制设备已接收到的广播等时流数据包的第二数量小于第一数量,确定发生丢包,且丢失的广播等时流数据包为第一广播等时流数据包。If the second number of broadcast isochronous flow data packets received by the control device is less than the first number, it is determined that packet loss occurs, and the lost broadcast isochronous flow data packet is the first broadcast isochronous flow data packet.
可选的,当前接收到的广播等时组数据包包括:显示设备当前发送的第一广播等时流数据包、第一广播等时流数据包的第一序号信息、显示设备待发送的第二广播等时流数据包、第二广播等时流数据包的第二序号信息;Optionally, the currently received broadcast isochronous group data packet includes: the first broadcast isochronous flow data packet currently sent by the display device, the first sequence number information of the first broadcast isochronous flow data packet, and the first broadcast isochronous flow data packet to be sent by the display device. The second broadcast isochronous flow data packet and the second sequence number information of the second broadcast isochronous flow data packet;
处理器2220,被配置为:如果在当前接收到的广播等时组数据包和待接收的广播等时组数据包中均未接收到具有第二序号信息的广播等时流数据包,则确定具有第二序号信息的广播等时流数据包发生丢包;The processor 2220 is configured to: if no broadcast isochronous flow data packet with the second sequence number information is received in neither the currently received broadcast isochronous group data packet nor the to-be-received broadcast isochronous group data packet, determine The broadcast isochronous flow data packet with the second sequence number information is lost;
如果在当前接收到的广播等时组数据包中或待接收的广播等时组数据包中接收到具有第一序号信息的广播等时流数据包,则确定具有第二序号信息的广播等时流数据包未发生丢包。If a broadcast isochronous flow data packet with the first sequence number information is received in the currently received broadcast isochronous group data packet or in the to-be-received broadcast isochronous group data packet, then determining the broadcast isochronous flow data packet with the second sequence number information No flow packet loss occurs.
可选的,第一广播等时流数据包的数量为第一预设数量,第二广播等时流数据包的数量为第二预设数量,第二广播等时流数据包包括一种或多种广播等时流数据包,第一预设数量和所述第二预设数量为大于1的整数。Optionally, the number of first broadcast isochronous flow data packets is a first preset number, the number of second broadcast isochronous flow data packets is a second preset number, and the second broadcast isochronous flow data packet includes one or For multiple types of broadcast isochronous stream data packets, the first preset number and the second preset number are integers greater than 1.
图22为控制设备侧的实施例,其具体细节已经在显示设备侧进行了详细的描述,因此此处不再赘述。Figure 22 shows an embodiment on the control device side. The specific details have been described in detail on the display device side, so they will not be described again here.
参见图23,图23为本申请实施例中OTA升级方法的一种流程图,应用于显示设备,可以包括以下步骤:Referring to Figure 23, Figure 23 is a flow chart of an OTA upgrade method in an embodiment of the present application. It is applied to a display device and may include the following steps:
步骤S2310,获取固件数据,将固件数据分割为多个子数据,并生成各个子数据分别对应的广播等时流数据包。Step S2310: Obtain firmware data, divide the firmware data into multiple sub-data, and generate broadcast isochronous flow data packets corresponding to each sub-data.
步骤S2320,根据多个广播等时流数据包,生成多个广播等时组数据包。Step S2320: Generate multiple broadcast isochronous group data packets based on multiple broadcast isochronous flow data packets.
步骤S2330,广播发送多个广播等时组数据包,以使一个或多个控制设备在接收到广播等时组数据包后,从广播等时组数据中获取固件数据,并根据固件数据对控制设备进行空中下载技术升级。Step S2330: Broadcast and send multiple broadcast isochronous group data packets, so that one or more control devices obtain firmware data from the broadcast isochronous group data after receiving the broadcast isochronous group data packet, and control the control device according to the firmware data. The equipment undergoes over-the-air technology upgrades.
可选的,各个广播等时流数据包具有按顺序编号的序号信息;单个广播等时组数据包包括一个或多个广播等时流数据包和一个或多个广播等时流数据包的序号信息;方法还包括:Optionally, each broadcast isochronous flow data packet has sequentially numbered sequence number information; a single broadcast isochronous group data packet includes one or more broadcast isochronous flow data packets and the sequence numbers of one or more broadcast isochronous flow data packets information; methods also include:
接收任一控制设备发送的、丢失的广播等时流数据包的序号信息;丢失的广播等时流数据包的序号信息基于广播等时组数据包中的序号信息和接收到的广播等时流数据包确定;Receive the sequence number information of the lost broadcast isochronous flow data packet sent by any control device; the sequence number information of the lost broadcast isochronous flow data packet is based on the sequence number information in the broadcast isochronous group data packet and the received broadcast isochronous flow Packet OK;
根据丢失的广播等时流数据包的序号信息,重新广播发送包含丢失的广播等时流数据包的广播等时组数据包,以使一个或多个控制设备接收到丢失的广播等时流数据包。According to the sequence number information of the lost broadcast isochronous flow data packet, rebroadcast and send the broadcast isochronous group data packet containing the lost broadcast isochronous flow data packet, so that one or more control devices receive the lost broadcast isochronous flow data Bag.
可选的,根据多个广播等时流数据包生成多个广播等时组数据包,包括:Optionally, generate multiple broadcast isochronous group data packets based on multiple broadcast isochronous flow data packets, including:
将当前发送的第一广播等时流数据包和待发送的第二广播等时流数据包的序号信息填充至一个广播等时组数据包中,以生成第一广播等时流数据包对应的广播等时组数据包。 Fill the sequence number information of the currently sent first broadcast isochronous flow data packet and the to-be-sent second broadcast isochronous flow data packet into a broadcast isochronous group data packet to generate a broadcast isochronous group data packet corresponding to the first broadcast isochronous flow data packet. Broadcast isochronous group packets.
可选的,根据多个广播等时流数据包生成多个广播等时组数据包,包括:Optionally, generate multiple broadcast isochronous group data packets based on multiple broadcast isochronous flow data packets, including:
将当前发送的第一广播等时流数据包、第一广播等时流数据包的序号信息、待发送的第二广播等时流数据包和第二广播等时流数据包的序号信息填充至一个广播等时组数据包中,以生成第一广播等时流数据包对应的广播等时组数据包。Fill in the currently sent first broadcast isochronous flow data packet, the sequence number information of the first broadcast isochronous flow data packet, the to-be-sent second broadcast isochronous flow data packet, and the sequence number information of the second broadcast isochronous flow data packet into in a broadcast isochronous group data packet to generate a broadcast isochronous group data packet corresponding to the first broadcast isochronous flow data packet.
可选的,第一广播等时流数据包的数量为第一预设数量,第二广播等时流数据包的数量为第二预设数量,第二广播等时流数据包包括一种或多种广播等时流数据包,第一预设数量和所述第二预设数量为大于1的整数。Optionally, the number of first broadcast isochronous flow data packets is a first preset number, the number of second broadcast isochronous flow data packets is a second preset number, and the second broadcast isochronous flow data packet includes one or For multiple types of broadcast isochronous stream data packets, the first preset number and the second preset number are integers greater than 1.
参见图24,图24为本申请实施例中OTA升级方法的一种流程图,应用于控制设备,可以包括以下步骤:Referring to Figure 24, Figure 24 is a flow chart of an OTA upgrade method in an embodiment of the present application. When applied to a control device, it may include the following steps:
步骤S2410,接收显示设备广播发送的多个广播等时组数据包,多个广播等时组数据包根据多个广播等时流数据包生成,单个广播等时流数据包基于固件数据对应的单个子数据生成。Step S2410: Receive multiple broadcast isochronous group data packets broadcast and sent by the display device. The multiple broadcast isochronous group data packets are generated based on multiple broadcast isochronous flow data packets. A single broadcast isochronous flow data packet is based on a single broadcast isochronous flow data packet corresponding to the firmware data. Subdata generation.
步骤S2420,从广播等时组数据中获取固件数据,并根据固件数据对控制设备进行空中下载技术升级。Step S2420: Obtain firmware data from the broadcast isochronous group data, and perform over-the-air download technology upgrades on the control device based on the firmware data.
可选的,各个广播等时流数据包具有按顺序编号的序号信息;单个广播等时组数据包包括一个或多个广播等时流数据包和一个或多个广播等时流数据包的序号信息;方法还包括:Optionally, each broadcast isochronous flow data packet has sequentially numbered sequence number information; a single broadcast isochronous group data packet includes one or more broadcast isochronous flow data packets and the sequence numbers of one or more broadcast isochronous flow data packets information; methods also include:
任一控制设备基于序号信息和接收到的广播等时流数据包判断是否发生丢包;并且,如果发生丢包,确定丢失的广播等时流数据包的序号信息,向显示设备发送丢失的广播等时流数据包的序号信息,以使显示设备根据丢失的广播等时流数据包的序号信息,重新广播发送包含丢失的广播等时流数据包的广播等时组数据包;Any control device determines whether packet loss has occurred based on the sequence number information and the received broadcast isochronous flow data packet; and, if packet loss occurs, determines the sequence number information of the lost broadcast isochronous flow data packet and sends the lost broadcast to the display device The sequence number information of the isochronous flow data packet, so that the display device re-broadcasts and sends the broadcast isochronous group data packet containing the lost broadcast isochronous flow data packet according to the sequence number information of the lost broadcast isochronous flow data packet;
一个或多个控制设备接收包含丢失的广播等时流数据包的广播等时组数据包,以获取丢失的广播等时流数据包。One or more control devices receive the broadcast isochronous group packet containing the lost broadcast isochronous flow packet to obtain the lost broadcast isochronous flow packet.
可选的,当前接收到的广播等时组数据包包括:显示设备当前发送的第一广播等时流数据包和待发送的第二广播等时流数据包的序号信息;Optionally, the currently received broadcast isochronous group data packet includes: sequence number information of the first broadcast isochronous flow data packet currently sent by the display device and the second broadcast isochronous flow data packet to be sent;
基于序号信息和接收到的广播等时流数据包判断是否发生丢包,包括:Determine whether packet loss has occurred based on sequence number information and received broadcast isochronous flow packets, including:
根据第二广播等时流数据包的序号信息,确定显示设备已发送的广播等时流数据包的第一数量;Determine the first number of broadcast isochronous flow data packets sent by the display device according to the sequence number information of the second broadcast isochronous flow data packet;
如果控制设备已接收到的广播等时流数据包的第二数量等于第一数量,确定未发生丢包;If the second number of broadcast isochronous flow data packets that the control device has received is equal to the first number, it is determined that no packet loss has occurred;
如果控制设备已接收到的广播等时流数据包的第二数量小于第一数量,确定发生丢包,且丢失的广播等时流数据包为第一广播等时流数据包。If the second number of broadcast isochronous flow data packets received by the control device is less than the first number, it is determined that packet loss occurs, and the lost broadcast isochronous flow data packet is the first broadcast isochronous flow data packet.
可选的,当前接收到的广播等时组数据包包括:显示设备当前发送的第一广播等时流数据包、第一广播等时流数据包的第一序号信息、显示设备待发送的第二广播等时流数据包、第二广播等时流数据包的第二序号信息;Optionally, the currently received broadcast isochronous group data packet includes: the first broadcast isochronous flow data packet currently sent by the display device, the first sequence number information of the first broadcast isochronous flow data packet, and the first broadcast isochronous flow data packet to be sent by the display device. The second broadcast isochronous flow data packet and the second sequence number information of the second broadcast isochronous flow data packet;
基于序号信息和接收到的广播等时流数据包判断是否发生丢包,包括:Determine whether packet loss has occurred based on sequence number information and received broadcast isochronous flow packets, including:
如果在当前接收到的广播等时组数据包和待接收的广播等时组数据包中均未接收到具有第二序号信息的广播等时流数据包,则确定具有第二序号信息的广播等时流数据包发生丢包;If the broadcast isochronous flow data packet with the second sequence number information is not received in the currently received broadcast isochronous group data packet and the to-be-received broadcast isochronous group data packet, then determine the broadcast isochronous flow data packet with the second sequence number information. Packet loss occurs when streaming data packets occur;
如果在当前接收到的广播等时组数据包中或待接收的广播等时组数据包中接收到具有第一序号信息的广播等时流数据包,则确定具有第二序号信息的广播等时流数据包未发生丢包。If a broadcast isochronous flow data packet with the first sequence number information is received in the currently received broadcast isochronous group data packet or in the to-be-received broadcast isochronous group data packet, then determining the broadcast isochronous flow data packet with the second sequence number information No flow packet loss occurs.
可选的,第一广播等时流数据包的数量为第一预设数量,第二广播等时流数据包的数量为第二预设数量,第二广播等时流数据包包括一种或多种广播等时流数据包,第一预设数量和所述第二预设数量为大于1的整数。Optionally, the number of first broadcast isochronous flow data packets is a first preset number, the number of second broadcast isochronous flow data packets is a second preset number, and the second broadcast isochronous flow data packet includes one or For multiple types of broadcast isochronous stream data packets, the first preset number and the second preset number are integers greater than 1.
上述方法中各个步骤的具体细提供的显示设备的控制方法的流程示意图,如图5所示,本申请实施 例提供的显示设备的控制方法包括如下步骤:The specific details of each step in the above method provide a schematic flow chart of the control method of the display device, as shown in Figure 5. This application implements The display device control method provided in the example includes the following steps:
S2501、显示设备接收模式切换指令。S2501. The display device receives the mode switching instruction.
其中,所述模式切换指令用于将所述显示设备与控制设备之间的蓝牙连接模式切换为多连接模式,所述多连接模式为一个控制设备连接多个显示设备的蓝牙连接模式。Wherein, the mode switching instruction is used to switch the Bluetooth connection mode between the display device and the control device to a multi-connection mode. The multi-connection mode is a Bluetooth connection mode in which one control device connects to multiple display devices.
蓝牙技术联盟(Bluetooth Special Interest Group,Bluetooth SIG)推出了低功耗音频(Low Energy Audio)的技术标准,通过低功耗音频技术中的蓝牙音频分享(Audio Sharing)能力,可以使多个设备共享同一个信号源,显示设备可以基于低功耗音频技术支持多连接模式。The Bluetooth Special Interest Group (Bluetooth SIG) has launched a technical standard for low-power audio (Low Energy Audio). Through the Bluetooth audio sharing (Audio Sharing) capability in low-power audio technology, multiple devices can be shared From the same signal source, the display device can support multiple connection modes based on low-power audio technology.
参照图26所示,在一些实施例中,显示设备接收模式切换指令的实现方式包括:显示设备首先响应于用户操作显示连接模式选择界面261,连接模式选择界面261中包括:“禁止连接”、“多连接模式”、“单连接模式”供用户进行选择,当用户对“多连接模式”输入了选择操作,则可以确定显示设备接收到了模式切换指令。Referring to FIG. 26 , in some embodiments, the implementation of the display device receiving the mode switching instruction includes: the display device first displays the connection mode selection interface 261 in response to the user operation, and the connection mode selection interface 261 includes: "Prohibit connection", "Multiple connection mode" and "single connection mode" are available for the user to choose. When the user inputs a selection operation for "multiple connection mode", it can be determined that the display device has received the mode switching instruction.
S2502、显示设备确定当前的蓝牙连接模式以及与控制设备的连接情况。S2502. The display device determines the current Bluetooth connection mode and the connection status with the control device.
在上述步骤S2502中的确定结果可能会包括如下几种:The determination results in the above step S2502 may include the following:
结果1、显示设备当前的蓝牙连接模式为禁止与控制设备蓝牙连接。Result 1. The current Bluetooth connection mode of the display device is to prohibit Bluetooth connection with the control device.
结果2、显示设备当前的蓝牙连接模式为单连接模式,但未与控制设备建立蓝牙连接链路。Result 2. The current Bluetooth connection mode of the display device is single connection mode, but no Bluetooth connection link has been established with the control device.
结果3、显示设备当前的蓝牙连接模式为单连接模式,且与第一控制设备建立了第一链路。Result 3. The current Bluetooth connection mode of the display device is single connection mode, and the first link is established with the first control device.
结果4、显示设备当前的蓝牙连接模式为多连接模式,但未与控制设备建立蓝牙连接链路。Result 4. The current Bluetooth connection mode of the display device is multi-connection mode, but no Bluetooth connection link has been established with the control device.
结果5、显示设备当前的蓝牙连接模式为多连接模式,且与控制设备建立了蓝牙连接链路。Result 5. The current Bluetooth connection mode of the display device is multi-connection mode, and a Bluetooth connection link has been established with the control device.
在上述步骤S2502中,若确定结果为结果3(所述显示设备与第一控制设备建立有第一链路,且所述第一链路为单连接模式下建立的蓝牙连接链路),则本申请实施例提供的显示设备的控制方法继续执行如下步骤S2503和S2504:In the above step S2502, if the determination result is result 3 (the display device and the first control device have established a first link, and the first link is a Bluetooth connection link established in the single connection mode), then The control method of the display device provided by the embodiment of the present application continues to execute the following steps S2503 and S2504:
S2503、显示设备通过所述第一链路向所述第一控制设备发送控制指令。S2503. The display device sends a control instruction to the first control device through the first link.
对应的,第一控制设备接收所述显示设备通过所述第一链路发送的所述控制指令。Correspondingly, the first control device receives the control instruction sent by the display device through the first link.
其中,所述控制指令用于指示所述第一控制设备进入所述多连接模式。Wherein, the control instruction is used to instruct the first control device to enter the multi-connection mode.
在一些实施例中,所述第一链路可以为基于通用属性协议(Generic Attribute Profile,GATT)建立的低功耗蓝牙(Bluetooth Low Energy,BLE)链路。In some embodiments, the first link may be a Bluetooth Low Energy (BLE) link established based on the Generic Attribute Profile (GATT).
S2504、第一控制设备确定自身是否支持所述多连接模式。S2504. The first control device determines whether it supports the multi-connection mode.
在上述步骤S2504中,若第一控制设备不支持所述多连接模式,则本申请实施例提供的显示设备的控制方法的流程结束,若第一控制设备支持所述多连接模式,则本申请实施例提供的显示设备的控制方法继续执行如下步骤S2505至S2510:In the above step S2504, if the first control device does not support the multi-connection mode, the process of the control method of the display device provided by the embodiment of the present application ends. If the first control device supports the multi-connection mode, the present application The control method of the display device provided by the embodiment continues to execute the following steps S2505 to S2510:
S2505、第一控制设备通过所述第一链路向所述显示设备发送确认信息。S2505. The first control device sends confirmation information to the display device through the first link.
对应的,所述显示设备接收所述第一控制设备通过所述第一链路发送的确认信息。Correspondingly, the display device receives the confirmation information sent by the first control device through the first link.
S2506、显示设备断开所述第一链路。S2506. The display device disconnects the first link.
即,显示设备主动断开在单连接模式下与第一控制设备建立的蓝牙连接链路。That is, the display device actively disconnects the Bluetooth connection link established with the first control device in the single connection mode.
S2507、显示设备进入所述多连接模式。S2507. The display device enters the multi-connection mode.
即,显示设备将蓝牙连接关系中的角色转换为接收器(Acceptor),为作为与发起者(Initiator)蓝牙连接的多个接收器中的一个接收器与发起者进行蓝牙连接链路的建立做好准备。That is, the display device converts the role in the Bluetooth connection relationship to the receiver (Acceptor), and does the work to establish a Bluetooth connection link with the initiator as one of the multiple receivers connected to the initiator via Bluetooth. Be prepared.
S2508、第一控制设备进入所述多连接模式。S2508. The first control device enters the multi-connection mode.
即,第一控制设备将蓝牙连接关系中的角色转换为发起者(Initiator),为作为发起者(Initiator)与多个接收器进行蓝牙连接链路的建立做好准备。 That is, the first control device converts the role in the Bluetooth connection relationship to the initiator (Initiator), and is prepared to establish Bluetooth connection links with multiple receivers as the initiator (Initiator).
S2509、第一控制设备向所述显示设备发送连接请求。S2509. The first control device sends a connection request to the display device.
对应的,所述显示设备接收所述第一控制设备发送的连接请求。Correspondingly, the display device receives the connection request sent by the first control device.
在一些实施例中,第一控制设备可以以广播的方式发送所述连接请求,以向所述显示设备发送连接请求。In some embodiments, the first control device may send the connection request in a broadcast manner to send the connection request to the display device.
需要说明的是,本申请实施例不限定上步骤S2506至S2509的先后顺序,可以先由显示设备执行步骤S2506和S2507,然后再由第一控制设备执行步骤S2508,也可以先由第一控制设备执行步骤S2508,然后再由显示设备执行步骤S2506和S2507,还可以显示设备与第一控制设备同步执行。It should be noted that the embodiment of the present application does not limit the order of steps S2506 to S2509. The display device may first perform steps S2506 and S2507, and then the first control device may perform step S2508, or the first control device may first perform the steps S2506 and S2507. Step S2508 is executed, and then the display device executes steps S2506 and S2507. The display device and the first control device may also execute step S2508 synchronously.
S2510、显示设备在所述多连接模式下与所述第一控制设备进行第二链路的建立。S2510. The display device establishes a second link with the first control device in the multi-connection mode.
对应的,第一控制设备在所述多连接模式下与所述显示设备进行第二链路的建立。Correspondingly, the first control device establishes a second link with the display device in the multi-connection mode.
在一些实施例中,所述第二链路可以为基于低功耗音频(Low Energy Audio,LE Audio)技术标准建立的连接等时流(Connected Isochronous Streams,CIS)链路。In some embodiments, the second link may be a Connected Isochronous Streams (CIS) link established based on the Low Energy Audio (LE Audio, LE Audio) technical standard.
在一些实施例中,第一控制设备与显示设备进行第二链路的建立的实现过程可以包括如下步骤a至步骤d:In some embodiments, the implementation process of establishing the second link between the first control device and the display device may include the following steps a to step d:
步骤a、第一控制设备向显示设备发送连接建立请求。Step a. The first control device sends a connection establishment request to the display device.
对应的,显示设备接收所述建立请求。Correspondingly, the display device receives the establishment request.
其中,所述建立请求用于请求建立等时通道连接。Wherein, the establishment request is used to request the establishment of an isochronous channel connection.
步骤b、显示设备响应于所述连接建立请求与所述第一控制设备建立等时通道连接。Step b: The display device establishes an isochronous channel connection with the first control device in response to the connection establishment request.
步骤c、第一控制设备与显示设备之间建立ACL(Indicates a low level)链路。Step c. An ACL (Indicates a low level) link is established between the first control device and the display device.
步骤d、第一控制设备与显示设备之间建立GATT链路或EATT链路。Step d: Establish a GATT link or an EATT link between the first control device and the display device.
步骤e、发送交互指示。Step e. Send interaction instructions.
本申请实施例提供的显示设备的控制方法在接收到将所述显示设备与控制设备之间的蓝牙连接模式切换为多连接模式的模式切换指令时,先确定所述显示设备是否在单连接模式下与控制设备建立有蓝牙连接链路,以及在所述显示设备与第一控制设备建立有第一链路,且所述第一链路为单连接模式下建立的蓝牙连接链路的情况下,通过所述第一链路向所述第一控制设备发送指示所述第一控制设备进入所述多连接模式的控制指令,以及在接收所述第一控制设备通过所述第一链路发送的确认信息后,断开所述第一链路,进入所述多连接模式,以及响应于所述第一控制设备发送的连接请求,在所述多连接模式下与所述第一控制设备进行第二链路的建立。由于本申请实施例可以使显示设备在所述多连接模式下与所述第一控制设备进行第二链路的建立,而多连接模式为一个控制设备连接多个显示设备的蓝牙连接模式,因此本申请实施例可以通过一个控制设备连接多个显示设备,并同时对多个显示设备进行控制,而无需通过控制设备一对一单独控制显示设备,因此本申请实施例可以在包括多个显示设备的场景中简化控制多个显示设备的操作,解决一对一单独会导致显示设备的控制非常繁琐的问题。When receiving a mode switching instruction to switch the Bluetooth connection mode between the display device and the control device to the multi-connection mode, the display device control method provided by the embodiment of the present application first determines whether the display device is in the single connection mode. A Bluetooth connection link is established with the control device, and a first link is established between the display device and the first control device, and the first link is a Bluetooth connection link established in single connection mode. , sending a control instruction instructing the first control device to enter the multi-connection mode to the first control device through the first link, and receiving the control instruction sent by the first control device through the first link. After receiving the confirmation information, disconnect the first link, enter the multi-connection mode, and respond to the connection request sent by the first control device, conduct the communication with the first control device in the multi-connection mode. Establishment of the second link. Since the embodiment of the present application can enable the display device to establish a second link with the first control device in the multi-connection mode, and the multi-connection mode is a Bluetooth connection mode in which one control device connects to multiple display devices, therefore Embodiments of the present application can connect multiple display devices through one control device and control multiple display devices at the same time without having to control the display devices individually one-to-one through the control device. Therefore, embodiments of the present application can include multiple display devices. It simplifies the operation of controlling multiple display devices in scenarios and solves the problem that one-to-one control of display devices will be very cumbersome.
参照图27所示,在图25所示实施例的基础上,在上述步骤S2506(断开所述第一链路)之前,本申请实施例提供的显示设备的控制方法如下步骤S271:Referring to Figure 27, based on the embodiment shown in Figure 25, before the above step S2506 (disconnecting the first link), the control method of the display device provided by the embodiment of the present application is as follows step S271:
S271、显示设备通过所述第一链路向所述第一控制设备发送链路信息。S271. The display device sends link information to the first control device through the first link.
对应的,第一控制设备接收所述显示设备通过所述第一链路发送的链路信息。Correspondingly, the first control device receives the link information sent by the display device through the first link.
其中,所述链路信息包括建立所述第二链路过程中所述控制设备需要使用的所述显示设备的信息。The link information includes information about the display device that the control device needs to use during the process of establishing the second link.
在一些实施中,链路信息可以包括显示设备的媒体访问控制地址(Media Access Control Address,MAC地址)、蓝牙设备地址(BD_ADDR),用于生成设备访问码(Device Access Code)的系统时钟、用于建立链接的法线与同步模式设备类别、设备名称、支持的服务类等信息。In some implementations, the link information may include the media access control address (MAC address) of the display device, the Bluetooth device address (BD_ADDR), the system clock used to generate the device access code (Device Access Code), the user Information such as normal and synchronization mode device categories, device names, supported service classes, etc. used to establish links.
上步骤S2509(第一控制设备向所述显示设备发送连接请求)包括:基于所述链路信息向所述显示 设备发送连接请求。The above step S2509 (the first control device sends a connection request to the display device) includes: sending a connection request to the display device based on the link information. The device sends a connection request.
上步骤S2510(第一控制设备在所述多连接模式下与所述控制设备进行所述第二链路的建立)包括:基于所述链路信息在所述多连接模式下与所述显示设备进行所述第二链路的建立。The above step S2510 (the first control device establishes the second link with the control device in the multi-connection mode) includes: based on the link information, establishes the second link with the display device in the multi-connection mode. Perform establishment of the second link.
在上述实施例中,在断开所述第一链路之前,显示设备通过所述第一链路向所述第一控制设备发送了链路信息,因此第一控制设备可以直接使链路信息快速与显示设备进行第二链路的建立,从而在用户无感知的情况下将显示设备与第一控制设备之间的蓝牙连接链路由第一链路切换为第二链路。In the above embodiment, before disconnecting the first link, the display device sends link information to the first control device through the first link, so the first control device can directly use the link information Quickly establish a second link with the display device, thereby switching the Bluetooth connection link between the display device and the first control device from the first link to the second link without the user being aware of it.
图28中示例性的示出了本申请实施例提供的显示设备的控制方法的流程示意图,如图8所示,本申请实施例提供的显示设备的控制方法包括如下步骤:Figure 28 exemplarily shows a schematic flowchart of the control method of the display device provided by the embodiment of the present application. As shown in Figure 8, the control method of the display device provided by the embodiment of the present application includes the following steps:
S2801、显示设备接收模式切换指令。S2801. The display device receives the mode switching instruction.
S2802、显示设备确定当前的蓝牙连接模式以及与控制设备的连接情况。S2802. The display device determines the current Bluetooth connection mode and the connection status with the control device.
同上所述,在上述步骤S2802中的确定结果可能会包括如下几种:As mentioned above, the determination results in the above step S2802 may include the following:
结果1、显示设备当前的蓝牙连接模式为禁止与控制设备蓝牙连接,没有与任何控制设备建立蓝牙连接。Result 1. The current Bluetooth connection mode of the display device is to prohibit Bluetooth connection with the control device, and no Bluetooth connection has been established with any control device.
结果2、显示设备当前的蓝牙连接模式为单连接模式,但未与控制设备建立蓝牙连接链路。Result 2. The current Bluetooth connection mode of the display device is single connection mode, but no Bluetooth connection link has been established with the control device.
结果3、显示设备当前的蓝牙连接模式为单连接模式,且与第一控制设备建立了第一链路。Result 3. The current Bluetooth connection mode of the display device is single connection mode, and the first link is established with the first control device.
结果4、显示设备当前的蓝牙连接模式为多连接模式,但未与控制设备建立蓝牙连接链路。Result 4. The current Bluetooth connection mode of the display device is multi-connection mode, but no Bluetooth connection link has been established with the control device.
结果5、显示设备当前的蓝牙连接模式为多连接模式,且与控制设备建立了蓝牙连接链路。Result 5. The current Bluetooth connection mode of the display device is multi-connection mode, and a Bluetooth connection link has been established with the control device.
在上述步骤S2802中,若确定结果为结果1(显示设备当前的蓝牙连接模式为禁止与控制设备蓝牙连接)或2(显示设备当前的蓝牙连接模式为单连接模式,但未与控制设备建立蓝牙连接链路),则本申请实施例提供的显示设备的控制方法继续执行如下步骤S2803和S2804:In the above step S2802, if the determination result is result 1 (the current Bluetooth connection mode of the display device is to prohibit Bluetooth connection with the control device) or 2 (the current Bluetooth connection mode of the display device is single connection mode, but no Bluetooth connection is established with the control device) connection link), then the control method of the display device provided by the embodiment of the present application continues to perform the following steps S2803 and S2804:
S2803、显示设备进入所述多连接模式。S2803. The display device enters the multi-connection mode.
即,显示设备将蓝牙连接关系中的角色转换为接收器(Acceptor),为作为与发起者(Initiator)蓝牙连接的多个接收器中的一个接收器与发起者进行蓝牙连接链路的建立做好准备。That is, the display device converts the role in the Bluetooth connection relationship to the receiver (Acceptor), and does the work to establish a Bluetooth connection link with the initiator as one of the multiple receivers connected to the initiator via Bluetooth. Be prepared.
S2804、第二控制设备向所述显示设备发送连接请求。S2804. The second control device sends a connection request to the display device.
对应的,显示设备接收所述第二控制设备发送的连接请求。Correspondingly, the display device receives the connection request sent by the second control device.
同样,第二控制设备可以以广播的方式发送所述连接请求,以向所述显示设备发送连接请求。Likewise, the second control device may send the connection request in a broadcast manner to send the connection request to the display device.
在一些实施例中,触发第二控制设备以广播的方式发送所述连接请求的实现方式可以与图25所示实施例相同。In some embodiments, the implementation method of triggering the second control device to send the connection request in a broadcast manner may be the same as the embodiment shown in FIG. 25 .
S2805、显示设备在所述多连接模式下与所述第二控制设备进行第二链路的建立。S2805. The display device establishes a second link with the second control device in the multi-connection mode.
对应的,第二控制设在所述多连接模式下与所述显示设备进行第二链路的建立。Correspondingly, the second control device establishes a second link with the display device in the multi-connection mode.
还需要说明的是,在一些实施例中,在上述步骤S2502或S2802中的确定结果还可能为上述结果4(显示设备当前的蓝牙连接模式为多连接模式,但未与控制设备建立蓝牙连接链路)结果5(显示设备当前的蓝牙连接模式为多连接模式,且与控制设备建立了蓝牙连接链路),当确定结果还可能为上述结果4或结果5,由于显示设备当前的蓝牙连接模式已经进入所述多连接模式,因此可以忽略接收到的模式切换指令,直接等待与接收模式切换指令It should also be noted that in some embodiments, the determination result in the above step S2502 or S2802 may also be the above result 4 (the current Bluetooth connection mode of the display device is multi-connection mode, but a Bluetooth connection chain is not established with the control device. Road) Result 5 (the current Bluetooth connection mode of the display device is multi-connection mode, and a Bluetooth connection link has been established with the control device). When the determination result is determined, the result may also be the above Result 4 or Result 5, because the current Bluetooth connection mode of the display device The multi-connection mode has been entered, so the received mode switching command can be ignored and the mode switching command directly waits and received.
参照图29所示,在一些实施例中,在上述图25或图28所示实施例的基础上,在所述第二链路建立之后,本申请实施例提供的显示设备的控制方法还包括:Referring to Figure 29, in some embodiments, based on the embodiment shown in Figure 25 or Figure 28, after the second link is established, the control method of the display device provided by the embodiment of the present application also includes :
S2901、显示设备通过所述第二链路向控制设备发送所述显示设备的值码表。S2901. The display device sends the value code table of the display device to the control device through the second link.
对应的,第一控制设备或所述第二控制设备接收所述显示设备通过所述第二链路发送的所述显示设备的值码表。 Correspondingly, the first control device or the second control device receives the value code table of the display device sent by the display device through the second link.
其中,所述值码表包括所述显示设备的至少一种操作指令对应的码值。Wherein, the value code table includes a code value corresponding to at least one operation instruction of the display device.
本申请实施例中显示设备通过所述第二链路向控制设备发送所述显示设备的值码表是指,当显示设备与所述第一控制设备建立有所述第二链路时,显示设备通过所述第二链路向所述第一控制设备发送所述显示设备的值码表,当显示设备与所述第二控制设备建立有所述第二链路时,显示设备通过所述第二链路向所述第二控制设备发送所述显示设备的值码表。In the embodiment of the present application, the display device sends the value code table of the display device to the control device through the second link, which means that when the display device establishes the second link with the first control device, the display device The device sends the value code table of the display device to the first control device through the second link. When the display device establishes the second link with the second control device, the display device transmits the value code table to the first control device through the second link. The second link sends the value code table of the display device to the second control device.
在图25所示实施例中,显示设备与第一控制设备建立有第二链路,因此上述步骤S2901包括:显示设备通过所述第二链路向第一控制设备发送所述显示设备的值码表,以及第一控制设备接收所述显示设备通过所述第二链路发送的所述显示设备的值码表。In the embodiment shown in Figure 25, the display device has established a second link with the first control device, so the above step S2901 includes: the display device sends the value of the display device to the first control device through the second link. The code table, and the first control device receives the value code table of the display device sent by the display device through the second link.
在图28所示实施例中,显示设备与第二控制设备建立有第二链路,因此上述步骤S2901包括:显示设备通过所述第二链路向第二控制设备发送所述显示设备的值码表,以及第二控制设备接收所述显示设备通过所述第二链路发送的所述显示设备的值码表。In the embodiment shown in Figure 28, the display device and the second control device have established a second link, so the above step S2901 includes: the display device sends the value of the display device to the second control device through the second link. The code table, and the second control device receives the value code table of the display device sent by the display device through the second link.
示例性的,显示设备的值码表可以如下表1所示:For example, the value code table of the display device can be as shown in Table 1 below:
表1
Table 1
S2902、控制设备(第一控制设备或第二控制设备)接收用户输入的操作指令。S2902. The control device (the first control device or the second control device) receives the operation instruction input by the user.
在一些实施例中,用户可以通过对控制设备的按键进行操作,以使控制设备接收用户输入的操作指令。In some embodiments, the user can operate the keys of the control device, so that the control device receives operation instructions input by the user.
在一些实施例中,用户可以也可以通过重力变化、语音输入、出没输入等向控制设备输入操作指令,以使控制设备接收用户输入的操作指令。In some embodiments, the user may also input operation instructions to the control device through gravity changes, voice input, presence and absence input, etc., so that the control device receives the operation instructions input by the user.
S2903、控制设备(第一控制设备或第二控制设备)根据所述显示设备的值码表获取所述操作指令对应的码值。S2903. The control device (the first control device or the second control device) obtains the code value corresponding to the operation instruction according to the value code table of the display device.
示例性的,以下控制设备蓝牙连接有2个显示设备(显示设备A和显示设备B)为例对上述步骤S2903进行举例说明。Illustratively, the above step S2903 will be explained by taking the following example where the control device is connected to two display devices (display device A and display device B) via Bluetooth.
其中,显示设备A的码值表如上表1所示,显示设备A的码值表如下表2所示: Among them, the code value table of display device A is shown in Table 1 above, and the code value table of display device A is shown in Table 2 below:
表2
Table 2
当显示设备与第一控制设备建立有第二链路接收到的用户输入的操作指令为“关机”时,根据显示设备A的值码表(表1)可以确定操作指令为“关机”对应的码值为“0100”,根据显示设备B的值码表(表2)可以确定操作指令为“关机”对应的码值为“1011”。When the display device establishes a second link with the first control device and the operation instruction input by the user is "shut down", it can be determined according to the value code table (Table 1) of the display device A that the operation instruction is "shut down". The code value is "0100". According to the value code table of display device B (Table 2), it can be determined that the code value corresponding to the operation instruction "shutdown" is "1011".
当控制设备接收到的用户输入的操作指令为“音量+”时,根据显示设备A的值码表(表1)可以确定操作指令为“关机”对应的码值为“0000”,根据显示设备B的值码表(表2)可以确定操作指令为“音量+”对应的码值为“1111”。When the operation command input by the user received by the control device is "volume +", according to the value code table (Table 1) of display device A, it can be determined that the code value corresponding to the operation command "shutdown" is "0000". According to the display device A The value code table of B (Table 2) can determine that the code value corresponding to the operation command "volume +" is "1111".
S2904、控制设备向所述显示设备发送所述操作指令对应的码值。S2904. The control device sends the code value corresponding to the operation instruction to the display device.
对应的,显示设备接收所述控制设备(第一控制设备或第二控制设备)通过所述第二链路设备发送的码值。Correspondingly, the display device receives the code value sent by the control device (the first control device or the second control device) through the second link device.
承上示例所述,控制设备蓝牙连接有2个显示设备(显示设备A和显示设备B)且显示设备A的值码表如上表1所示,显示设备B的值码表如上表2所示,则当控制设备接收到的用户输入的操作指令为“关机”时,控制设备向显示设备A发送值码“0100”,向显示设备B发送值码“1011”,当控制设备接收到的用户输入的操作指令为“音量+”时,控制设备向显示设备A发送值码“0000”,向显示设备B发送值码“1111”。As mentioned in the above example, the control device has two display devices (display device A and display device B) connected via Bluetooth, and the value code table of display device A is as shown in Table 1 above, and the value code table of display device B is as shown in Table 2 above. , then when the control device receives the operation command input by the user to "shut down", the control device sends the value code "0100" to display device A and the value code "1011" to display device B. When the input operation command is "volume +", the control device sends the value code "0000" to display device A and the value code "1111" to display device B.
S2905、显示设备根据所述显示设备的值码表获取所述码值对应的操作指令。S2905. The display device obtains the operation instruction corresponding to the code value according to the value code table of the display device.
承上示例所述,当控制设备接收到的用户输入的操作指令为“关机”时,显示设备A接收到的值码为“0100”,显示设备A接收到的值码为“1011”,分别根据表1和表2所示值码表显示设备A和显示设备B均可以获取接收到的码值对应的操作指令为“关机”,当控制设备接收到的用户输入的操作指令为“音量+”时,显示设备A接收到的值码为“0000”,显示设备A接收到的值码为“1111”,分别根据表1和表2所示值码表显示设备A和显示设备B均可以获取接收到的码值对应的操作指令为“音量+”。As mentioned in the above example, when the user-input operation command received by the control device is "shutdown", the value code received by display device A is "0100", and the value code received by display device A is "1011", respectively. According to the value code table shown in Table 1 and Table 2, both display device A and display device B can obtain the operation command corresponding to the received code value as "shutdown". When the control device receives the operation command input by the user as "volume + ", the value code received by display device A is "0000", and the value code received by display device A is "1111". According to the value code tables shown in Table 1 and Table 2 respectively, both display device A and display device B can The operation command corresponding to the received code value is "volume +".
S2906、显示设备执行所述码值对应的操作指令。S2906. The display device executes the operation instruction corresponding to the code value.
上实施例中显示设备首先向显示设备发送了包括所述显示设备的至少一种操作指令对应的码值的值码表,控制设备在接收到用户输入的控制指令时,可以根据各个显示设备值码表的向各个显示设备发送控制指令对应的码值,因此上述实施例可以在控制设备接收到用户输入的控制指令通过不同的码值控制显示设备执行相同的控制操作。In the above embodiment, the display device first sends a value code table including code values corresponding to at least one operation instruction of the display device to the display device. When the control device receives the control instruction input by the user, it can control the display device according to the value of each display device. The code table sends the code values corresponding to the control instructions to each display device. Therefore, the above embodiment can control the display device to perform the same control operation through different code values when the control device receives the control instructions input by the user.
示例性的,参照图30所示,图30中以第二链路的对端设为控制设备,控制设备蓝牙连接有显示设备A和显示设备B,显示设备A和显示设备B的值码表分别如上表1和表2为例进行说明,如图30 所示,显示设备的控制方法包括:Exemplarily, refer to Figure 30. In Figure 30, the opposite end of the second link is set as the control device. The control device is Bluetooth connected to display device A and display device B. The value code tables of display device A and display device B are Take Table 1 and Table 2 above as examples to illustrate, as shown in Figure 30 As shown, the control methods of the display device include:
S301、显示设备A向控制设备发送表1所示值码表。S301. Display device A sends the value code table shown in Table 1 to the control device.
对应的,控制设备接收显示设备A发送的表1所示值码表。Correspondingly, the control device receives the value code table shown in Table 1 sent by the display device A.
S302、显示设备B向控制设备发送表2所示值码表。S302. Display device B sends the value code table shown in Table 2 to the control device.
对应的,控制设备接收显示设备B发送的表2所示值码表。Correspondingly, the control device receives the value code table shown in Table 2 sent by display device B.
S303、控制设备接收用户输入的操作指令“音量+”。S303. The control device receives the operation command "volume +" input by the user.
S304、控制设备根据表1所示值码表确定码值“0000”。S304. The control device determines the code value "0000" according to the value code table shown in Table 1.
S305、控制设备向显示设备A发送码值“0000”。S305. The control device sends the code value "0000" to the display device A.
对应的,显示设备A接收控制设备发送的码值“0000”。Correspondingly, display device A receives the code value "0000" sent by the control device.
S306、显示设备A根据表1所示值码表和码值“0000”确定操作指令“音量+”。S306. Display device A determines the operation command "volume +" according to the value code table shown in Table 1 and the code value "0000".
S307、显示设备A执行操作指令“音量+”。S307. Display device A executes the operation command "volume +".
S308、控制设备根据表2所示值码表确定码值“1111”。S308. The control device determines the code value "1111" according to the value code table shown in Table 2.
S309、控制设备向显示设备B发送码值“1111”。S309. The control device sends the code value “1111” to display device B.
对应的,显示设备B接收控制设备发送的码值“1111”。Correspondingly, display device B receives the code value "1111" sent by the control device.
S3010、显示设备B根据表2所示值码表和码值“1111”确定操作指令“音量+”。S3010. Display device B determines the operation command "volume +" according to the value code table shown in Table 2 and the code value "1111".
S3011、显示设备B执行操作指令“音量+”。S3011. Display device B executes the operation command "volume +".
至此,虽然显示设备A和显示设备B的操作指令“音量+”对应的码值不同,但用户在控制设备上输入操作指令“音量+”时,控制设备可以控制显示设备A和显示设备B均执行操作指令“音量+”。At this point, although the code values corresponding to the operation command "volume +" of display device A and display device B are different, when the user inputs the operation command "volume +" on the control device, the control device can control both display device A and display device B. Execute the operation command "Volume +".
本发明实施例还提供了一种计算机可读非易失性存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述数据处理方法执行的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present invention also provide a computer-readable non-volatile storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the computer program implements various processes executed by the above data processing method, and can To achieve the same technical effect, to avoid repetition, we will not repeat them here.
其中,该计算机可读存储介质可以为只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Among them, the computer-readable storage medium can be read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本发明提供一种计算机程序产品,包括:当所述计算机程序产品在计算机上运行时,使得所述计算机实现上述的数据处理方法。The present invention provides a computer program product, which includes: when the computer program product is run on a computer, the computer implements the above data processing method.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。 It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (14)

  1. 一种显示设备,所述显示设备包括:A display device, the display device includes:
    通信器,用于在处理器的控制下与外部设备通信,所述外部设备包括控制设备;a communicator for communicating with an external device under the control of the processor, the external device including a control device;
    存储器,用于存储计算机指令;Memory, used to store computer instructions;
    所述处理器,与所述存储器连接,被配置为执行计算机指令以使得所述显示设备:通过所述显示设备与所述控制设备之间的连接等时流CIS链路,接收所述控制设备发送的目标数据,所述目标数据是所述控制设备根据接收的用户控制指令生成的;The processor, coupled to the memory, is configured to execute computer instructions such that the display device: receives the control device via an isochronous flow CIS link connecting the display device and the control device. The target data sent, the target data is generated by the control device according to the received user control instruction;
    通过所述CIS链路,向所述控制设备发送回复消息,所述回复消息用于表征已接收到所述目标数据;Send a reply message to the control device through the CIS link, where the reply message is used to indicate that the target data has been received;
    基于所述目标数据,获取与所述用户控制指令对应的目标信息;Based on the target data, obtain target information corresponding to the user control instruction;
    显示器,用于显示所述目标信息。A display used to display the target information.
  2. 根据权利要求1所述的显示设备,所述处理器,还被配置为执行计算机指令以使得所述显示设备:The display device of claim 1, the processor further configured to execute computer instructions such that the display device:
    所述通过所述显示设备与所述控制设备之间的CIS链路,接收所述控制设备发送的目标数据之前,在所述控制设备确定与所述显示设备之间不存在CIS链路的情况下,接收所述控制设备发送的请求消息,所述请求消息用于请求建立所述CIS链路;Before receiving the target data sent by the control device through the CIS link between the display device and the control device, the control device determines that there is no CIS link with the display device. Next, receive a request message sent by the control device, where the request message is used to request the establishment of the CIS link;
    根据所述请求消息,向所述控制设备发送响应消息,所述响应消息用于表征同意建立所述CIS链路。According to the request message, a response message is sent to the control device, where the response message is used to indicate agreement to establish the CIS link.
  3. 根据权利要求1所述的显示设备,所述处理器,进一步被配置为执行计算机指令以使得所述显示设备:The display device of claim 1, the processor further configured to execute computer instructions such that the display device:
    通过所述CIS链路上的至少一个CIS事件,接收所述目标数据,每个CIS事件包括至少一个CIS子事件;Receive the target data through at least one CIS event on the CIS link, each CIS event including at least one CIS sub-event;
    所述向所述控制设备发送回复消息之后,接收所述控制设备发送的指示消息,所述指示消息用于指示所述用户控制指令对应的目标数据已发送完成;After sending the reply message to the control device, receive an instruction message sent by the control device, where the instruction message is used to indicate that the target data corresponding to the user control instruction has been sent;
    根据所述指示消息,关闭所述至少一个CIS事件中的最后一个CIS事件,以使所述显示设备不再监听所述最后一个CIS事件的CIS子事件。According to the instruction message, the last CIS event in the at least one CIS event is closed so that the display device no longer monitors the CIS sub-event of the last CIS event.
  4. 根据权利要求1所述的显示设备,所述处理器还被配置为执行计算机指令以使得所述显示设备:获取固件数据,将所述固件数据分割为多个子数据,并生成各个所述子数据分别对应的广播等时流数据包;The display device of claim 1, the processor further configured to execute computer instructions to cause the display device to: obtain firmware data, split the firmware data into a plurality of sub-data, and generate each of the sub-data Corresponding broadcast isochronous flow data packets;
    根据多个所述广播等时流数据包,生成多个广播等时组数据包;Generate multiple broadcast isochronous group data packets according to a plurality of broadcast isochronous flow data packets;
    广播发送所述多个广播等时组数据包,以使一个或多个控制设备在接收到所述广播等时组数据包后,从所述广播等时组数据中获取所述固件数据,并根据所述固件数据对所述控制设备进行空中下载技术升级。Broadcast and send the plurality of broadcast isochronous group data packets, so that one or more control devices obtain the firmware data from the broadcast isochronous group data after receiving the broadcast isochronous group data packet, and Perform over-the-air download technology upgrades to the control device based on the firmware data.
  5. 根据权利要求4所述的显示设备,各个所述广播等时流数据包具有按顺序编号的序号信息;单个所述广播等时组数据包包括一个或多个广播等时流数据包和一个或多个广播等时流数据包的序号信息;The display device according to claim 4, each of the broadcast isochronous flow data packets has serial number information numbered in sequence; a single broadcast isochronous group data packet includes one or more broadcast isochronous flow data packets and one or Sequence number information of multiple broadcast isochronous flow packets;
    所述处理器被进一步配置为:接收任一所述控制设备发送的、丢失的广播等时流数据包的序号信息;所述丢失的广播等时流数据包的序号信息基于所述广播等时组数据包中的序号信息和接收到的广播等时流数据包确定; The processor is further configured to: receive the sequence number information of the lost broadcast isochronous flow data packet sent by any of the control devices; the sequence number information of the lost broadcast isochronous flow data packet is based on the broadcast isochronous flow data packet. The sequence number information in the group data packet is determined by the received broadcast isochronous flow data packet;
    根据所述丢失的广播等时流数据包的序号信息,重新广播发送包含所述丢失的广播等时流数据包的广播等时组数据包,以使一个或多个所述控制设备接收到所述丢失的广播等时流数据包。According to the sequence number information of the lost broadcast isochronous flow data packet, rebroadcast and send the broadcast isochronous group data packet containing the lost broadcast isochronous flow data packet, so that one or more of the control devices receive the Describes lost broadcast isochronous stream packets.
  6. 根据权利要求5所述的显示设备,所述处理器,被配置为执行计算机指令以使得所述显示设备:将当前发送的第一广播等时流数据包和待发送的第二广播等时流数据包的序号信息填充至一个广播等时组数据包中,以生成所述第一广播等时流数据包对应的广播等时组数据包。The display device according to claim 5, the processor is configured to execute computer instructions so that the display device: combines the currently sent first broadcast isochronous flow data packet with the to-be-sent second broadcast isochronous flow. The sequence number information of the data packet is filled into a broadcast isochronous group data packet to generate a broadcast isochronous group data packet corresponding to the first broadcast isochronous flow data packet.
  7. 根据权利要求5所述的显示设备,所述处理器,被配置为执行计算机指令以使得所述显示设备:将当前发送的第一广播等时流数据包、所述第一广播等时流数据包的序号信息、待发送的第二广播等时流数据包和所述第二广播等时流数据包的序号信息填充至一个广播等时组数据包中,以生成所述第一广播等时流数据包对应的广播等时组数据包。The display device according to claim 5, the processor is configured to execute computer instructions so that the display device: converts the currently sent first broadcast isochronous flow data packet, the first broadcast isochronous flow data The sequence number information of the packet, the second broadcast isochronous flow data packet to be sent, and the sequence number information of the second broadcast isochronous flow data packet are filled into a broadcast isochronous group data packet to generate the first broadcast isochronous flow data packet. The broadcast isochronous group packet corresponding to the stream packet.
  8. 根据权利要求7所述的显示设备,所述第一广播等时流数据包的数量为第一预设数量,所述第二广播等时流数据包的数量为第二预设数量,所述第二广播等时流数据包包括一种或多种广播等时流数据包,所述第一预设数量和所述第二预设数量为大于1的整数。The display device according to claim 7, the number of the first broadcast isochronous flow data packets is a first preset number, the number of the second broadcast isochronous flow data packets is a second preset number, and the The second broadcast isochronous flow data packet includes one or more broadcast isochronous flow data packets, and the first preset number and the second preset number are integers greater than 1.
  9. 根据权利要求1所述的显示设备,还包括:用户输入接口,被配置为接收模式切换指令,所述模式切换指令用于将所述显示设备与控制设备之间的蓝牙连接模式切换为多连接模式,所述多连接模式为一个控制设备连接多个显示设备的蓝牙连接模式;The display device according to claim 1, further comprising: a user input interface configured to receive a mode switching instruction, the mode switching instruction being used to switch the Bluetooth connection mode between the display device and the control device to a multi-connection mode, the multi-connection mode is a Bluetooth connection mode in which one control device connects to multiple display devices;
    所述处理器进一步被配置为执行计算机指令以使得所述显示设备:在所述显示设备与第一控制设备建立有第一链路,且所述第一链路为单连接模式下建立的蓝牙连接链路的情况下,通过所述第一链路向所述第一控制设备发送控制指令,并在接收到所述第一控制设备通过所述第一链路发送的确认信息后,断开所述第一链路,进入所述多连接模式,以及响应于所述第一控制设备发送的连接请求,在所述多连接模式下与所述第一控制设备进行第二链路的建立;所述单连接模式为一个控制设备连接一个显示设备的蓝牙连接模式;所述控制指令用于指示所述第一控制设备进入所述多连接模式。The processor is further configured to execute computer instructions so that the display device: establishes a first link between the display device and the first control device, and the first link is Bluetooth established in a single connection mode. When a link is connected, a control instruction is sent to the first control device through the first link, and after receiving the confirmation information sent by the first control device through the first link, the link is disconnected. The first link enters the multi-connection mode, and in response to the connection request sent by the first control device, establishes a second link with the first control device in the multi-connection mode; The single connection mode is a Bluetooth connection mode in which one control device is connected to a display device; the control instruction is used to instruct the first control device to enter the multi-connection mode.
  10. 根据权利要求9所述的显示设备,所述处理器,还被配置为执行计算机指令以使得所述显示设备:在断开所述第一链路之前,通过所述第一链路向所述第一控制设备发送链路信息;The display device according to claim 9, the processor is further configured to execute computer instructions to cause the display device to: before disconnecting the first link, send a signal to the first link through the first link. The first control device sends link information;
    所述链路信息包括建立所述第二链路过程中所述第一控制设备需要使用的所述显示设备的信息。The link information includes information about the display device that the first control device needs to use in the process of establishing the second link.
  11. 根据权利要求9所述的显示设备,所述处理器,还被配置为执行计算机指令以使得所述显示设备:在所述显示设备未与任意控制设备建立蓝牙连接链路的情况下,进入所述多连接模式,以及响应于第二控制设备发送的连接请求,在所述多连接模式下与第二控制设备进行所述第二链路的建立。The display device according to claim 9, the processor is further configured to execute computer instructions to cause the display device to: enter all Bluetooth connection links when the display device does not establish a Bluetooth connection link with any control device. the multi-connection mode, and in response to the connection request sent by the second control device, establishing the second link with the second control device in the multi-connection mode.
  12. 根据权利要求9-11任一项所述的显示设备,所述处理器,还被配置为执行计算机指令以使得所述显示设备;在所述第二链路建立之后,通过所述第二链路向控制设备发送所述显示设备的值码表;The display device according to any one of claims 9-11, the processor is further configured to execute computer instructions so that the display device; after the second link is established, through the second link Send the value code table of the display device to the control device;
    其中,所述值码表包括所述显示设备的至少一种操作指令对应的码值。Wherein, the value code table includes a code value corresponding to at least one operation instruction of the display device.
  13. 根据权利要求12所述的显示设备,A display device according to claim 12,
    所述处理器,还被配置为执行计算机指令以使得所述显示设备;接收所述控制设备通过所述第二链路设备发送的码值;The processor is further configured to execute computer instructions so that the display device; receives the code value sent by the control device through the second link device;
    根据所述显示设备的值码表获取所述码值对应的操作指令,以及执行所述码值对应的操作指令。Obtain the operation instruction corresponding to the code value according to the value code table of the display device, and execute the operation instruction corresponding to the code value.
  14. 一种用于显示设备的数据处理方法,所述方法包括:A data processing method for a display device, the method includes:
    通过所述显示设备与控制设备之间的CIS链路,接收所述控制设备发送的目标数据,所述目标数据是所述控制设备根据接收的用户控制指令生成的;Receive target data sent by the control device through the CIS link between the display device and the control device, where the target data is generated by the control device according to the received user control instruction;
    通过所述CIS链路,向所述控制设备发送回复消息,所述回复消息用于表征已接收到所述目标数据;Send a reply message to the control device through the CIS link, where the reply message is used to indicate that the target data has been received;
    基于所述目标数据,获取与所述用户控制指令对应的目标信息; Based on the target data, obtain target information corresponding to the user control instruction;
    显示所述目标信息。 Display the target information.
PCT/CN2023/088758 2022-06-30 2023-04-17 Display apparatus and data processing method WO2024001435A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN202210771127.8 2022-06-30
CN202210770347.9A CN115278322B (en) 2022-06-30 2022-06-30 Display device, control device, and control method for display device
CN202210771143.7A CN115278928A (en) 2022-06-30 2022-06-30 Display device, control device and data transmission method
CN202210770347.9 2022-06-30
CN202210771143.7 2022-06-30
CN202210771127.8A CN115175156A (en) 2022-06-30 2022-06-30 Bluetooth device and over-the-air technology upgrading method

Publications (1)

Publication Number Publication Date
WO2024001435A1 true WO2024001435A1 (en) 2024-01-04

Family

ID=89383146

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/088758 WO2024001435A1 (en) 2022-06-30 2023-04-17 Display apparatus and data processing method

Country Status (1)

Country Link
WO (1) WO2024001435A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190349718A1 (en) * 2016-10-21 2019-11-14 Lg Electronics Inc. Method and device for transmitting and receiving data using bluetooth technology
CN111869142A (en) * 2020-02-20 2020-10-30 深圳市汇顶科技股份有限公司 Data transmission method, device, equipment, system and medium
CN112640505A (en) * 2018-12-22 2021-04-09 华为技术有限公司 Transmission rate control method and equipment
CN113346982A (en) * 2021-05-31 2021-09-03 合肥中感微电子有限公司 Data transmission method, data receiving method and data receiving device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190349718A1 (en) * 2016-10-21 2019-11-14 Lg Electronics Inc. Method and device for transmitting and receiving data using bluetooth technology
CN112640505A (en) * 2018-12-22 2021-04-09 华为技术有限公司 Transmission rate control method and equipment
CN111869142A (en) * 2020-02-20 2020-10-30 深圳市汇顶科技股份有限公司 Data transmission method, device, equipment, system and medium
CN113346982A (en) * 2021-05-31 2021-09-03 合肥中感微电子有限公司 Data transmission method, data receiving method and data receiving device

Similar Documents

Publication Publication Date Title
CN102595239B (en) Multi-screen interactive method, device and intelligent television for terminal system
US8698702B2 (en) Image displaying system, image displaying device, image data outputting device, image displaying method, image displaying program, and image data outputting program
CN112350981B (en) Method, device and system for switching communication protocol
US9307375B2 (en) Methods for connecting devices and devices using the same
CN111654742B (en) Remote intelligent linkage screen projection method and system
US8973074B2 (en) Method and system for isochronous communication in audio/video networks
KR100922116B1 (en) System and Method for Integrating Multiple Display Devices
KR20110059202A (en) Terminal apparatus and method for controlling usb apparatus
CN103856809A (en) Method, system and terminal equipment for multipoint at the same screen
US20180262801A1 (en) Method and device for changing orientation of image by wfd sink
CN115209192A (en) Display device, intelligent device and camera sharing method
US20240089526A1 (en) Method for playback in split screen and display device
WO2024001435A1 (en) Display apparatus and data processing method
WO2022077503A1 (en) Wireless screen projection method, apparatus, and system
CN115665707A (en) Display device and data transmission method
CN114697876B (en) Local area network screen projection method and device and electronic equipment
CN115175156A (en) Bluetooth device and over-the-air technology upgrading method
CN115150648A (en) Display device and message transmission method
CN115278928A (en) Display device, control device and data transmission method
CN115278322B (en) Display device, control device, and control method for display device
WO2024001535A1 (en) Display device, playing device, control device and data transmission method
CN115914694A (en) Display device and network connection method based on USB link
WO2022142496A1 (en) Display device, external device, operating mode switching method for external device, and far-field voice control method
CN116193191A (en) Multi-path screen projection method, multi-path screen projection device and display equipment
CN115988248A (en) Display device and Bluetooth communication method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23829625

Country of ref document: EP

Kind code of ref document: A1