Application software installation method, terminal and display device

By grouping and compressing files to be installed, several compressed packages are generated, downloaded and verified in parallel, which solves the time-consuming problem of upgrading and installing application software on display devices and improves installation efficiency.

CN112286540BActive Publication Date: 2024-08-23VIDAA (NETHERLANDS) INT HLDG BV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011188263.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-30
Publication Date
2024-08-23
Estimated Expiration
2040-10-30

AI Technical Summary

Technical Problem

In the existing technology, the display device needs to download a complete installation package when upgrading and installing application software, resulting in problems such as long download time and slow process.

Method used

By grouping and compressing the files to be installed, several compressed packages are generated, and the compressed package and its verification information are packaged into an installation package and uploaded to the server. The server decompresses it into an independent download link. The display device can download and verify the compressed package in parallel. , avoid downloading the complete installation package directly.

Benefits of technology

It reduces application software installation time, improves installation efficiency, and avoids long waits caused by downloading large installation packages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112286540B
    Figure CN112286540B
Patent Text Reader

Abstract

The present application provides an application software installation method, terminal and display device. On the terminal, several files to be installed corresponding to the application software can be generated; then the files to be installed are grouped and the file groups are compressed, and several compressed packages are generated after the file groups are compressed; then the verification information corresponding to each compressed package is packaged together with the compressed package to generate an installation package for the application software; finally, the installation is uploaded to the server. After the server receives the installation package, it can decompress it and restore it into several compressed packages, and generate an independent download link for each compressed package and its corresponding verification information. The display device can download several compressed packages and verification information corresponding to the application software from the server in parallel, and can verify and install the compressed packages in parallel to complete the installation of the application software. The solution of the present application can avoid the situation where the display device directly downloads the installation package, thereby avoiding the problem of time-consuming installation of the application software caused by downloading the complete installation package.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an application software installation method, a terminal and a display device. Background Art

[0002] Application software is a collection of various programming languages ​​that users can use and application programs compiled in various programming languages, which are divided into application software packages and user programs. Application software provides various functions to meet various user needs. At the same time, as user needs increase, application software is constantly updated, and the functions it provides also need to be more and more abundant. This requires the display device to regularly install the installation package corresponding to the local application software to upgrade the application software.

[0003] At present, when a display device upgrades and installs a single application software, it is usually necessary to first download the entire installation package corresponding to the application software, and then decompress and install it. The reason why the display device must download the completed installation package is that the packaging method of the installation package of the application software on the market is to package all the installation files to be packaged into a compressed package. In this way, the display device must decompress all the installation files after downloading the complete compressed package. If you do not download and install in this way, the installation package will usually fail to decompress; and if you use this method to download and install, if there are many installation files and the compressed package is large, it will obviously take a long time to download and install and the process will be slow. Summary of the invention

[0004] The present application provides an application software installation method, a terminal and a display device to solve the problem that it takes a long time to upgrade and install application software on a display device.

[0005] In a first aspect, the present application provides a terminal, including:

[0006] A controller that performs the following steps:

[0007] Grouping all files to be installed of the application software to generate several file groups;

[0008] Compress each file group separately to obtain several compressed packages;

[0009] Packing all compressed packages and verification information corresponding to each compressed package together to generate an installation package corresponding to the application software;

[0010] The installation package is uploaded to a server; the server is used to decompress the installation package into a plurality of compressed packages, and generate an independent download link for each compressed package and its corresponding verification information.

[0011] In some embodiments, the controller in the terminal is further configured to perform the following steps:

[0012] According to the preset storage capacity of the file group and the size of each file to be installed, each file to be installed is grouped to form a plurality of file groups; the preset storage capacity is used to represent the fixed storage space size of the storage files set for the file group;

[0013] In the case that there is no ungrouped file among all the files to be installed, all the file groups are compressed respectively; the ungrouped file is used to represent the ungrouped files to be installed.

[0014] In some embodiments, the controller in the terminal is further configured to perform the following steps:

[0015] In the case that there are ungrouped files among all the files to be installed, detecting whether the file size of the ungrouped files is greater than or equal to the preset storage capacity;

[0016] In the case where the file size of the ungrouped file is smaller than the preset storage capacity, detecting whether there is a file group with a remaining storage space greater than or equal to the file size;

[0017] In the case that there is a file group whose remaining storage space is greater than or equal to the file size, the ungrouped file is allocated to the file group.

[0018] In some embodiments, the controller in the terminal is further configured to perform the following steps:

[0019] In the case that there is no file group whose remaining storage space is greater than or equal to the file size, the ungrouped files are individually allocated to a new file group.

[0020] In some embodiments, the controller in the terminal is further configured to perform the following steps:

[0021] Obtaining a storage path of the file to be installed; the storage path is a location where the file to be installed is saved step by step in the terminal;

[0022] The files to be installed and their storage paths are saved together in a file group.

[0023] In some embodiments, the controller in the terminal is further configured to perform the following steps:

