Application resource sharing and display device
By establishing a shared subdirectory and an exclusive subdirectory in the ATSC 3.0 interactive application, the cache space waste and startup speed problems when multiple applications share the same resource are solved, and efficient sharing and rapid startup of resources are achieved.
Patent Information
- Application Number
- CN202011158151.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-26
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-10-26
AI Technical Summary
In ATSC 3.0 interactive applications, when multiple applications share the same application resource, existing storage methods lead to waste of cache space and reduced application startup speed.
Create a shared subdirectory and an exclusive subdirectory for each application under the preset memory root directory. All application resource files are stored in the shared subdirectory. Each application accesses the resource files in the shared subdirectory through the exclusive subdirectory.
Save cache space resources and improve application startup speed.
Smart Images

Figure CN112269668B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart televisions, and in particular to an application resource sharing and display device. Background Art
[0002] With the rapid development of electronic information technology and smart TV technology, the latest digital TV standard ATSC 3.0 has been released. ATSC 3.0 describes the interactive application information in the current program in HELD (HTML Entry pages Location Description).
[0003] At present, in ATSC3.0 interactive applications, the existing resource storage method is: each broadcast application will establish its own independent directory for storing application resources related to the application. In actual applications, there may be multiple applications that will start the same application resource. However, according to the above method, the application resources that will be started by these multiple applications will be stored in the directories corresponding to these applications, such as Figure 1 As shown, Figure 1 The application resources in the application A are stored in the directory and in the directory of the application B. It can be seen that this not only causes a waste of cache space resources, but also, given the characteristic that each application can only be started after the application resources related to the application are saved, the above application resource storage method will also affect the application startup speed. Summary of the invention
[0004] In view of this, the present application provides an application resource sharing and display device, which can improve the startup speed of the application while saving cache space resources.
[0005] Specifically, the present application is implemented through the following technical solutions:
[0006] According to a first aspect of the present application, a display device is provided, including:
[0007] monitor;
[0008] A controller coupled to the display, configured to:
[0009] monitor;
[0010] A controller coupled to the display, configured to:
[0011] Obtain a first application resource data packet carried by a code stream, parse the first application resource data packet, obtain a broadcast application identifier list, the number of applications, and an application resource file; if the number of applications is greater than 1, establish a shared subdirectory for storing each application resource file and an exclusive subdirectory corresponding to each application in the broadcast application identifier list under a preset memory root directory based on the broadcast application identifier list, so that each application can share the application resource file under the shared subdirectory through the corresponding exclusive subdirectory.
[0012] According to a second aspect of the present application, there is provided an application resource sharing method, which is applied to a controller in a display device, and the method includes:
[0013] Acquire a first application resource data packet carried by the bitstream, and parse the first application resource data packet to obtain a broadcast application identifier list, application quantity, and application resource file;
[0014] If the number of applications is greater than 1, a shared subdirectory for storing each application resource file and an exclusive subdirectory corresponding to each application in the broadcast application identifier list are established under the preset memory root directory based on the broadcast application identifier list, so that each application can share the application resource files under the shared subdirectory through the corresponding exclusive subdirectory.
[0015] It can be seen from the above technical solutions that in this application, for the case where multiple applications share the same application resource, that is, the number of applications is greater than 1, a shared subdirectory for storing each application resource file is established under the preset memory root directory according to the broadcast application identifier list, and a dedicated subdirectory corresponding to each application in the broadcast application identifier list, so that each application shares the application resource file under the above shared subdirectory according to the corresponding dedicated subdirectory. In this way, the dedicated subdirectory corresponding to each application does not need to store the application resource to be started by the application, but all application resource files are stored in the shared subdirectory, so that each application can access the application resource file under the shared subdirectory shared with the dedicated subdirectory through its own dedicated subdirectory. At the same time, there is no situation where each application needs to store the application resource corresponding to the application. In this way, after the above application resource file is stored according to the technical solution provided by the embodiment of the application, the application only needs to quickly start the application resource to be started by the application resource file under the shared subdirectory through the corresponding dedicated subdirectory. Therefore, the application of the technical solution provided by the present application can improve the startup speed of the application on the basis of saving cache space resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 The schematic diagram of application resource storage provided by the prior art is exemplarily shown in FIG.
[0017] Figure 2 A schematic diagram of an operation scenario between a display device and a control device according to some embodiments;
[0018] Figure 3 exemplarily shows a hardware configuration block diagram of a display device 200 according to some embodiments;
[0019] Figure 4 exemplarily shows a hardware configuration block diagram of a control device 100 according to some embodiments;
[0020] Figure 5 exemplarily shows a schematic diagram of software configuration in a display device 200 according to some embodiments;
[0021] Figure 6 exemplarily shows a schematic diagram of an icon control interface display of an application in a display device 200 according to some embodiments;
[0022] Figure 7 A flowchart for implementing application resource sharing according to some embodiments is exemplarily shown in FIG.
[0023] Figure 8 Schematic diagram of application resource storage according to some embodiments is exemplarily shown in FIG.
[0024] Fig. 9 Another implementation flow chart of application resource sharing according to some embodiments is exemplarily shown in FIG. DETAILED DESCRIPTION
[0025] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode 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, rather than all the embodiments.
[0026] Based on the exemplary embodiments described in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the claims attached to 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 the disclosure can also constitute a complete implementation method separately.
[0027] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0028] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise indicated. 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 orders other than those given in the diagrams or descriptions of the embodiments of this application.
[0029] 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.
[0030] The term "module" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0031] The term "remote control" as used in this application refers to a component of an electronic device (such as the display device disclosed in this application), which can usually wirelessly control the electronic device within a short range. It is generally 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: 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.
[0032] The term "gesture" used in this 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.
[0033] Figure 2 FIG. 2 is a schematic diagram showing an operation scenario between a display device and a control device according to an embodiment. Figure 2 As shown in FIG. 1 , a user can operate the display device 200 through the mobile terminal 300 and the control apparatus 100 .
[0034] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, etc., to control the display device 200 wirelessly or in a wired manner. 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.
[0035] In some embodiments, a mobile terminal, a tablet computer, a computer, a laptop computer, and other smart devices may also be used to control the display device 200. For example, an application running on the smart device is used to control the display device 200. The application may be configured to provide the user with various controls in an intuitive user interface (UI) on a screen associated with the smart device.
[0036] In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and realize connection and communication through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. For example, it is possible to establish a control instruction protocol with the mobile terminal 300 and synchronize the remote control keyboard to the mobile terminal 300, and realize the function of controlling the display device 200 by controlling the user interface on the mobile terminal 300. It is also possible to transmit the audio and video content displayed on the mobile terminal 300 to the display device 200 to realize the synchronous display function.
[0037] like Figure 2 It is also shown that the display device 200 also communicates data with the server 400 through various communication methods. The display device 200 may be allowed to communicate and connect via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactions to the display device 200. 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 400 may be a cluster or multiple clusters, and may include one or more types of servers. Other network service content such as video on demand and advertising services is provided through the server 400.
[0038] The display device 200 may be a liquid crystal display, an OLED display, or a projection display device. 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 may be modified in performance and configuration as required.
[0039] In addition to providing the broadcast receiving television function, the display device 200 may also provide an intelligent network television function with computer support functions, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.
[0040] Figure 2 Schematically shows a hardware configuration block diagram of a display device 200 according to an exemplary embodiment.
[0041] In some embodiments, the display device 200 includes at least one of a controller 250, a tuner and demodulator 210, a communicator 220, a detector 230, an input / output interface 255, a display 275, an audio output interface 285, a memory 260, a power supply 290, a user interface 265, and an external device interface 240.
[0042] In some embodiments, the display 275 is a component for receiving the image signal outputted from the first processor and displaying video content and images as well as a menu control interface.
[0043] In some embodiments, the display 275 includes a display screen component for presenting images and a driving component for driving image display.
[0044] In some embodiments, the displayed video content may be from broadcast television content, or may be various broadcast signals received through wired or wireless communication protocols, or may be from various image content sent from a network server via a network communication protocol.
[0045] In some embodiments, the display 275 is used to present a user manipulation UI interface generated in the display device 200 and used to control the display device 200 .
[0046] In some embodiments, depending on the type of display 275, a driving component for driving the display is also included.
[0047] In some embodiments, the display 275 is a projection display and may further include a projection device and a projection screen.
[0048] In some embodiments, the communicator 220 is a component for communicating with an external device or an external server according to various communication protocol types. For example, the communicator may include at least one of a Wifi chip, a Bluetooth communication protocol chip, a wired Ethernet communication protocol chip, other network communication protocol chips or a near field communication protocol chip, and an infrared receiver.
[0049] In some embodiments, the display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the content providing device through the communicator 220 .
[0050] In some embodiments, the user interface 265 may be used to receive infrared control signals from the control device 100 (eg, an infrared remote controller, etc.).
[0051] In some embodiments, the detector 230 is a signal used by the display device 200 to collect external environment or interact with the outside.
[0052] In some embodiments, the detector 230 includes a light receiver, a sensor for collecting ambient light intensity, and can adaptively display parameter changes by collecting ambient light.
[0053] In some embodiments, the detector 230 may also include an image collector, such as a camera, a webcam, etc., which can be used to collect external environment scenes, as well as to collect user attributes or gestures for interacting with the user. It can adaptively change display parameters and recognize user gestures to achieve the function of interacting with the user.
[0054] In some embodiments, the detector 230 may also include a temperature sensor or the like, such as by sensing the ambient temperature.
[0055] In some embodiments, the display device 200 can adaptively adjust the display color temperature of the image. For example, when the temperature is high, the display device 200 can be adjusted to display a cooler color temperature of the image, or when the temperature is low, the display device 200 can be adjusted to display a warmer color temperature of the image.
[0056] In some embodiments, the detector 230 may also be a sound collector, such as a microphone, which can be used to receive the user's voice, for example, including a voice signal of a control instruction of the user to control the display device 200, or collect environmental sounds to identify the type of environmental scene, so that the display device 200 can adaptively adapt to the environmental noise.
[0057] In some embodiments, Figure 2 As shown, the input / output interface 255 is configured to perform data transmission between the controller 250 and other external devices or other controllers 250, such as receiving video signal data and audio signal data, or command instruction data from external devices.
[0058] In some embodiments, the external device interface 240 may include, but is not limited to, any one or more interfaces such as a high-definition multimedia interface HDMI interface, an analog or digital high-definition component input interface, a composite video input interface, a USB input interface, an RGB port, etc. It is also possible that the above multiple interfaces form a composite input / output interface.
[0059] In some embodiments, Figure 2As shown, the tuner-demodulator 210 is configured to receive broadcast television signals through wired or wireless reception, and can perform modulation and demodulation processing such as amplification, mixing and resonance, and demodulate audio and video signals from multiple wireless or wired broadcast television signals. The audio and video signals may include television audio and video signals carried in the television channel frequency selected by the user, as well as EPG data signals.
[0060] In some embodiments, the frequency demodulated by the tuner-demodulator 210 is controlled by the controller 250, which can send a control signal based on the user's selection to make the modem respond to the TV signal frequency selected by the user and modulate and demodulate the TV signal carried by the frequency.
[0061] In some embodiments, the broadcast television signal can be classified into terrestrial broadcast signals, cable broadcast signals, satellite broadcast signals, or Internet broadcast signals according to different broadcasting formats of the television signal. Or it can be classified into digital modulation signals, analog modulation signals, etc. according to different modulation types. Or it can be classified into digital signals, analog signals, etc. according to different signal types.
[0062] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box. In this way, the set-top box outputs the TV audio and video signals modulated and demodulated from the received broadcast TV signals to the main device, and the main device receives the audio and video signals through the first input / output interface.
[0063] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 can 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 275, the controller 250 can perform operations related to the object selected by the user command.
[0064] In some embodiments, 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.
[0065] like Figure 2As shown, the controller 250 includes at least one of a random access memory 251 (Random Access Memory, RAM), a read-only memory 252 (Read-Only Memory, ROM), a video processor 270, an audio processor 280, other processors 253 (for example: a graphics processor (Graphics Processing Unit, GPU), a central processing unit 254 (Central Processing Unit, CPU), a communication interface (Communication Interface), and a communication bus 256 (Bus). Among them, the communication bus connects various components.
[0066] In some embodiments, RAM 251 is used to store temporary data for the operating system or other running programs.
[0067] In some embodiments, ROM 252 is used to store various system startup instructions.
[0068] In some embodiments, ROM 252 is used to store a basic input / output system, called Basic Input Output System (BIOS), which is used to complete the power-on self-test of the system, the initialization of each functional module in the system, the basic input / output driver of the system, and the booting operating system.
[0069] In some embodiments, when a power-on signal is received, the display device 200 starts to power on, and the CPU runs the system startup instruction in the ROM 252, and copies the temporary data of the operating system stored in the memory to the RAM 251, so as to start or run the operating system. After the operating system is started, the CPU copies the temporary data of various application programs in the memory to the RAM 251, so as to start or run various application programs.
[0070] In some embodiments, the CPU processor 254 is used to execute operating system and application instructions stored in the memory, and to execute various applications, data and content according to various interactive instructions received from external input, so as to finally display and play various audio and video contents.
[0071] In some exemplary embodiments, the CPU processor 254 may include multiple processors. The multiple processors may include a main processor and one or more 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 the picture in the normal mode. The one or more sub-processors are used for an operation in the standby mode and the like.
[0072] In some embodiments, the graphics processor 253 is used to generate various graphic objects, such as icons, operation menus, and user input command display graphics, etc. It includes an operator that performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes. It also includes a renderer that renders various objects obtained based on the operator, and the rendered objects are used to be displayed on the display.
[0073] In some embodiments, the video processor 270 is configured to receive an external video signal and perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, etc. according to the standard codec protocol of the input signal, and obtain a signal that can be directly displayed or played on the display device 200.
[0074] In some embodiments, the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, etc.
[0075] 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.
[0076] The video decoding module is used to process the demultiplexed video signal, including decoding and scaling.
[0077] 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.
[0078] The frame rate conversion module is used to convert the input video frame rate, such as converting the 60Hz frame rate to 120Hz frame rate or 240Hz frame rate. The usual format is implemented by interpolation.
[0079] The display formatting module is used to receive the frame rate converted video output signal and change the signal to conform to the display format signal, such as outputting RGB data signal.
[0080] In some embodiments, the graphics processor 253 can be integrated with the video processor or can be separately configured. When integrated, it can perform processing of graphic signals output to the display. When separately configured, it can perform different functions respectively, such as a GPU+FRC (Frame Rate Conversion) architecture.
[0081] In some embodiments, the audio processor 280 is used to receive an external audio signal, and perform decompression and decoding, as well as noise reduction, digital-to-analog conversion, and amplification processing according to the standard codec protocol of the input signal to obtain a sound signal that can be played in a speaker.
[0082] In some embodiments, the video processor 270 may include one or more chips. The audio processor may also include one or more chips.
[0083] In some embodiments, the video processor 270 and the audio processor 280 may be separate chips, or may be integrated with the controller into one or more chips.
[0084] In some embodiments, the audio output receives the sound signal output by the audio processor 280 under the control of the controller 250, such as the speaker 286, and in addition to the speaker carried by the display device 200 itself, can be output to the external audio output terminal of the generating device of the external device, such as an external audio interface or a headphone interface, etc., and can also include a short-range communication module in the communication interface, for example, a Bluetooth module for Bluetooth speaker sound output.
[0085] The power supply 290, under the control of the controller 250, uses the power input from the external power supply to provide power supply support for the display device 200. The power supply 290 may include a built-in power supply circuit installed inside the display device 200, or may be an external power supply installed on the display device 200 to provide a power interface for an external power supply in the display device 200.
[0086] The user interface 265 is used to receive a user input signal, and then send the received user input signal to the controller 250. The user input signal may be a remote control signal received by an infrared receiver, and may receive various user control signals through a network communication module.
[0087] In some embodiments, the user inputs a user command through the control device 100 or the mobile terminal 300 , the user input interface is based on the user input, and the display device 200 responds to the user input through the controller 250 .
[0088] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 275, and the user input interface 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 receives the user input command by recognizing the sound or gesture through a sensor.
[0089] In some embodiments, the "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The commonly used form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and other visual interface elements.
[0090] The memory 260 includes storing various software modules for driving the display device 200. For example, the various software modules stored in the first memory include at least one of a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules.
[0091] 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.
[0092] 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 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. At the same time, the memory 260 is also used to store and receive external data and user data, images of various items in various user interfaces, and visual effects of focus objects.
[0093] Figure 3 Schematically shows a configuration block diagram of the control device 100 according to an exemplary embodiment. Figure 3 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface, a memory, and a power supply.
[0094] The control device 100 is configured to control the display device 200, and can 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 intermediary 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.
[0095] 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.
[0096] In some embodiments, Figure 2 As shown, the mobile terminal 300 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 function of the physical button of the control device 100 through various function keys or virtual buttons of the graphical user interface provided on the mobile terminal 300 or other smart electronic device.
[0097] The controller 110 includes a processor 112, a RAM 113, a ROM 114, a communication interface 130, and a communication bus. The controller 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.
[0098] The communication interface 130, under the control of the controller 110, 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 communication interface 130 may include at least one of other near field communication modules such as a WiFi chip 131, a Bluetooth module 132, and an NFC module 133.
[0099] The user input / output interface 140 includes at least one of other input interfaces such as a microphone 141, a touch panel 142, a sensor 143, and a button 144. For example, the user can input user commands through voice, touch, gesture, pressing, and other actions. 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.
[0100] 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.
[0101] In some embodiments, the control device 100 includes at least one of a communication interface 130 and an input / output interface 140. The control device 100 is configured with a communication interface 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.
[0102] The memory 190 is used to store various operating programs, data and applications for driving and controlling the control device 200 under the control of the controller. The memory 190 can store various control signal instructions input by the user.
[0103] 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, and can be a battery and related control circuits.
[0104] In some embodiments, the system may include a kernel, a command parser (shell), a file system, and an application. The kernel, shell, and file system together form the basic operating system structure, which allows users to manage files, run programs, and use the system. After power-on, the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, schedulers, signals, and inter-process communication (IPC). After the kernel starts, the shell and user applications are loaded. After startup, the application is compiled into machine code to form a process.
[0105] See also Figure 4 In some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and the kernel layer.
[0106] In some embodiments, at least one application is running in the application layer, and these applications may be window programs, system settings programs, clock programs, camera applications, etc. provided by the operating system; or they may be applications developed by third-party developers, such as hi-view programs, karaoke programs, magic mirror programs, etc. In specific implementation, the application packages in the application layer are not limited to the above examples, and may actually include other application packages, which are not limited in the embodiments of the present application.
[0107] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Applications can access system resources and obtain system services during execution through the API interface.
[0108] like Figure 4 As shown, in the embodiment of the present application, the application framework layer includes managers, content providers, etc., wherein the manager includes at least one of the following modules: an activity manager (ActivityManager) is used to interact with all activities running in the system; a location manager (Location Manager) is used to provide system services or applications with access to system location services; a package manager (Package Manager) is used to retrieve various information related to the application package currently installed on the device; a notification manager (NotificationManager) is used to control the display and clearing of notification messages; a window manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers, and desktop components on the user interface.
[0109] In some embodiments, the activity manager is used to manage the life cycle of each application and the usual navigation back function, such as controlling the exit of the application (including switching the user interface currently displayed in the display window to the system desktop), opening, and backing (including switching the user interface currently displayed in the display window to the parent user interface of the currently displayed user interface), etc.
[0110] In some embodiments, the window manager is used to manage all window programs, such as obtaining the size of the display screen, determining whether there is a status bar, locking the screen, capturing the screen, controlling display window changes (for example, shrinking the display window, shaking the display, distorting the display, etc.), etc.
[0111] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0112] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensor, pressure sensor, etc.), etc.
[0113] In some embodiments, the core layer further includes a power driver module for performing power management.
[0114] In some embodiments, Figure 5 The software programs and / or modules corresponding to the software architecture in Figure 3 or Figure 4 in the first memory or the second memory shown.
[0115] In some embodiments, taking the magic mirror application (photographing application) as an example, when the remote control receiving device receives the input operation of the remote control, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the input operation into a raw input event (including the value of the input operation, the timestamp of the input operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer, identifies the control corresponding to the input event according to the current position of the focus, and the input operation is a confirmation operation, and the control corresponding to the confirmation operation is the control of the magic mirror application icon. The magic mirror application calls the interface of the application framework layer to start the magic mirror application, and then starts the camera driver by calling the kernel layer to realize the capture of static images or videos through the camera.
[0116] In some embodiments, for a display device with a touch function, taking a split-screen operation as an example, the display device receives an input operation (such as a split-screen operation) performed by a user on the display screen, and the kernel layer can generate a corresponding input event according to the input operation, and report the event to the application framework layer. The activity manager of the application framework layer sets the window mode (such as a multi-window mode) and the window position and size corresponding to the input operation. The window management of the application framework layer draws the window according to the settings of the activity manager, and then sends the drawn window data to the display driver of the kernel layer, and the display driver displays the corresponding application interface in different display areas of the display screen.
[0117] In some embodiments, Figure 6 As shown in , the application layer includes at least one application that can display a corresponding icon control in the display, such as: a live TV application icon control, a video on demand application icon control, a media center application icon control, an application center icon control, a game application icon control, etc.
[0118] In some embodiments, the live TV application can provide live TV through different signal sources. For example, the live TV application can use input from cable TV, wireless broadcast, satellite service, or other types of live TV services to provide TV signals. And, the live TV application can display video of the live TV signal on the display device 200.
[0119] In some embodiments, the video on demand application can provide videos from different storage sources. Unlike the live TV application, the video on demand provides video display from certain storage sources. For example, the video on demand can come from the server side of the cloud storage, from the local hard disk storage containing the stored video programs.
[0120] In some embodiments, the media center application can provide an application for playing various multimedia contents. For example, the media center can be a service provided by a user to access various images or audios through the media center application, which is different from live TV or video on demand.
[0121] In some embodiments, 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 a smart TV. 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.
[0122] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is described in detail below with reference to the accompanying drawings and specific embodiments.
[0123] The following describes the application resource sharing method provided in the embodiment of the present application:
[0124] See also Figure 7 , Figure 7 A flow chart of application resource sharing according to some embodiments is exemplarily shown in FIG. Figure 7 The execution subject of the process shown may be an application content cache module included in the controller of the display device.
[0125] like Figure 7 As shown, the process may include the following steps:
[0126] Step 101: obtain a first application resource data packet carried in a bitstream, and parse the first application resource data packet to obtain a broadcast application identifier list, application quantity, and application resource file.
[0127] In this embodiment, the first application resource data packet is named only for the convenience of distinguishing it from the application resource data packets described later, and is not used to limit a certain application resource data packet.
[0128] In ATSC3.0 interactive applications, the broadcast application can send a resource request to the Web server to obtain the application resources required by the application from the application resource cache module storing the application resources. Based on this, as an embodiment, in response to the user switching channel operation, the first application resource data packet carried by the code stream is obtained.
[0129] The controller of the display device may further include an atsc3.0 core module. As an embodiment, the specific implementation method of obtaining the first application resource data packet carried by the code stream may be: the application cache management module may first register a callback function for the arrival of the application resource file to the atsc3.0 core module. In this way, when the first application resource data packet carried by the code stream arrives, the atsc3.0 core module will download the first application resource data packet and send the first application resource data packet to the application cache management module. In this way, the application cache management module obtains the first application resource data packet carried by the code stream.
[0130] The broadcast application identifiers in the broadcast application identifier list are identifiers used to distinguish between various applications.
[0131] The above application number refers to the number of broadcast applications, and the number of applications can be at least one. When the number of applications is one, the application resource files can be stored in the directory corresponding to the application according to the prior art, so that the application can start these resource files.
[0132] The above-mentioned application resource file includes at least one. When there is one application resource file, it means that each application in the first application resource data packet will start the application resource file. When the number of application resource files is more than one, it means that each application in the first application resource data packet will start at least one application resource file in the first application resource data packet.
[0133] Step 102, if the number of applications is greater than 1, a shared subdirectory for storing each application resource file and an exclusive subdirectory corresponding to each application in the broadcast application identifier list are established under a preset memory root directory based on the broadcast application identifier list, so that each application can share the application resource files under the shared subdirectory through the corresponding exclusive subdirectory.
[0134] In this embodiment, if the number of applications is greater than 1, it means that there are multiple broadcast applications that may access the same application resource file together.
[0135] For example, assuming that the broadcast application includes application A1, application A2 and application A3, and the application resource file includes application resource file B1 and application resource file B2, then application A1 needs to start the application resources in application resource B1 and the application resources in application resource file B2, application A2 needs to start the application resources in application resource B2, and application A3 needs to start the application resources in application resource B1. It can be seen that both application A1 and application A3 need to start application resource file B1, and both application A1 and application A2 need to start application resource file B2.
[0136] As an embodiment, an exclusive sub-directory corresponding to each application may be established according to the unique identifier of each application in the broadcast application identifier list.
[0137] In this embodiment, each application in the broadcast application identifier list corresponds to an exclusive subdirectory belonging to the application, but these exclusive subdirectories do not store any application resource files. Instead, each application resource file is stored in a shared subdirectory, so that each application can access the application resources under the application resource file in the shared subdirectory through the exclusive subdirectory.
[0138] The memory cache root directory is a pre-established directory specifically used to store interactive application resources.
[0139] As an embodiment, the above-mentioned implementation method of establishing a shared subdirectory for storing each application resource file under the preset memory root directory and a dedicated subdirectory corresponding to each application in the broadcast application identifier list may be:
[0140] A shared subdirectory and a dedicated subdirectory corresponding to each application are established under the preset memory root directory, and a subordinate subdirectory corresponding to each application resource file is created under the shared subdirectory, and each application resource file is stored in the corresponding subordinate subdirectory.
[0141] In this embodiment, there are multiple subordinate subdirectories under a shared subdirectory, and for each subordinate subdirectory, the application resource file corresponding to the subordinate subdirectory is stored in the subordinate subdirectory. It can be seen that the number of subordinate subdirectories and application resource files is the same, and the subordinate subdirectories and application resource files are in a one-to-one correspondence.
[0142] For example, the shared subdirectory is C, and the shared subdirectory has subdirectories C1 and C2. Then, the application resource file A1 is stored in C1, and the application resource file A2 is stored in C2. The path of the application resource file A1 is "C / C1". The path of the application resource file A2 is "C / C2". Therefore, each application resource file corresponds to a unique path for storing the application resource file.
[0143] It can be seen that in the technical solution provided in the embodiment of the present application, each application resource file corresponds to a path, so that the broadcast application can easily obtain the required application resources from the shared subdirectory through its own exclusive subdirectory.
[0144] As an embodiment, the specific implementation method of creating the subordinate subdirectories corresponding to the application resource files under the above-mentioned shared subdirectories may include: creating the subordinate subdirectories corresponding to the application resource files under the shared subdirectories according to the relative URI attributes of the application resource files. In this way, the unique subordinate subdirectories corresponding to each application resource file can be quickly and automatically created.
[0145] It should be clarified that there are many specific implementation methods for the above-mentioned applications to share the application resource files under the above-mentioned shared subdirectory through the corresponding exclusive subdirectories. The embodiments of the present application do not limit this. Here, the present application provides an implementation method, specifically: all the subordinate subdirectories under the above-mentioned shared subdirectory and the application resource files under each subordinate subdirectory are soft-linked to each exclusive subdirectory.
[0146] The soft link in this embodiment is also called a symbolic link. As an embodiment, the Linux system command ln –s source dest can be used to establish a soft link. This command can link the source directory or file to the destdirect directory, so that the source content can be accessed in the dest directory. The effect is equivalent to copying, but it does not take up any space. The effect is similar to a shortcut under Windows.
[0147] For example, Figure 8As shown, the broadcast application identifier list contextIDlist of the application resource data packet Package1 includes the application identifiers BaseURIA and BaseURIB. It can be seen that the number of applications in the application data resource package is greater than 1, that is, the application resource files in Package1 will be shared by the applications corresponding to BaseURIA and BaseURIB. Based on this, a shared directory AB of Package1 is created, and exclusive subdirectories corresponding to each application are created, which are recorded as BaseURIA and BaseURIB. Then, according to the relative URI attributes corresponding to each application resource file in Package1, assuming that there is only one application resource file in Package1, and the relative URI attribute of the application resource file is "10 / 2 / main.html (the name of the application resource file), a subordinate subdirectory is created under the shared directory AB, specifically: / 10 / 2 / directory, and main.html is saved in the subordinate subdirectory. Finally, all files under the shared directory AB and their corresponding subordinate subdirectories are soft-linked to BaseURIA and BaseURIB. In this way, for the application BaseURIA, the path of its entry page Entry Page in the file system is "BaseURI For application BaseURIB, the path of its entry page EntryPage in the file system is "BaseURI B / 10 / 2 / main.html".
[0148] It can be seen that in Figure 7 In the technical solution provided by the process shown, for the case where multiple applications share the same application resource, that is, the number of applications is greater than 1, a shared subdirectory for storing each application resource file is established under the preset memory root directory according to the broadcast application identifier list, and a dedicated subdirectory corresponding to each application in the broadcast application identifier list, so that each application shares the application resource file under the above-mentioned shared subdirectory according to the corresponding dedicated subdirectory. In this way, there is no need to store the application resources to be started by the application in the dedicated subdirectory corresponding to each application, but all application resource files are stored in the shared subdirectory, so that each application can access the application resource file under the shared subdirectory shared with the dedicated subdirectory through its own dedicated subdirectory. At the same time, there is no situation where each application needs to store the application resource corresponding to the application. In this way, after the above-mentioned application resource file is stored according to the technical solution provided by the embodiment of the application, the application only needs to quickly start the application resource to be started by the application resource file under the shared subdirectory through the corresponding dedicated subdirectory. Therefore, the application of the technical solution provided by the present application can improve the startup speed of the application on the basis of saving cache space resources.
[0149] So far, Figure 7 All the processes in have been completed.
[0150] exist Figure 7 After all the processes in the above are completed, as an embodiment, when the first application in the first application resource data packet is deleted, the following steps may also be included:
[0151] If it is determined that the application resource file is not shared by the remaining applications in the first application resource data package, the dedicated subdirectory and the shared subdirectory are deleted.
[0152] In this embodiment, the first application is merely a name, and this embodiment does not specifically limit it. The first application may be any application in the first application resource data package.
[0153] The first application may be the last application deleted from the first application resource data packet, or may not be the last application deleted from the first application resource data packet. In addition, the remaining applications refer to the applications in the first application resource data packet except the first application.
[0154] When the first application is deleted and the remaining applications are not sharing the application resource file, it means that all applications in the application resource data package are deleted. Here, in order to save cache space resources, both the shared subdirectory and the exclusive subdirectory are deleted.
[0155] It should be clear that since application resource files are stored in a shared subdirectory, deleting the shared subdirectory means deleting all the shared subdirectories and directories or files under the shared subdirectory, such as lower-level subdirectories and application resource files under each lower-level subdirectory.
[0156] In addition, if the exclusive subdirectories corresponding to the remaining applications are also deleted when the remaining applications are deleted, under this premise, the above-mentioned deletion of the exclusive subdirectory refers to deleting the exclusive subdirectory of the first application; if the exclusive subdirectories corresponding to the remaining applications are not deleted when the remaining applications are deleted, under this premise, the above-mentioned deletion of the exclusive subdirectory refers to deleting the exclusive subdirectories corresponding to each application in the first application resource data package.
[0157] It can be seen that in the technical solution provided in the embodiment of the present application, when the first application in the above-mentioned first application resource data package is deleted and the application resource file is not shared by the remaining applications in the first application resource data package, deleting the exclusive subdirectory and the shared subdirectory can further save cache space resources.
[0158] exist Figure 7After all the processes in the above are completed, as another embodiment, after each application shares the application resource files under the above shared subdirectory through the corresponding dedicated subdirectory, the following steps may also be included:
[0159] When it is determined that the second application resource data packet carried by the code stream is the first application resource data packet, if the first application resource data packet contains a deleted second application, the previously deleted exclusive subdirectory corresponding to the second application is restored so that the second application can share the application resource files under the shared subdirectory based on the corresponding exclusive subdirectory.
[0160] In this embodiment, the second application resource data packet is named only for the convenience of description and does not specifically refer to a fixed application resource data packet.
[0161] The second application resource data packet and the first application resource data packet may be the same resource data packet or may not be the same resource data packet. When they are the same resource data packet, as an embodiment, the application deleted by the first application resource data packet can be determined by comparing the first application resource data packet with the second application resource data packet, for example, by comparing the broadcast application identifier list in the first application resource data packet with the broadcast application identifier list in the second application resource data packet.
[0162] When the second application is deleted, the exclusive subdirectory corresponding to the second application is also deleted. Based on this, in this embodiment, it is necessary to restore the previously deleted exclusive subdirectory corresponding to the second application.
[0163] It should be clear that if the deleted second application does not exist in the first application resource data package, each application in the second application resource data package can access the application resource files under the shared subdirectory in the first application resource data package based on the exclusive subdirectory corresponding to each application in the first application resource data package.
[0164] It can be seen that in the technical solution provided in the embodiment of the present application, when it is determined that the second application resource data packet carried by the code stream is the same resource data packet as the first application resource data packet, if the first application resource data packet contains a deleted second application, there is no need to re-establish paths for each application and application resource file in the second application resource data packet, but only restore the deleted exclusive subdirectory corresponding to the above-mentioned second application. In this way, each application in the second application resource data packet can quickly start the application resource file to be started by each application, thereby further improving the startup speed of the application.
[0165] See also Fig. 9 , Fig. 9 A flow chart of a caching method according to some embodiments is exemplarily shown in FIG. Fig. 9The execution subject of the process shown may be the above-mentioned display device.
[0166] like Fig. 9 As shown, the process may include the following steps:
[0167] Step 201: obtain a first application resource data packet carried in a code stream, and parse the first application resource data packet to obtain a broadcast application identifier list, application quantity, and application resource file.
[0168] Step 202: If the number of applications is greater than 1, a shared subdirectory and an exclusive subdirectory corresponding to each application are established under the preset memory root directory based on the broadcast application identifier list, and a subordinate subdirectory corresponding to each application resource file is created under the shared subdirectory, and each application resource file is stored in its corresponding subordinate subdirectory. All subordinate subdirectories under the above-mentioned shared subdirectory and the application resource files under each subordinate subdirectory are soft-linked to each exclusive subdirectory.
[0169] Step 203: When the first application in the first application resource data package is deleted, and if it is determined that the application resource file is not shared by the remaining applications in the first application resource data package, delete the exclusive subdirectory and the shared subdirectory.
[0170] Step 204, when it is determined that the second application resource data packet carried by the code stream is the first application resource data packet, if the first application resource data packet contains a deleted second application, the previously deleted exclusive subdirectory corresponding to the second application is restored so that the second application shares the application resource files under the shared subdirectory based on the corresponding exclusive subdirectory.
[0171] It can be seen that in Fig. 9In the technical solution provided by the illustrated process, each application does not need to store the application resources to be started by the application in its own dedicated subdirectory. Instead, all application resource files are stored in the subordinate subdirectories corresponding to each application resource file in the shared subdirectory, so that each application can access the application resource files in the shared subdirectory that share a soft link with the dedicated subdirectory through its own dedicated subdirectory. It can be seen that there is no situation where each application needs to store the application resources corresponding to the application. In this way, after the above-mentioned application resource files are stored according to the technical solution provided by the embodiment of the application, the application only needs to quickly start the application resources to be started by the application resource files in the shared subdirectory of the soft link through the corresponding dedicated subdirectory. At the same time, when all applications in the first application resource data package are deleted, deleting the exclusive subdirectory and the shared subdirectory can further save cache space resources. At the same time, when obtaining an application resource data package that is the same as the previous application resource data package, there is no need to re-establish paths for each application and application resource file in the new application resource data package. Instead, only the deleted exclusive subdirectory corresponding to the previously deleted application is restored. In this way, each application in the new application resource data package can quickly start the application resource file to be started by each application, thereby further improving the startup speed of the application.
[0172] So far, Fig. 9 All the processes in have been completed.
[0173] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
[0174] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: include: monitor; A controller coupled to the display, configured to: Acquire a first application resource data packet carried by a bitstream, parse the first application resource data packet, obtain a broadcast application identifier list, the number of applications, and an application resource file, and if the number of applications is greater than 1, establish a shared subdirectory for storing each application resource file and a dedicated subdirectory corresponding to each application in the broadcast application identifier list under a preset memory root directory according to the broadcast application identifier list, create a subordinate subdirectory corresponding to each application resource file under the shared subdirectory according to the relative URI attribute of each application resource file, and store each application resource file in its corresponding subordinate subdirectory; Use the Linux system command ln –s source dest to create a soft link, and soft link all the subordinate subdirectories under the shared subdirectory and the application resource files under each subordinate subdirectory to each dedicated subdirectory, so that each application can share the application resource files under the shared subdirectory through the corresponding dedicated subdirectory; After the applications share the application resource files under the shared subdirectory through the corresponding dedicated subdirectories, the controller is further configured to execute: When it is determined that the second application resource data packet carried by the code stream is the first application resource data packet, if the first application resource data packet contains a deleted second application, the previously deleted exclusive subdirectory corresponding to the second application is restored so that the second application can share the application resource files under the shared subdirectory based on the corresponding exclusive subdirectory.
2. The display device according to claim 1, characterized in that When the first application in the first application resource data packet is deleted, the controller is further configured to execute: If it is determined that the application resource file is not shared by the remaining applications in the first application resource data package, the dedicated subdirectory and the shared subdirectory are deleted.
3. An application resource sharing method, characterized in that: include: Acquire a first application resource data packet carried by the bitstream, and parse the first application resource data packet to obtain a broadcast application identifier list, application quantity, and application resource file; If the number of applications is greater than 1, a shared subdirectory for storing each application resource file and an exclusive subdirectory corresponding to each application in the broadcast application identifier list are established under a preset memory root directory according to the broadcast application identifier list, and a subordinate subdirectory corresponding to each application resource file is created under the shared subdirectory according to the relative URI attribute of each application resource file, and each application resource file is stored in its corresponding subordinate subdirectory; Use the Linux system command ln –s source dest to create a soft link, and soft link all the subordinate subdirectories under the shared subdirectory and the application resource files under each subordinate subdirectory to each dedicated subdirectory, so that each application can share the application resource files under the shared subdirectory through the corresponding dedicated subdirectory; After the applications share the application resource files under the shared subdirectory through the corresponding exclusive subdirectory, when it is determined that the second application resource data packet carried by the code stream is the first application resource data packet, if the first application resource data packet contains a deleted second application, the previously deleted exclusive subdirectory corresponding to the second application is restored so that the second application shares the application resource files under the shared subdirectory based on the corresponding exclusive subdirectory.
4. The method according to claim 3, characterized in that When the first application in the first application resource data packet is deleted, the method further includes: If it is determined that the application resource file is not shared by the remaining applications in the first application resource data package, the dedicated subdirectory and the shared subdirectory are deleted.
