CN111641855B - Double-screen display equipment and audio output method thereof - Google Patents

Double-screen display equipment and audio output method thereof Download PDF

Info

Publication number
CN111641855B
CN111641855B CN202010418457.XA CN202010418457A CN111641855B CN 111641855 B CN111641855 B CN 111641855B CN 202010418457 A CN202010418457 A CN 202010418457A CN 111641855 B CN111641855 B CN 111641855B
Authority
CN
China
Prior art keywords
controller
audio data
socket
application
audio
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
CN202010418457.XA
Other languages
Chinese (zh)
Other versions
CN111641855A (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 CN202010418457.XA priority Critical patent/CN111641855B/en
Publication of CN111641855A publication Critical patent/CN111641855A/en
Application granted granted Critical
Publication of CN111641855B publication Critical patent/CN111641855B/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/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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 or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • H04N21/43635HDMI
    • 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/439Processing of audio elementary streams
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Abstract

The application discloses a dual-screen display device and an audio output method thereof.A socket client communicating with a second controller is created when a designated application in a first controller is displayed in the first controller. And acquiring the audio data of the specified application by a first audio output interface in the first controller, and sending the audio data to the socket client. Sending, by the socket client, the audio data of the specified application to the second controller. And after the socket service in the second controller receives the audio data of the specified application, the second audio output interface sends the audio output of the specified application to the loudspeaker to realize the output of the audio data. Therefore, the double-screen display equipment and the double-screen display method provided by the invention have the advantages that the communication connection between the socket client and the socket service is realized, the audio data generated in the first controller is output to the loudspeaker connected with the second controller for playing, and the condition that the appointed application is in a silent state when the first controller outputs the audio data to the first display is avoided.

Description

Double-screen display equipment and audio output method thereof
Technical Field
The application relates to the technical field of audio and video processing, in particular to a dual-screen display device and an audio output method thereof.
Background
Due to the fact that the requirements of users for application experience are higher and higher, the requirements for various performance indexes of an operating system of the display device and the richness requirements of content display are higher, and the double screens can be arranged on the display device. The double-screen display equipment comprises a first controller and a second controller, wherein the second controller is used as a main controller and is connected with a second display (a large screen); the first controller is used as a sub-controller and is connected with a first display (small screen). Android applications (such as video chat software) are installed on the first controller, and the loudspeaker is installed on a second display connected with the second controller.
When a first application in the first controller needs to be displayed in the second display, the first controller and the second controller are connected through HDMI, and the audio and the image of the first application are both output to the second controller through HDMI, so that the audio of the first application is output by the loudspeaker, and the image is displayed by the second display. When the first application needs to be displayed on the first controller, displaying an image of the first application on the first display; however, since the speaker is not installed in the first display, the audio of the first application cannot be output to the first display. At this time, the HDMI channel between the first controller and the second controller is disconnected, and the audio of the first application cannot be output by the speaker in the second display, so that the first application is in a silent state.
Disclosure of Invention
The application provides a double-screen display device and an audio output method thereof, which are used for solving the problem that audio in a first controller cannot be output when an HDMI (high-definition multimedia interface) channel of the first controller and an HDMI channel of a second controller of the existing double-screen display device are disconnected.
In a first aspect, the present application provides a dual-screen display device, including:
a speaker configured to output audio data;
a first controller having a first audio output interface configured therein, the first audio output interface configured to retrieve audio data for a specified application, the first controller configured to:
when audio data needs to be output, a socket client used for communicating with the second controller is created;
receiving audio data of a designated application sent by the first audio output interface, wherein the designated application is an application configured in a first controller;
sending the audio data of the specified application to a second controller by the socket client;
a second controller respectively connected to the speaker and the first controller in a communication manner, wherein a socket service and a second audio output interface are configured in the second controller, and the second audio output interface is used for outputting audio data to the speaker; the socket service is configured to:
receiving audio data of a designated application sent by the socket client;
and sending the audio data of the specified application to a second audio output interface, wherein the second audio output interface outputs the audio data of the specified application by the loudspeaker.
Further, the first controller, in executing receiving the audio data of the specified application sent by the first audio output interface, is further configured to:
acquiring environmental sound and output sound of the specified application, wherein the environmental sound is generated when the specified application is operated and is sent by the first audio output interface;
and mixing the environment sound and the output sound, and using the mixed sound as the audio data of the specified application.
Further, a switching layer and a kernel layer are configured in the first controller; and the sending, by the first controller, the audio data of the specified application from the socket client to the second controller is specifically: the switching layer writes the audio data of the designated application sent by the first audio output interface into the kernel layer;
and if a write success signal returned by the kernel layer is received, sending the audio data of the specified application to the socket client, so that the socket client sends the audio data to a socket service in a second controller.
Further, the first controller, prior to executing the sending of the audio data of the specified application by the socket client to the second controller, is further configured to:
sending, by the socket client, a start command to a socket service of the second controller;
and when receiving a confirmation signal returned by the socket service after responding to the starting command, the socket client sends the audio data of the specified application to the socket service in the second controller.
Further, the socket service in the second controller, prior to executing the audio data of the specified application sent by the receiving socket client, is further configured to:
monitoring whether a socket client in the first controller sends a start command, wherein the start command is used for representing the connection of the socket client in the first controller and a socket service in the second controller;
if a start command sent by the socket client is received, generating a confirmation signal in response to the start command;
sending the confirmation signal to a socket client;
and receiving the audio data of the designated application sent by the socket client after receiving the confirmation signal.
Further, the socket service receiving the audio data of the specified application sent by the socket client after receiving the acknowledgement signal is further configured to:
after sending the confirmation signal to a socket client in the first controller, creating a service object ID, wherein the service object ID is used for identifying the socket client connected with the socket service;
setting the state of the second audio output interface as an operating state;
and receiving the audio data of the specified application sent by the socket client.
Further, the socket service is further configured to:
receiving an end command sent by the socket client, wherein the end command is used for disconnecting the socket client from the socket service;
and responding to the ending command, deleting the created service object ID, and setting the state of the second audio output interface as a stop state.
Further, the socket service is further configured to:
and if the audio data of the specified application sent by the socket client cannot be received, deleting the created service object ID, and setting the state of the second audio output interface as a stop state.
Further, the socket service is further configured to:
acquiring the receiving time of receiving the audio data of the specified application sent by the socket client;
calculating the time difference between the current time and the receiving time corresponding to the last received audio data;
and if the time difference exceeds a preset time value, cutting off the connection between the home terminal and the socket client.
Further, the socket service is further configured to:
storing the received audio data of the specified application in a database;
and when the total audio data amount stored in the database exceeds a preset storage amount, overwriting the newly received audio data with the oldest received audio data.
In a second aspect, the present application further provides an audio output method of a dual-screen display device, applied to a first controller, the method including:
when audio data needs to be output, a socket client used for communicating with the second controller is created;
receiving audio data of a designated application sent by a first audio output interface, wherein the designated application refers to an application configured in a first controller, and the first audio output interface refers to an interface configured in the first controller and used for acquiring the audio data of the designated application;
and sending the audio data of the specified application to a second controller by the socket client, so that the audio data of the specified application is output to a loudspeaker by the second controller for playing.
In a third aspect, the present application further provides an audio output method of a dual-screen display device, applied to a second controller, the method including:
receiving audio data of a designated application sent by the socket client, wherein the socket client is configured in the first controller and used for realizing communication connection with the second controller, and the designated application is an application configured in the first controller;
and sending the audio data of the specified application to a second audio output interface, wherein the second audio output interface outputs the audio data of the specified application through the loudspeaker, and the second audio output interface is an interface which is configured in a second controller and is used for outputting the audio data to the loudspeaker.
In a fourth aspect, the present application further provides a storage medium, where the computer storage medium may store a program, and the program may implement, when executed, some or all of the steps in the embodiments of the audio output method for a dual-screen display device provided in the present application.
As can be seen from the foregoing technical solutions, in the dual-screen display device and the audio output method thereof provided in the embodiments of the present invention, when a designated application in a first controller is displayed in a first display, a socket client that communicates with a second controller is created. And acquiring the audio data of the specified application by a first audio output interface in the first controller, and sending the audio data to the socket client. Sending, by the socket client, the audio data of the specified application to the second controller. After the socket service in the second controller receives the audio data of the specified application, the second audio output interface in the second controller sends the audio output of the specified application to the loudspeaker so as to realize the output of the audio data of the specified application. Therefore, according to the dual-screen display device and the method provided by the embodiment of the invention, the communication connection between the socket client in the first controller and the socket service in the second controller is adopted, so that the audio data generated in the first controller can be output to the loudspeaker connected with the second controller for playing, and the condition that the specified application is in a silent state when the audio data is output to the first controller is avoided. Therefore, even when the HDMI path of the first controller is disconnected from the HDMI path of the second controller, the audio in the first controller can be output.
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 schematic diagram illustrating an operation scenario between a display device and a control apparatus according to an exemplary embodiment;
fig. 2 is a block diagram schematically showing a configuration of the control apparatus 100 according to an exemplary embodiment;
fig. 3 is a diagram schematically illustrating a hardware configuration of a hardware system in the display apparatus 200 according to the exemplary embodiment;
FIG. 4 is a schematic diagram illustrating the connection of a power strip to a load;
fig. 5 is a block diagram illustrating an exemplary hardware architecture of the display device 200 shown in fig. 3;
fig. 6 is a diagram exemplarily showing a functional configuration of a display device according to an exemplary embodiment;
fig. 7 is a block diagram schematically showing a configuration of a software system in the display apparatus 200 according to the exemplary embodiment;
FIG. 8 is a block diagram illustrating the architecture of the application layer of a display device in accordance with an exemplary embodiment;
FIG. 9 is a schematic diagram illustrating a user interface in the display device 200 according to an exemplary embodiment;
fig. 10 is a block diagram schematically illustrating a structure of a dual screen display device according to an exemplary embodiment;
fig. 11 is a first flowchart illustrating an audio output method of a dual screen display apparatus according to an exemplary embodiment;
FIG. 12 is a data flow diagram illustrating the implementation of audio output by a dual screen display device in accordance with an illustrative embodiment;
fig. 13 is a second flowchart illustrating an audio output method of a dual screen display apparatus according to an exemplary embodiment;
fig. 14 is a data flow diagram illustrating the implementation of audio output by the second controller in the dual screen display device according to an exemplary embodiment;
fig. 15 is a flowchart illustrating a method of receiving audio data by the second controller according to an exemplary embodiment;
FIG. 16 is a flow chart illustrating a method of completing audio output by the second controller according to an exemplary embodiment;
FIG. 17 is a flow chart illustrating a method for a socket service determining an exception to a socket client in accordance with an illustrative embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present application is mainly directed to a sound and picture synchronization process of a display device having a dual-system and dual-display structure, that is, a display device having a first controller (a first hardware system), a second controller (a second hardware system), a first display, and a second display, and the following first describes details of structures, functions, implementation manners, and the like of the display device having the dual-system hardware structure.
For the convenience of users, various external device interfaces are usually provided on the display device to facilitate connection of different peripheral devices or cables to implement corresponding functions. When a high-definition camera is connected to an interface of the display device, if a hardware system of the display device does not have a hardware interface of a high-pixel camera receiving the source code, data received by the camera cannot be displayed on a display screen of the display device.
Furthermore, due to the hardware structure, the hardware system of the conventional display device only supports one path of hard decoding resources, and usually only supports video decoding with a resolution of 4K at most, so when a user wants to perform video chat while watching a network television, the user needs to use the hard decoding resources (usually GPU in the hardware system) to decode the network video without reducing the definition of the network video screen, and in this case, the user can only process the video chat screen by using a general-purpose processor (e.g. CPU) in the hardware system to perform soft decoding on the video.
The soft decoding is adopted to process the video chat picture, so that the data processing burden of a CPU (central processing unit) can be greatly increased, and when the data processing burden of the CPU is too heavy, the problem of picture blocking or unsmooth flow can occur. Further, due to the data processing capability of the CPU, when the CPU performs soft decoding on the video chat screen, multi-channel video calls cannot be generally implemented, and when a user wants to perform video chat with multiple other users in the same chat scene, access is blocked.
In view of the above aspects, to overcome the above drawbacks, the present application discloses a dual hardware system architecture to implement multiple channels of video chat data (at least one channel of local video).
The concept to which the present application relates will be first explained below with reference to the drawings. It should be noted that the following descriptions of the concepts are only for the purpose of facilitating understanding of the contents of the present application, and do not represent limitations on the scope of the present application.
The term "module," as used in various embodiments of the present application, may refer 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 the embodiments of the present application refers to a component of an electronic device (such as the display device disclosed in the present application) that is capable of wirelessly controlling the electronic device, typically over a short distance. The component may typically be connected to the electronic device using infrared and/or Radio Frequency (RF) signals and/or bluetooth, and may also include functional modules such as WiFi, wireless USB, bluetooth, motion sensors, 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 the embodiments of the present application refers to a user behavior used to express an intended idea, action, purpose, or result through a change in hand shape or an action such as hand movement.
The term "hardware system" used in the embodiments of the present application may refer to a physical component having computing, controlling, storing, inputting and outputting functions, which is formed by a mechanical, optical, electrical and magnetic device such as an Integrated Circuit (IC), a Printed Circuit Board (PCB) and the like. In various embodiments of the present application, a hardware system may also be referred to as a motherboard (or chip).
Fig. 1 is a schematic diagram illustrating an operation scenario between a display device and a control apparatus according to an exemplary 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 can communicate with the display device 200 through an infrared protocol communication, a bluetooth protocol communication, a ZigBee (ZigBee) protocol communication, or other short-range communication, and is used to control the display device 200 in a wireless or other wired manner. The user may input a user instruction through a key on the remote controller 100A, voice input, control panel input, or the like 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 movement keys, a voice input key, a menu key, a power on/off key, etc. on the remote controller 100A to control the functions of 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, which may communicate with the display device 200 through a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), or other networks, and implement control of the display device 200 through an application program corresponding to the display device 200. For example, the display device 200 is controlled using an application program running on the smart device. The application may provide various controls to the User through an intuitive User Interface (UI) on a screen associated with the smart device.
For example, the mobile terminal 100B and the display device 200 may each have a software application installed thereon, so that connection communication between the two can be realized through a network communication protocol, and the purpose of one-to-one control operation and data communication can be further realized. Such as: a control instruction protocol can be established between the mobile terminal 100B and the display device 200, a remote control keyboard is synchronized to the mobile terminal 100B, and the function of controlling the display device 200 is realized by controlling a 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 may also perform data communication with the server 300 through various communication means. In various embodiments of the present application, the display device 200 may be allowed to be in a wired or wireless communication connection with the server 300 via a local area network, a wireless local area network, or other network. 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, and 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 includes a first display 201 and a second display 202, wherein the first display 201 and the second display 202 are independent from each other, and a dual hardware control system is adopted between the first display 201 and the second display 202.
The first display 201 and the second display 202 may be used to display different display screens. For example, the first display 201 may be used for screen display of conventional television programs, and the second display 202 may be used for screen display of auxiliary information such as notification type messages, voice assistants, and the like.
Alternatively, the content displayed by the first display 201 and the content displayed by the second display 202 may be independent of each other and not affected by each other. For example, when the first display 201 plays a television program, the second display 202 may display information such as time, weather, temperature, reminder messages, and the like, which are not related to the television program.
Optionally, there may also be an association between the content displayed by the first display 201 and the content displayed by the second display 202. For example, when the first display 201 plays a main screen of a video chat, the second display 202 may display information such as an avatar, a chat duration, and the like of a user currently accessing the video chat.
Optionally, part or all of the content displayed by the second display 202 may be adjusted to be displayed by the first display 201. For example, the information such as time, weather, temperature, reminder message, etc. displayed on the first display 201 may be adjusted to be displayed on the first display 201, while other information is displayed on the second display 202.
In addition, the first display 201 displays the multi-party interactive picture while displaying the traditional television program picture, and the multi-party interactive picture does not block the traditional television program picture. The display mode of the traditional television program picture and the multi-party interactive picture is not limited by the application. For example, the position and the size of the traditional television program picture and the multi-party interactive picture can be set according to the priority of the traditional television program picture and the multi-party interactive picture.
Taking the example that the priority of the traditional television program picture is higher than that of the multi-party interactive picture, the area of the traditional television program picture is larger than that of the multi-party interactive picture, and the multi-party interactive picture can be positioned at one side of the traditional television program picture and can also be arranged at one corner of the multi-party interactive picture in a floating manner.
The display device 200 may be, for example, a liquid crystal display, an oled (organic Light Emitting diode) display, or a projection display device; on the other hand, the display device can be a display system consisting of an intelligent television or a display and a set-top box. 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. In some embodiments, the display device may not have a broadcast receiving television function.
As shown in fig. 1, a camera may be connected or disposed on the display device 200, and is used to present a picture taken by the camera on a display interface of the display device or other display devices, so as to implement interactive chat between users. Specifically, the picture shot by the camera can be displayed on the display device in a full screen mode, a half screen mode or any optional area.
As an optional connection mode, the camera is connected with the rear shell of the display device through the connecting plate, and is fixedly installed in the middle of the upper side of the rear shell of the display device.
As another optional connection mode, the camera is connected to the rear shell of the display device through a connection board or another conceivable connector, the camera is capable of lifting and descending, a lifting motor is installed on the connector, when a user wants to use the camera or an application program wants to use the camera, the camera is lifted out of the display device, and when the camera is not needed, the camera can be embedded into the rear shell, so that the camera is protected from being damaged, and privacy safety of the user is protected.
As an embodiment, the camera adopted in the present application may have 1600 ten thousand pixels, so as to achieve the purpose of ultra high definition display. In actual use, cameras higher or lower than 1600 ten thousand pixels may also be used.
After the camera is installed on the display device, the contents displayed by different application scenes of the display device can be fused in various different modes, so that the function which cannot be realized by the traditional display device is achieved.
Illustratively, a user may conduct a video chat with at least one other user while watching a video program. The presentation of the video program may be as a background frame over which a window for video chat is displayed. The function is called 'chat while watching'.
Optionally, in a scene of "chat while watching", at least one video chat is performed across terminals while watching a live video or a network video.
In another example, a user can conduct a video chat with at least one other user while entering the educational application for learning. For example, a student may interact remotely with a teacher while learning content in an educational application. Vividly, this function can be called "chatting while learning".
In another example, a user conducts a video chat with a player entering a card game while playing the game. For example, a player may enable remote interaction with other players when entering a gaming application to participate in a game. Figuratively, this function may be referred to as "watch while playing".
Optionally, the game scene is fused with the video picture, the portrait in the video picture is scratched and displayed in the game picture, and the user experience is improved.
Optionally, in the motion sensing game (such as ball hitting, boxing, running and dancing), the human posture and motion, limb detection and tracking and human skeleton key point data detection are obtained through the camera, and then the human posture and motion, the limb detection and tracking and the human skeleton key point data detection are fused with the animation in the game, so that the game of scenes such as sports and dancing is realized.
In another example, a user may interact with at least one other user in a karaoke application in video and voice. Vividly, this function can be called "sing while watching". Optionally, when at least one user enters the application in a chat scenario, multiple users may jointly complete recording of a song.
In another example, a user may turn on a camera locally to take pictures and videos, figurative, which may be referred to as "looking into the mirror".
In other examples, more or less functionality may be added. The function of the display device is not particularly limited in the present application.
Fig. 2 is a block diagram schematically showing the configuration of the control apparatus 100 according to the exemplary embodiment. As shown in fig. 2, 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 to receive an input operation instruction from a user, and convert the operation instruction into an instruction recognizable and responsive by the display device 200, and to mediate interaction 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 installing an application for manipulating the display device 200. 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 RAM 113 and a ROM 114, 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.
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, a camera 145, 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 operation power support for each electrical component of the control device 100 under the control of the controller 110. The power supply 180 may be powered by a battery and associated control circuitry.
Fig. 3 is a diagram illustrating a hardware configuration of a hardware system in the display apparatus 200 according to an exemplary embodiment. For convenience of explanation, the display device 200 in fig. 3 is illustrated by taking a liquid crystal display as an example.
As shown in fig. 3, the display device 200 includes: the display panel comprises a first panel 11, a first backlight assembly 21, a main board 31, an interactive board 32, a first display driving board 33, a second panel 12, a second backlight assembly 22, a second display driving board 34, a power supply board 4, a first rear case 51, a second rear case 52 and a base 6.
The first panel 11 is used for presenting the picture of the first display 201 to the user. The first backlight assembly 21 is disposed under the first panel 11, and is generally an optical assembly for providing sufficient light source with uniform brightness and distribution to enable the first panel 11 to normally display images. The first backlight assembly 21 further includes a first back plate (not shown). The main board 31, the interactive board 32, the first display driving board 33 and the power board 4 are disposed on the first back board, and some convex hull structures are typically formed by stamping on the first back board. The main board 31, the interactive board 32, the first display driving board 33 and the power board 4 are fixed on the convex hull through screws or hooks. The main board 31, the interactive board 32, the first display driving board 3 and the power board 4 may be disposed on one board, or may be disposed on different boards respectively. The first rear case 51 covers the first panel 11 to hide the parts of the display device 200, such as the first backlight assembly 21, the main board 31, the interactive board 32, the first display driving board 33, and the power board 4, and to achieve an aesthetic effect.
Among them, the first display driving board 33 mainly functions to: the multilevel backlight partition control is performed through the PWM signal and the lcaldimeming signal transmitted by the first controller on the motherboard 31, and the control is changed according to the image content, and after the handshake is established between the first controller on the motherboard 31 and the VbyOne display signal transmitted by the first controller on the motherboard 31 is received, and the VbyOne display signal is converted into the LVDS signal, so that the image display of the first display 201 is realized. The base 6 is used for supporting the display device 200, and it should be noted that the drawings only show one type of base design, and those skilled in the art can design different types of bases according to the product requirements.
Wherein the second panel 12 is used to present the screen of the second display 202 to the user. The second backlight assembly 22 is disposed under the second panel 12, and is generally an optical assembly for providing sufficient brightness and uniform light distribution to enable the second panel 12 to normally display images. The second backlight assembly 22 further includes a second back plate (not shown). Second display driver board 34 is disposed on the second backplane, typically with some convex hull structures stamped thereon. The second display driving board 34 is fixed to the convex bag by a screw or a hook. The second display driving board 34 may be provided on one board or may be provided on different boards, respectively. The second rear case 52 covers the second panel 12 to hide the second backlight assembly 22, the adapter driving board, the second TCON board, the key board 35, and other parts of the display device 200, thereby achieving an aesthetic effect.
Optionally, fig. 3 further includes a key sheet 35, where the key sheet 35 may be disposed on the first back plate or the second back plate, which is not limited in this application.
In addition, the display device 200 further includes a sound reproducing means (not shown in the figure), such as an audio component, e.g., an I2S interface including a power Amplifier (AMP) and a Speaker (Speaker), etc., for realizing reproduction of sound. Usually, the sound components are capable of realizing sound output of at least two sound channels; when the panoramic surround effect is to be achieved, a plurality of acoustic components are required to be arranged to output sounds of a plurality of sound channels, and a detailed description thereof is omitted.
It should be noted that the display device 200 may also adopt an OLED display screen, so that the template included in the display device 200 is changed accordingly, which is not described herein too much.
Fig. 4 is a schematic diagram illustrating a connection relationship between a power board and a load, and as shown IN fig. 4, the power board 4 includes an input terminal IN and an output terminal OUT (a first output terminal OUT1, a second output terminal OUT2, a third output terminal OUT3, a fourth output terminal OUT4 and a fifth output terminal OUT5 are shown IN the figure), where the input terminal IN is connected to a commercial power, the output terminal OUT is connected to the load, for example, a first output terminal OUT1 is connected to a light emitting element (such as a light bar or a self-light emitting device), a second output terminal OUT2 is connected to an audio component, a third output terminal OUT3 is connected to the main board 31, a fourth output terminal OUT4 is connected to the first display driving board 33, and a fifth output terminal OUT5 is connected to the first backlight driving board 21. The power board 4 needs to convert the ac power into dc power required by the load, and the dc power is usually in different specifications, for example, 18V is required for the audio components, 12V/18V is required for the panel, etc.
For ease of description, one hardware system in a dual hardware system architecture will be referred to hereinafter as a first hardware system or a first controller, and the other hardware system will be referred to hereinafter as a second hardware system or a second controller. The first controller comprises various processors and various interfaces of the first controller, and the second controller comprises various processors and various interfaces of the second controller. The first controller and the second controller may each have a relatively independent operating system installed therein, and the operating system of the first controller and the operating system of the second controller may communicate with each other through a communication protocol, which is as follows: the frame layer of the operating system of the first controller and the frame layer of the operating system of the second controller can communicate for the transmission of commands and data, so that there are two independent but interrelated subsystems in the display device 200.
The dual hardware system architecture of the present application is further described below with reference to fig. 5. It should be noted that fig. 5 is only an exemplary illustration of the dual hardware system architecture of the present application, and does not represent a limitation of the present application. In actual practice, both hardware systems may contain more or less hardware or interfaces as desired.
A block diagram of the hardware architecture of the display device 200 according to fig. 3 is exemplarily shown in fig. 5. As shown in fig. 5, the hardware system of the display apparatus 200 may include a first controller 210 and a second controller 310, and a module connected to the first controller 210 or the second controller 310 through various interfaces.
Among them, the first controller 210 may be disposed on the main board 31 shown in fig. 3. Optionally, the first controller 210: the traditional television function is mainly realized (for example, a set top box can be externally connected). The second controller 310 may be disposed on the second display driving board 34 shown in fig. 3. Optionally: the second controller 310 may be used to receive instructions sent by the first controller 210 and control the second display 380 to display a corresponding image.
The modules connected to the first controller 210 may include a tuning demodulator 220, a communicator 230, an external device interface 250, a memory 290, a user input interface 260-3, a video processor 260-1, an audio processor 260-2, a first display 280 (i.e., the first display 201 in fig. 1), an audio output interface 270, and a power supply module 240.
In other embodiments, more or fewer modules may be connected to the first controller 210.
In other embodiments, the first controller includes any of the modules described above.
The tuning demodulator 220 is configured to perform modulation and demodulation processing such as amplification, mixing, resonance and the like on a broadcast television signal received in a wired or wireless manner, so as to demodulate 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) from a plurality of wireless or wired broadcast television signals. Depending on the broadcast system of the television signal, the signal path of the tuner 220 may be various, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting, internet broadcasting, or the like; according to different modulation types, the adjustment mode of the signal can be a digital modulation mode or an analog modulation mode; and depending on the type of television signal being received, tuner demodulator 220 may demodulate analog and/or digital signals.
The tuner demodulator 220 is also operative to respond to the user-selected television channel frequency and the television signal carried thereby, in accordance with the user selection and as controlled by the first controller 210.
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 external device 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 such as an infrared communication protocol module or a near field communication protocol module (not shown).
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 first controller 210.
The external device interface 250 is a component that provides data transmission between the first controller 210 and other external devices. 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 is also referred to as HDMI251, a Composite Video Blanking Sync (CVBS) terminal is also referred to as AV 252, an analog or digital component terminal is also referred to as component 353, a Universal Serial Bus (USB) terminal 254, a Red Green Blue (RGB) terminal (not shown in the figure), and the like. The number and type of external device interfaces are not limited by this application.
The first controller 210 controls the operation of the display apparatus 200 and responds to the operation of the user by running various software control programs (e.g., an operating system and/or various application programs) stored on the memory 290.
As shown in fig. 5, the first controller 210 includes a read only memory RAM 214, a random access memory ROM 213, a graphics processor 216, a CPU processor 212, a communication interface 218, and a communication bus. The RAM 214, the ROM 213, the graphic processor 216, the CPU processor 212, and the communication interface 218 are connected via a bus.
A ROM 213 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 RAM 214 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 RAM 214, 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 first 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 a main processor and a plurality of or a 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-unit for performing an operation in a standby mode or the like.
The communication interface 218 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 first controller 210 may control operations of the display device 200 in relation to the first display 280. For example: in response to receiving a user command for selecting a UI object to be displayed on the first display 280, the first controller 210 may perform an operation related to the object selected by the user command.
The first controller 210 may control operations of the display device 200 in relation to the second display 380. For example: in response to receiving a user command for selecting a UI object to be displayed on the second display 380, the first 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: a base module, a detection module, a communication module, a display control module, a browser module, and various service modules, etc. (not shown in the figure).
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. 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 first 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 260-3 for transmitting an input signal of a user to the first controller 210 or transmitting a signal output from the first controller 210 to the user. For example, the control device (e.g., a mobile terminal or a remote controller) may transmit an input signal, such as a power switch signal, a channel selection signal, a volume adjustment signal, etc., input by the user to the user input interface, and then the input signal is forwarded to the first controller 210 through the user input interface 260-3; alternatively, the control device may receive an output signal such as audio, video or data processed by the first controller 210 and output from the user input interface 260-3, and display or output the received output signal in audio or vibration form.
In some embodiments, the user may input a user command on a Graphical User Interface (GUI) displayed on the first display 280, and the user input interface 260-3 receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface 260-3 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 directly displayed or played on the first 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 (not shown in the figure).
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, such as an image synthesizer, is used for performing superposition mixing processing on the GUI signal input by the user or generated by the user and the video picture after the zooming processing by the graphics 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 a refresh rate of a display device. 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 device, such as converting the format of the signal output by the frame rate conversion module to output RGB data signals.
First display 280 for receiving image signals input from video processor 260-1 for displaying video content and images and menu manipulation interface first display 280 includes a display component for presenting a picture and a driving component for driving the display of the 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. The first display 280 simultaneously displays 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 first display 280. Alternatively, a projection device and a projection screen may be included, provided that the first display 280 is a projection display.
The audio processor 260-2 is configured to receive an audio signal, and perform decompression and decoding according to a standard codec protocol of the input signal, and perform audio data processing such as noise reduction, digital-to-analog conversion, and amplification 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 first 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 some 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 together with the first controller 210.
And a power supply module 240 for providing power supply support for the display device 200 by the power input from the external power source under the control of the first controller 210. The power supply module 240 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.
Similar to the first controller 210, as shown in fig. 5, the module connected to the second controller 310 may include a communicator 330, a detector 340, a memory 390, and a second display 380 (i.e., the second display 202 in fig. 1). A user input interface, a video processor, an audio processor, a display, an audio output interface (not shown) may also be included in some embodiments. In some embodiments, there may also be a power supply module (not shown) that independently powers the second controller 310.
In some embodiments, the second controller 310 may include any one or more of the modules described above.
The communicator 330 is a component for communicating with an external device or an external server according to various communication protocol types. For example: the communicator 330 may include a WIFI module 331, a bluetooth communication protocol module 332, a wired ethernet communication protocol module 333, and other network communication protocol modules such as an infrared communication protocol module or a near field communication protocol module (not shown).
The communicator 330 and the communicator 230 of the first controller 210 also interact with each other. For example, the WiFi module 231 within the hardware system of the first controller 210 is used to connect to an external network, generate network communication with an external server, and the like. The WiFi module 331 in the hardware system of the second controller 310 is used to connect to the WiFi module 231 of the first controller 210 without making a direct connection with an external network or the like, and the second controller 310 is connected to the external network through the first controller 210. Therefore, for the user, a display device as in the above embodiment displays a WiFi account to the outside.
The detector 340 is a component of the second controller 310 for collecting signals of an external environment or interaction with the outside. The detector 340 may include a light receiver 342, a sensor for collecting the intensity of ambient light, which may be used to adapt to display parameter changes, etc.; the system may further include an image collector 341, such as a camera, a video camera, etc., which may be configured to collect external environment scenes, collect attributes of the user or interact gestures with the user, adaptively change display parameters, and identify user gestures, so as to implement a function of interaction with the user.
An external device interface 350, which provides a component for data transmission between the second controller 310 and the first controller 210 or other external devices. The external device interface 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.
A video processor 360 for processing the associated video signal.
The second controller 310 controls the operation of the display device 200 and responds to the operation of the user by running various software control programs stored on the memory 390 (e.g., using installed third party applications, etc.), and interacting with the first controller 210.
As shown in fig. 5, the second controller 310 includes a read only memory ROM 313, a random access memory RAM 314, a graphic processor 316, a CPU processor 312, a communication interface 318, and a communication bus. The ROM 313 and the RAM 314, the graphic processor 316, the CPU processor 312, and the communication interface 318 are connected via a bus.
A ROM 313 for storing instructions for various system boots. CPU processor 312 executes system boot instructions in ROM and copies the operating system stored in memory 390 to RAM 314 to begin running the boot operating system. After the start of the operating system is completed, the CPU processor 312 copies various application programs in the memory 390 to the RAM 314, and then starts running and starting various application programs.
A CPU processor 312 for executing the operating system and application program instructions stored in the memory 390, communicating with the first controller 210, transmitting and interacting signals, data, instructions, etc., and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents.
The communication interface 318 is plural and may include a first interface 318-1 to an nth interface 318-n. These interfaces may be network interfaces connected to external devices via a network, or may be network interfaces connected to the first controller 210 via a network.
The second controller 310 may control operations of the display device 200 in relation to the second display 380. For example: in response to receiving a user command for selecting a UI object to be displayed on the second display 380, the second controller 310 may perform an operation related to the object selected by the user command.
The second controller 310 may control operations of the display device 200 in relation to the first display 280. For example: in response to receiving a user command for selecting a UI object to be displayed on the first display 280, the first controller 210 may perform an operation related to the object selected by the user command.
A graphics processor 316 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 second display 380.
The graphics processor 316 of the second controller 310 and the graphics processor 216 of the first controller 210 are both capable of generating various graphics objects. In distinction, if the application 1 is installed in the second controller 310 and the application 2 is installed in the first controller 210, the graphic object is generated by the graphic processor 316 of the second controller 310 when the user performs an instruction input by the user in the application 1 at the interface of the application 1. When a user is at the interface of the application 2 and an instruction input by the user is made within the application 2, a graphic object is generated by the graphic processor 216 of the first controller 210.
Fig. 6 is a diagram schematically illustrating a functional configuration of a display device according to an exemplary embodiment.
As shown in fig. 6, the memory 390 of the second controller 310 and the memory 290 of the first controller 210 are used to store an operating system, an application program, contents, user data, and the like, respectively, and perform system operations for driving the first display 280 and the second display 380 and various operations in response to a user under the control of the second controller 310 and the first controller 210. Memory 390 and memory 290 may include volatile and/or nonvolatile memory.
The memory 290 is specifically used for storing an operating program for driving the first controller 210 in the display device 200, and storing various applications built 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 first display 280, the communicator 230, the tuning demodulator 220, the input/output interface, and the like.
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, a first audio control module 2906, an external instruction recognition module 2907, a communication control module 2908, a light receiving module, a power control module 2910, an operating system 2911, and other application systems 2912, a browser module 2913, and so forth. The first controller 210 performs operations such as: the system comprises a broadcast television signal receiving and demodulating 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 identification function, a communication control function, an optical signal receiving function, an electric power control function, a software control platform supporting various functions, a browser function and other various functions.
The memory 390 includes a memory storing various software modules for driving and controlling the display apparatus 200. Such as: various software modules stored in memory 390, including: a base module, a detection module, a communication module, a display control module, a browser module, and various service modules, etc. (not shown in the figure). Since the functions of the memory 390 and the memory 290 are similar, reference may be made to the memory 290 for relevant points, and thus, detailed description thereof is omitted here.
Illustratively, the memory 390 includes an image control module 3904, a second audio control module 3906, an external instruction recognition module 3907, a communication control module 3908, a light receiving module 3909, an operating system 3911, and other application programs 3912, a browser module 3913, and the like. The first controller 210 performs operations such as: the system comprises an image control function, a display control function, an audio control function, an external instruction identification function, a communication control function, an optical signal receiving function, an electric power control function, a software control platform supporting various functions, a browser function and other various functions.
Differently, the external instruction recognition module 2907 of the first controller 210 and the external instruction recognition module 3907 of the second controller 310 may recognize different instructions.
For example, when an image receiving device such as a camera is connected to the second controller 310, the external instruction recognition module 3907 of the second controller 310 may include an image recognition module 3907-1, a graphic database is stored in the image recognition module 3907-1, and when the camera receives an external graphic instruction, the camera corresponds to the instruction in the graphic database to perform instruction control on the display device. Since the voice receiving device and the remote controller are connected to the first controller 210, the external command recognition module 2907 of the first controller 210 may include a voice recognition module 2907-2, a voice database is stored in the voice recognition module 2907-2, and when the voice receiving device receives an external voice command or the like, the voice receiving device and the like perform a corresponding relationship with a command in the voice database to perform command control on the display device. Similarly, the control device 100 such as a remote controller is connected to the first controller 210, and the button command recognition module 2907-3 performs command interaction with the control device 100.
Fig. 7 is a block diagram illustrating a configuration of a software system in the display device 200 according to the exemplary embodiment.
With respect to the first controller 210, as shown in FIG. 7, the operating system 2911, which includes executing operating software for handling various basic system services and for performing hardware related tasks, acts as an intermediary between applications 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, 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-2 is used to input various event definitions for various user input interfaces, identify various events or sub-events, and transmit them to the process for executing one or more sets of their corresponding handlers.
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, which receives directly or indirectly from the event transmission system 2914, monitors each user input event or sub-event, 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 interface layout.
Since the operating system 3911 of the second controller 310 is similar to the operating system 2911 of the first controller 210 in function, reference may be made to the operating system 2911 for details, which are not repeated herein.
Fig. 8 is a block diagram illustrating a structure of an application layer of a display device according to an exemplary embodiment. As shown in fig. 8, the application layer of the display device contains various applications that can be executed at the display device 200.
The applications 2912 of the first controller 210 may include, but are not limited to, one or more applications such as: a video-on-demand application, an application center, a game application, and the like. The application layer 3912 of the second controller 310 may include, but is not limited to, one or more applications such as: live television applications, media center applications, and the like. It should be noted that what applications are respectively contained in the second controller 310 and the first controller 210 is determined according to the operating system and other designs, and the present invention does not need to make specific limitations and divisions on the applications contained in the second controller 310 and the first controller 210.
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 a display device. The application center may obtain these applications from different sources, store them in local storage, and then be operable on the display device 200.
Since the second controller 310 and the first controller 210 may have independent operating systems installed therein, there are two independent but interrelated subsystems in the display apparatus 200. For example, Android (Android) and various APPs may be independently installed on the second controller 310 and the first controller 210, and may all realize a certain function, and the second controller 310 and the first controller 210 cooperate to realize a certain function.
A schematic diagram of a user interface in a display device 200 according to an exemplary embodiment is illustrated in fig. 9. As shown in fig. 9, the user interface includes a first diagram display area 2011 and a second diagram display area 2021. The first diagram display area 2011 and the second diagram display area 2021 have substantially the same function, and only the first diagram display area 2011 is described in an important manner below. Illustratively, among other things, the first view display 2011 includes layouts for one or more different items. And a selector indicating that the item is selected is also included in the user interface, and a position of the selector is movable by a user input to change a selection of a different item.
A "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables the conversion of the internal form of information to a form acceptable to the user. A common presentation form of a 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 a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
In some embodiments, the first view display area 2011 is a scalable view display. "scalable" may mean that the first view display area 2011 is scalable in size or proportion on the screen, or that the items in the view display 201 are scalable in size or proportion on the screen.
"item" refers to a visual object displayed in a view display area of a user interface in the display device 200 to represent corresponding content, such as icons, thumbnails, video clips, and the like. For example: the items may represent movies, image content or video clips of a television show, audio content of music, applications, or other user access content history information.
Further, the item may represent an interface or a collection of interfaces on which the display device 200 is connected to an external device, or may represent a name of an external device connected to the display device, or the like. Such as: a signal source input Interface set, or a High Definition Multimedia Interface (HDMI), a USB Interface, a PC terminal Interface, and the like.
It should be noted that: the view display area may present Video chat project content or application layer project content (e.g., web page Video, Video On Demand (VOD) presentations, application screens, etc.).
A "selector" is used to indicate where any item has been selected, such as a cursor or a focus object. Positioning the selection information input according to an icon or menu position touched by the user in the display 200 may cause movement of a focus object displayed in the display device 200 to select a control item, one or more of which may be selected or controlled.
The focus object refers to an object that moves between items according to user input. Illustratively, the focus object position is implemented or identified by drawing a thick line through the item edge. In other embodiments, the focus form is not limited to an example, and may be a form such as a cursor that is recognizable by the user, either tangible or intangible, such as in the form of a 3D deformation of the item, or may change the identification of the border lines, size, color, transparency, and outline and/or font of the text or image of the item in focus.
The event transmission system 2914, which may monitor user input for each predefined event or sub-event heard, provides control identifying the event or sub-event, directly or indirectly, to the interface layout management module.
And the interface layout management module is used for monitoring the state of the user interface (including the positions and/or sizes of the view partitions, the items, the focus or cursor objects and the like, the change process and the like), modifying the layout of the size, the position, the hierarchy and the like of the view display area according to the event or the sub-event, and/or adjusting or modifying the layout of the size, the position, the quantity, the type, the content and the like of various item layouts of the view display area. In some embodiments, the layout is modified and adjusted, including displaying or not displaying the view sections or the content of the items in the view sections on the screen.
And a user input interface for transmitting an input signal of a user to the controller 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 input a user command on a Graphical User Interface (GUI) displayed on the display 200, 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.
Fig. 10 is a block diagram illustrating a structure of a dual screen display device according to an exemplary embodiment. Referring to fig. 10, the dual-screen display device provided in the embodiment of the present invention includes two controllers, which are a second controller and a first controller, respectively, each of the master controllers runs an independent Android system, that is, a system N (a second hardware system) is configured in the second controller, a system a (a first hardware system) is configured in the first controller, the system N is a master system, and the system a is a slave system.
To enable the capabilities of both systems to be presented to the user, the dual screen display device is configured with dual displays. The dual display comprises a first display (small screen) and a second display (large screen), the second display is in communication connection with the system N (second controller) and is used for displaying the display content of each application configured in the system N and providing main television services; the first display is connected with the camera and the system A (first controller) and used for showing the social ability and the auxiliary information prompt for the user. The system A is provided with an application related to the camera, and the system N is provided with other applications for presenting social ability.
The system N (second controller) and the system A (first controller) are connected through an HDMI interface, and the system N and the system A can be switched in the interface mode. The two systems can be connected through a data path to realize data transmission between the two systems. Because the system N does not provide social ability, the functions of video chat, magic mirror and the like are configured on the system A, when a user conducts video chat, the content of the system A is displayed through a second display (large screen) instead of a first display (small screen); and when the user quits the video chat, the content of the system A is displayed through the first display, and the content of the system N is displayed through the second display.
As can be seen in the dual-screen display device, an application configured in the first controller may be displayed in the first display (small screen) or may be displayed in the second display (large screen), and an application configured in the second controller may be displayed in the second display (large screen).
When the double-screen display device outputs the audio data, a loudspeaker is configured in the second display, and the second controller outputs the audio data to the loudspeaker for playing. For example, when the application in the first controller is output to the second display for display, at this time, the first controller and the second controller are connected through HDMI, so that the audio data corresponding to the application in the first controller can be output to the speaker through HDMI for playing. Since the loudspeaker is not configured in the first display, when the application in the first controller is output to the first display for display, at this time, the HDMI connection between the first controller and the second controller is disconnected, so that the audio data of the application cannot be output through the loudspeaker, and the application is silent.
Therefore, in order to enable the audio data of the application to be output through the speaker configured in the second display when the application in the first controller is output to the first display for display, that is, the HDMI channel between the first controller and the second controller is disconnected, an embodiment of the present invention provides a dual-screen display device, in which a socket client is configured in the first controller, a socket service is configured in the second controller, and through the communication connection between the socket client and the socket service, the audio data corresponding to the application started in the first controller can be output to the second controller and output by the speaker connected to the second controller. Therefore, the dual-screen display device provided by the invention can play the audio data generated by the first controller no matter whether the first controller is in a connection state with the second controller or not, so that the influence on user experience due to a silent state is avoided.
When audio output of a dual-screen display device is realized, a dual-screen display device provided by an embodiment of the present invention includes: the device comprises a loudspeaker, a first controller and a second controller. A speaker configured in the second display for outputting audio data; a first audio output interface is configured within the first controller, the first audio output interface being configured to retrieve audio data for a specified application. The second controller is in communication connection with the speaker and the first controller, respectively.
Fig. 11 is a first flowchart illustrating an audio output method of a dual screen display apparatus according to an exemplary embodiment; a data flow diagram for implementing audio output for a dual screen display device in accordance with an exemplary embodiment is illustrated in fig. 12. Referring to fig. 11 and 12, in implementing audio output, the first controller is configured to:
s11, creating a socket client for communicating with the second controller when audio data needs to be output.
The situation that the first controller needs to output the audio data includes, but is not limited to, a scene that the started application in the first controller is displayed in the first display, that is, after the HDMI link between the first controller and the second controller is disconnected, the audio data corresponding to the application in the first controller needs to be output.
An audio hardware abstraction layer (AudioHAL) is configured in the first controller, and when audio data of a specific application displayed in the first display needs to be output by a loudspeaker in the second display, the audio hardware abstraction layer opens an output stream (output stream) and creates a Socket Client (Socket Client) which communicates with the second controller.
In some embodiments, when the first controller output is connected to the first display, the audio data of the specific application in the first controller that is turned on needs to be output, and at this time, the audio hardware abstraction layer needs to be opened by opening the output stream to send the audio data to a kernel layer (kernel) for output.
And S12, receiving the audio data of the appointed application sent by the first audio output interface, wherein the appointed application is an application configured in the first controller.
When the audio data of the specified application in the first controller needs to be output to a loudspeaker for playing, the audio data of the specified application is acquired by the first audio output interface in the first controller. The designated application refers to an application configured within the first controller and displayed in the first display.
Because the dual-screen display device can generate sound during operation, the sound generated by the dual-screen display device not only comprises output sound of a designated application, but also comprises sound generated by the rest of operating the dual-screen display device and other started applications. Therefore, a plurality of first audio output interfaces may be configured in the first controller, wherein one first audio output interface is used for acquiring output sound of a designated application, another first audio output interface is used for acquiring environmental sound generated when the dual-screen display device is operated, still another first audio output interface is used for acquiring sound generated by other applications, and so on.
It can be seen that, when the output sound of the specified application output to the first display needs to be played by the speaker in the second display, the audio data of the specified application includes not only the output sound itself but also other sounds.
Therefore, the first controller, in executing receiving the audio data of the specified application transmitted by the first audio output interface, is further configured to:
and step 121, acquiring the environmental sound generated when the first audio output interface sends the operation designated application and the output sound of the designated application.
Step 122, mixing the environmental sound and the output sound, and using the mixed sound as the audio data of the designated application.
The first controller respectively obtains the sound obtained by each first audio output interface, including the output sound of the designated application, the environmental sound generated by operating the designated application, or the environmental sound generated by operating the dual-screen display device, such as the sound of a key, and the like, and may also include the sound of other applications running in the background.
And the first controller acquires the multiple sounds, performs sound mixing processing to obtain sound mixing data serving as audio data of the specified application, and synchronously outputs other sounds generated in the dual-screen display equipment through the loudspeaker when outputting the sound of the specified application.
And S13, sending the audio data of the specified application to the second controller by the socket client.
After sound mixing is carried out on sound required to be output in a loudspeaker in a first controller, the first controller sends audio data of the specified application obtained through sound mixing to a socket client, the socket client communicates with a second controller, the socket client sends the audio data of the specified application to the second controller, and the loudspeaker connected with the second controller outputs the audio data of the specified application.
In order to ensure the output frequency of the audio data transmitted from the first controller to the second controller and the output continuity of the audio data when transmitting the audio data of the designated application to the second controller, the first controller may write the audio data of the designated application to the first display before transmitting the audio data of the designated application to the second controller.
Although the first display is not provided with a speaker, the first display needs to display the display content (video) of the designated application, and therefore, in order to ensure that the content displayed in the first display can be synchronized with the audio output from the speaker, the first controller needs to input the audio data of the designated application to the first display.
For this purpose, a switching layer (Port) and a core layer (kernel) are arranged in the first controller, and a sound output layer (Alsa) is arranged between the switching layer and the core layer. The first controller writes the mixed audio data into the switching layer, and the switching layer writes the audio data of the appointed application into the sound output layer and then writes the audio data into the kernel layer through the sound output layer. The kernel layer is connected with the first display, and the first display is not provided with a loudspeaker, so that the audio data written into the specified application of the kernel layer can not be sent to the first display.
However, after the specified reference audio data is successfully written in the kernel layer, it indicates that the current audio data can be sent to the second controller for output, at this time, the audio data of the specified application is written in the socket client by the switching layer, and is sent to the second controller by the socket client.
Specifically, to ensure the continuity of the output of the audio data, the sending, by the first controller, the audio data of the specified application from the socket client to the second controller is specifically: the switching layer writes the audio data of the designated application sent by the first audio output interface into the kernel layer; and if a write success signal returned by the kernel layer is received, sending the audio data of the specified application to the socket client, so that the socket client sends the audio data to a socket service in the second controller.
The specific process of sending the audio data of the designated application to the second controller by the first controller is that the switching layer firstly writes the audio data of the designated application into the kernel layer, and if the writing of the kernel layer is successful, a success signal is returned to the switching layer. The transit layer, upon receiving the success signal, writes the audio data for the specified application to the socket client.
When the socket client communicates with the second controller to transmit the audio data of the designated application, the socket client may be implemented by using a communication protocol (Restful API), and may further include, but is not limited to, other physical media such as a network, a serial port, a USB, and the like as a transmission channel.
In order to ensure that the communication connection between the socket client and the second controller is normal, the socket client needs to send a connection request to the second controller before sending the audio data of the specified application to the second controller. The connection request carries a start command, and the second controller realizes communication connection between the second controller and the socket client after receiving and verifying the start command.
Specifically, the first controller, prior to executing sending of the audio data of the specified application by the socket client to the second controller, is further configured to:
step 131, the socket service of the second controller is sent a start command through the socket client.
Step 132, when receiving the acknowledgement signal returned by the socket service after responding to the start command, the socket client sends the audio data of the specified application to the socket service in the second controller.
And after receiving the audio data of the designated application sent by the switching layer, the socket client sends a start command to the second controller, specifically, the socket service configured in the second controller, and the communication connection between the socket service and the socket client is used for realizing the communication connection between the first controller and the second controller.
If the socket service receives the start command, it returns an acknowledgement signal to the socket client to inform the first controller that a connection with the second controller is currently available. Therefore, after the socket client of the first controller receives the acknowledgement signal returned by the socket service in the second controller, the first controller and the second controller realize communication connection, and at this time, the socket client can send the audio data of the designated application to the second controller.
As can be seen, the dual-screen display device provided in this embodiment creates a socket client that communicates with the second controller when the specified application in the first controller is displayed in the first display. And acquiring the audio data of the specified application by a first audio output interface in the first controller, and sending the audio data to the socket client. And the socket client sends the audio data of the specified application to the second controller so as to realize the output of sound by a loudspeaker connected with the second controller, and the specified application is prevented from being in a silent state when the first controller outputs the audio data to the first display. Therefore, even when the HDMI path of the first controller is disconnected from the HDMI path of the second controller, the audio in the first controller can be output.
According to the double-screen display device provided by the embodiment of the invention, the second controller realizes that the audio data of the designated application sent by the first controller is output by the loudspeaker. For this purpose, a socket service and a second audio output interface are configured in the second controller, the socket service is in communication connection with a socket client in the first controller through a communication protocol and the like, and the socket service writes the received audio data of the specified application into the second audio output interface. The second audio output interface is connected with the loudspeaker, and the second audio output interface is used for outputting audio data to the loudspeaker.
Fig. 13 is a second flowchart illustrating an audio output method of a dual screen display apparatus according to an exemplary embodiment; fig. 14 is a data flow diagram illustrating an implementation of audio output by the second controller in the dual screen display device according to an exemplary embodiment. Referring to fig. 13 and 14, in implementing audio output, the socket service in the second controller is configured to perform the following steps:
and S21, receiving the audio data of the specified application sent by the socket client.
And S22, sending the audio data of the specified application to a second audio output interface, and outputting the audio data of the specified application by a loudspeaker through the second audio output interface.
And after the socket service in the second controller establishes communication connection with the socket client in the first controller, receiving the audio data of the appointed application started in the first controller, which is sent by the socket client. And then, the received audio data of the specified application is sent to the second audio output interface, and the second audio output interface sends the audio data of the specified application to a loudspeaker for output, so that the sound of the specified application started in the first controller can be played by the loudspeaker configured in the second controller, and the started specified application is prevented from being in a silent state when the first controller outputs the sound to the first display.
In order to ensure the stability of data reception when the socket service in the second controller receives the audio data of the specified application, it is necessary to obtain a stable communication state between the first controller and the second controller, that is, a stable communication between the socket client and the socket service. For this purpose, the second controller needs to establish a connection with the first controller, i.e. a communication connection between the socket client and the socket service, before receiving the audio data.
A flowchart of a method of receiving audio data by a second controller according to an exemplary embodiment is illustrated in fig. 15. Referring to fig. 15, before executing the audio data of the specified application sent by the receiving socket client, the socket service in the second controller is further configured to:
s211, whether the socket client in the first controller sends a starting command or not is monitored, and the starting command is used for representing the connection between the socket client in the first controller and the socket service in the second controller.
S212, if a start command sent by the socket client is received, generating an acknowledgement signal in response to the start command.
And S213, sending a confirmation signal to the socket client.
And S214, receiving the audio data of the specified application sent by the socket client after receiving the confirmation signal.
Before receiving the audio data, the socket service in the second controller monitors whether the socket client in the first controller sends a connection request in real time, and if the connection request is received, judges whether the connection request carries a start command. The start command is used to inform the second controller that a communication connection relationship needs to be established with the first controller, specifically, the connection of the socket client with the socket service.
And if the socket service monitors a starting command, generating a confirmation signal and sending the confirmation signal to the socket client so as to realize the communication connection between the socket service and the socket client and further realize the communication connection between the second controller and the first controller. Then, the socket service enters a flow of receiving the audio data of the application sent by the socket client.
Upon entering the receive audio data flow, the socket service receiving the audio data of the specified application sent by the socket client after receiving the acknowledgement signal, and is further configured to:
step 2141, after sending the acknowledgement signal to the socket client in the first controller, creating a service object ID, the service object ID being used to identify the socket client connected to the socket service.
Step 2142, the state of the second audio output interface is set to be an operating state.
Step 2143, receiving the audio data of the designated application sent by the socket client.
After the socket service in the second controller sends a confirmation signal to the socket client in the first controller, in order to output the audio data of the current designated application, a service object ID for the current designated application needs to be created first. The service object ID is used to identify the socket client that is currently sending audio data for the specified application.
Because the first controller can create corresponding socket clients when audio data of different specified applications are output, in order to distinguish different socket clients, a service object ID can be created for the socket client currently connected with the second controller when the second controller realizes audio data output.
After the socket service sends the confirmation signal to the socket client, the second controller immediately enters a process of outputting the audio data of the designated application in the first controller. Therefore, to realize the output of the audio data, the second audio output interface in the second controller can be set to be in an operating state.
After the second controller completes the creation of the service object ID and the second audio output interface is switched to the running state, the socket service can receive the audio data of the specified application sent by the socket client in response to the confirmation signal.
Because the socket client in the first controller continuously delivers the audio data of the specified application to the socket client in the second controller in real time, to ensure that the second controller calls the speaker to output the audio data in real time, the socket service is further configured to:
step 231, storing the received audio data of the designated application in a database.
And step 232, when the total audio data amount stored in the database exceeds the preset storage amount, overwriting the newly received audio data with the oldest received audio data.
The socket service in the second controller stores the received audio data of the designated application in a database (databool), and stores the audio data in the order of time of reception. And when audio data output is needed, the second audio output interface acquires the audio data of the specified application stored in the database and sends the audio data to the loudspeaker for playing.
Because the database exists in a ring buffer (ringbuffer), if the second audio output interface does not acquire the audio data of the designated application timely, the total audio data amount stored in the database exceeds the preset storage amount, that is, the total audio data amount overflows. At this time, in order to ensure the output of real-time audio data, an overwriting manner may be adopted in which the oldest received audio data existing in the database is overwritten by the newly received audio data.
Therefore, according to the dual-screen display device provided by the embodiment of the invention, the first controller sends the audio data of the designated application to the second controller through the socket client according to the steps provided above, and after receiving the audio data of the designated application, the socket service in the second controller sends the audio data of the designated application to the speaker through the second audio output interface, and the audio data of the designated application is played through the speaker.
The first controller transmits the audio data of the specified application to the second controller in real time to be played by the loudspeaker until the current specified application is stopped running. If the specified application is closed, the audio data of the specified application does not need to be output, and at the moment, the first controller does not need to output the audio data of the specified application to the second controller and the audio data of the specified application is played by the loudspeaker. Therefore, the audio data output path between the first controller and the second controller needs to be cut off.
A flowchart of a method of completing audio output by the second controller according to an exemplary embodiment is illustrated in fig. 16. Specifically, upon completion of audio output to speaker playback, the socket service is further configured to:
and S241, receiving an ending command sent by the socket client, wherein the ending command is used for disconnecting the socket client from the socket service.
S242, in response to the end command, deleting the created service object ID, and setting the state of the second audio output interface to a stop state.
After the designated application in the first controller completes the output of the audio data, the first controller needs to be disconnected from the audio output path of the second controller, and at this time, the socket client in the first controller sends an end command to the socket service in the second controller.
After receiving the end command, the socket service disconnects communication with the socket client, that is, deletes the service object ID corresponding to the currently specified application, and at this time, the audio output process does not need to be executed, and therefore, the second audio output interface needs to be switched to a stop state.
And after the socket client is disconnected from the socket service, the first controller closes the output stream to close the audio hardware abstraction layer and release the socket client created in the audio output process. And if the application displayed in the first display is started again in the first controller, the first controller recreates the socket client corresponding to the currently started application and used for being in communication connection with the second controller. When the audio is output, the socket service in the second controller creates a current service object ID for the currently created socket client, and the currently started application, the currently created socket client and the current service object ID are in one-to-one correspondence, so that one-to-one audio data output is realized, and audio data output confusion is avoided.
To enable audio data in the first controller that launches a specified application displayed in the first display to be played by a speaker connected to the second controller, a communication connection is established by a socket client in the first controller with a socket service in the second controller. However, if the communication between the socket client and the socket service is abnormal, the socket service cannot receive the audio data of the designated application sent by the socket client.
Thus, when the socket service does not receive the audio data of the specified application sent by the socket client, the socket service is further configured to: and if the audio data of the specified application sent by the socket client cannot be received, deleting the created service object ID, and setting the state of the second audio output interface as a stop state.
When the socket service is in a data abnormal state during the execution of the audio data receiving process, the socket client in the first controller can be considered to be abnormal. The abnormal occurrence of the socket client comprises two conditions, namely disconnection of a communication link between the socket client and the socket service; the other is that the socket client does not send the audio data of the specified application to the socket service.
If the socket client is abnormal, the socket client can try to perform communication connection with the socket service again. However, if the socket service still keeps communicating with the socket client with the abnormality, the current socket service is occupied, so that when the socket client attempts to communicate with the socket service again, the socket service cannot receive a new connection request, which may result in that the communication connection between the socket client and the socket service cannot be recovered.
Therefore, in order to recover the communication between the socket client and the socket service in time, the socket service needs to disconnect the socket client, that is, delete the service object ID corresponding to the current socket client, and release the socket client, so that the socket service application recovers the state of waiting for the connection request. Meanwhile, since the socket service cannot currently receive the audio data of the new specified application, the second audio output interface is switched to the stop state, and the audio data of the specified application is stopped from being output to the speaker.
For accurately judging whether the socket client is abnormal or not, the socket service starts a heartbeat thread every time the socket client is accessed to the socket service, and the socket service can be determined by monitoring the time difference of sending the audio data of the specified application by the two adjacent receiving socket clients.
FIG. 17 is a flow chart illustrating a method for a socket service determining an exception to a socket client in accordance with an illustrative embodiment. Specifically, referring to fig. 17, the socket service is further configured to:
and S251, acquiring the receiving time of the audio data of the specified application sent by the socket client.
And S252, calculating the time difference between the current time and the receiving time corresponding to the last received audio data.
And S253, if the time difference exceeds a preset time value, the connection between the home terminal and the socket client is cut off.
If the socket client is in a normal data sending state, the time difference between two adjacent times of sending the audio data of the designated application may be around a preset time value, for example, the socket client may send the audio data of the designated application at intervals of 20 ms.
Therefore, if the time difference between the time of sending the last audio data and the current time of the socket client exceeds the preset time value, it can be determined that the socket client is abnormal in the process of sending the audio data. At this time, the socket service does not receive the audio data sent by the socket client, so that the connection between the home terminal and the socket client can be interrupted. The steps of the related scheme for cutting off the connection state with the socket client can refer to the contents of the foregoing embodiments, and are not described herein again.
As can be seen from the foregoing technical solutions, in the dual-screen display device provided in the embodiments of the present invention, when the designated application in the first controller is displayed in the first display, a socket client that communicates with the second controller is created. And acquiring the audio data of the specified application by a first audio output interface in the first controller, and sending the audio data to the socket client. Sending, by the socket client, the audio data of the specified application to the second controller. After the socket service in the second controller receives the audio data of the specified application, the second audio output interface in the second controller sends the audio output of the specified application to the loudspeaker so as to realize the output of the audio data of the specified application. Therefore, according to the dual-screen display device provided by the embodiment of the invention, through the communication connection between the socket client in the first controller and the socket service in the second controller, the audio data generated in the first controller can be output to the loudspeaker connected with the second controller for playing, and the condition that the specified application is in a silent state when the first controller outputs the audio data to the first controller is avoided. Therefore, even when the HDMI path of the first controller is disconnected from the HDMI path of the second controller, the audio in the first controller can be output.
A first flowchart of an audio output method of a dual screen display device according to an exemplary embodiment is exemplarily shown in fig. 11. Referring to fig. 11, the present application also provides an audio output method of a dual screen display device, applied to a first controller, the method including:
s11, when audio data needs to be output, a socket client used for communicating with the second controller is created;
s12, receiving audio data of a designated application sent by a first audio output interface, wherein the designated application is an application configured in a first controller, and the first audio output interface is an interface configured in the first controller and used for acquiring the audio data of the designated application;
and S13, sending the audio data of the specified application to a second controller by the socket client, so that the second controller outputs the audio data of the specified application to a loudspeaker for playing.
A second flowchart of an audio output method of a dual screen display device according to an exemplary embodiment is exemplarily shown in fig. 13. Referring to fig. 13, the present application also provides an audio output method of a dual screen display device, applied to a second controller, the method including:
s21, receiving audio data of a designated application sent by the socket client, wherein the socket client is configured in the first controller and used for realizing communication connection with the second controller, and the designated application is an application configured in the first controller;
and S22, sending the audio data of the specified application to a second audio output interface, wherein the second audio output interface outputs the audio data of the specified application by the loudspeaker, and the second audio output interface is an interface which is configured in a second controller and is used for outputting the audio data to the loudspeaker.
In a 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 the embodiments of the audio output method for a dual-screen display device 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. Particularly, for the embodiment of the audio output method of the dual-screen display device, since it is basically similar to the embodiment of the dual-screen display device, the description is simple, and the relevant points can be referred to the description in the embodiment of the dual-screen display device.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (12)