[0024] Sign each compressed package and obtain verification information corresponding to each compressed package.

[0025] In a second aspect, an embodiment of the present application further provides a display device, including:

[0026] A controller that performs the following steps:

[0027] A controller that performs the following steps:

[0028] Downloading from the server in parallel the compressed packages corresponding to the application software and the verification information corresponding to each compressed package; the server is used to decompress the installation package corresponding to the application software generated by the terminal into a plurality of compressed packages, and generate an independent download link for each compressed package and its corresponding verification information;

[0029] Use the verification information to verify each compressed package respectively;

[0030] All verified compressed packages are installed in parallel; the compressed packages are generated after compressing the file group, and the file group contains a number of files to be installed.

[0031] In some embodiments, the controller in the display device is further configured to perform the following steps:

[0032] Verify whether the signature corresponding to the compressed package has been changed;

[0033] If the signature is changed, it is determined that the compressed package fails the verification;

[0034] If the signature has not been altered, it is determined that the compressed package passes the verification.

[0035] In some embodiments, the controller in the display device is further configured to perform the following steps:

[0036] Detect whether the compressed package is successfully installed;

[0037] When the compressed package is successfully installed, the compressed package is deleted.

[0038] In some embodiments, the controller in the display device is further configured to perform the following steps:

[0039] Decompress the compressed package to obtain a file group and a storage path corresponding to each file to be installed in the file group;

[0040] All files to be installed in the file group are saved to the display device according to their storage paths.

[0041] In a third aspect, the present application provides an application software installation method, which is applied to a terminal, comprising:

[0042] Grouping all files to be installed of the application software to generate several file groups;

[0043] Compress each file group separately to obtain several compressed packages;

[0044] Packing all compressed packages and verification information corresponding to each compressed package together to generate an installation package corresponding to the application software;

[0045] The installation package is uploaded to a server; the server is used to decompress the installation package into a plurality of compressed packages, and generate an independent download link for each compressed package and its corresponding verification information.

[0046] In a fourth aspect, the present application also provides another application software installation method, which is applied to a display device, comprising:

[0047] Downloading from the server in parallel the compressed packages corresponding to the application software and the verification information corresponding to each compressed package; the server is used to decompress the installation package corresponding to the application software generated by the terminal into a plurality of compressed packages, and generate an independent download link for each compressed package and its corresponding verification information;

[0048] Use the verification information to verify each compressed package respectively;

[0049] All verified compressed packages are installed in parallel; the compressed packages are generated after compressing the file group, and the file group contains a number of files to be installed.

[0050] It can be seen from the above content that the technical solution of the present application provides an application software installation method, terminal and display device. The developer operates the terminal to perform upgrade configuration and program design of the application software, and generates several files to be installed corresponding to the application software; then the files to be installed are grouped and the file groups are compressed on the terminal, and several compressed packages are generated after the file groups are compressed; then the verification information corresponding to each compressed package is packaged together with the compressed package to generate an installation package for the application software; finally, the installation is uploaded to the server. After the server receives the installation package, it can decompress it and restore it into several compressed packages, and generate an independent download link for each compressed package and its corresponding verification information. The display device can download several compressed packages and verification information corresponding to the application software from the server in parallel, and can verify and install the compressed packages in parallel to complete the installation of the application software. The solution of the present application can avoid the situation where the display device directly downloads the installation package, thereby avoiding the problem of time-consuming installation of the application software caused by downloading the complete installation package. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] 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.

[0052] Figure 1 Schematic diagram of an operation scenario between a display device and a control device according to some embodiments is exemplarily shown in FIG.

[0053] Figure 2exemplarily shows a hardware configuration block diagram of a display device 200 according to some embodiments;

[0054] Figure 3 exemplarily shows a hardware configuration block diagram of a control device 100 according to some embodiments;

[0055] Figure 4 exemplarily shows a schematic diagram of software configuration in a display device 200 according to some embodiments;

[0056] Figure 5 exemplarily shows a schematic diagram of an icon control interface display of an application in a display device 200 according to some embodiments;

[0057] Figure 6 A schematic diagram of interaction between a display device 200, a server 400 and a terminal 500 shown in an embodiment of the present application;

[0058] Figure 7 This is a schematic diagram of a terminal 500 performing grouping processing according to an embodiment of the present application;

[0059] Figure 8 A schematic diagram of a storage path shown in an embodiment of the present application;

[0060] Fig. 9 A flowchart of an application software installation method shown in an embodiment of the present application;

[0061] Fig.10 A flow chart of a method for obtaining a compressed package shown in an embodiment of the present application;

[0062] Fig.11 A flow chart of another method for obtaining a compressed package shown in an embodiment of the present application;

[0063] Fig.12 A flowchart of another application software installation method shown in an embodiment of the present application. DETAILED DESCRIPTION

[0064] 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.

[0065] 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.

[0066] 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.

[0067] 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.

[0068] 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.

[0069] 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.

[0070] 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.

[0071] 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.

