CN111405331B - Bluetooth Mesh device state updating method and display device - Google Patents

Bluetooth Mesh device state updating method and display device Download PDF

Info

Publication number
CN111405331B
CN111405331B CN202010229888.1A CN202010229888A CN111405331B CN 111405331 B CN111405331 B CN 111405331B CN 202010229888 A CN202010229888 A CN 202010229888A CN 111405331 B CN111405331 B CN 111405331B
Authority
CN
China
Prior art keywords
bluetooth mesh
state
equipment
current
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010229888.1A
Other languages
Chinese (zh)
Other versions
CN111405331A (en
Inventor
鲍姗娟
马甜甜
申静
王大勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202010229888.1A priority Critical patent/CN111405331B/en
Publication of CN111405331A publication Critical patent/CN111405331A/en
Application granted granted Critical
Publication of CN111405331B publication Critical patent/CN111405331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection

Landscapes

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

Abstract

The application provides a Bluetooth Mesh device state updating method, which comprises the steps of firstly receiving an instruction of switching into a device list interface; then sending a polling instruction to the Bluetooth Mesh equipment to detect the current state of the Bluetooth Mesh equipment in a polling mode; then comparing the current state with the original state of the Bluetooth Mesh equipment; and when the current state is different from the original state, updating the original state in the equipment list interface to the current state. When the method switches to the device list interface, the status update mechanism of the Bluetooth Mesh device status is obtained by polling through heartbeat messages, and the problem that the device status cannot be updated in time is solved.

Description

Bluetooth Mesh device state updating method and display device
Technical Field
The application relates to the technical field of smart home, in particular to a Bluetooth Mesh device state updating method and display device.
Background
The wireless Mesh network is a wireless Mesh network, and is commonly used for constructing various wireless network environments such as a broadband home network, a community network, an enterprise network, a metropolitan area network and the like. The wireless Mesh network may have different forms according to different wireless connection modes used when the network is constructed. The Bluetooth Mesh network established based on the Bluetooth connection can be used for establishing a large network based on a plurality of devices due to the characteristics of convenience in realizing many-to-many device communication and low-energy Bluetooth. The Bluetooth Mesh network can comprise a plurality of nodes, each node is provided with a Bluetooth Mesh device, and different nodes can mutually transmit information to realize free communication among the nodes.
In the function development process based on the Bluetooth Mesh network, the on/off state, the on-off state and the like of the Bluetooth Mesh device need to be known. The state of the bluetooth Mesh device can change continuously along with the actual application condition of the device, so that the state of the bluetooth Mesh device needs to be updated in real time as a control device of the bluetooth Mesh network to realize accurate control. For example, a user can control the device through a voice instruction, and update the device state in time according to an instruction execution result after issuing the control instruction. The user powers off/on the Bluetooth Mesh equipment and updates the equipment state in time through a heartbeat mechanism of the Bluetooth Mesh equipment.
However, for bluetooth Mesh devices such as a bluetooth Mesh switch that can be manually turned on or turned off by a user, when the user operates a switch button to make the bluetooth Mesh switch in an off state, although a heartbeat message corresponding to the bluetooth Mesh switch still exists, the off state cannot be sent to the control device through the heartbeat message, and at this time, the turned-off bluetooth Mesh device is always in an on-line state on the list interface, and the device state cannot be updated in time.
Disclosure of Invention
The application provides a Bluetooth Mesh device state updating method and display device, and aims to solve the problem that the device state cannot be updated in time in a traditional Bluetooth Mesh network.
In a first aspect, the present application provides a bluetooth Mesh device status updating method, including:
receiving a switching-in command input by a user and used for switching in a device list interface;
responding to the cut-in command, and sending a polling command to the Bluetooth Mesh device; the polling instruction is used for detecting the current state of the Bluetooth Mesh equipment through polling;
comparing the current state with the original state of the Bluetooth Mesh equipment; the original state is the last state of the Bluetooth Mesh device in the device list interface;
and if the current state is different from the original state, updating the original state in the equipment list interface to the current state.
According to the technical scheme, the first aspect of the application provides a bluetooth Mesh device state updating method, which is applied to display devices, and the method firstly receives an instruction for switching into a device list interface; then sending a polling instruction to the Bluetooth Mesh equipment to detect the current state of the Bluetooth Mesh equipment in a polling mode; then comparing the current state with the original state of the Bluetooth Mesh equipment; and when the current state is different from the original state, updating the original state in the equipment list interface to the current state. When the method switches to the device list interface, the status update mechanism of the Bluetooth Mesh device status is obtained by polling through heartbeat messages, and the problem that the device status cannot be updated in time is solved.
In a second aspect, the present application provides a bluetooth Mesh device status updating method, applied to a bluetooth Mesh device, including:
receiving a polling instruction sent by display equipment; the polling instruction is an instruction sent by the display device in response to switching into a device list interface;
in response to the polling instruction, performing polling to obtain a current state;
and sending the current state to the display equipment through a heartbeat message.
According to the technical scheme, the second aspect of the application provides a method for updating the state of the bluetooth Mesh device, which is applied to the bluetooth Mesh device. After receiving a polling instruction sent by the display device, the Bluetooth Mesh device executes polling to acquire the current state, and sends the current state to the display device through a heartbeat message, so that the display device can update the Bluetooth Mesh device state in the device list interface when the state of the Bluetooth Mesh device changes.
In a third aspect, the present application provides a display device comprising:
a display configured to display a device list interface;
the Bluetooth module is configured to establish a Bluetooth Mesh network with the Bluetooth Mesh device;
a controller configured to:
receiving a switching-in command input by a user and used for switching in a device list interface;
responding to the cut-in command, and sending a polling command to the Bluetooth Mesh device; the polling instruction is used for detecting the current state of the Bluetooth Mesh equipment through polling;
comparing the current state with the original state of the Bluetooth Mesh equipment; the original state is the last state of the Bluetooth Mesh device in the device list interface;
and if the current state is different from the original state, updating the original state in the equipment list interface to the current state.
As can be seen from the above technical solutions, a third aspect of the present application further provides a display device, including: display, bluetooth module and controller. The controller receives a cut-in command and responds to the cut-in command to send a polling command to the Bluetooth Mesh equipment, and detects the current state of the Bluetooth Mesh equipment on each node in the Bluetooth Mesh network; and if the current state is different from the original state, updating the original state in the device list interface to the current state, and realizing the timely updating of the state of the Bluetooth Mesh device.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to the present application;
fig. 2 is a block diagram of a hardware configuration of a display device 200 according to the present application;
fig. 3 is a block diagram of a hardware configuration of the control device 100 of the present application;
fig. 4 is a schematic diagram of a functional configuration of a display device 200 according to the present application;
FIG. 5a is a diagram illustrating a software configuration of a display device 200 according to the present application;
FIG. 5b is a schematic diagram illustrating the configuration of an application program in the display device 200 according to the present application;
fig. 6 is a schematic diagram of a bluetooth Mesh network structure constructed based on a display device according to the present application;
FIG. 7 is a schematic flow chart of a cut-in device list interface according to the present application;
FIG. 8 is a schematic view of a device list interface of the present application;
fig. 9a is a schematic flow chart of a bluetooth Mesh device status updating method according to the present application;
fig. 9b is a schematic view of an application scenario of the bluetooth Mesh device status updating method according to the present application;
FIG. 10 is a schematic flow chart illustrating a process of determining a current on/off-line status according to a heartbeat message according to the present application;
fig. 11 is a schematic flow chart illustrating the process of extracting the current switch state according to the feedback polling result data according to the present application;
FIG. 12 is a schematic diagram illustrating a process for updating the switch state according to the present application;
FIG. 13 is a flow chart illustrating the update on/off status of the present application;
fig. 14 is a schematic flow chart illustrating the process of sending polling command to the bluetooth Mesh device according to the present application;
fig. 15 is a schematic flow chart illustrating the process of stopping sending polling commands to the bluetooth Mesh device according to the present application;
fig. 16 is a schematic flow chart of the updating method applied to the bluetooth Mesh device status in the present application.
Detailed Description
Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following examples do not represent all embodiments consistent with the present application. But merely as exemplifications of systems and methods consistent with certain aspects of the application, as recited in the claims.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments shown in the present application without inventive effort, are within the scope of protection of the present application. Moreover, while the disclosure herein has been presented in terms of exemplary one or more examples, it is to be understood that each aspect of the disclosure can be utilized independently and separately from other aspects of the disclosure to provide a complete disclosure.
It should be understood that the terms "first," "second," "third," and the like in the description and in the claims of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used are interchangeable under appropriate circumstances and can be implemented in sequences other than those illustrated or otherwise described herein with respect to the embodiments of the application, for example.
Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to those elements explicitly listed, but may include other elements not expressly listed or inherent to such product or device.
The term "module," as used herein, refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
The term "remote control" as used in this application refers to a component of an electronic device (such as the display device disclosed in this application) that is typically wirelessly controllable over a relatively short range of distances. Typically using infrared and/or Radio Frequency (RF) signals and/or bluetooth to connect with the electronic device, and may also include WiFi, wireless USB, bluetooth, motion sensor, etc. For example: the hand-held touch remote controller replaces most of the physical built-in hard keys in the common remote control device with the user interface in the touch screen.
The term "gesture" as used in this application refers to a user's behavior through a change in hand shape or an action such as hand motion to convey a desired idea, action, purpose, or result.
Fig. 1 is a schematic diagram illustrating an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, a user may operate the display apparatus 200 through the control device 100.
The control device 100 may be a remote controller 100A, which includes infrared protocol communication, bluetooth protocol communication, other short-distance communication methods, and the like, and controls the display apparatus 200 in a wireless or other wired manner. The user may input a user instruction through a key on a remote controller, voice input, control panel input, etc., to control the display apparatus 200. Such as: the user can input a corresponding control command through a volume up/down key, a channel control key, up/down/left/right moving keys, a voice input key, a menu key, a power on/off key, etc. on the remote controller, to implement the function of controlling the display device 200.
The control device 100 may also be an intelligent device, such as a mobile terminal 100B, a tablet computer, a notebook computer, and the like. For example, the display device 200 is controlled using an application program running on the smart device. The application may provide the user with various controls through an intuitive User Interface (UI) on a screen associated with the smart device.
For example, the mobile terminal 100B may install a software application with the display device 200, implement connection communication through a network communication protocol, and implement the purpose of one-to-one control operation and the purpose of data communication. Such as: the mobile terminal 100B and the display device 200 may establish a control instruction protocol, synchronize the remote control keyboard to the mobile terminal 100B, and control the function of the display device 200 by controlling the user interface on the mobile terminal 100B. The audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200, so as to implement a synchronous display function.
As shown in fig. 1, the display apparatus 200 also performs data communication with the server 300 through various communication means. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 300 may provide various contents and interactions to the display apparatus 200. Illustratively, the display device 200 receives software program updates, or accesses a remotely stored digital media library, by sending and receiving information, as well as Electronic Program Guide (EPG) interactions. The servers 300 may be a group or groups, and may be one or more types of servers. Other web service contents such as a video on demand and an advertisement service are provided through the server 300.
The display device 200 may be a liquid crystal display, an OLED display, a projection display device. The specific display device type, size, resolution, etc. are not limiting, and those skilled in the art will appreciate that the display device 200 may be modified in performance and configuration as desired.
The display apparatus 200 may additionally provide an intelligent network tv function that provides a computer support function in addition to the broadcast receiving tv function. Examples include a web tv, a smart tv, an Internet Protocol Tv (IPTV), and the like.
A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is exemplarily shown in fig. 2. As shown in fig. 2, the display apparatus 200 may include a tuner demodulator 220, a communicator 230, a detector 240, an external device interface 250, a controller 210, a memory 290, a user input interface, a video processor 260-1, an audio processor 260-2, a display 280, an audio input interface 272, and a power supply.
The tuning demodulator 220 receives the broadcast television signals in a wired or wireless manner, may perform modulation and demodulation processing such as amplification, mixing, resonance, and the like, and is configured to demodulate, from a plurality of wireless or wired broadcast television signals, an audio/video signal carried in a frequency of a television channel selected by a user, and additional information (e.g., an EPG data signal).
The tuner demodulator 220 is responsive to the user-selected television channel frequency and the television signal carried thereby, as selected by the user and as controlled by the controller 210.
The tuner demodulator 220 may receive signals according to different broadcasting systems of television signals, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting, internet broadcasting, or the like; and according to different modulation types, the digital modulation mode and the analog modulation mode can be adopted; and can demodulate the analog signal and the digital signal according to different types of the received television signals.
In other exemplary embodiments, the tuner/demodulator 220 may be in an external device, such as an external set-top box. In this way, the set-top box outputs television audio/video signals after modulation and demodulation, and the television audio/video signals are input into the display device 200 through the input/output interface 250.
The communicator 230 is a component for communicating with an external device or an external server according to various communication protocol types. For example: the communicator 230 may include a WIFI module 231, a bluetooth communication protocol module 232, a wired ethernet communication protocol module 233, and other network communication protocol modules or near field communication protocol modules.
The display apparatus 200 may establish a connection of a control signal and a data signal with an external control apparatus or a content providing apparatus through the communicator 230. For example, the communicator may receive a control signal of the remote controller 100 according to the control of the controller.
The detector 240 is a component of the display apparatus 200 for collecting signals of an external environment or interaction with the outside. The detector 240 may include a light receiver 242, a sensor for collecting the intensity of ambient light, which may be used to adapt to display parameter changes, etc.; the system can further include an image collector 241, such as a camera, etc., which can be used for collecting external environment scenes, collecting attributes of the user or interacting gestures with the user, adaptively changing display parameters, and recognizing user gestures, so as to realize the function of interaction with the user.
In some other exemplary embodiments, the detector 240 may further include a temperature sensor, such as by sensing an ambient temperature, and the display device 200 may adaptively adjust a display color temperature of the image. For example, when the temperature is higher, the display apparatus 200 may be adjusted to display a color temperature of an image that is cooler; when the temperature is lower, the display device 200 may be adjusted to display a warmer color temperature of the image.
In some other exemplary embodiments, the detector 240 may further include a sound collector, such as a microphone, which may be used to receive a user's voice, a voice signal including a control instruction of the user to control the display device 200, or collect an ambient sound for identifying an ambient scene type, and the display device 200 may adapt to the ambient noise.
The external device interface 250 provides a component for the controller 210 to control data transmission between the display apparatus 200 and other external apparatuses. The external device interface 250 may be connected with an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner, and may receive data such as a video signal (e.g., moving image), an audio signal (e.g., music), additional information (e.g., EPG), etc. of the external apparatus.
The external device interface 250 may include: a High Definition Multimedia Interface (HDMI) terminal 251, a Composite Video Blanking Sync (CVBS) terminal 252, an analog or digital component terminal 253, a Universal Serial Bus (USB) terminal 254, a red, green, blue (RGB) terminal (not shown), and the like.
The controller 210 controls the operation of the display device 200 and responds to the operation of the user by running various software control programs (such as an operating system and various application programs) stored on the memory 290.
As shown in fig. 2, the controller 210 includes a random access memory RAM213, a read only memory ROM214, a graphics processor 216, a CPU processor 212, a communication interface 218, and a communication bus. The RAM213 and the ROM214, the graphic processor 216, the CPU processor 212, and the communication interface 218 are connected via a bus.
A ROM213 for storing instructions for various system boots. If the display device 200 is powered on upon receipt of the power-on signal, the CPU processor 212 executes a system boot instruction in the ROM and copies the operating system stored in the memory 290 to the RAM214 to start running the boot operating system. After the start of the operating system is completed, the CPU processor 212 copies the various application programs in the memory 290 to the RAM214, and then starts running and starting the various application programs.
A graphics processor 216 for generating various graphics objects, such as: icons, operation menus, user input instruction display graphics, and the like. The display device comprises an arithmetic unit which carries out operation by receiving various interactive instructions input by a user and displays various objects according to display attributes. And a renderer for generating various objects based on the operator and displaying the rendered result on the display 280.
A CPU processor 212 for executing operating system and application program instructions stored in memory 290. And executing various application programs, data and contents according to various interactive instructions received from the outside so as to finally display and play various audio and video contents.
In some exemplary embodiments, the CPU processor 212 may include a plurality of processors. The plurality of processors may include one main processor and a plurality of or one sub-processor. A main processor for performing some operations of the display apparatus 200 in a pre-power-up mode and/or operations of displaying a screen in a normal mode. A plurality of or one sub-processor for performing an operation in a standby mode or the like.
The communication interfaces may include a first interface 218-1 through an nth interface 218-n. These interfaces may be network interfaces that are connected to external devices via a network.
The controller 210 may control the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 280, the controller 210 may perform an operation related to the object selected by the user command.
Wherein the object may be any one of selectable objects, such as a hyperlink or an icon. Operations related to the selected object, such as: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to an icon. The user command for selecting the UI object may be a command input through various input means (e.g., a mouse, a keyboard, a touch pad, etc.) connected to the display apparatus 200 or a voice command corresponding to a voice spoken by the user.
The memory 290 includes a memory for storing various software modules for driving and controlling the display apparatus 200. Such as: various software modules stored in memory 290, including: the system comprises a basic module, a detection module, a communication module, a display control module, a browser module, various service modules and the like.
The basic module is a bottom layer software module for signal communication between hardware in the display device 200 and sending processing and control signals to an upper layer module. The detection module is a management module used for collecting various information from various sensors or user input interfaces, and performing digital-to-analog conversion and analysis management.
For example: the voice recognition module comprises a voice analysis module and a voice instruction database module. The display control module is a module for controlling the display 280 to display image content, and may be used to play information such as multimedia image content and UI interface. The communication module is used for carrying out control and data communication with external equipment. And the browser module is used for executing data communication between the browsing servers. The service module is a module for providing various services and various application programs.
Meanwhile, the memory 290 is also used to store visual effect maps and the like for receiving external data and user data, images of respective items in various user interfaces, and a focus object.
A user input interface for transmitting an input signal of a user to the controller 210 or transmitting a signal output from the controller to the user. For example, the control device (e.g., a mobile terminal or a remote controller) may send an input signal, such as a power switch signal, a channel selection signal, a volume adjustment signal, etc., input by a user to the user input interface, and then the input signal is forwarded to the controller by the user input interface; alternatively, the control device may receive an output signal such as audio, video, or data output from the user input interface via the controller, and display the received output signal or output the received output signal in audio or vibration form.
In some embodiments, a user may enter a user command on a Graphical User Interface (GUI) displayed on the display 280, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
The video processor 260-1 is configured to receive a video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a video signal that is directly displayed or played on the display 280.
Illustratively, the video processor 260-1 includes a demultiplexing module, a video decoding module, an image synthesizing module, a frame rate conversion module, a display formatting module, and the like.
The demultiplexing module is used for demultiplexing the input audio and video data stream, and if the input MPEG-2 is input, the demultiplexing module demultiplexes the input audio and video data stream into a video signal and an audio signal.
And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like.
And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display.
The frame rate conversion module is configured to convert a frame rate of an input video, such as a frame rate of an input 24Hz, 25Hz, 30Hz, or 60Hz video into a frame rate of 60Hz, 120Hz, or 240Hz, where the input frame rate may be related to a source video stream, and the output frame rate may be related to an update rate of a display screen. The input is realized in a common format by using a frame insertion mode.
And a display formatting module for converting the signal output by the frame rate conversion module into a signal conforming to a display format of a display, such as converting the format of the signal output by the frame rate conversion module to output an RGB data signal.
And a display 280 for receiving the image signal input from the video processor 260-1 and displaying the video content and image and the menu manipulation interface. The display 280 includes a display screen assembly for presenting a picture and a driving assembly for driving the display of an image. The video content may be displayed from the video in the broadcast signal received by the tuner/demodulator 220, or from the video content input from the communicator or the external device interface. And a display 220 simultaneously displaying a user manipulation interface UI generated in the display apparatus 200 and used to control the display apparatus 200.
And, a driving component for driving the display according to the type of the display 280. Alternatively, in case the display 280 is a projection display, it may also comprise a projection device and a projection screen.
The audio processor 260-2 is configured to receive an audio signal, decompress and decode the audio signal according to a standard codec protocol of the input signal, and perform noise reduction, digital-to-analog conversion, amplification and other audio data processing to obtain an audio signal that can be played in the speaker 272.
An audio output interface 270 for receiving the audio signal output by the audio processor 260-2 under the control of the controller 210, wherein the audio output interface may include a speaker 272 or an external sound output terminal 274 for outputting to a generating device of an external device, such as: external sound terminal or earphone output terminal.
In other exemplary embodiments, video processor 260-1 may comprise one or more chip components. The audio processor 260-2 may also include one or more chips.
And, in other exemplary embodiments, the video processor 260-1 and the audio processor 260-2 may be separate chips or may be integrated in one or more chips with the controller 210.
And a power supply for supplying power supply support to the display apparatus 200 from the power input from the external power source under the control of the controller 210. The power supply may include a built-in power supply circuit installed inside the display apparatus 200, or may be a power supply installed outside the display apparatus 200, such as a power supply interface for providing an external power supply in the display apparatus 200.
Fig. 3 is a block diagram schematically showing the configuration of the control apparatus 100 according to the exemplary embodiment. As shown in fig. 3, the control device 100 includes a controller 110, a communicator 130, a user input/output interface 140, a memory 190, and a power supply 180.
The control apparatus 100 is configured to control the display device 200 and may receive an input operation instruction of a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200. Such as: the user operates the channel up/down key on the control device 100, and the display device 200 responds to the channel up/down operation.
In some embodiments, the control device 100 may be a smart device. Such as: the control apparatus 100 may install various applications that control the display device 200 according to user demands.
In some embodiments, as shown in fig. 1, the mobile terminal 100B or other intelligent electronic device may function similar to the control apparatus 100 after an application for manipulating the display device 200 is installed. Such as: the user may implement the functions of controlling the physical keys of the apparatus 100 by installing applications, various function keys or virtual buttons of a graphical user interface available on the mobile terminal 100B or other intelligent electronic devices.
The controller 110 includes a processor 112, a RAM113 and a ROM114, a communication interface, and a communication bus. The controller 110 is used to control the operation of the control device 100, as well as the internal components for communication and coordination and external and internal data processing functions.
The communicator 130 enables communication of control signals and data signals with the display apparatus 200 under the control of the controller 110. Such as: the received user input signal is transmitted to the display apparatus 200. The communicator 130 may include at least one of a WIFI module 131, a bluetooth module 132, an NFC module 133, and the like.
The bluetooth module 132 may establish a wireless connection with the sound output device or the sound input device. The sound output device is a device capable of decoding and converting an audio file and sending an audio signal to the outside, such as an intelligent terminal of a mobile phone, a tablet computer, a notebook computer, and the like; the sound input device is a device capable of receiving an audio signal and converting the audio signal into other forms of signals, such as a sound box, an earphone, and other peripherals.
Alternatively, the bluetooth module 132 may be configured to have different transmission modes, i.e., a reception mode and a transmission mode. The receiving mode is that the display device 200 may receive data or signals from other devices through the bluetooth module 132 to obtain data or signals in other devices; the transmission mode refers to that the display device 200 can transmit data or signals to other devices through the bluetooth module 132, so as to share or play the data or signals of the display device 200 through the other devices.
A user input/output interface 140, wherein the input interface includes at least one of a microphone 141, a touch pad 142, a sensor 143, a key 144, and the like. Such as: the user can realize a user instruction input function through actions such as voice, touch, gesture, pressing, and the like, and the input interface converts the received analog signal into a digital signal and converts the digital signal into a corresponding instruction signal, and sends the instruction signal to the display device 200.
The output interface includes an interface that transmits the received user instruction to the display apparatus 200. In some embodiments, it may be an infrared interface or a radio frequency interface. Such as: when the infrared signal interface is used, the user input instruction needs to be converted into an infrared control signal according to an infrared control protocol, and the infrared control signal is sent to the display device 200 through the infrared sending module. The following steps are repeated: when the rf signal interface is used, a user input command needs to be converted into a digital signal, and then the digital signal is modulated according to the rf control signal modulation protocol and then transmitted to the display device 200 through the rf transmitting terminal.
In some embodiments, the control device 100 includes at least one of a communicator 130 and an output interface. The communicator 130 is configured in the control device 100, such as: the modules of WIFI, bluetooth, NFC, etc. may send the user input command to the display device 200 through the WIFI protocol, or the bluetooth protocol, or the NFC protocol code.
And a memory 190 for storing various operation programs, data and applications for driving and controlling the control apparatus 100 under the control of the controller 110. The memory 190 may store various control signal commands input by a user.
And a power supply 180 for providing operational power support to the components of the control device 100 under the control of the controller 110. A battery and associated control circuitry.
Fig. 4 is a diagram schematically illustrating a functional configuration of the display device 200 according to an exemplary embodiment. As shown in fig. 4, the memory 290 is used to store an operating system, an application program, contents, user data, and the like, and performs system operations for driving the display device 200 and various operations in response to a user under the control of the controller 210. The memory 290 may include volatile and/or nonvolatile memory.
The memory 290 is specifically used for storing an operating program for driving the controller 210 in the display device 200, and storing various applications installed in the display device 200, various applications downloaded by a user from an external device, various graphical user interfaces related to the applications, various objects related to the graphical user interfaces, user data information, and internal data of various supported applications. The memory 290 is used to store system software such as an Operating System (OS) kernel, middleware, and applications, and to store input video data and audio data, and other user data.
The memory 290 is specifically used for storing drivers and related data such as the video processor 260-1 and the audio processor 260-2, the display 280, the communication interface 230, the tuner demodulator 220, the detector 240, the input/output interface, etc.
In some embodiments, memory 290 may store software and/or programs, software programs for representing an Operating System (OS) including, for example: a kernel, middleware, an Application Programming Interface (API), and/or an application program. For example, the kernel may control or manage system resources, or functions implemented by other programs (e.g., the middleware, APIs, or applications), and the kernel may provide interfaces to allow the middleware and APIs, or applications, to access the controller to implement controlling or managing system resources.
The memory 290, for example, includes a broadcast receiving module 2901, a channel control module 2902, a volume control module 2903, an image control module 2904, a display control module 2905, an audio control module 2906, an external instruction recognition module 2907, a communication control module 2908, a light receiving module 2909, a power control module 2910, an operating system 2911, and other applications 2912, a browser module, and the like. The controller 210 performs functions such as: a broadcast television signal reception demodulation function, a television channel selection control function, a volume selection control function, an image control function, a display control function, an audio control function, an external instruction recognition function, a communication control function, an optical signal reception function, an electric power control function, a software control platform supporting various functions, a browser function, and the like.
A block diagram of a configuration of a software system in a display device 200 according to an exemplary embodiment is exemplarily shown in fig. 5 a.
As shown in FIG. 5a, an operating system 2911, including the executing operating software for handling various basic system services and for performing hardware related tasks, acts as an intermediary between application programs and hardware components for performing data processing.
In some embodiments, portions of the operating system kernel may contain a series of software to manage the display device hardware resources and provide services to other programs or software code.
In other embodiments, portions of the operating system kernel may include one or more device drivers, which may be a set of software code in the operating system that assists in operating or controlling the devices or hardware associated with the display device. The drivers may contain code that operates the video, audio, and/or other multimedia components. Examples include a display screen, a camera, Flash, WiFi, and audio drivers.
The accessibility module 2911-1 is configured to modify or access the application program to achieve accessibility and operability of the application program for displaying content.
A communication module 2911-2 for connection to other peripherals via associated communication interfaces and a communication network.
The user interface module 2911-3 is configured to provide an object for displaying a user interface, so that each application program can access the object, and user operability can be achieved.
Control applications 2911-4 for controlling process management, including runtime applications and the like.
The event transmission system 2914 may be implemented within the operating system 2911 or within the application 2912. In some embodiments, an aspect is implemented within the operating system 2911, while implemented in the application 2912, for listening for various user input events, and will implement one or more sets of predefined operations in response to various events referring to the recognition of various types of events or sub-events.
The event monitoring module 2914-1 is configured to monitor an event or a sub-event input by the user input interface.
The event identification module 2914-1 is configured to input definitions of various types of events for various user input interfaces, identify various events or sub-events, and transmit the same to a process for executing one or more corresponding sets of processes.
The event or sub-event refers to an input detected by one or more sensors in the display device 200 and an input of an external control device (e.g., the control apparatus 100). Such as: the method comprises the following steps of inputting various sub-events through voice, inputting a gesture sub-event through gesture recognition, inputting a remote control key command of a control device and the like. Illustratively, the one or more sub-events in the remote control include a variety of forms including, but not limited to, one or a combination of key presses up/down/left/right/, ok keys, key presses, and the like. And non-physical key operations such as move, hold, release, etc.
The interface layout management module 2913, directly or indirectly receiving the input events or sub-events from the event transmission system 2914, monitors the input events or sub-events, and updates the layout of the user interface, including but not limited to the position of each control or sub-control in the interface, and the size, position, and level of the container, which are related to the layout of the interface.
As shown in fig. 5b, the application layer 2912 contains various applications that may be executed at the display device 200. The application may include, but is not limited to, one or more applications such as: live television applications, video-on-demand applications, media center applications, application centers, gaming applications, and the like.
The live television application program can provide live television through different signal sources. For example, a live television application may provide television signals using input from cable television, radio broadcasts, satellite services, or other types of live television services. And, the live television application may display video of the live television signal on the display device 200.
A video-on-demand application may provide video from different storage sources. Unlike live television applications, video on demand provides a video display from some storage source. For example, the video on demand may come from a server side of the cloud storage, from a local hard disk storage containing stored video programs.
The media center application program can provide various applications for playing multimedia contents. For example, a media center, which may be other than live television or video on demand, may provide services that a user may access to various images or audio through a media center application.
The application program center can provide and store various application programs. The application may be a game, an application, or some other application associated with a computer system or other device that may be run on the smart television. The application center may obtain these applications from different sources, store them in local storage, and then be operable on the display device 200.
Fig. 6 is a schematic diagram of a bluetooth Mesh network structure constructed based on a display device according to the present application. In the technical solution provided in the present application, the display device 200 may further form a wireless Mesh network based on a bluetooth function together with the plurality of bluetooth Mesh devices 400, that is, a bluetooth Mesh network. In the bluetooth Mesh network, the display device 200 may be used as a control device to control the bluetooth Mesh device 400 on each node in the network by means of bluetooth connection, such as controlling the bluetooth Mesh device 400 to be turned on and off and controlling other operation parameters of the device.
In this application, the bluetooth Mesh device 400 refers to a device pre-installed with a bluetooth Mesh component, for example, an intelligent home device with a bluetooth function includes an illumination device, a cleaning device, a cooking device, an environmental control device, and the like. It should be noted that, for traditional bluetooth devices such as bluetooth headsets and bluetooth speakers, in the present application, the bluetooth Mesh device 400 can not only transmit data through bluetooth wireless connection, but also form a network through bluetooth connection, thereby implementing mutual free communication between arbitrary devices, and transmitting different instructions through the formed network, so as to control the bluetooth Mesh device 400 on each node.
For example, the display device 200 may form a bluetooth Mesh network with bluetooth Mesh lighting devices distributed in a plurality of rooms. These bluetooth Mesh lighting devices can be uniformly managed and controlled in the display device 200. The bluetooth Mesh lighting in the kitchen may be turned off, e.g. by operation on the display device 200. The corresponding actual operation process is as follows: the user inputs voice to turn off the kitchen lamp through the built-in intelligent voice system of the display device 200, the intelligent voice system converts the input voice into a control instruction, and the control instruction is sent to the Bluetooth Mesh lighting device in the kitchen through the Bluetooth Mesh network.
Obviously, the user can also control the devices in the bluetooth Mesh network in other ways. For example, as shown in fig. 7, interaction in the operation interface of the display device 200 may be performed by the control apparatus 100, and the device list interface may be entered by selecting "bluetooth-bluetooth network". As shown in fig. 8, in the device list interface, all device names and statuses of the bluetooth Mesh network may be presented. The user selects the option corresponding to the kitchen bluetooth Mesh lighting device in the device list through the up, down, left and right keys and the OK key of the control device 100, selects the close option in the pop-up dialog box, and inputs a control instruction. In the same way, the display device 200 sends the control command to the bluetooth Mesh lighting device in the kitchen through the bluetooth Mesh network.
The user may also start the operation control application through the interaction between the control apparatus 100 and the display device 200 through the smart home control application installed on the display device 200, such as apps "comedy share home", "mijia", "smart home", and the like. In the control application, the device list interface may also be displayed for the user to select, generate a corresponding control instruction, and the control display device 200 may send the control instruction to the bluetooth Mesh lighting device in the kitchen through the bluetooth Mesh network by using the program executed by the control application.
As can be seen, in the above control process, the display device 200 may send a control instruction to each bluetooth Mesh device 400 through the bluetooth Mesh network, and control each bluetooth Mesh device 400 to adjust an operation parameter, that is, change the state of the bluetooth Mesh device 400. Generally, the state of the bluetooth Mesh device 400 may include various situations, such as an on/off state, a switching state, etc., according to the type of device. The on/off-line state refers to whether the current bluetooth Mesh device 400 is connected in the bluetooth Mesh network, for example, when the bluetooth Mesh device 400 is powered off (or not powered on), the on/off-line state of the bluetooth Mesh device 400 is off-line; when the bluetooth Mesh device 400 is powered on and has accessed to the bluetooth Mesh network, the on/off-line state of the bluetooth Mesh device 400 is online. The bluetooth Mesh device 400 in the off-line state cannot be controlled through the bluetooth Mesh network in general.
The switch state is a state in which the bluetooth Mesh device 400 is used for representing an operation condition, and if the switch state of the bluetooth Mesh device 400 is on, it indicates that the bluetooth Mesh device 400 is in the operation state; if the switching state of the bluetooth Mesh device 400 is off, it indicates that the bluetooth Mesh device 400 is in a standby state. For example, when the lighting device with bluetooth Mesh is turned on, it indicates that the lighting device is currently on. In practical applications, the on-off state of the bluetooth Mesh device 400 can be controlled through the bluetooth Mesh network no matter whether the bluetooth Mesh device is turned on or turned off. For example, the turning on and off of light fixtures in the kitchen is remotely controlled through the display device 200.
It should be noted that the states of the bluetooth Mesh device 400 are not limited to the above two states, and may have a plurality of states according to the type of the bluetooth Mesh device 400. For example, for an air conditioner with bluetooth Mesh function, the state may include states other than on/off state and on/off state, such as cooling state, heating state, ventilation state, timing on/off state, and the like. These states can be presented, updated and controlled in the device list interface to accommodate different bluetooth Mesh devices 400.
In practical applications, the bluetooth Mesh device 400 is controlled by the display device 200 as an independent device, and may be controlled by other methods. For example, the control is performed by a control switch of the bluetooth Mesh device 400 itself, a remote controller, and a smart terminal device paired therewith. Under different control modes, the state of the bluetooth Mesh device 400 is changed, so that the state of the bluetooth Mesh device 400 is changed in real time. If the bluetooth Mesh device 400 is controlled through the bluetooth Mesh network, the current state of the bluetooth Mesh device 400, that is, the current state, must be obtained first. In order to display and modify the state of the bluetooth Mesh device 400, the display device 200 may display and update the state of the bluetooth Mesh device 400 at a device list interface.
In order to update the state of the bluetooth Mesh device 400, in practical applications, the bluetooth Mesh device 400 may be configured to send a heartbeat message to the display device 200, so as to send the current state of the bluetooth Mesh device 400 to the display device 200 in the form of the heartbeat message. In general, if the display apparatus 200 can receive a heartbeat message transmitted from the bluetooth Mesh apparatus 400, it is interpreted that the bluetooth Mesh apparatus 400 is in an online state. The switching state of the bluetooth Mesh device 400 can be determined according to the content of the sent heartbeat message; similarly, if the display device 200 does not receive the heartbeat message sent by the bluetooth Mesh device 400 for a long time, it indicates that the bluetooth Mesh device 400 is currently in an offline state.
For example, a lighting device located in a kitchen may send a heartbeat message to the display device 200 every 40s after accessing a bluetooth Mesh network. If the lighting device is illuminated, the switch state is on is included in the heartbeat message. The display device 200 may display and update the extracted state in the device list interface by receiving the heartbeat message and parsing and extracting the switch state therein.
If the user controls the lighting device to be turned on or off through the bluetooth Mesh switch in the kitchen, the display device 200 may remotely control the on/off state of the bluetooth Mesh switch, or the user may manually control the on/off state of the bluetooth Mesh switch. Therefore, when the user turns off the lighting device through the switch button, the bluetooth Mesh switch can still send the heartbeat message to the display device 200, that is, the bluetooth Mesh switch is still in the online state, but the actual bluetooth Mesh switch is turned off, and the corresponding device switch state is turned off, so that the display device 200 cannot update the state of the lighting device in time.
In order to update the status of the bluetooth Mesh device 400 in time, as shown in fig. 9a and 9b, the present application provides a bluetooth Mesh device status updating method, which may be configured in the controller 250 of the display device 200, and specifically includes the following steps:
s1: and receiving a switching-in command input by a user and used for switching in the equipment list interface.
The cut-in command refers to a command for entering the device list interface, and a user may perform corresponding interactive operation input through the control device 100, the intelligent voice system, and the mobile terminal. For example, if the control apparatus 100 performs interaction in the operation interface of the display device 200, as shown in fig. 7, and enters the device list interface by selecting "bluetooth-bluetooth network", as shown in fig. 8, the display device 200 receives a switch-in command for switching into the device list interface upon receiving the interaction performed by the user.
Obviously, the cut-in command may be manually input by the user or automatically input by the controller 250 by executing some specific judgment rule. For example, in order to achieve energy saving and emission reduction, the display device 200 may scan the states of the lighting devices in the bluetooth Mesh network by performing a detection procedure in order to turn off unnecessary lighting devices during a part of a period (e.g., day, midnight, or early morning). In the process of executing the detection program, the display device 200 needs to obtain the current status of each lighting device in the bluetooth Mesh network, so that the cut-in command can be automatically generated.
S2: and responding to the hand-in command, and sending a polling command to the Bluetooth Mesh device.
After receiving the cut-in command, the controller 250 of the display device 200 may control the display 275 to display a device list interface for the user to select and perform an interactive operation; on the other hand, in response to the hand-in command, a polling command is sent to the bluetooth Mesh device 400, and the polling command is used for detecting the current state of the bluetooth Mesh device through polling.
Polling is an interactive mode between a control device (display device 200) and a bluetooth Mesh device on a node in a bluetooth Mesh network. The polling is typically initiated by the control device and propagated to each node in the bluetooth Mesh network, where the bluetooth Mesh device 400 feeds back the specified service content based on the inquiry. After the feedback is finished, an inquiry is initiated to the bluetooth Mesh device 400 on the next node, and the process is circulated so that all nodes can feed back the service content.
In the present application, the status of the device may be actively detected by polling the display device 200. For example, the controller 250 transmits a polling command through the bluetooth Mesh network, and performs polling. The bluetooth Mesh device can receive the polling command if the on/off-line state of the bluetooth Mesh device 400 is on-line. The bluetooth Mesh device 400 that receives the polling instruction may feed back the current status to the display device 200 for the polling instruction, including: online and open.
S3: and comparing the current state with the original state of the Bluetooth Mesh equipment.
After receiving the current state fed back by each bluetooth Mesh device 400, the controller 250 of the display device 200 may further compare the current state and the original state of each bluetooth Mesh device 400 to determine whether the state of the bluetooth Mesh device 400 changes.
Wherein the original state is the last state of the bluetooth Mesh device 400 in the device list interface. The device list interface can include all device names forming the current bluetooth Mesh network and the device state when the last heartbeat message is reported. Therefore, through the device list interface, the last state of the bluetooth Mesh device 400 can be acquired. For example, when the heartbeat message is fed back last time, the state of the bluetooth Mesh device 400 is online and off, and the original state is online and off.
Obviously, the original state and the current state may include various types according to the state display condition of the device list interface in actual application. For example, an original on/off-line state and a current on/off-line state based on the on/off-line state; an original switch state based on the switch state and a current switch state. In practice, any state of the bluetooth Mesh device 400 includes an original state and a current state.
S4: and if the current state is different from the original state, updating the original state in the equipment list interface to the current state.
After acquiring the original state and the current state, the controller 250 may further compare the original state and the current state to determine whether the state of the bluetooth Mesh device 400 changes. The specific comparison method may encode the state of the bluetooth Mesh device 400 according to a specified encoding rule, and represent the state in the form of a state value. The controller 250 may determine whether the current state is changed from the original state by comparing the state values. For example, when the switch state value fed back by the bluetooth Mesh device 400 is equal to 1, it represents that the switch state is on. If the switch state value obtained from the device list interface is equal to 0, that is, the switch state is off, it is determined that the current state is different from the original state.
If the current state is different from the original state, it represents that the state of the current bluetooth Mesh device 400 needs to be updated, and thus the original state in the device list interface may be updated to the current state. Namely, in the device list interface, the original state is replaced by the current state, and the updating is completed. Therefore, the method for updating the state of the bluetooth Mesh device 400 provided by the application can actively monitor the state of the bluetooth Mesh device 400 in a polling mode when a user switches into the device list interface, and update the state of the bluetooth Mesh device 400 in time.
In one implementation, the on/off-line status for the bluetooth Mesh device 400 may be directly obtained through a heartbeat message sent by the bluetooth Mesh device 400, that is, the status of the bluetooth Mesh device includes the on/off-line status; as shown in fig. 10, the method further includes:
s101: receiving a heartbeat message sent by the Bluetooth Mesh equipment within a preset timeout period;
s102: if the heartbeat message is received, determining that the current on/off-line state of the Bluetooth Mesh equipment is on-line;
s103: and if the heartbeat message is not received, determining that the current on/off-line state of the Bluetooth Mesh equipment is off-line.
In practical applications, since the bluetooth Mesh device 400 in the bluetooth Mesh network may send a heartbeat message to the display device 200 every predetermined time interval to update its status. It is possible to determine whether the bluetooth Mesh device 400 is online by judging the transceiving of the heartbeat message. For example, the bluetooth Mesh device 400 on each node transmits a heartbeat message to the display device 200 every 40s, that is, the display device 200 may receive a heartbeat message transmitted by the same node device every 40s, thereby maintaining its online status. If the time interval from the last reception of the heartbeat message exceeds 40s and the heartbeat message has not yet been received, the corresponding bluetooth Mesh device 400 is highly likely to have gone offline, and its on/off-line status is updated to offline.
There may be a delay in the time when the heartbeat message is received by the display apparatus 200, considering the influence of network delay, network capacity, and parallel processing speed of the controller 250. Therefore, the timeout time can be preset, and the heartbeat message sent by the bluetooth Mesh device 400 can be received within the preset timeout time. Obviously, the preset timeout is longer than the interval between the transmission of the heartbeat messages by the bluetooth Mesh device 400. For example, the preset timeout time may be set to 140s, that is, if the display apparatus 200 does not acquire a heartbeat message within 140s, it is determined that the current on/off-line state of the bluetooth Mesh apparatus 400 is off-line.
In one implementation, if the current on/off state of the bluetooth Mesh device 400 is online, the on/off state of the bluetooth Mesh device 400 may also be detected, that is, the state of the bluetooth Mesh device 400 also includes the on/off state; as shown in fig. 11, if the heartbeat message is received, the method further includes:
s201: receiving polling result data fed back by the Bluetooth Mesh equipment;
s202: extracting the current on-off state of the Bluetooth Mesh equipment from the polling result data;
s203: and acquiring the original switch state of the Bluetooth Mesh equipment in the equipment list interface.
After the controller 250 transmits the polling command, the bluetooth Mesh device 400 may feed back the current status to the display device 200 and form polling result data. The controller 250, upon receiving the polling result data, may extract the current switching state of each bluetooth Mesh device 400 therefrom. Meanwhile, the controller 250 may also obtain the original switch state of the bluetooth Mesh device 400 in the device list interface, so as to compare the original switch state and determine whether the switch state needs to be updated.
In one implementation, after obtaining the current on-off state and the original on-off state, the current on-off state and the original on-off state may be compared to determine whether the bluetooth Mesh device 400 needs to be updated. If the update is needed, the switch state in the device list interface is updated to the corresponding switch state, and therefore, as shown in fig. 12, the method further includes:
s301: if the current switch state is on and the original switch state is off, updating the switch state of the Bluetooth Mesh device in the device list interface to be on;
s302: and if the current switch state is closed and the original switch state is opened, updating the switch state of the Bluetooth Mesh equipment in the equipment list interface to be closed.
In practical application, for convenience of data transmission, processing and analysis, the polling result data and the heartbeat message in the application can be kept as the same type of data. Therefore, while the current on/off state of the bluetooth Mesh device 400 is actively detected through the polling command, the current on/off state of the bluetooth Mesh device 400 can also be detected. If the current on/off state and the on/off state of a certain bluetooth Mesh device 400 are not acquired in the polling result data, it is determined that the bluetooth Mesh device 400 is in the off-line state.
That is, as shown in fig. 13, in one implementation, the method further includes:
s401: acquiring the original on/off-line state of the Bluetooth Mesh device in the device list interface;
s402: if the original on/off-line state is off-line and the current on/off-line state is on-line, updating the on/off-line state of the Bluetooth Mesh device in the device list interface to be on-line;
s403: and if the original on/off-line state is on-line and the current on/off-line state is off-line, updating the on/off-line state of the Bluetooth Mesh device in the device list interface to be off-line.
In one implementation, as shown in fig. 14, the step of sending a polling command to the bluetooth Mesh device in response to the hand-in command includes:
s211: setting a polling flag to true;
s212: and if the heartbeat message sent by the Bluetooth Mesh equipment is received within the preset timeout period, sending a polling instruction to the Bluetooth Mesh equipment.
In practice, when the user switches into the device list interface, the controller 250 of the display device 200 may set the flag of whether the round robin is required to true. That is, the controller 250 may transmit a polling instruction to the bluetooth Mesh device 400. And then determines when to send a polling command to the bluetooth Mesh device 400 by detecting the condition of the heartbeat message sent by the bluetooth Mesh device 400. Since the bluetooth Mesh device 400 must have a heartbeat message in the power-on scene of the added device, if the heartbeat message is received, it is determined that the bluetooth Mesh device 400 is in an online state, and accordingly, the on-off state of the bluetooth Mesh device 400 can be actively detected, that is, a polling instruction is sent to the bluetooth Mesh device 400.
Obviously, in this embodiment, the polling instruction is sent when it is determined that the bluetooth Mesh device 400 is in the online state, so that the sent polling instruction can only be directed to the bluetooth Mesh device 400 in the online state. Therefore, the number of polling nodes can be reduced, the polling time is shortened, and polling result data can be formed when part of the nodes cannot respond, so that the polling efficiency and the success rate are improved.
In one implementation, as shown in fig. 15, the method further includes:
s501: receiving a switching-out instruction input by a user and used for switching out a device list interface;
s502: and responding to the cut-in command, setting a polling mark to false, and stopping sending a polling command to the Bluetooth Mesh device.
If the user cuts out of the device list interface, it typically means that the user is no longer actively controlling the bluetooth Mesh device 400. At this time, the timeliness requirement for the status update of the bluetooth Mesh device 400 is not high, and thus when the user cuts out the device list interface, the polling operation for the bluetooth Mesh device 400 may be stopped. That is, the controller 250 sets the polling flag to false and stops transmitting the polling command to the bluetooth Mesh device 400 after receiving a switch-out command for switching out the device list interface input by the user.
According to the technical scheme, the first aspect of the application provides a bluetooth Mesh device state updating method, which is applied to a display device 200, and the method firstly receives an instruction for switching into a device list interface; then sending a polling instruction to the bluetooth Mesh device 400 to detect the current state of the bluetooth Mesh device 400 in a polling mode; then comparing the current state with the original state of the bluetooth Mesh device 400; and when the current state is different from the original state, updating the original state in the equipment list interface to the current state. When the method switches to the device list interface, the status update mechanism of the Bluetooth Mesh device 400 status is obtained by polling through heartbeat messages, and the problem that the device status cannot be updated in time is solved.
Based on the above method for updating the status of the bluetooth Mesh device, the present application also provides a method for updating the status of the bluetooth Mesh device, which is applied to the bluetooth Mesh device, and as shown in fig. 16, the method includes:
s601: receiving a polling instruction sent by display equipment;
s602: in response to the polling instruction, performing polling to obtain a current state;
s603: and sending the current state to the display equipment through a heartbeat message.
In the application, the device with the bluetooth Mesh component can cooperate with the display device 200 to perform data interaction, so that the current state of the device can be sent to the display device 200 through the bluetooth Mesh network to perform state updating. Since the display device 200 serves as a control device of the bluetooth Mesh network, when the status of the bluetooth Mesh device 400 is updated on the display device 200, it is equivalent to that the status update is completed on the entire bluetooth Mesh network.
Accordingly, the controller of the bluetooth Mesh device 400 may be configured to transmit a heartbeat message to the display device 200 at a preset time interval and receive a polling instruction transmitted by the display device 200. Wherein the polling instruction is an instruction sent by the display device in response to switching into a device list interface. After receiving the polling command, the polling operation may be performed according to the polling command, and the current status may be fed back to the display apparatus 200. The feedback of the current state can also be accomplished by means of heartbeat messages.
For example, after receiving the polling command, the bluetooth Mesh device 400 detects that the current switch state of the bluetooth Mesh device is on, and then feeds back data that the switch state is on to the display device 200. And generating the switching state data into data in the same heartbeat message form, wherein the state value corresponding to the switching state in the fed back data is 1. The bluetooth Mesh device 400 transmits the generated data to the display device 200 through the bluetooth Mesh network so that the display device 200 performs status update.
As can be seen from the foregoing technical solutions, the second aspect of the present application provides a bluetooth Mesh device status updating method, which is applied to the bluetooth Mesh device 400. After receiving the polling instruction sent by the display device 200, the bluetooth Mesh device 400 performs polling to obtain the current state, and sends the current state to the display device 200 through a heartbeat message, so that the display device 200 can update the state of the bluetooth Mesh device 400 in the device list interface when the state of the bluetooth Mesh device changes.
Based on the bluetooth Mesh device status updating method, the application also provides a display device, which includes: a display 275, a bluetooth module 232, and a controller 250.
Wherein the display 275 is configured to display a device list interface; the bluetooth module 232 is configured to establish a bluetooth Mesh network with a bluetooth Mesh device;
as shown in fig. 9a, 9b, the controller 250 is configured to perform the following program steps:
s1: receiving a switching-in command input by a user and used for switching in a device list interface;
s2: responding to the cut-in command, and sending a polling command to the Bluetooth Mesh device; the polling instruction is used for detecting the current state of the Bluetooth Mesh equipment through polling;
s3: comparing the current state with the original state of the Bluetooth Mesh equipment; the original state is the last state of the Bluetooth Mesh device in the device list interface;
s4: and if the current state is different from the original state, updating the original state in the equipment list interface to the current state.
As can be seen from the above technical solutions, the third aspect of the present application further provides a display device 200, including: a display 275, a bluetooth module 232, and a controller 250. The bluetooth module 232 is configured to establish a bluetooth Mesh network with the bluetooth Mesh device 400, and the controller 250 detects the current state of the bluetooth Mesh device 400 on each node in the bluetooth Mesh network by receiving a cut-in instruction and sending a polling instruction to the bluetooth Mesh device 400 in response to the cut-in instruction; and if the current state is different from the original state, updating the original state in the device list interface to the current state, and realizing the timely updating of the state of the Bluetooth Mesh device 400.
The embodiments provided in the present application are only a few examples of the general concept of the present application, and do not limit the scope of the present application. Any other embodiments extended according to the scheme of the present application without inventive efforts will be within the scope of protection of the present application for a person skilled in the art.

Claims (15)

1. A Bluetooth Mesh device state updating method is characterized in that a controller applied to a display device comprises the following steps:
receiving a switching-in command input by a user and used for switching in a device list interface;
responding to the cut-in instruction, receiving a heartbeat message sent by the Bluetooth Mesh equipment, wherein the heartbeat message is used for detecting the current on/off-line state of the Bluetooth Mesh equipment;
if the heartbeat message sent by the Bluetooth Mesh equipment is received within the preset timeout period, sending a polling instruction to the Bluetooth Mesh equipment; the preset timeout time is longer than the interval time of sending heartbeat messages by the Bluetooth Mesh equipment; the polling instruction is used for detecting the current switch state of the Bluetooth Mesh equipment through polling;
comparing the current state with the original state of the Bluetooth Mesh equipment; the original state is the last state of the Bluetooth Mesh device in the device list interface; the current state comprises a current on/off-line state and a current switch state; the original state comprises an original on/off-line state and an original switch state;
and if the current state is different from the original state, updating the original state in the equipment list interface to the current state.
2. The bluetooth Mesh device status updating method as claimed in claim 1, wherein the method further comprises:
receiving a heartbeat message sent by the Bluetooth Mesh equipment within a preset timeout period;
if the heartbeat message is received, determining that the current on/off-line state of the Bluetooth Mesh equipment is on-line;
and if the heartbeat message is not received, determining that the current on/off-line state of the Bluetooth Mesh equipment is off-line.
3. The bluetooth Mesh device status updating method according to claim 2, wherein if the heartbeat message is received, the method further comprises:
receiving polling result data fed back by the Bluetooth Mesh equipment;
extracting the current on-off state of the Bluetooth Mesh equipment from the polling result data;
and acquiring the original switch state of the Bluetooth Mesh equipment in the equipment list interface.
4. The bluetooth Mesh device status updating method as claimed in claim 3, wherein the method further comprises:
if the current switch state is on and the original switch state is off, updating the switch state of the Bluetooth Mesh device in the device list interface to be on;
and if the current switch state is closed and the original switch state is opened, updating the switch state of the Bluetooth Mesh equipment in the equipment list interface to be closed.
5. The bluetooth Mesh device status updating method as claimed in claim 2, wherein the method further comprises:
acquiring the original on/off-line state of the Bluetooth Mesh device in the device list interface;
if the original on/off-line state is off-line and the current on/off-line state is on-line, updating the on/off-line state of the Bluetooth Mesh device in the device list interface to be on-line;
and if the original on/off-line state is on-line and the current on/off-line state is off-line, updating the on/off-line state of the Bluetooth Mesh device in the device list interface to be off-line.
6. The bluetooth Mesh device status updating method according to claim 1, wherein the step of sending a polling command to the bluetooth Mesh device in response to the hand-in command comprises:
setting a polling flag to true;
and if the heartbeat message sent by the Bluetooth Mesh equipment is received within the preset timeout period, sending a polling instruction to the Bluetooth Mesh equipment.
7. The bluetooth Mesh device status updating method as claimed in claim 1, wherein the method further comprises:
receiving a switching-out instruction input by a user and used for switching out a device list interface;
and responding to the cut-in command, setting a polling mark to false, and stopping sending a polling command to the Bluetooth Mesh device.
8. A Bluetooth Mesh device state updating method is applied to a Bluetooth Mesh device and is characterized by comprising the following steps:
sending a heartbeat message to a display device, wherein the heartbeat message is used for detecting the current on/off-line state of the Bluetooth Mesh device;
if the display equipment receives the heartbeat message sent by the Bluetooth Mesh equipment within the preset timeout time, receiving a polling instruction sent by the display equipment; the preset timeout time is longer than the interval time of sending heartbeat messages by the Bluetooth Mesh equipment; the polling instruction is an instruction sent by the display device in response to switching into a device list interface;
responding to the polling instruction, and performing polling to acquire the current switch state;
and sending the current on-off state to the display equipment through a heartbeat message.
9. A display device, comprising:
a display configured to display a device list interface;
the Bluetooth module is configured to establish a Bluetooth Mesh network with the Bluetooth Mesh device;
a controller configured to:
receiving a switching-in command input by a user and used for switching in a device list interface;
responding to the cut-in instruction, receiving a heartbeat message sent by the Bluetooth Mesh equipment, wherein the heartbeat message is used for detecting the current on/off-line state of the Bluetooth Mesh equipment;
if the heartbeat message sent by the Bluetooth Mesh equipment is received within the preset timeout period, sending a polling instruction to the Bluetooth Mesh equipment; the preset timeout time is longer than the interval time of sending heartbeat messages by the Bluetooth Mesh equipment; the polling instruction is used for detecting the current switch state of the Bluetooth Mesh equipment through polling;
comparing the current state with the original state of the Bluetooth Mesh equipment; the original state is the last state of the Bluetooth Mesh device in the device list interface; the current state comprises a current on/off-line state and a current switch state; the original state comprises an original on/off-line state and an original switch state;
and if the current state is different from the original state, updating the original state in the equipment list interface to the current state.
10. The display device of claim 9, wherein the controller is further configured to:
receiving a heartbeat message sent by the Bluetooth Mesh equipment within a preset timeout period;
if the heartbeat message is received, determining that the current on/off-line state of the Bluetooth Mesh equipment is on-line;
and if the heartbeat message is not received, determining that the current on/off-line state of the Bluetooth Mesh equipment is off-line.
11. The display device of claim 10, wherein if the heartbeat message is received, the controller is further configured to:
receiving polling result data fed back by the Bluetooth Mesh equipment;
extracting the current on-off state of the Bluetooth Mesh equipment from the polling result data;
and acquiring the original switch state of the Bluetooth Mesh equipment in the equipment list interface.
12. The display device of claim 11, wherein the controller is further configured to:
if the current switch state is on and the original switch state is off, updating the switch state of the Bluetooth Mesh device in the device list interface to be on;
and if the current switch state is closed and the original switch state is opened, updating the switch state of the Bluetooth Mesh equipment in the equipment list interface to be closed.
13. The display device of claim 10, wherein the controller is further configured to:
acquiring the original on/off-line state of the Bluetooth Mesh device in the device list interface;
if the original on/off-line state is off-line and the current on/off-line state is on-line, updating the on/off-line state of the Bluetooth Mesh device in the device list interface to be on-line;
and if the original on/off-line state is on-line and the current on/off-line state is off-line, updating the on/off-line state of the Bluetooth Mesh device in the device list interface to be off-line.
14. The display device of claim 9, wherein in response to the hand-in command, the step of sending a polling command to the bluetooth Mesh device, the controller is further configured to:
setting a polling flag to true;
and if the heartbeat message sent by the Bluetooth Mesh equipment is received within the preset timeout period, sending a polling instruction to the Bluetooth Mesh equipment.
15. The display device of claim 9, wherein the controller is further configured to:
receiving a switching-out instruction input by a user and used for switching out a device list interface;
and responding to the cut-in command, setting a polling mark to false, and stopping sending a polling command to the Bluetooth Mesh device.
CN202010229888.1A 2020-03-27 2020-03-27 Bluetooth Mesh device state updating method and display device Active CN111405331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010229888.1A CN111405331B (en) 2020-03-27 2020-03-27 Bluetooth Mesh device state updating method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010229888.1A CN111405331B (en) 2020-03-27 2020-03-27 Bluetooth Mesh device state updating method and display device

Publications (2)

Publication Number Publication Date
CN111405331A CN111405331A (en) 2020-07-10
CN111405331B true CN111405331B (en) 2022-04-01

Family

ID=71413675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010229888.1A Active CN111405331B (en) 2020-03-27 2020-03-27 Bluetooth Mesh device state updating method and display device

Country Status (1)

Country Link
CN (1) CN111405331B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165413B (en) * 2020-09-27 2022-08-26 海尔优家智能科技(北京)有限公司 Equipment state reporting method and device and electronic device
CN112751907B (en) * 2020-11-20 2022-10-14 青岛海尔科技有限公司 Information processing method, information processing apparatus, storage medium, and electronic apparatus
CN112714427B (en) * 2020-12-30 2022-09-09 飞天诚信科技股份有限公司 Method and device for automatically removing unavailable equipment in Bluetooth list
CN113645602B (en) * 2021-08-19 2023-09-19 深圳创维数字技术有限公司 Distributed management method, system, communication terminal and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104022922A (en) * 2014-06-27 2014-09-03 北京邮电大学 Mobile terminal, heartbeat forwarding server and heartbeat information transmitting method and system
CN106376034A (en) * 2016-10-19 2017-02-01 深圳市晟碟半导体有限公司 Method and system for obtaining state of equipment inside wireless Mesh network rapidly
CN106603716A (en) * 2016-12-30 2017-04-26 Tcl集团股份有限公司 Synchronization method of intelligent device state, intelligent device and control terminal thereof
CN107888458A (en) * 2017-12-11 2018-04-06 北京小米移动软件有限公司 Smart machine condition processing method and device
CN110716439A (en) * 2019-10-21 2020-01-21 合肥美的电冰箱有限公司 Household appliance state synchronization method, household appliance and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408956A (en) * 2014-11-06 2015-03-11 深圳市广和通无线通信软件有限公司 Vehicle state monitoring method and system
CN105451369B (en) * 2015-12-04 2018-10-19 小米科技有限责任公司 The Connecting quantity update method and device of low-power consumption bluetooth equipment
CN106302055B (en) * 2016-09-26 2020-12-18 Tcl科技集团股份有限公司 Synchronous updating method and system for intelligent equipment state
CN107087232B (en) * 2017-04-07 2020-03-27 优地网络有限公司 User real-time state detection method and system
CN109005528A (en) * 2018-07-06 2018-12-14 杭州涂鸦信息技术有限公司 A kind of bluetooth mesh gateway data polymerization report method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104022922A (en) * 2014-06-27 2014-09-03 北京邮电大学 Mobile terminal, heartbeat forwarding server and heartbeat information transmitting method and system
CN106376034A (en) * 2016-10-19 2017-02-01 深圳市晟碟半导体有限公司 Method and system for obtaining state of equipment inside wireless Mesh network rapidly
CN106603716A (en) * 2016-12-30 2017-04-26 Tcl集团股份有限公司 Synchronization method of intelligent device state, intelligent device and control terminal thereof
CN107888458A (en) * 2017-12-11 2018-04-06 北京小米移动软件有限公司 Smart machine condition processing method and device
CN110716439A (en) * 2019-10-21 2020-01-21 合肥美的电冰箱有限公司 Household appliance state synchronization method, household appliance and medium

Also Published As

Publication number Publication date
CN111405331A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN111405331B (en) Bluetooth Mesh device state updating method and display device
CN111050199B (en) Display device and scheduling method of Bluetooth communication resources of display device
CN111277884B (en) Video playing method and device
CN111343489B (en) Display device and method for playing music in terminal
WO2021135068A1 (en) Selection control method for sound output device, and display device
CN111405338B (en) Intelligent image quality switching method and display device
CN111050198A (en) Display device and switching method of Bluetooth audio device
CN111752518A (en) Screen projection method of display equipment and display equipment
CN111031375B (en) Method for skipping detailed page of boot animation and display equipment
CN112073762B (en) Information acquisition method based on multi-system display equipment and multi-system display equipment
CN111935518A (en) Video screen projection method and display device
CN111343495A (en) Display device and method for playing music in terminal
CN112019782A (en) Control method and display device of enhanced audio return channel
CN111542031B (en) Display device and Bluetooth device pairing method
WO2021031589A1 (en) Display device and dynamic color gamut space adjustment method
CN113825032A (en) Media asset playing method and display equipment
CN111954059A (en) Screen saver display method and display device
CN111083538A (en) Background image display method and device
CN110602540B (en) Volume control method of display equipment and display equipment
CN111885665A (en) Wireless network connection control method and display device
CN111385631A (en) Display device, communication method and storage medium
CN111479146B (en) Display apparatus and display method
CN111988646B (en) User interface display method and display device of application program
CN113259733B (en) Display device
CN113495654A (en) Control display method and display device

Legal Events

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