1. A dual screen display device, comprising:
the first display is connected with the first controller;
a second display connected to a second controller, wherein a speaker is disposed in the second display, and the speaker is configured to output audio data;
a first controller having a first audio output interface configured therein, the first audio output interface configured to retrieve audio data for a specified application, the first controller configured to:
when the application in the first controller is output to the first display for displaying and audio data needs to be output, a socket client for communicating with the second controller is created;
receiving audio data of a designated application sent by the first audio output interface, wherein the designated application is an application configured in a first controller;
sending the audio data of the specified application to a second controller by the socket client;
a second controller respectively connected to the speaker and the first controller in a communication manner, wherein a socket service and a second audio output interface are configured in the second controller, and the second audio output interface is used for outputting audio data to the speaker; the socket service is configured to:
receiving audio data of a designated application sent by the socket client;
and sending the audio data of the specified application to a second audio output interface, wherein the second audio output interface outputs the audio data of the specified application by the loudspeaker.
2. The dual-screen display device of claim 1, wherein the first controller, in executing receiving the audio data of the specified application sent by the first audio output interface, is further configured to:
acquiring environmental sound and output sound of the specified application, wherein the environmental sound is generated when the specified application is operated and is sent by the first audio output interface;
and mixing the environment sound and the output sound, and using the mixed sound as the audio data of the specified application.
3. The dual screen display device of claim 1, wherein a switching layer and a kernel layer are configured in the first controller; and the sending, by the first controller, the audio data of the specified application from the socket client to the second controller is specifically: the switching layer writes the audio data of the designated application sent by the first audio output interface into the kernel layer;
and if a write success signal returned by the kernel layer is received, sending the audio data of the specified application to the socket client, so that the socket client sends the audio data to a socket service in a second controller.
4. The dual-screen display device of claim 1, wherein the first controller, prior to executing the sending of the audio data of the specified application by the socket client to the second controller, is further configured to:
sending, by the socket client, a start command to a socket service of the second controller;
and when receiving a confirmation signal returned by the socket service after responding to the starting command, the socket client sends the audio data of the specified application to the socket service in the second controller.
5. The dual-screen display device of claim 1, wherein the socket service in the second controller, prior to executing the receiving audio data of the specified application sent by the socket client, is further configured to:
monitoring whether a socket client in the first controller sends a start command, wherein the start command is used for representing the connection of the socket client in the first controller and a socket service in the second controller;
if a start command sent by the socket client is received, generating a confirmation signal in response to the start command;
sending the confirmation signal to a socket client;
and receiving the audio data of the designated application sent by the socket client after receiving the confirmation signal.
6. The dual screen display device of claim 5, wherein the socket service, in receiving the audio data of the specified application sent by the socket client after receiving the confirmation signal, is further configured to:
after sending the confirmation signal to a socket client in the first controller, creating a service object ID, wherein the service object ID is used for identifying the socket client connected with the socket service;
setting the state of the second audio output interface as an operating state;
and receiving the audio data of the specified application sent by the socket client.
7. The dual screen display device of claim 6, wherein the socket service is further configured to:
receiving an end command sent by the socket client, wherein the end command is used for disconnecting the socket client from the socket service;
and responding to the ending command, deleting the created service object ID, and setting the state of the second audio output interface as a stop state.
8. The dual screen display device of claim 6, wherein the socket service is further configured to:
and if the audio data of the specified application sent by the socket client cannot be received, deleting the created service object ID, and setting the state of the second audio output interface as a stop state.
9. The dual screen display device of claim 8, wherein the socket service is further configured to:
acquiring the receiving time of receiving the audio data of the specified application sent by the socket client;
calculating the time difference between the current time and the receiving time corresponding to the last received audio data;
and if the time difference exceeds a preset time value, cutting off the connection between the home terminal and the socket client.
10. The dual screen display device of claim 1, wherein the socket service is further configured to:
storing the received audio data of the specified application in a database;
and when the total audio data amount stored in the database exceeds a preset storage amount, overwriting the newly received audio data with the oldest received audio data.
11. An audio output method of a double-screen display device is applied to the double-screen display device, wherein the double-screen display device comprises a first display and a first controller connected with the first display; a second display configured with a speaker configured to output audio data, a second controller communicatively coupled to the speaker and the first controller, respectively, the method comprising:
when the application in the first controller is output to the first display for displaying and audio data needs to be output, a socket client for communicating with the second controller is created;
receiving audio data of a designated application sent by a first audio output interface, wherein the designated application refers to an application configured in a first controller, and the first audio output interface refers to an interface configured in the first controller and used for acquiring the audio data of the designated application;
and sending the audio data of the specified application to a second controller by the socket client, so that the audio data of the specified application is output to a loudspeaker by the second controller for playing.
12. An audio output method of a double-screen display device is applied to the double-screen display device, wherein the double-screen display device comprises a first display and a first controller connected with the first display; a second display configured with a speaker configured to output audio data, a second controller communicatively coupled to the speaker and the first controller, respectively, the method comprising:
the method comprises the steps that an application in a first controller is output to a first display to be displayed, and when audio data need to be output, audio data of a specified application sent by a socket client are received, wherein the socket client is configured in the first controller and used for achieving communication connection with a second controller, and the specified application is an application configured in the first controller;
and sending the audio data of the specified application to a second audio output interface, wherein the second audio output interface outputs the audio data of the specified application through the loudspeaker, and the second audio output interface is an interface which is configured in a second controller and is used for outputting the audio data to the loudspeaker.
CN202010418457.XA 2020-05-18 2020-05-18 Double-screen display equipment and audio output method thereof Active CN111641855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010418457.XA CN111641855B (en) 2020-05-18 2020-05-18 Double-screen display equipment and audio output method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010418457.XA CN111641855B (en) 2020-05-18 2020-05-18 Double-screen display equipment and audio output method thereof