[0072] Figure 1FIG. 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 in FIG. 1 , a user can operate the display device 200 through the mobile terminal 300 and the control apparatus 100 .

[0073] 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.

[0074] 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.

[0075] 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.

[0076] like Figure 1 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.

[0077] 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.

[0078] 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.

[0079] Figure 2 Schematically shows a hardware configuration block diagram of a display device 200 according to an exemplary embodiment.

[0080] 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.

[0081] 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.

[0082] In some embodiments, the display 275 includes a display screen component for presenting images and a driving component for driving image display.

[0083] 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.

[0084] 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 .

[0085] In some embodiments, depending on the type of display 275, a driving component for driving the display is also included.

[0086] In some embodiments, the display 275 is a projection display, and may also include a projection device and a projection screen.

[0087] 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 220 may include at least one of a Wifi module 221, a Bluetooth module 222, a wired Ethernet module 223, and other network communication protocol modules or near field communication protocol modules, and an infrared receiver.

[0088] In some embodiments, the display device 200 may establish control signal and data signal transmission and reception with the external control apparatus 100 or the content providing apparatus through the communicator 220 .

[0089] 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.).

[0090] In some embodiments, the detector 230 is a signal used by the display device 200 to collect external environment or interact with the outside.

[0091] 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.

[0092] In some embodiments, the detector 230 may also include an image collector 232, such as a camera, a camera, 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.

[0093] In some embodiments, the detector 230 may also include a temperature sensor or the like, such as by sensing the ambient temperature.

[0094] 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.

[0095] In some embodiments, the detector 230 may further include a sound collector 231, such as a microphone, which may be used to receive the user's voice, for example, a voice signal of a control instruction of the user controlling the display device 200, or collect environmental sounds for identifying the type of environmental scene, so that the display device 200 can adaptively adapt to the environmental noise.

[0096] In some embodiments, Figure 2As 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.

[0097] 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.

[0098] In some embodiments, Figure 2 As shown, the tuner-demodulator 210 is configured to receive broadcast television signals by 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.

[0099] 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.

[0100] 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.

[0101] 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.

[0102] 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.

[0103] 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.

[0104] like Figure 2 As 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 graphics processor 253 (Graphics Processing Unit, GPU), a central processing unit 254 (Central Processing Unit, CPU), an input / output interface 255 and a communication bus 256 (Bus). The communication bus connects various components.

[0105] In some embodiments, RAM 251 is used to store temporary data for the operating system or other running programs.

[0106] In some embodiments, ROM 252 is used to store various system startup instructions.

[0107] 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.

[0108] 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, and then starts or runs various application programs.

[0109] In some embodiments, the 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.

[0110] In some exemplary embodiments, the 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.

[0111] 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.

[0112] 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.

[0113] 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.

[0114] 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.

[0115] The video decoding module is used to process the demultiplexed video signal, including decoding and scaling.

[0116] 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.

[0117] 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.

[0118] 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.

[0119] 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.

[0120] 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.

[0121] In some embodiments, the video processor 270 may include one or more chips. The audio processor may also include one or more chips.

[0122] 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.

[0123] 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.

[0124] 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.

[0125] 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.

[0126] 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 .

[0127] 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.

[0128] 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.

[0129] 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.

[0130] 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.

[0131] 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.

[0132] Figure 3 Schematically shows a block diagram of a configuration 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 140 , a memory 190 , and a power supply 180 .

[0133] 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.

[0134] 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.

[0135] In some embodiments, Figure 1 As shown, the mobile terminal 300 or other intelligent 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 300 or other intelligent electronic device.

[0136] The controller 110 includes a processor 112, a RAM 113, and a ROM 114. 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.

[0137] 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.

[0138] 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.

[0139] 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.

[0140] 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.

[0141] 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.

[0142] 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.

[0143] 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.

[0144] 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.

[0145] 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.

[0146] 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. Through the API interface, applications can access system resources and obtain system services during execution.

[0147] 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.

[0148] 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.

[0149] In some embodiments, the window manager is used to manage all window programs, such as obtaining the display size, 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.

[0150] 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.

[0151] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4 As 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.

[0152] In some embodiments, the core layer further includes a power driver module for performing power management.

[0153] In some embodiments, Figure 4 The software programs and / or modules corresponding to the software architecture in Figure 2 or Figure 3 in the first memory or the second memory shown.

[0154] 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.

[0155] 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.

[0156] In some embodiments, Figure 5As 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.

[0157] 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.

[0158] 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.

[0159] 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.

[0160] 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.

[0161] Application software is a collection of various programming languages ​​that users can use and application programs compiled in various programming languages, which are divided into application software packages and user programs. Application software provides various functions to meet various needs of users. At the same time, as user needs increase day by day, application software is constantly updated with versions, and the functions it provides also need to be more and more abundant. This requires the display device 200 to regularly install the installation package corresponding to the local application software to upgrade the application software.

