CN114302377A - Display device and communication connection method - Google Patents
Display device and communication connection method Download PDFInfo
- Publication number
- CN114302377A CN114302377A CN202110499413.9A CN202110499413A CN114302377A CN 114302377 A CN114302377 A CN 114302377A CN 202110499413 A CN202110499413 A CN 202110499413A CN 114302377 A CN114302377 A CN 114302377A
- Authority
- CN
- China
- Prior art keywords
- driving device
- driving
- display
- target
- display device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 67
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000008569 process Effects 0.000 abstract description 12
- 230000001960 triggered effect Effects 0.000 abstract description 6
- 239000010410 layer Substances 0.000 description 27
- 230000006870 function Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 7
- 230000001174 ascending effect Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 230000036544 posture Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 2
- 239000002131 composite material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Selective Calling Equipment (AREA)
Abstract
The application discloses a display device and a communication connection method, wherein the display device can respond to a Bluetooth switch starting instruction and scan a driving device for driving a display to rotate and/or lift according to a preset device identifier; determining a target driving device mechanically connected with the display when the plurality of driving devices are scanned; and establishing a communication connection with the target driving device so as to control the target driving device to drive the display to rotate and/or lift based on the communication connection. Based on the display device and the communication connection method provided by the embodiment of the application, when a plurality of driving devices of the same type and/or the same identification exist in an environment, a target driving device matched with the display device can be screened from the plurality of driving devices, and the display device is prevented from being connected to other driving devices. In addition, if the user replaces the driving device of the display device, after the replacement is completed, the Bluetooth switch of the display device is turned off and turned on again, and then the pairing and connection process of the new driving device can be triggered.
Description
Technical Field
The present application relates to the field of display device technologies, and in particular, to a display device and a communication connection method.
Background
The smart tv is a display device that can provide a user with a play picture such as audio, video, picture, etc., and can provide the user with not only live tv program contents received through data broadcasting, but also various application and service contents such as network video programs, network games, etc.
Compared with the traditional smart television, the rotary lifting smart television is added with the functions of rotation and lifting, and based on the functions, the television can rotate, ascend and descend under the driving of corresponding driving equipment, so that different postures are realized. For example, the horizontal screen posture is rotated to the vertical screen posture, and then the vertical screen posture is rotated to the horizontal screen posture. As another example, the base may be raised 10cm at the current height, or lowered 5cm, etc.
Disclosure of Invention
The application provides a display device and a communication connection method, which are used for preventing the display device from being connected to a wrong driving device when a plurality of driving devices of the same type and/or the same identification exist in the environment where the display device is located.
In a first aspect, the present application provides a display device comprising:
a display, which can rotate or lift;
a controller configured to:
responding to a Bluetooth switch starting instruction, and scanning a driving device for driving the display to rotate and/or lift according to a preset device identifier;
determining a target driving device mechanically connected with the display when a plurality of the driving devices are scanned;
and establishing communication connection with the target driving device, so that the display is controlled to rotate and/or lift by controlling the target driving device based on the communication connection.
In a second aspect, the present application further provides a communication connection method, applied to a display device, where the display device can rotate and/or ascend and descend, the method including:
responding to a Bluetooth switch starting instruction, and scanning a driving device for driving the display device to rotate and/or lift according to a preset device identifier;
determining a target driving device mechanically connected with the display device when a plurality of the driving devices are scanned;
and establishing communication connection with the target driving device, so that the display device is controlled to rotate and/or lift by controlling the target driving device based on the communication connection.
According to the technical scheme, based on the display device and the communication connection method provided by the embodiment of the application, when a plurality of driving devices of the same type and/or the same identification exist in the environment where the display device is located, the target driving device matched with the display device can be screened from the plurality of driving devices, and the display device is prevented from being connected to other driving devices. In addition, if the user replaces the driving device of the display device, after the replacement is completed, the Bluetooth switch of the display device is turned off and turned on again, and then the pairing and connection process of the new driving device can be triggered.
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 any creative effort.
FIG. 1 is a usage scenario of a display device shown in some embodiments of the present application;
fig. 2 is a block diagram of a hardware configuration of the control apparatus 100 shown in some embodiments of the present application;
fig. 3 is a block diagram of a hardware configuration of a display device 200 shown in some embodiments of the present application;
FIG. 4 is a diagram of the software configuration in a display device 200 shown in some embodiments of the present application;
FIG. 5 is a schematic diagram of the back of a display device 200 shown in some embodiments of the present application;
FIG. 6 illustrates an application scenario of a display device shown in some embodiments of the present application;
FIG. 7 is a setting interface shown in some embodiments of the present application;
FIG. 8 is another setup interface shown in some embodiments of the present application;
FIG. 9 is another setup interface shown in some embodiments of the present application;
fig. 10 is a flow chart illustrating a method of communication connection in some embodiments of the present application.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in fig. 1, the display apparatus 200 is also in data communication with a server 400, and a user can operate the display apparatus 200 through the smart device 300 or the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 in a wireless or wired manner. The user may control the display apparatus 200 by inputting a user instruction through at least one of a key on a remote controller, a voice input, a control panel input, and the like.
In some embodiments, the smart device 300 may include any of a mobile terminal, a tablet, a computer, a laptop, an AR/VR device, and the like.
In some embodiments, the display device 200 may also be controlled by a method other than the control apparatus 100 and the smart device 300, for example, the voice instruction control of the user may be directly received by a module configured inside the display device 200 to obtain a voice instruction, the voice instruction control of the user may be received by a voice control apparatus disposed outside the display device 200, the gesture control of the user may be received by collecting a gesture of the user through a camera connected to the display device 200, and the touch gesture control of the user may be received by receiving a touch operation of the user through a touch component on the display.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
In some embodiments, software steps executed by one step execution agent may be migrated on demand to another step execution agent in data communication therewith for execution. Illustratively, software steps performed by the server may be migrated to be performed on a display device in data communication therewith, and vice versa, as desired.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, thereby mediating interaction between the user and the display device 200.
In some embodiments, the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.
In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key, or an alternative module.
Fig. 3 shows a hardware configuration block diagram of the display apparatus 200 according to an exemplary embodiment.
In some embodiments, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, a user interface.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
In some embodiments, the display 260 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds; still alternatively, the detector comprises a touch data detector, such as a touch sensitive element, for collecting user touch data.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.
And the CPU is used for executing the operating system and the application program instructions stored in the memory and executing various application programs, data and contents according to various interaction instructions for receiving external input so as to finally display and play various audio and video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal displayed or played on the direct display device 200.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on display 260, and the user input interface receives the user input commands 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.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some embodiments, user interface 280 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).
In some embodiments, a system of a display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
Referring to fig. 4, in some embodiments, the system is divided into four layers, which are an Application (Applications) layer (abbreviated as "Application layer"), an Application Framework (Application Framework) layer (abbreviated as "Framework layer"), an Android runtime (Android runtime) and system library layer (abbreviated as "system runtime library layer"), and a kernel layer from top to bottom.
In some embodiments, at least one application program runs in the application program layer, and the application programs may be windows (windows) programs carried by an operating system, system setting programs, clock programs or the like; or an application developed by a third party developer. In particular implementations, the application packages in the application layer are not limited to the above examples.
The framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. The application framework layer acts as a processing center that decides to let the applications in the application layer act. The application program can access the resources in the system and obtain the services of the system in execution through the API interface.
As shown in fig. 4, in the embodiment of the present application, the application framework layer includes a manager (Managers), a Content Provider (Content Provider), and the like, where the manager includes at least one of the following modules: an Activity Manager (Activity Manager) is used for interacting with all activities running in the system; the Location Manager (Location Manager) is used for providing the system service or application with the access of the system Location service; a Package Manager (Package Manager) for retrieving various information related to an application Package currently installed on the device; a Notification Manager (Notification Manager) for controlling display and clearing of Notification messages; a Window Manager (Window Manager) is used to manage the icons, windows, toolbars, wallpapers, and desktop components on a user interface.
In some embodiments, the activity manager is used to manage the lifecycle of the various applications as well as general navigational fallback functions, such as controlling exit, opening, fallback, etc. of the applications. The window manager is used for managing all window programs, such as obtaining the size of a display screen, judging whether a status bar exists, locking the screen, intercepting the screen, controlling the change of the display window (for example, reducing the display window, displaying a shake, displaying a distortion deformation, and the like), and the like.
In some embodiments, the system runtime layer provides support for the upper layer, i.e., the framework layer, and when the framework layer is used, the android operating system runs the C/C + + library included in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. As shown in fig. 4, the core layer includes at least one of the following drivers: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
Based on the display device, the display device can support the rotating and/or lifting functions by adding the driving component and the gesture detection component. Typically, the driving assembly includes a rotation assembly and/or a lifting assembly, and the controller 250 may be in communication with the rotation assembly and/or the lifting assembly to control the rotation assembly to rotate the display when the display needs to be rotated and to control the lifting assembly to lift or lower the display when the display needs to be lifted or lowered.
In a possible implementation manner, a GPIO interface is provided on the rotation component and/or the lifting component, and the controller changes the state of the GPIO interface of the rotation component and/or the lifting component by reading the GPIO interface. And the rotating component and/or the lifting component drive the display to rotate and/or lift according to the changed GPIO interface state when the GPIO interface state changes.
In a possible implementation, the lifting assembly and/or the lifting assembly includes an MCU chip on which a bluetooth module is integrated, such that the lifting assembly and/or the lifting assembly supports bluetooth functionality, such as Bluetooth Low Energy (BLE), and further, the controller 250 may communicate with the lifting assembly and/or the lifting assembly based on a bluetooth protocol.
In some embodiments, the detection assembly includes a sensor for detecting a rotational state of the display and a sensor for detecting a lifting state of the display. In the rotating or lifting process of the display, the controller monitors the rotating state or the lifting state of the display in real time according to the data detected by the gesture detection assembly. For example, in the process of controlling the display to rotate, information such as a rotation angle, an angular speed and the like is acquired by monitoring data of the sensor. In the process of controlling the display to ascend and descend, information such as ascending and descending distance and ascending and descending speed is acquired by monitoring data of the sensor.
In some embodiments, the detection assembly is included in the drive assembly. For example, a sensor for detecting a rotation state of the display is included in the rotating member, and constitutes the rotating member together with the above-described rotating member. The sensor for detecting and displaying the lifting state is included in the lifting assembly, and the sensor and the lifting assembly form the lifting assembly together.
In some embodiments, the rotating assembly is referred to as a rotary drive device and the lifting assembly is referred to as a lifting drive device.
In some embodiments, the rotating assembly and the lifting assembly together form a driving device, i.e., the driving device has both functions of driving the display to rotate and lift.
Fig. 5 is a schematic rear view of a display device shown in some exemplary embodiments of the present application, and as shown in fig. 5, the display device includes a display 260 and a lifting driving device 511. The lifting driving device 511 and the lifting guide rail 512, the lifting guide rail is fixed on the bracket 512. The rotation drive is then arranged inside the elevation drive, i.e. between the elevation drive and the display, not shown in fig. 5.
In some embodiments, a rotary lifting control system is deployed in an operating system of a display device, and the rotary lifting control system may be deployed at an application framework layer or across layers, for example, a part of function codes is deployed at the application framework layer, and another part of function codes is deployed at a runtime library layer. The rotational elevation control system may be in communication with the drive assembly and the detection assembly to provide uniform, coordinated, and safe control of the rotation and elevation of the display device.
During specific implementation, the same control interface provided for each application through the rotary lifting control system comprises a unique control inlet, such as clockwise rotation, anticlockwise rotation, rotation stop, short-distance lifting, long-distance lifting and stopping lifting, so that the lifting operation and the rotary operation are prevented from being carried out simultaneously, and the safety of rotary lifting control is ensured. In addition, the rotary lifting control system performs unified logic processing and judgment on control instructions issued by each application. For example, before controlling the rotation, it is necessary to determine whether the rotation is in the process of ascending and descending, and if not, the rotation is controlled again. When the rotation is started, each application is notified through broadcasting, and the application is guaranteed to receive the same notification information. In the rotation control process, the monitoring sensor detects big data to obtain information such as a rotation angle, an angular speed and the like and update parameters, and the parameter information can be fed back to each application. The system performs rotation completion detection once every preset time (e.g., 200ms), and sends a broadcast notification application when rotation is completed.
Fig. 6 is an application scenario shown in some exemplary embodiments of the present application, and the application scenario may be a simple schematic of a shopping mall. As shown in fig. 6, in this scenario, there are a plurality of smart tvs with a lifting function, and each smart tv is equipped with at least one lifting driving device for driving the screen of the smart tv to lift. It should be understood that in this scenario, the bluetooth broadcast information is continuously sent to the outside when the smart tv is powered on and is not connected to the lifting driving device of the smart tv, so that the smart tv can discover itself after scanning is started. In such implementation scenarios, after the bluetooth module of a certain smart television starts scanning, a plurality of lifting driving devices of the same type and/or identification can be scanned, wherein the lifting driving devices comprise lifting driving devices matched with the smart television and lifting driving devices matched with other smart televisions in the environment.
For the application scenario, the display device provided in the embodiment of the present application may determine, from a plurality of driving devices with the same name or type, a target driving device having a mechanical connection relationship with itself, and establish a communication connection with the target driving device, so that connection to an incorrect driving device may be avoided. In addition, if the user replaces the driving device of the display device, after the replacement is completed, the Bluetooth switch of the display device is turned off and turned on again, so that the pairing and connection process of the new driving device can be triggered, additional user operation is not needed, and the user experience is good.
In some embodiments, the controller 250 turns on the bluetooth module in response to the bluetooth switch turn-on command. For example, in the case where the bluetooth switch is turned off, the user displays an interface of a setting application by operating the control display device, and inputs a bluetooth switch-on instruction by operating the bluetooth switch button in the interface including the bluetooth switch button provided by the setting application. For another example, in the case that the bluetooth switch is turned off, the user inputs a voice password using a far-field voice or near-field voice control function of the display device to input a bluetooth switch turn-on instruction. In another example, the setup application sends a bluetooth switch on instruction to the bluetooth module in response to a power-on broadcast generated when the display device is powered on. After the Bluetooth module is started, the driving device is scanned through the Bluetooth module according to the preset device identification. The driving device can be a rotation driving device, a lifting driving device or a driving device integrating rotation and lifting functions. The preset device identification may be a device name of the drive device or a universally unique identification code UUID. When a plurality of driving devices are scanned according to preset device identifications, a target driving device is determined from the plurality of driving devices. When one driving device is scanned according to the preset device identification, the driving device is determined as a target driving device. The target driving device refers to a driving device which is only one of the plurality of scanned driving devices and has a mechanical connection relationship with the display device which initiates the scanning. It should be understood that the display device can be rotated and lifted under the mechanical driving action of the driving device only when the driving device and the display device have a mechanical connection relationship. For example, when a plurality of rotation driving devices are scanned according to preset device identifications corresponding to the rotation driving devices, a target rotation driving device mechanically connected with the display device is determined from the plurality of rotation driving devices; and when the plurality of lifting driving devices are scanned according to the preset device identification corresponding to the lifting driving device, determining a target lifting driving device mechanically connected with the display device from the plurality of lifting driving devices. After the target driving device is determined, communication connection is established with the target driving device, so that when rotation or lifting is required to be controlled, the target driving device is controlled to drive the display to rotate or lift based on the communication connection with the target driving device. For example, when the display is required to be controlled to ascend and descend, the target ascending and descending driving device is controlled to drive the display to ascend and descend based on the communication connection with the target ascending and descending driving device, and when the display is required to be controlled to rotate, the target rotating driving device is controlled to drive the display to rotate based on the communication connection with the target rotating driving device.
In specific implementation, when the controller detects that the bluetooth switch is turned on, a scanning instruction is sent to the bluetooth module, and the scanning instruction comprises a preset device identifier. And after the Bluetooth module receives the scanning instruction, starting scanning. It should be understood that, after the bluetooth module starts scanning, it may receive bluetooth broadcast information sent by the external device, where the bluetooth broadcast information includes data such as device identifier, media access control address, rssi (received Signal Strength indication) value, and the like. The Bluetooth module matches the device identification of the external device with a preset device identification, and determines whether the scanned external device is a driving device. For example, the external device whose device identifier matches the first preset device identifier is determined as the lifting driving device, and the external device whose device identifier matches the second preset device identifier is determined as the rotating driving device. The device identifier is matched with the preset device identifier, including but not limited to the case where the device identifier is the same as the preset device identifier. Therefore, the display equipment can filter other external equipment according to the preset equipment identification, and only keeps the scanning result of the lifting driving equipment or the rotating driving equipment.
In some embodiments, a user may enter a media access control address (MAC address for short) of a target drive device in a setup application. The display equipment receives the MAC address of the target driving equipment input by a user and judges whether the MAC address of the target driving equipment is stored in the configuration file or not. And if the MAC address of the target drive equipment is stored in the configuration file, replacing the MAC address stored in the configuration file by using the MAC address input by the user latest. And if the MAC address of the target drive equipment is not stored in the configuration file, generating configuration information of the target drive equipment in the configuration file according to the MAC address input by the user latest.
Fig. 7 is an interface provided by a setup application, which may be an interface triggered by a user clicking a setup key or a menu key on a remote control, according to some embodiments of the present application. As shown in fig. 7, a plurality of setting items, namely setting items 701 and 705 respectively, are displayed in the interface, wherein the setting item 701 is a setting item corresponding to the rotation up-down control. The user can set the rotary elevation control function by operating the setting item 701. Illustratively, when the user operates the setting item 701, a setting interface of the rotation up-down control function is displayed.
Fig. 8 is an interface provided by a setting application in some embodiments of the present application, which may be specifically a setting interface of a rotary elevation control function entered after a user operates a setting item 701 while the interface shown in fig. 7 is displayed. As shown in fig. 8, an item 801 for adding a rotation driving device and an item 802 for adding a lifting driving device are displayed in the interface. The user can input the MAC address of the target rotation driving device through the operation item 801, and can input the MAC address of the target elevation driving device through the operation item 802. Illustratively, when the user operates the item 801, a MAC address input interface corresponding to the rotation driving apparatus is displayed. When the user operates the item 802, a MAC address input interface corresponding to the lifting drive device is displayed. The user can input the MAC address of the target rotation driving device in the MAC address input interface corresponding to the rotation driving device, and input the MAC address of the target lifting driving device in the MAC address input interface corresponding to the lifting driving device.
Fig. 9 is an interface provided by a setting application in some embodiments of the present application, which may be specifically a MAC address input interface entered after a user operates a setting item 801 when the interface shown in fig. 8 is displayed. The user may enter the MAC address of the target rotary drive device in the interface. The display device receives the MAC address of the target rotary driving device input by the user, generates target driving device configuration information in a configuration file, or updates the previously generated target driving device configuration information.
Based on the above embodiments, in some implementations of determining a target driving device, when the display device scans multiple driving devices, the MAC address of each driving device is compared with the MAC address in the configuration information of the target driving device in the configuration file, and a driving device with a MAC address consistent with the MAC address of the target driving device, which is obtained in advance, in the multiple driving devices is determined as the target driving device. For example, when the display device scans a plurality of rotation driving devices, the MAC address of each rotation driving device is compared with the MAC address of the target rotation driving device in the target driving device configuration information, and the rotation driving device whose MAC address coincides with the MAC address of the target rotation driving device acquired in advance is determined as the target rotation driving device. When the display device scans a plurality of lifting driving devices, comparing the MAC address of each lifting driving device with the MAC address of the target lifting driving device in the configuration information of the target driving device, and determining the lifting driving device with the MAC address consistent with the MAC address of the target lifting driving device obtained in advance as the target lifting driving device.
In this way, when there are a plurality of driving devices of the same type and/or the same identification in the environment where the display device is located, the target driving device matching the display device can be determined from the plurality of driving devices according to the MAC address of the target driving device obtained in advance, so as to prevent the display device from being connected to other driving devices. The display device is matched with a display device mechanical structure, or has a mechanical connection relation with the display device.
In other embodiments, in some embodiments, the controller 250 turns on the bluetooth module in response to a bluetooth switch turn-on command. And after the Bluetooth module is started, scanning the driving equipment through the Bluetooth module according to the preset equipment identification and the MAC address of the target driving equipment acquired in advance. The driving device can be a rotation driving device, a lifting driving device or a driving device integrating rotation and lifting functions. The scanned driving device is determined as a target driving device. And establishing communication connection with the target driving device, so that the target driving device can be controlled to drive the display to rotate or ascend and descend based on the communication connection with the target driving device when rotation or ascending and descending are required to be controlled.
In specific implementation, when the controller detects that the bluetooth switch is turned on, a scan instruction is sent to the bluetooth module, and the scan instruction includes a preset device identifier and an MAC address of a target drive device. And after the Bluetooth module receives the scanning instruction, starting scanning. It should be understood that, after the bluetooth module starts scanning, it may receive bluetooth broadcast information sent by the external device, where the bluetooth broadcast information includes data such as device identifier, media access control address, rssi (received Signal Strength indication) value, and the like. The Bluetooth module firstly matches the device identification of the external device with the preset device identification, and determines whether the scanned external device is a driving device. For example, the external device whose device identifier matches the first preset device identifier is determined as the lifting driving device, and the external device whose device identifier matches the second preset device identifier is determined as the rotating driving device. Then, the bluetooth module matches the MAC address of the scanned driving device with the MAC address of the target driving device in the scan instruction, and determines the driving device with the MAC address consistent with the MAC address of the target driving device among the plurality of driving devices as the target driving device. Finally, the bluetooth module reports the information of the target driver to the controller 250. And the controller establishes communication connection with the target driving equipment according to the information reported by the Bluetooth module. Therefore, the Bluetooth can filter out other external equipment and other driving equipment according to the preset equipment identification and the MAC address of the target driving equipment, and only the target driving equipment matched with the display equipment is reserved.
In other implementations of determining the target driving device, the display device screens out the target driving device from the plurality of driving devices according to the scanned signal strength of the driving device, so as to prevent the display device from being connected to other driving devices, for example, when the bluetooth module scans the plurality of lifting driving devices according to the first preset device identifier, the target lifting driving device is determined according to the signal strength of each lifting driving device. And when the Bluetooth module scans a plurality of rotary driving devices according to the second preset device identification, determining a target rotary driving device according to the signal intensity of each rotary driving device.
In one possible implementation, the drive device with the highest signal strength is determined as the target drive device. For example, the signal strength of the lift drive device may be evaluated based on an average of RSSI values of the lift drive device over a period of time, and the signal strength of the swing drive device may be evaluated based on an average of RSSI values of the swing drive device over a period of time.
Illustratively, if the bluetooth module scans a plurality of lifting drive devices according to preset device identifiers, the scanning is continued, so that a plurality of preset RSSI values of each lifting drive device are obtained by continuously receiving bluetooth broadcast information sent by the plurality of lifting drive devices. After the preset plurality of RSSI values are acquired for each lifting driving device, the Bluetooth module closes scanning, and feeds back the scanned device information of each lifting driving device and the preset plurality of RSSI values of each lifting driving device to the controller. And the controller calculates the RSSI average value of each lifting driving device according to the preset RSSI values of each lifting driving device, and determines the lifting driving device with the maximum RSSI average value as the target lifting driving device.
It should be understood that if the bluetooth module scans multiple rotation driving devices according to preset device identifiers, the rotation driving device with the highest signal strength may be selected from the multiple rotation driving devices as the target rotation driving device according to the manner of determining the target lifting driving device described in the above example.
In some embodiments, to further improve the accuracy of determining the target driving device, after determining a driving device with the highest signal strength among a plurality of driving devices, determining whether the signal strength of the driving device is greater than a preset value, and if the signal strength of the driving device is greater than the preset value, determining the driving device as the target driving device. The preset value may be determined according to the working signal strength of the target driving device when the target driving device is applied to the display device, that is, according to the signal strength scanned by the display device when the target driving device is installed in the display device.
With the foregoing example, after the controller determines the lifting driving device with the largest RSSI average value, it determines whether the RSSI average value is greater than the RSSI average value preset by the target lifting driving device. And if the RSSI average value is larger than the RSSI average value preset by the target lifting driving equipment, determining the lifting driving equipment as the target lifting driving equipment.
In this way, when there are a plurality of driving devices of the same type and/or the same identification in the environment where the display device is located, the target driving device matching the display device can be determined from the plurality of driving devices according to the MAC address of the target driving device obtained in advance, so as to prevent the display device from being connected to other driving devices.
In some embodiments, Bluetooth Low Energy (BLE) connectivity is established over the GATT protocol, with GATT-based communication between the display device and the rotation drive device and/or the elevation drive device. The GATT is known as Generic Attribute Profile, which may be translated into "Generic Attribute protocol", referring to the general specification of sending and receiving very short pieces of data, referred to as attributes (attributes), over a bluetooth connection. The GATT defines that two BLE devices communicate through Service (Service) and Characteristic value (characteristics). The characteristic value may be understood as a label, and the desired content may be obtained or written through the label. The Service deploys the BLE slaves, each Service represents one capability of the BLE slaves, such as power information Service, system information Service and the like, each Service comprises a plurality of characteristic values, and each specific characteristic value is a subject of BLE communication. For example, the current power amount is 80%, and the charateristic characteristic value of the current lighting passing power amount is stored in the profile of the slave, so that the master can read that the current power amount is 80% through the charateristic characteristic value of the power amount.
It is noted that, in the GATT protocol, both the Service (Service) and the feature value (characteriodic) of the BLE slave device need the universally unique identifier UUID of the BLE slave device for identification, so that the BLE slave device needs to open the UUID Service if two BLE devices are to establish a GATT connection. Based on this, in the process of scanning the rotation driving device and/or the lifting driving device, after determining that the scanned external device is the rotation driving device or the lifting driving device, it is further required to determine whether each rotation driving device or each lifting driving device opens the UUID service, so as to filter out the rotation driving devices or the lifting driving devices that do not open the UUID service, and determine the target driving device from the rotation driving devices or the lifting driving devices that open the UUID service.
In some embodiments, after determining the target drive device, the controller 250 establishes a GATT communication connection with the target drive device to control the target drive device to drive the display to ascend or descend based on the GATT communication connection. In a specific implementation, the controller 250 first pairs with the target driver, and if the pairing is successful, establishes a GATT communication connection with the target driver based on a GATT procedure. And if the pairing is failed or the GATT communication connection is failed, scanning the rotary driving device or the lifting driving device again according to the preset device identification, and executing the subsequent steps according to the scanning result.
The rotary lifting control system serves as a GATT client, and the rotary driving device and the lifting driving device serve as GATT servers. When a switch of the Bluetooth module of the display device is turned on, the rotary lifting control system performs Bluetooth pairing with the rotary driving device and the lifting driving device, and after the Bluetooth pairing is successful, GATT communication connection is established between the rotary lifting control system and the rotary driving device and between the rotary lifting control system and the lifting driving device. After connection is successful, the rotary lifting control system serves as a GATT client, the state, position, fault and other information of the rotary driving device and the lifting driving device serving as a GATT server can be inquired regularly, and meanwhile when the rotary driving device or the lifting driving device breaks down or is lifted to a limit switch, the state can be actively fed back to the rotary lifting control system, so that each application can be guaranteed to read the latest lifting state.
It should be noted that in a network topology based on the GATT protocol, one BLE master device (also referred to as a central device) may connect to multiple BLE slave devices (also referred to as peripheral devices), and one BLE slave device may only connect to one BLE master device. It should be understood that, in this application, after the display device establishes GATT communication connection with the target driver device, the display device is a BLE master device, and the target driver device is a BLE slave device. And when the target driving device is successfully connected with the display device, the Bluetooth broadcast information is stopped being sent to the outside.
It should be further noted that the two parties communicating based on the GATT are in a C/S relationship, where the peripheral device serves as a GATT server and defines service and characteristics. The central device acts as a GATT client and initiates a request to the server. It should be noted that all communication events are initiated by the client and the response of the receiving server is implemented. It should be understood that, in the present application, after the display device establishes the GATT communication connection with the target driver device, the display device serves as a GATT client, and initiates a request to the server, for example, a request for periodically querying information such as a rotation lifting state, a position, and a fault of the target driver device; and the target drive equipment serves as a GATT server and returns a response to the client.
As can be seen from the foregoing embodiments, based on the display device provided in the embodiments of the present application, when there are multiple driving devices of the same type and/or the same identifier in an environment where the display device is located, a target driving device that is configured with the display device can be screened from the multiple driving devices, so as to prevent the display device from being connected to other driving devices. In addition, if the user replaces the driving device of the display device, after the replacement is completed, the Bluetooth switch of the display device is turned off and turned on again, and then the pairing and connection process of the new driving device can be triggered.
According to the display device provided in the above embodiment, an execution subject of the communication connection method may be the controller 250 of the display device in the above embodiment, as shown in fig. 10, the communication connection method may include the following steps:
and S101, responding to a Bluetooth switch starting instruction, and scanning a driving device for driving the display to rotate and/or lift according to a preset device identifier.
In some embodiments, S101 may specifically include: receiving Bluetooth broadcast information sent by external equipment, wherein the Bluetooth broadcast information comprises an equipment identifier; and determining the external equipment with the equipment identification matched with the preset equipment identification as the driving equipment.
S102, when a plurality of driving devices are scanned, determining a target driving device mechanically connected with the display.
In some embodiments, a media access control address of a target drive device input by a user in a setup application is received. When the plurality of driving devices are scanned, the driving device of which the MAC address is consistent with the MAC address of the target driving device is determined as the target driving device.
In other embodiments, after a plurality of driving devices are scanned, a preset number of RSSI values of each driving device are obtained by continuing to scan; calculating the average RSSI value of each driving device according to the preset number of RSSI values of each driving device; and determining the drive device with the maximum RSSI average value as the target drive device.
In other embodiments, after a plurality of driving devices are scanned, a preset number of RSSI values of each driving device are obtained by continuing to scan; calculating the average RSSI value of each driving device according to the preset number of RSSI values of each driving device; and determining the drive equipment with the maximum RSSI average value and larger than the preset RSSI value as the target drive equipment. And the preset RSSI value is determined according to the RSSI value of the target driving equipment during working.
S103, establishing communication connection with the target driving device, and controlling the target driving device to drive the display to rotate and/or lift based on the communication connection.
In some embodiments, S103 may specifically include: pairing with a target driving device; and after pairing is successful, establishing GATT communication connection with the target driving equipment based on a common attribute protocol GATT. When the pairing with the target drive device fails or the GATT communication connection fails, S101-S303 are re-executed.
As can be seen from the foregoing embodiments, based on the communication connection method provided in the embodiments of the present application, when there are multiple driving devices of the same type and/or the same identifier in an environment where a display device is located, a target driving device that is matched with the display device may be screened from the multiple driving devices, so as to prevent the display device from being connected to other driving devices. In addition, if the user replaces the driving device of the display device, after the replacement is completed, the Bluetooth switch of the display device is turned off and turned on again, and then the pairing and connection process of the new driving device can be triggered.
In specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program may include some or all of the steps in each embodiment of the communication connection method provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, for the embodiment of the display device, since it is substantially similar to the embodiment of the method, the description is simple, and for the relevant points, refer to the description in the embodiment of the method.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.
Claims (10)
1. A display device, comprising:
a display, which can rotate or lift;
a controller configured to:
responding to a Bluetooth switch starting instruction, and scanning a driving device for driving the display to rotate and/or lift according to a preset device identifier;
determining a target driving device mechanically connected with the display when a plurality of the driving devices are scanned;
and establishing communication connection with the target driving device, so that the display is controlled to rotate and/or lift by controlling the target driving device based on the communication connection.
2. The display device of claim 1, wherein determining a target driver device mechanically coupled to the display when scanning to a plurality of the driver devices comprises:
when a plurality of driving devices are scanned, the driving device of which the MAC address is consistent with the MAC address of the target driving device is determined as the target driving device.
3. The display device of claim 2, wherein the controller is further configured to:
and receiving the media access control address of the target driving device input by a user in a setting application.
4. The display device of claim 1, wherein determining a target driving device connected to the display when scanning to a plurality of the driving devices comprises:
after a plurality of driving devices are scanned, acquiring a preset number of RSSI values of each driving device by continuing scanning;
calculating the RSSI average value of each driving device according to the preset number of RSSI values of each driving device;
and determining the drive device with the maximum RSSI average value as the target drive device.
5. The display device according to claim 4, wherein the determining the driver device with the largest RSSI average value as the target driver device comprises:
determining the driving equipment with the maximum RSSI average value larger than the preset RSSI value as target driving equipment;
and the preset RSSI value is determined according to the RSSI value of the target driving equipment during working.
6. The display device according to claim 1, wherein the driving device for driving the display to rotate and/or ascend and descend according to preset device identification scanning comprises:
receiving Bluetooth broadcast information sent by external equipment, wherein the Bluetooth broadcast information comprises an equipment identifier;
and determining the external equipment with the equipment identification matched with the preset equipment identification as the driving equipment.
7. The display device of claim 3, wherein the controller is further configured to:
and stopping scanning after acquiring the preset number of RSSI values of each driving device.
8. The display device according to claim 1, wherein the establishing of the communication connection with the target driving device comprises:
pairing with the target driving device;
after pairing is successful, establishing GATT communication connection with the target driving equipment based on a common attribute protocol GATT;
and when the pairing with the target drive equipment fails or the GATT communication connection fails, the step of scanning the drive equipment according to the preset equipment identification is executed again.
9. The display device of claim 1, wherein the preset device identification comprises a device name or a universally unique identification (UIID).
10. A communication connection method applied to a display device, wherein the display device can rotate and/or ascend and descend, the method comprising:
responding to a Bluetooth switch starting instruction, and scanning a driving device for driving the display device to rotate and/or lift according to a preset device identifier;
determining a target driving device mechanically connected with the display device when a plurality of the driving devices are scanned;
and establishing communication connection with the target driving device, so that the display device is controlled to rotate and/or lift by controlling the target driving device based on the communication connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110499413.9A CN114302377A (en) | 2021-04-30 | 2021-04-30 | Display device and communication connection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110499413.9A CN114302377A (en) | 2021-04-30 | 2021-04-30 | Display device and communication connection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114302377A true CN114302377A (en) | 2022-04-08 |
Family
ID=80964665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110499413.9A Pending CN114302377A (en) | 2021-04-30 | 2021-04-30 | Display device and communication connection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114302377A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115633115A (en) * | 2022-09-08 | 2023-01-20 | 宁波奥克斯电气股份有限公司 | Bluetooth-based operation matching method for multiple intelligent air conditioners and intelligent air conditioner |
-
2021
- 2021-04-30 CN CN202110499413.9A patent/CN114302377A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115633115A (en) * | 2022-09-08 | 2023-01-20 | 宁波奥克斯电气股份有限公司 | Bluetooth-based operation matching method for multiple intelligent air conditioners and intelligent air conditioner |
CN115633115B (en) * | 2022-09-08 | 2024-02-02 | 宁波奥克斯电气股份有限公司 | Operation matching method for multiple intelligent air conditioners based on Bluetooth and intelligent air conditioner |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111954044B (en) | Channel switching method and display device | |
CN111970548B (en) | Display device and method for adjusting angle of camera | |
CN113064645B (en) | Startup interface control method and display device | |
CN112165642B (en) | Display device | |
CN112351334B (en) | File transmission progress display method and display equipment | |
CN113810746A (en) | Display device and picture sharing method | |
CN112087671B (en) | Display method and display equipment for control prompt information of input method control | |
CN111970549A (en) | Menu display method and display device | |
WO2022028060A1 (en) | Display device and display method | |
CN112040535B (en) | Wifi processing method and display device | |
CN114302377A (en) | Display device and communication connection method | |
CN112256449A (en) | Interface calling method of webpage application program, display equipment and server | |
CN114079827A (en) | Menu display method and display device | |
CN113810747B (en) | Display equipment and signal source setting interface interaction method | |
CN113542882A (en) | Method for awakening standby display device, display device and terminal | |
CN113703705A (en) | Display device and list updating method | |
CN112668546A (en) | Video thumbnail display method and display equipment | |
CN113589990A (en) | Application management method of display device, display device and mobile terminal | |
CN112637683A (en) | Display equipment system optimization method and display equipment | |
CN113438553A (en) | Display equipment awakening method and display equipment | |
CN113064534A (en) | Display method and display equipment of user interface | |
CN114296542B (en) | Display apparatus and control method thereof | |
CN111913755B (en) | Application scanning method and display device | |
CN111935519B (en) | Channel switching method and display device | |
CN113971049B (en) | Background service management 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 |