Publications (2)

Publication Number Publication Date
CN111641855A CN111641855A (en) 2020-09-08
CN111641855B true CN111641855B (en) 2022-02-25

Family

ID=72331972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010418457.XA Active CN111641855B (en) 2020-05-18 2020-05-18 Double-screen display equipment and audio output method thereof

Country Status (1)

Country Link
CN (1) CN111641855B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009005257A (en) * 2007-06-25 2009-01-08 Sharp Corp Television receiver
CN205508349U (en) * 2016-01-28 2016-08-24 四川长虹电器股份有限公司 Standalone version two separate display advertisement machine
CN106681817A (en) * 2016-12-27 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Terminal control method and terminal
EP3624457A1 (en) * 2017-12-29 2020-03-18 Guangzhou Kugou Computer Technology Co., Ltd. Method and apparatus for live broadcasting
CN111050198A (en) * 2019-11-19 2020-04-21 青岛海信电器股份有限公司 Display device and switching method of Bluetooth audio device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655584B (en) * 2011-03-04 2017-11-24 中兴通讯股份有限公司 The method and system that media data sends and played in a kind of Telepresence

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009005257A (en) * 2007-06-25 2009-01-08 Sharp Corp Television receiver
CN205508349U (en) * 2016-01-28 2016-08-24 四川长虹电器股份有限公司 Standalone version two separate display advertisement machine
CN106681817A (en) * 2016-12-27 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Terminal control method and terminal
EP3624457A1 (en) * 2017-12-29 2020-03-18 Guangzhou Kugou Computer Technology Co., Ltd. Method and apparatus for live broadcasting
CN111050198A (en) * 2019-11-19 2020-04-21 青岛海信电器股份有限公司 Display device and switching method of Bluetooth audio device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
慧眼看高清;《个人电脑》;20081002(第10期);第125-145页 *