[0162] At present, when the display device 200 is upgrading and installing a single application software, it is usually necessary to first download the entire installation package corresponding to the application software, and then decompress and install it. The reason why the display device 200 must download the completed installation package is that the packaging method of the installation package of the application software on the market is to package all the installation files to be packaged into a compressed package, so that the display device 200 must decompress all the installation files after downloading the complete compressed package. If you do not download and install in this way, the installation package will usually fail to decompress; and if you use this method to download and install, if there are many installation files and the compressed package is large, it will obviously take a long time to download and install and the process will be slow.

[0163] Based on the above content, the embodiment of the present application provides an application software installation method, terminal and display device. The terminal 500 can perform grouping operations on the files to be installed and compression operations on the file group, and then package the several compressed packages generated after the file group is compressed and the corresponding verification information to generate an installation package for the application software; finally, the installation is uploaded to the server 400. After receiving the installation package, the server 400 can decompress it and restore it into several compressed packages, and generate an independent download link for each compressed package and its corresponding verification information. The display device 200 can download several compressed packages and verification information corresponding to the application software from the server 400 in parallel through each independent download link, and can verify and install the compressed packages in parallel, thereby avoiding the display device 200 from directly downloading the installation package.

[0164] In the embodiment of the present application, the display device 200 refers to a smart device such as a smart phone, a smart TV, a personal computer, a tablet computer, etc., which can install various application software. The terminal 500 refers to a development platform such as a computer that can provide an application software development environment for developers.

[0165] Figure 6 FIG. 5 is a schematic diagram of interaction between a display device 200, a server 400 and a terminal 500 shown in an embodiment of the present application. Figure 6 As shown, the display device 200 and the terminal 500 in the embodiment of the present application upload or download the application software installation package or compressed package through the server 400. The server 400 is mainly used to store the installation package of the application software or store the compressed package of the application software.

[0166] Furthermore, the display device 200 and the terminal 500 in the embodiment of the present application each have a controller for executing their own processing.

[0167] Typically, developers need to design different programs for the functions developed by a certain application software in the terminal 500, and then generate several corresponding configuration files. These configuration files need to be installed on the display device 200 so that the display device 200 can use this application software. Therefore, these configuration files can also be called files to be installed relative to the display device 200.

[0168] In the current packaging method of application software installation packages, all files to be installed corresponding to the application software are usually packaged into one installation package on the terminal 500. This method requires the display device 200 to download the entire installation package together. If the installation package is too large, the download time will be very long. To avoid this situation, in the embodiment of the present application, the controller of the terminal 500 can group all the files to be installed of the application software.

[0169] After the files to be installed are grouped, several file groups may be generated. Each file group includes several files to be installed. In the embodiment of the present application, the storage space of each file group is fixed, but the sizes of the files to be installed are different. Therefore, the number of files to be installed contained in each file group is different, and not all the storage space of each file group can be used by the files to be installed. For example, the files to be installed of an application software include file a to be installed with a size of 2M, file b to be installed with a size of 2.5M, file c to be installed with a size of 1M, file d to be installed with a size of 3M and file e to be installed with a size of 1M; when grouping, if the storage space of each file group is specified to be 5M, then all the files to be installed can be composed of two file groups, among which file group A can save a 2M file a to be installed and a 2.5M file b to be installed, and file group B can save a 1M file c to be installed, a 3M file d to be installed and a 1M file e to be installed; if there is no file to be installed with a size of 0.5M among all the files to be installed, then file group A will have 0.5M of storage space remaining.

[0170] In the terminal 500, the controller also needs to compress each file group separately to obtain a number of compressed packages; for example, if three file groups are generated after grouping, then three corresponding compressed packages can be obtained.

[0171] The application software installation package generated by the terminal 500 is not directly sent to the display device 200, but is first uploaded to the server 400. During the upload process, in order to prevent other people or software from tampering with the installation package, the compressed packages of different file groups need to be encrypted to ensure the security of the compressed packages. After the encryption process, verification information can be generated, and the controller in the terminal 500 then packages all the compressed packages and the verification information corresponding to each compressed package together to generate an installation package corresponding to the application software.

[0172] There are many ways to encrypt a compressed package. In some embodiments, each compressed package can be signed by signing, and the generated signature information is used as verification information. When verifying, the display device 200 can verify whether the signature information has been changed. If it has not been changed, it means that the compressed package has not been tampered with and is safe.

[0173] Finally, the controller uploads the packaged installation package to the server 400 .

[0174] In the embodiment of the present application, in order to enable the display device 200 to quickly download the files to be installed corresponding to the application software, in the server 400, it is necessary to decompress the installation package uploaded by the terminal into several compressed packages. The decompressed compressed packages are the same as the compressed packages generated in the terminal 500, and an independent download link must be generated for each compressed package and its corresponding verification information.

[0175] For example, if there are three compressed packages corresponding to the application software, three independent compressed package download links and three verification information download links will be generated. Since the download links of the compressed package and the verification information are independent of each other and have no dependency, the display device 200 can process them in parallel when downloading, without having to download the complete installation package according to the current download method.

