Display device, data query method and data storage method
By arranging the first chip and the second chip in the dual-system device, cross-system query and storage of data requests are realized, the problem of data sharing and synchronization between dual-system devices is solved, and the user experience is improved.
Patent Information
- Application Number
- CN201911000256.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-21
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-10-21
AI Technical Summary
Cross-system data sharing and synchronization cannot be performed between dual-system devices, which affects the user experience.
By arranging a first chip and a second chip in the display device, the first chip receives the data request and encapsulates it as a data query or storage request, and the second chip receives and parses the request through a physical connection line, and accesses the database to realize cross-system query of data. and storage.
It achieves data synchronization between dual system devices, improves user experience, and reduces the complexity of application transplantation.
Smart Images

Figure CN112770148B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a display device, a data query method, and a data storage method. Background Art
[0002] With the widespread use of Android TV devices, many applications are integrated into the devices, bringing new experiences such as education, sports, food, shopping, etc. Based on the unique large-screen display function of TV, more and more functions are integrated into TV terminals.
[0003] Traditional TV chips do not have the ability to play six-channel videos, but the dual-system or even multi-system structure provides capabilities that are not available on TV. For the dual-system of social TV, the dual system is simply N system and A system. Applications or systems need to store or query data in system N, and save data to system A or query data in system A. There are many interactive scenarios between system N and system A. For example, if member login information is stored in system A and used by system N applications, when system N applications log in as members, they need to access the member login information stored in system A.
[0004] However, Android's existing data can only be used within the local system (single system) and cannot be used across systems. N system applications cannot query and save data to A system, and data cannot be synchronized, affecting the user experience. Summary of the invention
[0005] The present application provides a display device, a data query method and a data storage method to solve the problem that dual-system devices cannot share data across systems and cannot synchronize data.
[0006] In order to solve the above technical problems, the embodiments of the present application disclose the following technical solutions:
[0007] In a first aspect, an embodiment of the present application discloses a display device, including:
[0008] a display configured to display image content;
[0009] A first chip includes a first data processor, wherein the first chip is configured to receive a data request through an input interface, and the first data processor processes the data request and encapsulates the processed data into a data query request;
[0010] The second chip includes a second data processor and a database, wherein the second chip is configured to receive a data query request output by the first chip through a physical connection line, the second data processor parses the received data query request, and accesses the database according to the parsed data query request;
[0011] The second chip queries the database to obtain the returned data corresponding to the data query request, and packages the returned data and sends it to the first chip.
[0012] In a second aspect, an embodiment of the present application further provides a data query method, which is applied to the display device described in the first aspect, and the method includes:
[0013] The first data processor of the first chip receives the data request through the input interface and encapsulates the processed data into a data query request;
[0014] The second chip receives the data query request output by the first chip through a physical connection line;
[0015] The second data processor of the second chip parses the data query request, and queries and obtains return data corresponding to the parsed data query request in the database of the second chip;
[0016] The second chip sends the return data package to the first chip.
[0017] In a third aspect, an embodiment of the present application provides a display device, comprising
[0018] a display configured to display image content;
[0019] A first chip includes a first data processor, wherein the first chip is configured to receive a data request through an input interface, the first data processor processes the data request, and encapsulates the processed data into a data storage request;
[0020] The second chip includes a second data processor and a database. The second chip is configured to receive a data storage request output by the first chip through a physical connection line, and the second data processor parses the received data storage request and stores the parsed data in the database.
[0021] In a fourth aspect, an embodiment of the present application further provides a data storage method, which is applied to the display device described in the third aspect, and the method includes:
[0022] The first data processor of the first chip receives a data request through an input interface and encapsulates the processed data into a data storage request;
[0023] The second chip receives the data storage request output by the first chip through a physical connection line;
[0024] The second data processor of the second chip parses the data storage request and stores the parsed data in a database of the second chip.
[0025] The technical solution provided by the present application has the following beneficial effects: for a display device with a dual-system structure, after receiving a data request, the first chip encapsulates the data into a data query request and sends the data query request to the second chip; the second chip receives the data query request output by the first chip through a physical connection line, the second chip parses the received data query request, and accesses the database of the second chip according to the parsed data query request, queries the database to obtain return data corresponding to the data query condition, encapsulates the return data and sends it to the first chip, so that the first chip can query the data in the second chip across systems, thereby ensuring the synchronization of data in the dual-system display device, avoiding the problem of complex dual-system status synchronization, and improving the user experience
[0026] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0028] Figure 1 exemplarily shows a schematic diagram of an operation scenario between a display device and a control device according to an embodiment;
[0029] Figure 2 exemplarily shows a hardware configuration block diagram of the control device 100 according to the embodiment;
[0030] Figure 3 exemplarily shows a hardware configuration block diagram of a display device 200 according to an embodiment;
[0031] Figure 4 The example shows that according to Figure 3 A hardware architecture block diagram of the display device 200;
[0032] Figure 5 exemplarily shows a functional configuration diagram of a display device 200 according to an embodiment;
[0033] Figure 6a exemplarily shows a schematic diagram of software configuration in a display device 200 according to an embodiment;
[0034] Figure 6bexemplarily shows a schematic diagram of the configuration of an application in a display device 200 according to an embodiment;
[0035] Figure 7 exemplarily shows a schematic diagram of a user interface in a display device 200 according to an embodiment;
[0036] Figure 8 exemplarily shows an architecture diagram of a dual-system display device;
[0037] Fig. 9 A schematic diagram of the structure of a display device shown in an embodiment of the present application;
[0038] Fig.10 This is a schematic diagram of an architecture in which a first chip queries data in a second chip according to an embodiment of the present application;
[0039] Fig.11 This is a flow chart of a first chip querying data in a second chip shown in an embodiment of the present application;
[0040] Fig.12 This is a schematic diagram of the architecture of storing data of a first chip to a second chip shown in an embodiment of the present application;
[0041] Fig.13 This is a flow chart of storing data from a first chip to a second chip according to an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solutions and advantages of the exemplary embodiments of the present application clearer, the technical solutions in the exemplary embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0043] The display terminal involved in the present application includes at least two system-level chips. For ease of understanding, a display terminal with a multi-chip structure is introduced here.
[0044] For the convenience of users, display devices are usually provided with various external device interfaces to facilitate the connection of different peripheral devices or cables to achieve corresponding functions. When a high-definition camera is connected to the interface of the display device, if the hardware system of the display device does not have a hardware interface for receiving the source code of the high-pixel camera, the data received by the camera cannot be presented on the display screen of the display device.
[0045] Moreover, restricted by the hardware structure, the hardware system of traditional display devices only supports one hard decoding resource and usually only supports video decoding of 4K resolution at most. Therefore, when watching online TV and conducting video chat at the same time, in order not to reduce the clarity of the online video, it is necessary to use hard decoding resources (usually the GPU in the hardware system) to decode the online video. In this case, the video chat screen can only be processed by soft decoding of the video by the general-purpose processor (such as the CPU) in the hardware system.
[0046] Using soft decoding to process video chat images will greatly increase the data processing burden of the CPU. When the data processing burden of the CPU is too heavy, the image may freeze or become unsmooth. Furthermore, due to the data processing capacity of the CPU, when using CPU soft decoding to process video chat images, multi-way video calls are usually not possible. When a user wants to have a video chat with multiple other users at the same time in the same chat scene, access will be blocked.
[0047] Based on the above considerations, in order to overcome the above defects, the present application discloses a dual hardware system architecture to realize multi-channel video chat data (at least one local video).
[0048] The following first describes the concepts involved in this application in conjunction with the accompanying drawings. It should be noted that the following description of each concept is only to make the content of this application easier to understand and does not limit the scope of protection of this application.
[0049] The term "module" used in the embodiments of the present application may refer to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or a combination of hardware and / or software code that can perform the functions associated with the element.
[0050] The term "remote control" 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), which can usually wirelessly control the electronic device within a short distance. The component can generally use infrared and / or radio frequency (RF) signals and / or Bluetooth to connect to the electronic device, and can also include functional modules such as WiFi, wireless USB, Bluetooth, motion sensors, etc. For example: a handheld touch remote control replaces most of the physical built-in hard keys in a general remote control device with a user interface in a touch screen.
[0051] The term "gesture" used in the embodiments of the present application refers to a user's behavior of expressing an intended idea, action, purpose, or result through a change in hand shape or hand movement.
[0052] The term "hardware system" used in the embodiments of the present application may refer to a physical component with computing, control, storage, input and output functions, which is composed of mechanical, optical, electrical and magnetic devices such as integrated circuits (ICs) and printed circuit boards (PCBs). In the embodiments of the present application, the hardware system is also usually referred to as a motherboard or a chip.
[0053] Figure 1 FIG. 2 is a schematic diagram showing an operation scenario between a display device and a control device according to an embodiment. Figure 1 As shown, a user can operate the display device 200 through the control apparatus 100 .
[0054] The control device 100 may be a remote controller 100A, which may communicate with the display device 200 via infrared protocol communication, Bluetooth protocol communication, ZigBee protocol communication or other short-range communication methods, and is used to control the display device 200 wirelessly or in other wired ways. The user may input user commands through buttons on the remote controller, voice input, control panel input, etc. to control the display device 200. For example, the user may input corresponding control commands through the volume plus and minus keys, channel control keys, up / down / left / right movement keys, voice input keys, menu keys, power on / off keys, etc. on the remote controller to realize the function of controlling the display device 200.
[0055] The control device 100 may also be a smart device, such as a mobile terminal 100B, a tablet computer, a computer, a laptop computer, etc., which may communicate with the display device 200 via a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN) or other networks, and control the display device 200 through an application corresponding to the display device 200. For example, the display device 200 is controlled using an application running on the smart device. The application may provide the user with various controls through an intuitive user interface (UI) on a screen associated with the smart device.
[0056] For example, both the mobile terminal 100B and the display device 200 can be installed with software applications, so that the connection and communication between the two can be achieved through the network communication protocol, thereby achieving the purpose of one-to-one control operation and data communication. For example, the mobile terminal 100B can establish a control command protocol with the display device 200, synchronize the remote control keyboard to the mobile terminal 100B, and realize the function of controlling the display device 200 by controlling the user interface on the mobile terminal 100B; the audio and video content displayed on the mobile terminal 100B can also be transmitted to the display device 200 to realize the synchronous display function.
[0057] like Figure 1 As shown, the display device 200 can also communicate data with the server 300 through various communication methods. In various embodiments of the present application, the display device 200 can be allowed to communicate with the server 300 through a local area network, a wireless local area network or other networks. The server 300 can provide various content and interactions to the display device 200.
[0058] For example, the display device 200 receives software program updates or accesses a remotely stored digital media library by sending and receiving information and interacting with an electronic program guide (EPG). The server 300 can be a group or multiple groups, and can be one or more types of servers. Other network service content such as video on demand and advertising services are provided through the server 300.
[0059] The display device 200 can be, on the one hand, 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 composed of a smart TV or a display and a set-top box. The specific display device type, size, and resolution are not limited. It is understood by those skilled in the art that the display device 200 can make some changes in performance and configuration as needed.
[0060] In addition to providing the broadcast receiving television function, the display device 200 may also provide an intelligent network television function that provides computer support functions. Examples include network television, smart television, Internet Protocol television (IPTV), etc. In some embodiments, the display device may not have the broadcast receiving television function.
[0061] like Figure 1 The display device may be connected or provided with a camera to present the image captured by the camera on the display interface of the display device or other display devices to realize interactive chat between users. Specifically, the image captured by the camera may be displayed in full screen, half screen, or any optional area on the display device.
[0062] As an optional connection method, the camera is connected to the back shell of the display through a connecting plate and fixedly installed in the upper middle part of the back shell of the display. As an installable method, it can be fixedly installed at any position of the back shell of the display, as long as its image acquisition area is not blocked by the back shell. For example, the image acquisition area has the same display orientation as the display device.
[0063] As another optional connection method, the camera can be raised and lowered to the display back shell through a connecting plate or other conceivable connector. A lifting motor is installed on the connector. When the user wants to use the camera or an application wants to use the camera, the camera is raised above the display. When the camera is not needed, it can be embedded behind the back shell to protect the camera from damage.
[0064] As an embodiment, the camera used in the present application may be 16 million pixels to achieve ultra-high-definition display. In actual use, a camera with higher or lower pixels than 16 million pixels may also be used.
[0065] When a camera is installed on a display device, the content displayed by the display device in different application scenarios can be integrated in a variety of different ways, thereby achieving functions that traditional display devices cannot achieve.
[0066] For example, a user can have a video chat with at least one other user while watching a video program. The video program can be presented as a background image, and the video chat window is displayed on the background image. This function can be called "watch and chat" figuratively.
[0067] Optionally, in a "watch and chat" scenario, while watching a live video or an online video, at least one video chat can be conducted across terminals.
[0068] In another example, a user can have a video chat with at least one other user while learning in an educational application. For example, a student can interact with a teacher remotely while learning the content in an educational application. This function can be vividly called "learning and chatting".
[0069] In another example, a user can have a video chat with other players while playing a card game. For example, when a player enters a game application to participate in a game, he or she can interact with other players remotely. This function can be called "watch and play".
[0070] Optionally, the game scene is integrated with the video screen, and the portrait in the video screen is cut out and displayed in the game screen to enhance the user experience.
[0071] Optionally, in somatosensory games (such as ball, boxing, running, dancing, etc.), the camera can be used to obtain human posture and movement, limb detection and tracking, and detection of key points of the human skeleton, which are then integrated with the animation in the game to realize games such as sports, dance and other scenes.
[0072] In another example, a user can interact with at least one other user through video and voice in a karaoke application. This function can be called "watch and sing". Preferably, when at least one user enters the application in a chat scene, multiple users can complete the recording of a song together.
[0073] In another example, users can open the camera locally to obtain pictures and videos. Figuratively, this function can be called "looking in the mirror."
[0074] In other examples, more functions may be added or the above functions may be reduced. This application does not specifically limit the functions of the display device.
[0075] Figure 2 FIG. 2 exemplarily shows a block diagram of a configuration of a control device 100 according to an exemplary embodiment. Figure 2 As shown, 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 .
[0076] The control device 100 is configured to control the display device 200, receive the user's input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, playing the role of an interactive medium between the user and the display device 200. For example, the user operates the channel increase and decrease keys on the control device 100, and the display device 200 responds to the channel increase and decrease operations.
[0077] In some embodiments, the control device 100 may be a smart device, for example, the control device 100 may be installed with various applications for controlling the display device 200 according to user needs.
[0078] In some embodiments, Figure 1 As shown, the mobile terminal 100B or other smart electronic device can play a similar function to the control device 100 after installing the application for controlling the display device 200. For example, the user can install the application to realize the functions of the physical buttons of the control device 100 through various function keys or virtual buttons of the graphical user interface provided on the mobile terminal 100B or other smart electronic device.
[0079] The controller 110 includes a processor 112, a RAM 113, a ROM 114, a communication interface and a communication bus. The controller 110 is used to control the operation and operation of the control device 100, as well as the communication and cooperation between the internal components and the external and internal data processing functions.
[0080] Under the control of the controller 110, the communicator 130 realizes the communication of control signals and data signals with the display device 200. For example, the received user input signal is sent to the display device 200. The communicator 130 may include at least one of the communication modules such as the WIFI module 131, the Bluetooth module 132, and the NFC module 133.
[0081] The user input / output interface 140 includes at least one of a microphone 141, a touch panel 142, a sensor 143, a button 144, and the like. For example, the user can implement the user command input function through voice, touch, gesture, pressing, and the like, and the input interface converts the received analog signal into a digital signal, and the digital signal into a corresponding command signal, and sends it to the display device 200.
[0082] The output interface includes an interface for sending received user commands to the display device 200. In some embodiments, it can be an infrared interface or a radio frequency interface. For example, in the case of an infrared signal interface, the user input command needs to be converted into an infrared control signal according to an infrared control protocol, and then sent to the display device 200 via an infrared sending module. For another example, in the case of a radio frequency signal interface, the user input command needs to be converted into a digital signal, and then modulated according to a radio frequency control signal modulation protocol, and then sent to the display device 200 by a radio frequency sending terminal.
[0083] In some embodiments, the control device 100 includes at least one of a communicator 130 and an output interface. The control device 100 is configured with a communicator 130, such as a WIFI, Bluetooth, NFC or other module, which can encode the user input command through the WIFI protocol, Bluetooth protocol, or NFC protocol and send it to the display device 200.
[0084] The memory 190 is used to store various operating programs, data and applications for driving and controlling the control device 100 under the control of the controller 110. The memory 190 can store various control signal instructions input by the user.
[0085] The power supply 180 is used to provide operating power support for each component of the control device 100 under the control of the controller 110. It can be a battery and related control circuits.
[0086] Figure 3 Schematically shows a hardware configuration block diagram of a hardware system in a display device 200 according to an exemplary embodiment.
[0087] When using a dual hardware system architecture, the organizational relationship of the hardware system can be Figure 3 As shown. For the convenience of description, one hardware system in the dual hardware system architecture is referred to as the first hardware system or A system, A chip, and the other hardware system is referred to as the second hardware system or N system, N chip. The A chip includes the controller of the A chip and various modules connected to the controller of the A chip through various interfaces, and the N chip includes the controller of the N chip and various modules connected to the controller of the N chip through various interfaces. A relatively independent operating system can be installed in each of the A chip and the N chip, and the operating system of the A chip and the operating system of the N chip can communicate with each other through a communication protocol. For example: the framework layer of the operating system of the A chip and the framework layer of the operating system of the N chip can communicate to transmit commands and data, so that there are two independent but interrelated subsystems in the display device 200.
[0088] like Figure 3 As shown, the A chip and the N chip can be connected, communicated and powered through multiple different types of interfaces. The interface types between the A chip and the N chip may include a general-purpose input / output interface (GPIO), a USB interface, an HDMI interface, a UART interface, etc. The A chip and the N chip may use one or more of these interfaces for communication or power transmission. For example Figure 3 As shown, in the dual hardware system architecture, the N chip can be powered by an external power supply, while the A chip can be powered by the N chip instead of the external power supply.
[0089] In addition to the interface for connecting with the N chip, the A chip may also include interfaces for connecting with other devices or components, such as Figure 3 The MIPI interface, Bluetooth interface, etc. used to connect the camera are shown in the figure.
[0090] Similarly, in addition to the interface for connecting to the N chip, the N chip can also include a VBY interface for connecting to the display screen TCON (Timer Control Register), an i2S interface for connecting to the power amplifier (Amplifier, AMP) and the speaker (Speaker); as well as an IR / Key interface, a USB interface, a Wifi interface, a Bluetooth interface, an HDMI interface, a Tuner interface, etc.
[0091] Combine the following Figure 4 The dual hardware system architecture of this application is further explained. Figure 4This is merely an exemplary description of the dual hardware system architecture of the present application and does not limit the present application. In practical applications, both hardware systems may include more or less hardware or interfaces as required.
[0092] Figure 4 The example shows that according to Figure 3 The hardware architecture block diagram of the display device 200 is shown as follows. Figure 4 As shown, the hardware system of the display device 200 may include an A chip and an N chip, and modules connected to the A chip or the N chip through various interfaces.
[0093] The N chip may include a tuner 220, a communicator 230, an external device interface 250, a controller 210, a memory 290, a user input interface, a video processor 260-1, an audio processor 260-2, a display 280, an audio output interface 272, and a power supply. In other embodiments, the N chip may also include more or fewer modules.
[0094] The tuner-demodulator 220 is used to perform modulation and demodulation processing such as amplification, mixing and resonance on the broadcast television signals received by wired or wireless means, so as to demodulate the audio and video signals carried in the frequency of the TV channel selected by the user, as well as additional information (such as EPG data signal) from multiple wireless or wired broadcast television signals. Depending on the broadcast format of the television signal, the signal path of the tuner-demodulator 220 can be in many ways, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting or Internet broadcasting; and according to different modulation types, the signal adjustment method can be digital modulation or analog modulation; and according to different types of received television signals, the tuner-demodulator 220 can demodulate analog signals and / or digital signals.
[0095] The tuner-demodulator 220 is further configured to respond to the TV channel frequency selected by the user and the TV signal carried by the frequency according to the user's selection and under the control of the controller 210 .
[0096] In some other exemplary embodiments, the tuner-demodulator 220 may also be in an external device, such as an external set-top box, etc. In this way, the set-top box outputs the television audio and video signals after modulation and demodulation, and inputs them into the display device 200 through the external device interface 250 .
[0097] The communicator 230 is a component for communicating with external devices or external servers according to various communication protocol types. For example, the communicator 230 may include a WIFI module 231, a Bluetooth communication protocol module 232, a wired Ethernet communication protocol module 233, and other network communication protocol modules or near field communication protocol modules such as an infrared communication protocol module.
[0098] The display device 200 may establish a connection for control signals and data signals with an external control device or a content providing device through the communicator 230. For example, the communicator may receive a control signal of the remote controller 100 according to the control of the controller.
[0099] The external device interface 250 is a component that provides data transmission between the N chip controller 210 and the A chip and other external devices. The external device interface can be connected to external devices such as set-top boxes, game devices, and notebook computers in a wired / wireless manner, and can receive data such as video signals (such as moving images), audio signals (such as music), and additional information (such as EPG) from the external devices.
[0100] The external device interface 250 may include any one or more of a high-definition multimedia interface (HDMI) terminal 251, a composite video blanking synchronization (CVBS) terminal 252, an analog or digital component terminal 253, a universal serial bus (USB) terminal 254, and a red, green, and blue (RGB) terminal (not shown in the figure). The present application does not limit the number and type of external device interfaces.
[0101] The controller 210 controls the operation of the display device 200 and responds to the user's operation by running various software control programs (such as an operating system and / or various application programs) stored in the memory 290.
[0102] like Figure 4 As shown, the controller 210 includes a read-only memory RAM 213, a random access memory ROM 214, a graphics processor 216, a CPU processor 212, a communication interface 218, and a communication bus. The RAM 213 and the ROM 214 as well as the graphics processor 216, the CPU processor 212, and the communication interface 218 are connected via a bus.
[0103] ROM 213 is used to store various system startup instructions. When a power-on signal is received, the display device 200 starts to power on, and the CPU processor 212 runs the system startup instructions in the ROM, and copies the operating system stored in the memory 290 to the RAM 214 to start running the operating system. After the operating system is started, the CPU processor 212 copies various application programs in the memory 290 to the RAM 214, and then starts running various application programs.
[0104] The graphics processor 216 is used to generate various graphic objects, such as icons, operation menus, and user input command display graphics. It includes an operator, which performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes. It also includes a renderer, which generates various objects based on the operator, and displays the rendered results on the display 280.
[0105] The CPU processor 212 is used to execute the operating system and application instructions stored in the memory 290, and execute various applications, data and content according to various interactive instructions received from the outside, so as to finally display and play various audio and video contents.
[0106] In some exemplary embodiments, the CPU processor 212 may include multiple processors. The multiple processors may include a main processor and multiple or one sub-processors. The main processor is used to perform some operations of the display device 200 in the pre-power-on mode and / or the operation of displaying a picture in the normal mode. The multiple or one sub-processors are used to perform an operation in the standby mode and the like.
[0107] The communication interface may include a first interface 218 - 1 to an nth interface 218 - n , and these interfaces may be network interfaces connected to external devices via a network.
[0108] The controller 210 may control the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 280, the controller 210 may perform an operation related to the object selected by the user command.
[0109] The object may be any one of the selectable objects, such as a hyperlink or an icon. Operations related to the selected object may include, for example, displaying a page, document, image, etc. connected to the hyperlink, or executing a program corresponding to the icon. User commands for selecting UI objects may be commands inputted through various input devices (e.g., a mouse, keyboard, touchpad, etc.) connected to the display device 200 or voice commands corresponding to voices spoken by the user.
[0110] The memory 290 includes various software modules for driving and controlling the display device 200. For example, the various software modules stored in the memory 290 include a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules.
[0111] The basic module is a bottom-level software module used for signal communication between various hardware in the display device 200 and sending processing and control signals to the upper-level modules. The detection module is a management module used to collect various information from various sensors or user input interfaces, and perform digital-to-analog conversion and analysis management.
[0112] For example, the speech recognition module includes a speech analysis module and a speech instruction database module. The display control module is a module for controlling the display 280 to display image content, and can be used to play multimedia image content and UI interface information. The communication module is a module for controlling and communicating data with external devices. The browser module is a module for executing data communication between browsing servers. The service module is a module for providing various services and various applications.
[0113] At the same time, the memory 290 is also used to store received data requests and user data, images of various items in various user interfaces, and visual effect images of focus objects, etc.
[0114] The user input interface is used to send the user's input signal to the controller 210, or transmit the signal output from the controller to the user. Exemplarily, the control device (such as a mobile terminal or a remote controller) can send the user's input signal such as a power switch signal, a channel selection signal, a volume adjustment signal, etc. to the user input interface, and then the user input interface transfers it to the controller; or the control device can receive the output signal such as audio, video or data output from the user input interface after being processed by the controller, and display the received output signal or output the received output signal in the form of audio or vibration.
[0115] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 280, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command through a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through a sensor.
[0116] The video processor 260 - 1 is used to receive the video signal and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to the standard codec protocol of the input signal, and can obtain a video signal that is directly displayed or played on the display 280 .
[0117] For example, the video processor 260 - 1 includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like.
[0118] Among them, the demultiplexing module is used to demultiplex the input audio and video data stream. For example, if MPEG-2 is input, the demultiplexing module demultiplexes it into video signals and audio signals.
[0119] The video decoding module is used to process the demultiplexed video signal, including decoding and scaling.
[0120] The image synthesis module, such as an image synthesizer, is used to superimpose and mix the GUI signal generated by the graphics generator according to the user input or itself with the scaled video image to generate an image signal for display.
[0121] The frame rate conversion module is used to convert the frame rate of the input video, such as converting the frame rate of the input 24Hz, 25Hz, 30Hz, 60Hz video to 60Hz, 120Hz or 240Hz frame rate, wherein the input frame rate may be related to the source video stream, and the output frame rate may be related to the update rate of the display. The input has a common format such as interpolation.
[0122] The display formatting module is used to change the signal output by the frame rate conversion module into a signal that conforms to the display format of a display, such as converting the format of the signal output by the frame rate conversion module to output an RGB data signal.
[0123] The display 280 is used to receive the image signal input from the video processor 260-1, and display the video content and image as well as the menu operation interface. The display 280 includes a display component for presenting the picture and a driving component for driving the image display. The displayed video content can be the video in the broadcast signal received by the tuner demodulator 220, or the video content input from the communicator or the external device interface. The display 220 also displays the user operation interface UI generated in the display device 200 and used to control the display device 200.
[0124] Furthermore, depending on the type of the display 280, a driving component for driving the display is also included. Alternatively, if the display 280 is a projection display, a projection device and a projection screen may also be included.
[0125] The audio processor 260 - 2 is used to receive the audio signal, and perform decompression and decoding according to the standard codec protocol of the input signal, as well as 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 .
[0126] The audio output interface 270 is used to receive the audio signal output by the audio processor 260-2 under the control of the controller 210. The audio output interface may include a speaker 272, or an external audio output terminal 274 of a generating device that outputs to an external device, such as an external audio terminal or a headphone output terminal.
[0127] In some other exemplary embodiments, the video processor 260-1 may include one or more chips. The audio processor 260-2 may also include one or more chips.
[0128] Furthermore, in some other exemplary embodiments, the video processor 260 - 1 and the audio processor 260 - 2 may be separate chips, or may be integrated with the controller 210 into one or more chips.
[0129] The power supply is used to provide power supply support for the display device 200 with power input from an external power source under the control of the controller 210. The power supply may include a built-in power supply circuit installed inside the display device 200, or may be a power supply installed outside the display device 200, such as a power supply interface in the display device 200 that provides an external power source.
[0130] Similar to N chips, such as Figure 4 As shown, the A chip may include a controller 310, a communicator 330, a detector 340, and a memory 390. In some embodiments, it may also include a video processor 360, a user input interface, an audio processor, a display, and an audio output interface. In some embodiments, there may also be an independent power supply for the A chip.
[0131] The communicator 330 is a component for communicating with external devices or external servers 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 or near field communication protocol modules such as an infrared communication protocol module.
[0132] The communicator 330 of the A chip and the communicator 230 of the N chip also interact with each other. For example, the WiFi module 231 in the N chip hardware system is used to connect to the external network and generate network communication with external servers, etc. The WiFi module 331 in the A chip hardware system is used to connect to the WiFi module 231 of the N chip, and does not directly connect to the external network, etc. The A chip connects to the external network through the N chip. Therefore, for the user, a display device such as the above embodiment only displays a WiFi account to the outside.
[0133] The detector 340 is a component of the display device A chip used to collect signals from the external environment or interact with the outside. The detector 340 may include a light receiver 342, a sensor for collecting ambient light intensity, which can adapt to changes in display parameters by collecting ambient light; it may also include an image collector 341, such as a camera, which can be used to collect external environmental scenes, as well as to collect user attributes or gestures for interacting with the user, which can adaptively change display parameters, and can also recognize user gestures to achieve the function of interacting with the user.
[0134] The external device interface 350 is a component for data transmission between the controller 310 and the N chip or other external devices. The external device interface can be connected to external devices such as set-top boxes, game devices, and laptop computers in a wired or wireless manner.
[0135] The controller 310 controls the operation of the display device 200 and responds to user operations by running various software control programs stored in the memory 390 (such as installed third-party applications, etc.) and interacting with the N chip.
[0136] like Figure 4 As shown, the controller 310 includes a read-only memory ROM 313, a random access memory RAM 314, a graphics processor 316, a CPU processor 312, a communication interface 318, and a communication bus. Among them, the ROM 313 and the RAM 314 and the graphics processor 316, the CPU processor 312, and the communication interface 318 are connected through the bus.
[0137] ROM313 is used to store various system startup instructions. The CPU processor 312 runs the system startup instructions in the ROM and copies the operating system stored in the memory 390 to the RAM 314 to start running the operating system. After the operating system is started, the CPU processor 312 copies various application programs in the memory 390 to the RAM 314, and then starts running various application programs.
[0138] The CPU processor 312 is used to execute the operating system and application instructions stored in the memory 390, and to communicate with the N chip, transmit and interact with signals, data, instructions, etc., and execute various applications, data and content according to various interactive instructions received from the external input, so as to ultimately display and play various audio and video contents.
[0139] The communication interface may include a first interface 318 - 1 to an nth interface 318 - n. These interfaces may be network interfaces connected to an external device via a network, or may be network interfaces connected to an N chip via a network.
[0140] The controller 310 may control the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 280, the controller 210 may perform an operation related to the object selected by the user command.
[0141] The graphics processor 316 is used to generate various graphic objects, such as icons, operation menus, and user input command display graphics. It includes an operator, which performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes. It also includes a renderer, which generates various objects based on the operator, and displays the rendered results on the display 280.
[0142] Both the graphics processor 316 of the A chip and the graphics processor 216 of the N chip can generate various graphic objects. Specifically, if application 1 is installed on the A chip and application 2 is installed on the N chip, when the user is in the interface of application 1 and performs user input commands in application 1, the graphics processor 316 of the A chip generates graphic objects. When the user is in the interface of application 2 and performs user input commands in application 2, the graphics processor 216 of the N chip generates graphic objects.
[0143] Figure 5 Schematic diagram of functional configuration of a display device according to an exemplary embodiment is exemplarily shown in FIG.
[0144] like Figure 5 As shown, the memory 390 of the A chip and the memory 290 of the N chip are respectively used to store operating systems, applications, content, user data, etc., and drive the system operation of the display device 200 and respond to various operations of the user under the control of the controller 310 of the A chip and the controller 210 of the N chip. The memory 390 of the A chip and the memory 290 of the N chip may include volatile and / or non-volatile memory.
[0145] For the N chip, the memory 290 is specifically used to store the operating program that drives the controller 210 in the display device 200, and to store various applications built into the display device 200, various applications downloaded by users from external devices, various graphical user interfaces related to the applications, various objects related to the graphical user interfaces, user data information, and various internal data supporting the applications. The memory 290 is used to store system software such as the operating system (OS) kernel, middleware, and applications, as well as to store input video data and audio data, and other user data.
[0146] The memory 290 is specifically used to store drivers and related data such as the video processor 260-1 and the audio processor 260-2, the display 280, the communication interface 230, the tuner and demodulator 220, and the input / output interface.
[0147] In some embodiments, the memory 290 may store software and / or programs, and the software programs used to represent the operating system (OS) include, for example, a kernel, middleware, an application programming interface (API), and / or an application. Exemplarily, the kernel may control or manage system resources, or functions implemented by other programs (such as the middleware, API, or application), and the kernel may provide an interface to allow the middleware and API, or the application to access the controller to control or manage system resources.
[0148] For example, the memory 290 includes a broadcast receiving module 2901, a channel control module 2902, a volume control module 2903, an image control module 2904, a display control module 2905, an audio control module 2906, an external command recognition module 2907, a communication control module 2908, an optical receiving module 2909, a power control module 2910, an operating system 2911, and other applications 2912, a browser module, etc. The controller 210 executes various functions such as: broadcast television signal reception and demodulation function, television channel selection control function, volume selection control function, image control function, display control function, audio control function, external command recognition function, communication control function, optical signal reception function, power control function, software control platform supporting various functions, and browser function by running various software programs in the memory 290.
[0149] The memory 390 includes various software modules for driving and controlling the display device 200. For example, the various software modules stored in the memory 390 include a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules. Since the functions of the memory 390 and the memory 290 are similar, the relevant parts can be referred to the memory 290, and will not be repeated here.
[0150] For example, the memory 390 includes an image control module 3904, an audio control module 3906, an external command recognition module 3907, a communication control module 3908, an optical receiving module 3909, an operating system 3911, and other applications 3912, a browser module, etc. The controller 210 executes various functions such as image control function, display control function, audio control function, external command recognition function, communication control function, optical signal receiving function, power control function, a software control platform supporting various functions, and a browser function by running various software programs in the memory 290.
[0151] Distinctively, the external instruction recognition module 2907 of the N chip and the external instruction recognition module 3907 of the A chip can recognize different instructions.
[0152] Exemplarily, since the image receiving device such as a camera is connected to the A chip, the external command recognition module 3907 of the A chip may include a graphic recognition module 3907-1, and the graphic recognition module 3907-1 stores a graphic database. When the camera receives a graphic command from the outside, it corresponds to the command in the graphic database to control the display device. Since the voice receiving device and the remote control are connected to the N chip, the external command recognition module 2907 of the N chip may include a voice recognition module 2907-2, and the voice recognition module 2907-2 stores a voice database. When the voice receiving device receives a voice command from the outside, it corresponds to the command in the voice database to control the display device. Similarly, the control device 100 such as the remote control is connected to the N chip, and the key command recognition module 2907-3 interacts with the control device 100.
[0153] Figure 6a Schematically shows a configuration block diagram of a software system in a display device 200 according to an exemplary embodiment.
[0154] For N chips, such as Figure 6a As shown in FIG. 2 , the operating system 2911 includes execution operating software for processing various basic system services and for implementing hardware-related tasks.
[0155] In some embodiments, part of the operating system kernel may include a series of software to manage display device hardware resources and provide services for other programs or software codes.
[0156] In some other embodiments, a portion of the operating system kernel may include one or more device drivers, which may be a set of software codes in the operating system that help operate or control devices or hardware associated with the display device. The driver may include code to operate video, audio, and / or other multimedia components. Examples include display, camera, Flash, WiFi, and audio drivers.
[0157] Among them, the accessibility module 2911-1 is used to modify or access the application to achieve the accessibility of the application and the operability of its displayed content.
[0158] The communication module 2911 - 2 is used to connect to other peripheral devices via relevant communication interfaces and communication networks.
[0159] The user interface module 2911 - 3 is used to provide objects for displaying the user interface for access by various application programs, thereby achieving user operability.
[0160] Control application 2911-4 is used for control process management, including runtime applications, etc.
[0161] The event transmission system 2914 may be implemented in the operating system 2911 or in the application 2912. In some embodiments, the event transmission system 2914 is implemented in the operating system 2911 and in the application 2912, and is used to monitor various user input events, and implement one or more sets of predefined operation processing procedures according to the recognition results of various events or sub-events in response to various event references.
[0162] The event monitoring module 2914-1 is used to monitor input events or sub-events of the user input interface.
[0163] The event identification module 2914-2 is used to define various types of events inputted by various user input interfaces, identify various events or sub-events, and transmit them to the processor for executing one or more corresponding processing procedures.
[0164] Among them, events or sub-events refer to inputs detected by one or more sensors in the display device 200, as well as inputs from external control devices (such as the control device 100, etc.). For example: various sub-events of voice input, gesture input sub-events of gesture recognition, and sub-events of remote control key command input of the control device, etc. For example, one or more sub-events in the remote control include multiple forms, including but not limited to one or a combination of pressing up / down / left / right / , confirming key, pressing and holding a key, etc. And operations of non-physical keys, such as moving, pressing, releasing, etc.
[0165] The interface layout management module 2913 directly or indirectly receives user input events or sub-events monitored by the event transmission system 2914, and is used to update 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 or position and hierarchy of the container and other execution operations related to the interface layout.
[0166] Since the functions of the operating system 3911 of the A chip and the operating system 2911 of the N chip are similar, please refer to the operating system 2911 for the relevant details and will not be repeated here.
[0167] like Figure 6b As shown in , the application layer of the display device includes various applications that can be executed on the display device 200.
[0168] The application layer 2912 of the N chip may include but is not limited to one or more applications, such as video on demand applications, application centers, game applications, etc. The application layer 3912 of the A chip may include but is not limited to one or more applications, such as live TV applications, media center applications, etc. It should be noted that what applications are included in the A chip and the N chip 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 included in the A chip and the N chip.
[0169] The live TV application can provide live TV through different signal sources. For example, the live TV application can provide a TV signal using input from cable TV, wireless broadcast, satellite service, or other types of live TV services. And, the live TV application can display the video of the live TV signal on the display device 200.
[0170] Video on demand applications can provide videos from different storage sources. Unlike live TV applications, video on demand provides video display from some storage source. For example, video on demand can come from the server side of cloud storage, or from the local hard disk storage containing stored video programs.
[0171] Media center applications can provide various multimedia content playback applications. For example, a media center can be a service that users can access various images or audios through a media center application, which is different from live TV or video on demand.
[0172] The application center can provide and store various applications. The application can be a game, an application, or some other application related to a computer system or other device but can be run on the display device. The application center can obtain these applications from different sources, store them in a local storage, and then run them on the display device 200.
[0173] Figure 7 FIG. 2 is a schematic diagram of a user interface in a display device 200 according to an exemplary embodiment. Figure 7 As shown, the user interface includes multiple view display areas, for example, a first view display area 201 and a play screen 202, wherein the play screen includes a layout of one or more different items. The user interface also includes a selector indicating that an item is selected, and the position of the selector can be moved by user input to change the selection of different items.
[0174] It should be noted that multiple view display areas can present display screens of different levels. For example, the first view display area can present video chat project content, and the second view display area can present application layer project content (such as web video, VOD display, application screen, etc.).
[0175] Optionally, there are differences in the presentation priorities of different view display areas, and the display priorities of view display areas are different between view display areas with different priorities. For example, the priority of the system layer is higher than that of the application layer. When the user uses the acquisition selector and screen switching at the application layer, the screen display of the view display area of the system layer is not blocked; and when the size and position of the view display area of the application layer are changed according to the user's selection, the size and position of the view display area of the system layer are not affected.
[0176] The display screen of the same level can also be presented. In this case, the selector can switch between the first view display area and the second view display area, and when the size and position of the first view display area change, the size and position of the second view display area can change accordingly.
[0177] Since the A chip and the N chip may be installed with independent operating systems respectively, there are two independent but interrelated subsystems in the display device 200. For example, the A chip and the N chip may be independently installed with Android and various APPs, so that each chip can realize certain functions, and the A chip and the N chip can cooperate to realize a certain function.
[0178] Based on the aforementioned dual-system display device, there are many interactive scenarios on the N and A chips. The N chip not only needs to obtain and save data to the chip itself, but also needs to obtain or save data to the A chip. For example, if the member login information is stored in the A chip, the N chip application needs to use it. Because the member login status information can only be saved in a single system, if both systems are saved, the status of both ends must be kept consistent at all times, which involves complex status synchronization issues and increases the difficulty of module development. However, Android's existing data can only be used in the local system, and cannot be used across systems, and it is impossible to synchronize data between the two systems.
[0179] In order to solve the above problems, an embodiment of the present application provides a display device, and a data scheduling service is provided at each end of the dual-system display device. The A chip or the N chip can query the data in the N chip or the A chip through the data scheduling service, thereby realizing data sharing between the A chip and the N chip, thereby reducing the complexity of application transplantation.
[0180] like Figure 8 As shown in the figure, the N system is the main one, controlling the screen, with video channels and data channels. The A system displays the content of the A system on the N system through the video channel; through the data channel, the A system and the N system exchange data. For the N system, the A system is a video signal, and the N system provides TV capabilities and can play the content of the physical channel. The two data channels connect the two independent systems.
[0181] Embodiment 1:
[0182] Based on the connection method between the two systems, such as Fig. 9 As shown, the display device provided in the embodiment of the present application includes:
[0183] The display 301 is configured to display image content.
[0184] The first chip 302 includes a first data processor 3021. The first chip 302 is configured to receive a data request through an input interface 3022. The first data processor 3021 processes the data request and encapsulates the data into a data query request.
[0185] The second chip 303 includes a second data processor 3031 and a database 3032. The second chip 303 is configured to receive a data query request output by the first chip through a physical connection line, and the second data processor parses the received data query request and accesses the database 3032 according to the parsed data query request, wherein the second chip queries the database to obtain return data corresponding to the data query request, and encapsulates the return data and sends it to the first chip 302.
[0186] For the convenience of description, Figure 4 and Figure 5 The first chip 310 and Fig. 9 The first chip 302 corresponds to, Figure 4 and Figure 5 The second chip 210 and Fig. 9 The second chip 303 in FIG. 1 corresponds to the second chip 303 in FIG.
[0187] In order to realize the data sharing scheduling service between the first chip 302 and the second chip 303, the data query service and the data receiving service are registered in the first chip 302 and the second chip 303 respectively, and a data query interface is provided externally, and the data query interface is used to receive the data request sent by the opposite chip in real time. That is, the first chip 302 and the second chip 303 realize data sharing between the two through the registered data query service and data receiving service.
[0188] In this example, the data request received by the first chip 302 may be a user's demand instruction, such as a data instruction to log in to an application on the first chip 302. The first data processor 3021 processes the data request and encapsulates the processed data into a data query request in a specific format. When encapsulating the data request, it is necessary to obtain the callback address identifier and query conditions of the data to be queried, and encapsulate the callback address identifier and query conditions into a data query request. If the request data is encapsulated in JSON, the format is as follows:
[0189] {"service":"com.hisense.tv.xxx",
[0190] "uri":"content: / / com.hisense.xx.xxx / xxxxx",
[0191] "projection":"column1, column2, column3",
[0192] "selection": "XXX",
[0193] "selectionArgs":"column1, column2, column3",
[0194] "sortOrder": "XXX"}
[0195] in,
[0196] "service": callback method after data query is successful.
[0197] "uri": distinguish which database to query (indicates the address of the data that needs to be operated).
[0198] "projection": the name of the field to be queried in the database.
[0199] “selection”: the condition for querying data.
[0200] "selectionArgs": Placeholder for query conditions to insert parameters.
[0201] "sortOrder": sorting method (ascending or descending order).
[0202] The request data of the first chip 302 is encapsulated as a data query request according to the above format.
[0203] The login status information of an application on the first chip 302 may be stored in the first chip 302 or in the second chip 303 , so a data query request needs to be sent to the database 3023 of the first chip 302 or the second chip 303 to obtain the login status information.
[0204] When the data information to be acquired by the first chip 302 is stored in the second chip 303, the data query request output by the first data processor 3021 is transmitted to the second chip 303 through a physical connection line (such as an HDMI connection line, a serial port connection line, a network line, etc.). The data query service interface scheduled by the second chip 303 is called, and the scheduling of the second chip 303 receives the data query request output by the first chip 302. Then, the second data processor 3031 of the second chip 303 parses the received data query request, obtains the data corresponding to "service, uri, projection, selection, selectionArgs, sortOrder" in the data query request, and then unpacks the data corresponding to "projection" and "selectionArgs" to generate a string array.
[0205] After parsing and obtaining the callback address identifier "service", "uri", query condition "selection" and string array, the data query interface of the second chip 303 database is called, and the database of the second chip 303 is queried according to the query condition "selection" to obtain the data value that meets the query condition. After finding the return data (field name and value of the data) corresponding to the data query request in the database 3032 of the second chip 303, the return data is packaged in a predetermined format according to the sorting method in the data query request, and the data receiving service interface of the first chip 302 is called, and the packaged return data is sent to the position corresponding to the callback address identifier "service" and "uri" of the first chip 302, so that the data in the second chip 303 is called back to the first chip 302.
[0206] The encapsulation format of the returned data is:
[0207] {"column1":"value1","column2":"value2","columnX":"valueX"}
[0208] in,
[0209] column1: The field name of the returned data.
[0210] value1: The value of the returned data.
[0211] In the above embodiment, the first chip 302 may be Figure 3 , Figure 4 and Figure 5The A chip in the second chip 303 is the corresponding N chip. When the application in the A chip wants to query the data in the N chip, the A chip encapsulates the data request into a data query request, and sends the data query request to the N chip through a physical connection line. The scheduling of the N chip receives the data query request, parses and obtains the callback address identifier and the query condition in the data query request, queries the database of the N chip according to the query condition, obtains the return data corresponding to the query condition, and the N chip encapsulates the return data, and then sends the encapsulated return data to the position corresponding to the callback address identifier through the physical connection line, thereby enabling the A chip to query and obtain the data of the N chip, and realizing data sharing between the A and N chips.
[0212] Similarly, the first chip 302 may also be an N chip, and the second chip 303 may be the corresponding A chip. When the application in the N chip wants to query the data in the A chip, the N chip encapsulates the data request into a data query request, and sends the data query request to the A chip through a physical connection line. The A chip's scheduling receives the data query request, parses and obtains the callback address identifier and query conditions in the data query request, queries the A chip's database according to the query conditions, and obtains return data corresponding to the query conditions. The A chip encapsulates the return data, and then sends the encapsulated return data to the position corresponding to the callback address identifier through the physical connection line, thereby enabling the N chip to query the A chip's data and realize data sharing between the N and A chips.
[0213] In this example, when the first chip 302 queries the data in the second chip 303, the data query may be time-consuming, resulting in blocking the query thread. Therefore, an asynchronous callback method is used for data query between the two chips. Asynchronous callback refers to specifying a function while initiating an asynchronous task. This function will be automatically called when the asynchronous task is completed. This can effectively prevent the problem of blocking the query application thread and improve the efficiency of data query between the two chips.
[0214] Based on the display device described in the above embodiment, the embodiment of the present application also provides a data query method, which is applied to the above display device, such as Fig.10 , Fig.11 As shown, the method includes:
[0215] S101: A first data processor of a first chip receives a data request through an input interface, and encapsulates the processed data into a data query request.
[0216] S102: The second chip receives the data query request output by the first chip through the physical connection line.
[0217] S103: The second data processor of the second chip parses the data query request, and queries the database of the second chip to obtain return data corresponding to the parsed data query request.
[0218] S104: The second chip packages the returned data and sends it to the first chip.
[0219] S105: The first chip receives and processes the returned data.
[0220] The data query method provided in the embodiment of the present application receives the data request sent by the opposite chip in real time through the data query service and the data receiving service on the first chip and the second chip. The first chip or the second chip obtains the corresponding data according to the data request query output by the second chip or the first chip, and calls back the queried data to the second chip or the first chip, thereby realizing data sharing of the dual-chip display device and improving the user experience.
[0221] Embodiment 2:
[0222] Based on the connection method between the two systems, the display device provided in the embodiment of the present application may further include:
[0223] The display 301 is configured to display image content.
[0224] The first chip 302 includes a first data processor 3021. The first chip 302 is configured to receive a data request through a data interface, process the data request, and encapsulate the processed data into a data storage request.
[0225] The second chip 303 includes a second data processor 3031 and a database 3032. The second chip 303 is configured to receive a data storage request output by the first chip 302 through a physical connection line, and the second data processor parses the received data storage request and stores the parsed data in the database 3032 of the second chip 303.
[0226] In order to realize the data sharing scheduling service between the first chip 302 and the second chip 303, a data storage service and a data receiving service are registered in the first chip 302 and the second chip 303 respectively, and a data storage interface is provided externally. The data storage interface saves the data received from the opposite chip into the database of the local chip.
[0227] In this example, the data request received by the first chip 302 may be a user's demand instruction, such as the login information of an application on the first chip 302. The first data processor 3021 processes the data request and encapsulates the processed data into a data storage request in a specific format. When encapsulating the data request, it is necessary to obtain the data to be stored and the storage identifier, and encapsulate the data to be stored and the storage identifier into a data storage request. If the request data is encapsulated in JSON, the format is as follows:
[0228] {"contentValues":{"name":"hisense","xxx":"xxxx","yyy":"yyyy"},
[0229] "uri":"content: / / com.hisense.xx.xxx / xxxxx"}
[0230] in,
[0231] contentValues: data saved to the database, including field names (such as name) and corresponding values (such as hisense).
[0232] uri: distinguish which database to save to (mark the address of the data to be operated).
[0233] The login information of an application on the first chip 302 can be saved in the first chip 302 or in the second chip 303. Therefore, when the data on the first chip 302 is saved in the local database 3023, the data saving interface of the first chip 302 (Android general data sharing API—Content Provider) is called to save the data; when the data on the first chip 302 is saved in the second chip 303, the data saving service interface scheduled by the second chip 303 is called, and the data storage request encapsulated by the first chip 302 is sent to the second chip 303 through a physical connection line (HDMI connection line, serial port connection line, network line, etc.). The second data processor 3031 parses the received data storage request, obtains the data corresponding to contentValues and uri, and then unpacks the data corresponding to contentValues to obtain the field name and value of the data.
[0234] After obtaining the data corresponding to the uri, the matching database in the second chip 303 is searched according to the data in the uri, and then the data saving interface (0Android general data sharing API-Contnent Provider) of the second chip 303 is called to save the data.
[0235] In the above embodiment, the first chip 302 may be Figure 3 , Figure 4 and Figure 5The A chip in the second chip 303 is the corresponding N chip. When the data applied in the A chip needs to be saved in the N chip database, the A chip encapsulates the data request into a data storage request, and sends the data storage request to the N chip through a physical connection line. The N chip scheduler receives the data storage request, parses the data to be stored and the storage identifier in the data storage request, and the N chip stores the data to be stored in the database corresponding to the storage identifier, so as to realize the data storage of the A chip in the N chip, thereby realizing data sharing between the A and N chips.
[0236] Similarly, the first chip 302 may also be an N chip, and the second chip 303 may be the corresponding A chip. When the application data in the N chip needs to be saved in the A chip, the N chip encapsulates the data request into a data storage request, and sends the data storage request to the A chip through a physical connection line. The A chip's scheduling receives the data storage request, parses the data to be stored and the storage identifier in the data storage request, and the A chip stores the data to be stored in the database corresponding to the storage identifier, thereby storing the N chip data in the A chip, thereby realizing data sharing between the N and A chips.
[0237] Based on the display device described in the above embodiment, the embodiment of the present application further provides a data storage method, which is applied to the above display device, such as Fig.12 , Fig.13 As shown, the method includes:
[0238] S201: A first data processor of a first chip receives a data request through an input interface, and encapsulates the processed data into a data storage request.
[0239] S202: The second chip receives a data storage request output by the first chip through a physical connection line.
[0240] S203: The second data processor of the second chip parses the data storage request and stores the parsed data in the database of the second chip.
[0241] In the data storage method provided in the embodiment of the present application, data requests sent by the opposite chip are received in real time through the data saving service and data receiving service on the first chip and the second chip. The first chip or the second chip saves data to the local database according to the data request output by the second chip or the first chip, thereby realizing data sharing of the dual-chip display device and improving the user experience.
[0242] In the display device provided in the embodiment of the present application, data storage and query services are registered in the dual chips respectively, and a data storage interface and a data query interface are provided externally. The data storage interface and the data query interface are used to receive data requests sent by the opposite chip, and data are queried or saved locally according to different data request services, thereby realizing data sharing between the dual chips and reducing the complexity of application transplantation.
[0243] Based on the exemplary embodiments shown in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application. In addition, although the disclosure in this application is introduced according to one or several exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete technical solution separately.
[0244] It should be understood that the terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, for example, they can be implemented according to an order other than those given in the diagrams or descriptions of the embodiments of this application.
[0245] In addition, the terms "include" and "have" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such products or devices.
[0246] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A display device, It is characterized in that The display device is an Android TV device, including: a display configured to display image content; A first chip includes a first data processor, wherein the first chip is configured to receive a data request through an input interface, and the first data processor processes the data request and encapsulates the processed data into a data query request; The second chip includes a second data processor and a database, wherein the second chip is configured to receive a data query request output by the first chip through a physical connection line, the second data processor parses the received data query request, and accesses the database according to the parsed data query request; The second chip queries the database to obtain the returned data corresponding to the data query request, and packages the returned data and sends it to the first chip.
2. The display device according to claim 1, It is characterized in that The first data processor is further configured to obtain a callback address identifier and a query condition of the data to be queried, and encapsulate the callback address identifier and the query condition into a data query request.
3. The display device according to claim 2, It is characterized in that The second data processor is further configured to parse the data query request, obtain the callback address identifier and query conditions of the data to be queried, and access the corresponding database according to the query conditions.
4. The display device according to claim 3, It is characterized in that The database is further configured to obtain return data according to the query condition, encapsulate the return data according to a predetermined format, and send the encapsulated return data to a location corresponding to the callback address identifier.
5. The display device according to claim 1, It is characterized in that The first chip is further configured to query data from the second chip in an asynchronous callback manner.
6. A data query method, applied to the display device according to any one of claims 1 to 5, It is characterized in that The display device is an Android TV device, and the method includes: The first data processor of the first chip receives the data request through the input interface and encapsulates the processed data into a data query request; The second chip receives the data query request output by the first chip through a physical connection line; The second data processor of the second chip parses the data query request, and queries and obtains return data corresponding to the parsed data query request in the database of the second chip; The second chip sends the return data package to the first chip.
7. A display device, It is characterized in that The display device is an Android TV device, including: a display configured to display image content; A first chip includes a first data processor, wherein the first chip is configured to receive a data request through an input interface, the first data processor processes the data request, and encapsulates the processed data into a data storage request; The second chip includes a second data processor and a database. The second chip is configured to receive a data storage request output by the first chip through a physical connection line, and the second data processor parses the received data storage request and stores the parsed data in the database.
8. The display device according to claim 7, It is characterized in that The first data processor is further configured to obtain the data to be stored and a storage identifier of the data to be stored, and encapsulate the data to be stored and the storage identifier into a data storage request.
9. The display device according to claim 8, It is characterized in that The second data processor is further configured to parse the data storage request, obtain the data to be stored and a storage identifier, and store the data to be stored in a database corresponding to the storage identifier.
10. A data storage method, applied to the display device according to any one of claims 7 to 9, It is characterized in that The display device is an Android TV device, and the method includes: The first data processor of the first chip receives a data request through an input interface and encapsulates the processed data into a data storage request; The second chip receives the data storage request output by the first chip through a physical connection line; The second data processor of the second chip parses the data storage request and stores the parsed data in a database of the second chip.