Also Published As

Publication number Publication date
CN111641855A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN111526415B (en) Double-screen display equipment and HDMI switching method thereof
CN111491190B (en) Dual-system camera switching control method and display equipment
CN111510788B (en) Display method and display device for double-screen double-system screen switching animation
CN111464840B (en) Display device and method for adjusting screen brightness of display device
CN111901683B (en) Fault warning information display method and display equipment
CN112788422A (en) Display device
CN113141528B (en) Display device, boot animation playing method and storage medium
CN112788378A (en) Display apparatus and content display method
CN112788423A (en) Display device and display method of menu interface
CN112783380A (en) Display apparatus and method
CN113497884B (en) Dual-system camera switching control method and display equipment
CN112788381B (en) Display apparatus and display method
CN113365124B (en) Display device and display method
CN112911354B (en) Display apparatus and sound control method
CN111641855B (en) Double-screen display equipment and audio output method thereof
CN112788375A (en) Display device, display method and computing device
CN113015023A (en) Method and device for controlling video in HTML5 webpage
CN112784137A (en) Display device, display method and computing device
CN111970547B (en) Display device
CN111526409B (en) Display device
CN113453079B (en) Control method for returning double-system-size double-screen application and display equipment
CN112788380B (en) Display device and display method
CN112786036B (en) Display device and content display method
WO2020248650A1 (en) Display apparatus
CN113497966B (en) Double-screen display equipment

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