[0176] It can be seen that the above-mentioned terminal 500 provided in the embodiment of the present application can group all the files to be installed of the application software and generate multiple compressed packages, which enables the display device 200 to realize parallel downloading and parallel verification and installation of compressed packages, thereby reducing the time for the display device 200 to install the application software and improving the installation efficiency.

[0177] In some embodiments, the specific method for the controller to perform grouping processing may include: grouping each file to be installed to form a number of file groups according to the preset storage capacity of the file group and the size of each file to be installed; wherein the preset storage capacity is used to represent the fixed storage space size for storing files set by the developer for the file group during the application software development stage. For example, if the preset storage capacity is 5M, then the total size of the files to be installed that can be stored in the file group is 5M.

[0178] After the grouping is completed, if there is no ungrouped file among all the files to be installed, all the file groups are compressed respectively; wherein the ungrouped file is used to represent the ungrouped files to be installed.

[0179] Figure 7 FIG. 5 is a schematic diagram of a terminal 500 performing group processing according to an embodiment of the present application. Figure 7 As shown, in an embodiment of the present application, when grouping, a file group can be first established. At this time, all files to be installed are ungrouped files. In this case, all files to be installed are traversed to detect whether the file size of the current ungrouped file is greater than or equal to the preset storage capacity; if the file size of the ungrouped file is greater than the preset storage capacity, it means that the existing file group cannot save the ungrouped file, and the ungrouped file needs to be used as a separate file group; or, if the file size of the ungrouped file is equal to the preset storage capacity, it means that the existing file group can only save this ungrouped file, and this can also be regarded as using the ungrouped file as a separate file group.

[0180] If the file size of the ungrouped file is smaller than the preset storage capacity, it means that the existing file group can store the ungrouped file. In this case, the ungrouped file can be stored in this file group.

[0181] After multiple file groups to be installed are formed, there may be multiple existing file groups, and some file groups may have remaining storage space. At this time, when grouping again, it is possible to continue to detect whether the file size of the current ungrouped file is greater than or equal to the preset storage capacity; if the file size of the ungrouped file is less than the preset storage capacity, it is necessary to detect whether there is a file group with remaining storage space greater than or equal to the file size in all existing file groups; if so, the ungrouped file can be allocated to this file group; if not, the ungrouped file needs to be allocated separately to a new file group.

[0182] In the embodiments of the present application, the above-mentioned Figure 7 The grouping process shown is described in detail:

[0183] When grouping, you can first create an empty file group A, and then traverse the ungrouped files in sequence; first determine whether the file size of the ungrouped file a is greater than or equal to the preset storage capacity of the empty file group A. If the file size of the ungrouped file a is greater than the preset storage capacity, then the ungrouped file a needs to be separately used as a new file group B; then continue to determine whether the file size of the next ungrouped file b is greater than or equal to the preset storage capacity. If the file size of the ungrouped file b is equal to the preset storage capacity, then the file group A can directly save the ungrouped file b; at this time, the existing file groups A and file groups B have no remaining storage space. Therefore, when continuing to group the next ungrouped file c, it can be directly determined based on the file size of the ungrouped file c whether to use the ungrouped file c as a new file group C or to create a new file group C to save the ungrouped file c.

[0184] Alternatively, if the file size of ungrouped file a is equal to the preset storage capacity, ungrouped file a can be saved in file group A; and then, based on the file size of ungrouped file b, it is determined whether to use ungrouped file b as a new file group B or to create a new file group B to save ungrouped file b.

[0185] If the file size of ungrouped file a is smaller than the preset storage capacity, the ungrouped file a is saved in file group A, and file group A still has remaining storage space at this time; then if the file size of ungrouped file b is greater than or equal to the preset storage capacity, the ungrouped file b is saved in a new file group B; if the file size of ungrouped file b is smaller than the preset storage capacity, it can be detected whether the remaining storage space of the existing file group A is greater than or equal to the file size of ungrouped file b; if the remaining storage space of file group A is greater than or equal to the file size of ungrouped file b, the ungrouped file b can be stored in file group A; if the remaining storage space of file group A is smaller than the file size of ungrouped file b, a new file group B needs to be established to save the ungrouped file b.

[0186] Afterwards, other ungrouped files are grouped in the above manner until there are no ungrouped files left.

[0187] The above grouping method can effectively group several files to be installed corresponding to the application software. The preset storage capacity can be determined by the developer according to the file size of the files to be installed in actual use. If the files to be installed are generally large, the preset storage capacity can be set larger to avoid the situation where too many files to be installed exceed the file group size.

[0188] In some embodiments, the controller of the terminal 500 may also obtain the storage path of each file to be installed; and save the file to be installed and its storage path together in the file group. The storage path is the location where the file to be installed is stored in the terminal step by step, for example, Figure 8 As shown, the total directory for storing all application software files is directory A, and there are two subdirectories B and subdirectory C in directory A. Subdirectory B stores the to-be-installed file F1, and subdirectory C stores the to-be-installed file F2. Then, the storage path of F1 is directory A-directory B, and the storage path of F2 is directory A-directory C. When the display device 200 is decompressed and installed, the decompressed to-be-installed file F1 is correspondingly stored in directory B under directory A established for the application software, and the to-be-installed file F2 is correspondingly stored in directory C under directory A.

[0189] The above-mentioned method of grouping the storage paths together into a file group can avoid adding additional information for recording the decompression path of the files to be installed.

[0190] The display device 200 provided in the embodiment of the present application can obtain the download links of each compressed package corresponding to the application software and the download link of the verification information from the server 400. The controller can download the verification information and the compressed package in parallel according to the download link, and such parallel processing can save a lot of time.

[0191] After downloading the verification information and compressed package, use the verification information of each compressed package to verify whether each compressed package is safe. As described in the above embodiment, if the verification information is generated by signing, it is necessary to verify whether the signature corresponding to the compressed package has been changed. If the signature is changed, it is determined that the compressed package has failed the verification, indicating that the compressed package may have been tampered with and has low security; if the signature has not been changed, it is determined that the compressed package has passed the verification and has high security.

[0192] In the embodiment of the present application, each compressed package is signed separately, so when verifying in the display device 200, it is only necessary to verify each compressed package separately. Compared with the current method of verifying each file to be installed in the compressed package, this method improves the efficiency of the verification process.

[0193] In some embodiments, the controller of the display device 200 can also detect whether the compressed package is successfully installed; if the compressed package is successfully installed, the compressed package is deleted. This method will reduce the space reserved for the application software during the entire installation process and reduce resource usage.

[0194] As described in the above embodiment, the compressed package generated by the terminal 200 also includes the storage path of each file to be installed. After the display device 200 decompresses the compressed package, it can save each file to be installed in the corresponding directory location according to the indication of the storage path. For example, the name of the general directory storing the application software in the terminal 500 is A, the storage path of the file to be installed F1 is directory A-directory B, and the storage path of the file to be installed F2 is directory A-directory C. Then, in the display device 200, a general storage directory A can still be established for the application software, and two subdirectories B and C can be established under directory A. After decompression, the decompressed file to be installed F1 is saved in the subdirectory B according to its storage path, and the file to be installed F2 is saved in the subdirectory C according to its storage path.

[0195] In addition, the storage path mentioned in the embodiment of the present application can also be a relative path, that is, the names of the directories storing application software in the display device 200 may be different from the names of the directories storing application software in the terminal 500, but the same directory structure as that in the terminal 500 can be established in the display device 200, and then the files to be installed can be saved in different directory nodes according to the storage paths.

[0196] It is worth noting that the technical solution provided in the embodiment of the present application is applicable to two situations: one is a situation where the display device 200 needs to install application software. In this case, the display device 200 can download several compressed packages of the application software generated by the terminal 200 from the server 400 in parallel; the other is a situation where the display device 200 needs to upgrade the installed application software. In this case, the display device 200 can download several compressed packages of the new version of the application software generated by the terminal 200 from the server 400 in parallel.

[0197] It can be seen that the terminal 500 provided in the embodiment of the present application can realize the grouping of files to be installed and the compression of file groups, and generate several compressed packages after the file groups are compressed; then the verification information corresponding to each compressed package is packaged together with the compressed package to generate an installation package of the application software; finally, the installation is uploaded to the server 400. After receiving the installation package, the server 400 can decompress it and restore it into several compressed packages, and generate an independent download link for each compressed package and its corresponding verification information. The display device 200 can download several compressed packages and verification information corresponding to the application software from the server 400 in parallel, and can verify and install the compressed packages in parallel to complete the installation of the application software. The solution of the present application can avoid the situation where the display device 200 directly downloads the installation package, thereby avoiding the problem of time-consuming installation of the application software caused by downloading the complete installation package.

[0198] Fig. 9 This is a flow chart of an application software installation method shown in an embodiment of the present application. Fig. 9 As shown, the method can be applied to the terminal 500, and may specifically include the following steps:

[0199] Step S101, grouping all files to be installed of the application software to generate a plurality of file groups.

[0200] Step S102, compress each file group separately to obtain a plurality of compressed packages.

[0201] Step S103: All compressed packages and verification information corresponding to each compressed package are packaged together to generate an installation package corresponding to the application software.

[0202] Step S104: upload the installation package to the server 400. The server 400 is used to decompress the installation package into several compressed packages, and generate an independent download link for each compressed package and its corresponding verification information.

[0203] In some embodiments, Fig.10 As shown, each file group will be compressed separately, and the steps of obtaining several compressed packages also include:

[0204] Step S201, grouping the files to be installed into several file groups according to the preset storage capacity of the file group and the size of each file to be installed. The preset storage capacity is used to indicate the fixed storage space size for storing files set for the file group.

[0205] Step S202: When there is no ungrouped file among all the files to be installed, all the file groups are compressed respectively. The ungrouped file is used to represent the ungrouped files to be installed.

[0206] In some embodiments, Fig.11 As shown, each file group will be compressed separately, and the steps of obtaining several compressed packages also include:

[0207] Step S301: When there is an ungrouped file among all the files to be installed, it is detected whether the file size of the ungrouped file is greater than or equal to the preset storage capacity.

[0208] Step S302: if the file size of the ungrouped file is smaller than the preset storage capacity, it is detected whether there is a file group with a remaining storage space greater than or equal to the file size.

[0209] Step S303: if there is a file group whose remaining storage space is greater than or equal to the file size, allocate the ungrouped file to the file group.

[0210] In some embodiments, the step of compressing each file group separately to obtain a plurality of compressed packages further includes: in the case where there is no file group with remaining storage space greater than or equal to the file size, individually allocating the ungrouped files to a new file group.

[0211] In some embodiments, all files to be installed of the application software are grouped and the step of generating several file groups also includes: obtaining the storage path of the files to be installed; the storage path is the location where the files to be installed are saved step by step in the terminal 500; and saving the files to be installed and their storage paths together in the file group.

[0212] In some embodiments, after compressing each file group separately to obtain a number of compressed packages, it also includes: signing each compressed package to obtain verification information corresponding to each compressed package.

[0213] Fig.12 FIG. 1 is a flow chart of another method for installing application software according to an embodiment of the present application. Fig.12 As shown, the method is applied to a display device 200, and may specifically include the following steps:

[0214] Step S401 , downloading in parallel from the server 400 each compressed package corresponding to the application software and verification information corresponding to each compressed package.

[0215] Step S402: Verify each compressed package using the verification information.

[0216] Step S403: Install all verified compressed packages in parallel. The compressed packages are generated after the file group is compressed, and the file group contains a number of files to be installed.

[0217] In some embodiments, the step of verifying each compressed package using verification information also includes: verifying whether the signature corresponding to the compressed package has been changed; if the signature has been changed, determining that the compressed package has failed the verification; if the signature has not been changed, determining that the compressed package has passed the verification.

[0218] In some embodiments, the step of installing all verified compressed packages in parallel also includes: detecting whether the compressed package is successfully installed; and deleting the compressed package if the compressed package is successfully installed.

[0219] In some embodiments, the step of parallelly installing all verified compressed packages also includes: decompressing the compressed package, obtaining the file group and the storage path corresponding to each file to be installed in the file group; saving all files to be installed in the file group to the display device 200 according to their storage path.

[0220] 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.

[0221] For the convenience 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 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 terminal, characterized in that: include: A controller that performs the following steps: Grouping all files to be installed of the application software to generate several file groups; When grouping, a file group is established, and all files to be installed are traversed to detect whether the file size of the current ungrouped files is greater than or equal to the preset storage capacity, wherein the ungrouped files are used to represent the ungrouped files to be installed; If the file size of the ungrouped files is greater than or equal to the preset storage capacity, the ungrouped files are used as a single file group; If the file size of the ungrouped file is smaller than the preset storage capacity, the ungrouped file is saved in the file group; the preset storage capacity is used to represent the fixed storage space size for storing files set for the file group; In the case that there are ungrouped files among all the files to be installed, detecting whether the file size of the ungrouped files is greater than or equal to the preset storage capacity; In the case where the file size of the ungrouped file is smaller than the preset storage capacity, detecting whether there is a file group with a remaining storage space greater than or equal to the file size of the ungrouped file; If so, saving the ungrouped file to a file group whose remaining storage space is greater than or equal to the file size of the ungrouped file; If it does not exist, the ungrouped files are individually allocated to a new file group; Compress each file group separately to obtain several compressed packages; Packing all compressed packages and verification information corresponding to each compressed package together to generate an installation package corresponding to the application software; The installation package is uploaded to a server; the server is used to decompress the installation package into a plurality of compressed packages, and generate an independent download link for each compressed package and its corresponding verification information.

2. The terminal according to claim 1, characterized in that The controller is further configured to perform the following steps: If there are no ungrouped files among all the files to be installed, all the file groups are compressed separately.

3. The terminal according to claim 1, characterized in that: The controller is further configured to perform the following steps: Obtaining a storage path of the file to be installed; the storage path is a location where the file to be installed is saved step by step in the terminal; The files to be installed and their storage paths are saved together in a file group.

4. The terminal according to claim 1, characterized in that: The controller is further configured to perform the following steps: Sign each compressed package and obtain verification information corresponding to each compressed package.

5. A display device, characterized in that: include: A controller that performs the following steps: Downloading from the server in parallel each compressed package corresponding to the application software and verification information corresponding to each compressed package; The server is used to decompress the installation package corresponding to the application software generated by the terminal into a plurality of compressed packages, and generate an independent download link for each compressed package and its corresponding verification information; Use the verification information to verify each compressed package respectively; All verified compressed packages are installed in parallel; the compressed package is generated after compressing a file group, and the file group includes a number of files to be installed, and the file group is obtained by grouping all the files to be installed according to a preset storage capacity and the size of each file to be installed; When grouping, a file group is established, and all files to be installed are traversed to detect whether the file size of the current ungrouped files is greater than or equal to the preset storage capacity, wherein the ungrouped files are used to represent the ungrouped files to be installed; If the file size of the ungrouped files is greater than or equal to the preset storage capacity, the ungrouped files are used as a single file group; If the file size of the ungrouped file is smaller than the preset storage capacity, the ungrouped file is saved in the file group; the preset storage capacity is used to represent the fixed storage space size for storing files set for the file group; In the case that there are ungrouped files among all the files to be installed, detecting whether the file size of the ungrouped files is greater than or equal to the preset storage capacity; In the case where the file size of the ungrouped file is smaller than the preset storage capacity, detecting whether there is a file group with a remaining storage space greater than or equal to the file size of the ungrouped file; If so, saving the ungrouped file to a file group whose remaining storage space is greater than or equal to the file size of the ungrouped file; If it does not exist, the ungrouped files are individually allocated to a new file group.

6. The display device according to claim 5, characterized in that The controller is further configured to perform the following steps: Verify whether the signature corresponding to the compressed package has been changed; If the signature is changed, it is determined that the compressed package fails the verification; If the signature has not been altered, it is determined that the compressed package passes the verification.

7. The display device according to claim 5, characterized in that The controller is further configured to perform the following steps: Detect whether the compressed package is successfully installed; When the compressed package is successfully installed, the compressed package is deleted.

8. The display device according to any one of claims 5 to 7, characterized in that: The controller is further configured to perform the following steps: Decompress the compressed package to obtain a file group and a storage path corresponding to each file to be installed in the file group; All files to be installed in the file group are saved to the display device according to their storage paths.

9. An application software installation method, applied to a terminal, characterized in that: include: Grouping all files to be installed of the application software to generate several file groups; When grouping, a file group is established, and all files to be installed are traversed to detect whether the file size of the current ungrouped files is greater than or equal to the preset storage capacity, wherein the ungrouped files are used to represent the ungrouped files to be installed; If the file size of the ungrouped files is greater than or equal to the preset storage capacity, the ungrouped files are used as a single file group; If the file size of the ungrouped file is smaller than the preset storage capacity, the ungrouped file is saved in the file group; the preset storage capacity is used to represent the fixed storage space size for storing files set for the file group; In the case that there are ungrouped files among all the files to be installed, detecting whether the file size of the ungrouped files is greater than or equal to the preset storage capacity; In the case where the file size of the ungrouped file is smaller than the preset storage capacity, detecting whether there is a file group with a remaining storage space greater than or equal to the file size of the ungrouped file; If so, saving the ungrouped file to a file group whose remaining storage space is greater than or equal to the file size of the ungrouped file; If it does not exist, the ungrouped files are individually allocated to a new file group; Compress each file group separately to obtain several compressed packages; Packing all compressed packages and verification information corresponding to each compressed package together to generate an installation package corresponding to the application software; The installation package is uploaded to a server; the server is used to decompress the installation package into several compressed packages, and generate an independent download link for each compressed package and its corresponding verification information.

10. An application software installation method, applied to a display device, characterized in that: include: Downloading from the server in parallel each compressed package corresponding to the application software and verification information corresponding to each compressed package; The server is used to decompress the installation package corresponding to the application software generated by the terminal into a plurality of compressed packages, and generate an independent download link for each compressed package and its corresponding verification information; Use the verification information to verify each compressed package respectively; All verified compressed packages are installed in parallel; the compressed package is generated after compressing a file group, and the file group includes a number of files to be installed, and the file group is obtained by grouping all the files to be installed according to a preset storage capacity and the size of each file to be installed; When grouping, a file group is established, and all files to be installed are traversed to detect whether the file size of the current ungrouped files is greater than or equal to the preset storage capacity, wherein the ungrouped files are used to represent the ungrouped files to be installed; If the file size of the ungrouped files is greater than or equal to the preset storage capacity, the ungrouped files are used as a single file group; If the file size of the ungrouped file is smaller than the preset storage capacity, the ungrouped file is saved in the file group; the preset storage capacity is used to represent the fixed storage space size for storing files set for the file group; In the case that there are ungrouped files among all the files to be installed, detecting whether the file size of the ungrouped files is greater than or equal to the preset storage capacity; In the case where the file size of the ungrouped file is smaller than the preset storage capacity, detecting whether there is a file group with a remaining storage space greater than or equal to the file size of the ungrouped file; If so, saving the ungrouped file to a file group whose remaining storage space is greater than or equal to the file size of the ungrouped file; If it does not exist, the ungrouped files are individually allocated to a new file group.

Citation Information

Patent Citations

  • Data storage method and apparatus

    CN107707600A

  • A method and system for software backup and restore

    CN109254786A

  • Application downloading and updating method and apparatus, computer device and storage medium

    CN109309725A

  • System and method for emulating a virtual boundary of a file system for data management at a fileset granularity

    US20070179991A1