CN112667285A - Application upgrading method, display device and server - Google Patents

Application upgrading method, display device and server Download PDF

Info

Publication number
CN112667285A
CN112667285A CN202110097527.0A CN202110097527A CN112667285A CN 112667285 A CN112667285 A CN 112667285A CN 202110097527 A CN202110097527 A CN 202110097527A CN 112667285 A CN112667285 A CN 112667285A
Authority
CN
China
Prior art keywords
application
shared library
upgrade
linking
package
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110097527.0A
Other languages
Chinese (zh)
Other versions
CN112667285B (en
Inventor
孙立庆
臧晓华
王新志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vidaa Netherlands International Holdings BV
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN202110097527.0A priority Critical patent/CN112667285B/en
Publication of CN112667285A publication Critical patent/CN112667285A/en
Application granted granted Critical
Publication of CN112667285B publication Critical patent/CN112667285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The application upgrading method, the display device and the server are used for increasing the pre-link information for the application and the related shared library thereof again through incremental pre-link processing after the application is upgraded, so that the problem that the application starting is slowed down due to the application upgrading is solved. The display device comprises a display; a controller for performing: downloading and installing an application upgrade package, wherein the application upgrade package comprises upgrade applications and/or a shared library on which the upgrade applications depend; and executing pre-linking operation on the upgrade application and/or a shared library depended by the upgrade application based on pre-linking cache information, wherein the pre-linking cache information is packaged in a complete machine software package, and the complete machine software package is downloaded and installed in the display equipment in advance.

Description

Application upgrading method, display device and server
Technical Field
The present application relates to the field of display technologies, and in particular, to an application upgrade method, a display device, and a server.
Background
Prelink is a program under Linux (UNIX-like operating system), and adds Prelink information to ELF (a file type) shared library and dynamically linked binary program by modifying the same, so that the time required for executing relocation when the program is started is greatly reduced, and the starting speed of the program is increased
At present, the background service and application of the intelligent display device (non-Android platform) based on Linux are basically pre-linked, so that the service/application of the display device is quickly loaded, and the starting speed of the display device/application is increased. The pre-linking operation is usually executed after the software is compiled, and then the software with the pre-linking information is packaged to generate a whole display equipment software upgrading package. Therefore, the upgraded software of the display equipment can be guaranteed to have the starting speed improving effect brought by the pre-linking every time.
However, there is a need for individual upgrades of applications in display devices: only a certain application is updated and the display device is not upgraded as a whole. The traditional pre-linking based on the whole software cannot achieve the original effect. The update of the application may cause the shared library in the display device system to change, resulting in the failure of the pre-link and even affecting other programs in the system. When the application in the display device is upgraded, the original pre-link information of the application can be damaged, so that the starting speed of the application is reduced.
Disclosure of Invention
The embodiment of the application upgrading method, the display device and the server is used for increasing the pre-link information for the application and the related shared library thereof again through the incremental pre-link processing after the application is upgraded, so that the problem that the application is started slowly due to the application upgrading is solved.
In a first aspect, there is provided a display device comprising:
a display;
a controller for performing:
downloading and installing an application upgrade package, wherein the application upgrade package comprises upgrade applications and/or a shared library on which the upgrade applications depend;
and executing pre-linking operation on the upgrade application and/or a shared library depended by the upgrade application based on pre-linking cache information, wherein the pre-linking cache information is packaged in a complete machine software package, and the complete machine software package is downloaded and installed in the display equipment in advance.
In some embodiments, the pre-link cache information includes a correspondence between a shared library and a memory address.
In a second aspect, there is provided a display device comprising:
a display;
a controller for performing:
downloading an application upgrading package corresponding to the current complete machine software version according to the current complete machine software version, wherein the application upgrading package is obtained by executing a pre-linking operation on an upgrading application and/or a shared library which is depended by the upgrading application by a server according to a basic shared library of the current complete machine software version which has executed the pre-linking operation;
and installing the application upgrading package.
In some embodiments, the application upgrade package is obtained by the server performing a pre-linking operation on the upgrade application and/or a shared library on which the upgrade application depends according to the base shared library of the current complete machine software version on which the pre-linking operation has been performed and the pre-linking cache information corresponding to the current complete machine software version.
In a third aspect, a server is provided, configured to perform:
executing a pre-linking operation on the basic service and the basic shared library and reserving pre-linking cache information;
and packaging the basic service and the basic shared library which have executed the pre-link operation and the pre-link cache information to generate a whole software package.
In some embodiments, the server is further configured to perform:
executing a pre-linking operation on the built-in application and/or a shared library corresponding to the built-in application;
and packaging the built-in application which has performed the pre-linking operation and/or the shared library corresponding to the built-in application into the whole software package.
In a fourth aspect, a server is provided, configured to perform:
storing a basic shared library of each complete machine software version, which is executed with a pre-linking operation;
and executing the pre-linking operation on the upgrading application and/or the shared library depending on the upgrading application according to the basic shared library of each complete machine software version which has executed the pre-linking operation, and generating an application upgrading package of each complete machine software version.
In a fifth aspect, a method for upgrading an application is provided, the method including:
downloading and installing an application upgrade package, wherein the application upgrade package comprises upgrade applications and/or a shared library on which the upgrade applications depend;
and executing pre-linking operation on the upgrade application and/or a shared library depended by the upgrade application based on pre-linking cache information, wherein the pre-linking cache information is packaged in a complete machine software package, and the complete machine software package is downloaded and installed in the display equipment in advance.
In some embodiments, the pre-link cache information includes a correspondence between a shared library and a memory address.
In a sixth aspect, a method for application upgrade is provided, the method comprising:
downloading an application upgrading package corresponding to the current complete machine software version according to the current complete machine software version, wherein the application upgrading package is obtained by executing a pre-linking operation on an upgrading application and/or a shared library which is depended by the upgrading application by a server according to a basic shared library which has executed the pre-linking operation under the current complete machine software version;
and installing the application upgrading package.
In the above embodiment, the pre-linking process in the software packaging process is optimized, the pre-linking cache information of the basic service and the basic shared library of the display device is stored in the whole software package, and then the incremental pre-linking is dynamically executed after the application is upgraded to add the pre-linking information to the updated application, so that the starting speed improvement effect brought by the original pre-linking is achieved.
Drawings
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
fig. 2 illustrates a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;
FIG. 5 illustrates a flow diagram of a method of application upgrade, according to some embodiments;
FIG. 6 illustrates a relational diagram of a base service, application, and shared library according to some embodiments;
FIG. 7 illustrates a flow diagram of another application upgrade method, according to some embodiments;
a flow diagram of yet another application upgrade method according to some embodiments is illustrated in fig. 8.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code that is capable of performing the functionality associated with that element.
Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in fig. 1, the display apparatus 200 is also in data communication with a server 400, and a user can operate the display apparatus 200 through the smart device 300 or the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 in a wireless or wired manner. The user may control the display apparatus 200 by inputting a user instruction through at least one of a key on a remote controller, a voice input, a control panel input, and the like.
In some embodiments, the smart device 300 may include any of a mobile terminal, a tablet, a computer, a laptop, an AR/VR device, and the like.
In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.
In some embodiments, the smart device 300 and the display device may also be used for communication of data.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice instruction control of the user may be directly received by a module configured inside the display device 200 to obtain a voice instruction, or may be received by a voice control apparatus provided outside the display device 200.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
In some embodiments, software steps executed by one step execution agent may be migrated on demand to another step execution agent in data communication therewith for execution. Illustratively, software steps performed by the server may be migrated to be performed on a display device in data communication therewith, and vice versa, as desired.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
In some embodiments, the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.
In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key, or an alternative module.
Fig. 3 shows a hardware configuration block diagram of the display apparatus 200 according to an exemplary embodiment.
In some embodiments, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, a user interface.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
In some embodiments, the display 260 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a ramandom Access Memory, RAM), ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.
A CPU processor. For executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal displayed or played on the direct display device 200.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on display 260, and the user input interface receives the user input commands through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some embodiments, user interface 280 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).
In some embodiments, a system of a display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
As shown in fig. 4, the system of the display device is divided into three layers, i.e., an application layer, a middleware layer and a hardware layer from top to bottom.
The Application layer mainly includes common applications on the television and an Application Framework (Application Framework), wherein the common applications are mainly applications developed based on the Browser, such as: HTML5 APPs; and Native APPs (Native APPs);
an Application Framework (Application Framework) is a complete program model, and has all basic functions required by standard Application software, such as: file access, data exchange, and interfaces to use these functions (toolbars, status lists, menus, dialog boxes).
Native APPs (Native APPs) may support online or offline, message push, or local resource access.
The middleware layer comprises various television protocols, multimedia protocols, system components and other middleware. The middleware can use basic service (function) provided by system software to connect each part of an application system or different applications on a network, and can achieve the purposes of resource sharing and function sharing.
The hardware layer mainly comprises an HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for butting all the television chips, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
At present, the background service and the application of the intelligent display equipment based on Linux basically carry out pre-linking operation, so that the quick loading of the service/application of the display equipment is realized, and the starting speed of the display equipment/application is improved. The pre-linking operation is usually executed after the software is compiled, and then the software with the pre-linking information is packaged to generate a whole display equipment software upgrading package. Therefore, the upgraded software of the display equipment can be guaranteed to have the starting speed improving effect brought by the pre-linking every time. However, there is a need for individual upgrades of applications in display devices: only a certain application is updated and the display device is not upgraded as a whole. The traditional pre-linking based on the whole software cannot achieve the original effect. The update of the application may cause the shared library in the display device system to change, resulting in the failure of the pre-link and even affecting other programs in the system.
In order to solve the above technical problem, an embodiment of the present application provides an application upgrading method, as shown in fig. 5, the method includes:
the server is configured to perform step S501: executing a pre-linking operation on the basic service and the basic shared library and reserving pre-linking cache information;
in some embodiments, programs in a display device system can be broadly classified into two categories by their function: basic services of the display device and applications of the display device.
The basic service of the display device is responsible for managing basic functions of the display device, such as managing network connections, receiving remote control signals, managing sound and image output, and the like.
Applications of the display device include applications other than basic services of a conventional basic display device, such as Netflix, YouTube, and the like.
Whether an application or a service program, often depends on some shared libraries themselves, and in some embodiments, shared libraries on which multiple services/applications depend simultaneously are referred to as common shared libraries, and shared libraries on which only a single program depends are referred to as proprietary shared libraries. The shared libraries depended on by the public shared library and the basic service are used as basic shared libraries to be distinguished from the exclusive shared libraries depended on by the application. As shown in fig. 6, the proprietary shared library 1, the proprietary shared library 2, and the proprietary shared library 3 only have a single service/application dependency, and the base service 1, the base service 2, the application 1, and the application 2 all depend on a common shared library. The private shared library 1, the private shared library 2 and the public shared library form the basic shared library.
In some embodiments, the pre-link cache information includes a correspondence between a shared library and a memory address.
The server is configured to perform step S502: and packaging the basic service and the basic shared library which have executed the pre-link operation and the pre-link cache information to generate a whole software package.
The controller is configured to perform step S503: downloading complete machine software package from server
The controller is configured to perform step S504: and installing the whole software package.
After the whole software package is installed on the display device, the display device system will have the pre-link cache information of the basic service and the basic shared library.
The server is configured to perform step S505: and generating an application upgrading package.
When a single new application is upgradeable in a server, there will be an application upgrade package in the server. When a single application is upgraded, only the application itself or the library on which the application depends can be updated, other parts in the system cannot be changed, and only the application which is actually updated is failed in the pre-link function.
The controller is configured to perform step S506: the application upgrade package is downloaded from the server,
the controller is configured to perform step S507: and installing an application upgrading package.
In some embodiments, the application upgrade package includes an upgrade application and/or a shared library on which the upgrade application depends;
the controller is configured to perform step S508: performing a pre-linking operation on the upgraded application and/or the shared library on which the upgraded application depends based on the pre-link cache information.
In some embodiments, like the application 1 in fig. 6, when the application 1 is upgraded, the application upgrade package of the application 1 only includes the upgraded application, and then only the pre-linking operation is performed on the upgraded application based on the pre-link cache information. Like the application 2 in fig. 6, when the application 2 is upgraded, if the application upgrade package of the application 2 only includes the exclusive shared library 2, only the pre-linking operation is performed on the exclusive shared library 2 based on the pre-link cache information. If the upgrade application and the exclusive shared library 2 are included in the application upgrade package, a pre-linking operation is performed on the upgrade application and the exclusive shared library 2 based on the pre-link cache information.
An embodiment of the present application provides another application upgrading method, as shown in fig. 7, the method includes:
the server is configured to perform step S701: executing a pre-linking operation on the basic service and the basic shared library and reserving pre-linking cache information;
the server is configured to perform step S702: performing pre-linking operation on the built-in application and/or a shared library corresponding to the built-in application based on the pre-linking cache information;
the built-in application generally refers to an application carried by a display device during production and delivery, and does not need to be downloaded and installed by a user.
The server is configured to perform step S703: and packaging the basic service and the basic shared library which are subjected to the pre-link operation, the built-in application and/or the shared library corresponding to the built-in application, and the pre-link cache information to generate a whole software package.
The controller is configured to perform step S704: and downloading the whole software package from the server.
The controller is configured to perform step S705: and installing the whole software package.
After the whole software package is installed on the display device, the display device system will have the pre-link cache information of the basic service and the basic shared library.
The server is configured to perform step S706: and generating an application upgrading package.
When a new application is upgradeable in the server, there will be an application upgrade package in the server.
The controller is configured to perform step S707: and downloading the application upgrading package from the server.
The controller is configured to perform step S708: and installing an application upgrading package.
In some embodiments, the application upgrade package includes an upgrade application and/or a shared library on which the upgrade application depends;
the controller is configured to perform step S709: performing a pre-linking operation on the upgraded application and/or the shared library on which the upgraded application depends based on the pre-link cache information.
The result of the whole software pre-linking is that for each software version, the application program and the shared library are strongly dependent, wherein the change of any shared library can cause the pre-linking of the application depending on the shared library to fail. I.e., if the application in the different version of the software package is to be validated, the shared library is not mixable. However, there is a need for individual upgrades of applications in display devices: only certain applications are updated and the television is not upgraded as a whole. The traditional pre-linking based on the whole software cannot achieve the original effect. The update of the application may cause the shared library in the television system to change, resulting in the failure of the pre-link and even affecting other programs in the system.
In order to solve the above technical problem, an embodiment of the present application provides another application upgrading method, as shown in fig. 8, where the method includes:
the server is configured to perform step S801: storing a basic shared library of each complete machine software version, which is executed with a pre-linking operation;
in some embodiments, the server may also maintain pre-link cache information corresponding to the base service, application, and overall software version.
The server is configured to perform step S802: and executing the pre-linking operation on the upgrading application and/or the shared library corresponding to the upgrading application according to the basic shared library of each complete machine software version which has executed the pre-linking operation, and generating an application upgrading package of each complete machine software version.
The basic shared library which has executed the pre-linking operation carries the pre-linking information, when the pre-linking operation is executed on the upgrade application and/or the shared library corresponding to the upgrade application, the pre-linking information can be read from the basic shared library which has executed the pre-linking operation, the pre-linking information can be used for executing the pre-linking operation on the upgrade application and/or the shared library corresponding to the upgrade application, the application program itself which has executed the pre-linking operation and the proprietary shared library thereof can be updated, namely the pre-linking information is added in the binary file. The basic shared library can not be changed during application upgrading and can not be upgraded along with the application.
In some embodiments, the server stores a basic shared library in which the whole software version 1.0 and the whole software version 2.0 have performed a pre-linking operation, and when there is an upgrade application 3.0, it is necessary to read pre-linking information in the basic shared library in which the whole software version 1.0 and the whole software version 2.0 have performed the pre-linking operation, and perform the pre-linking operation on the upgrade application 3.0, thereby obtaining an application 3.0 upgrade package for the whole software version 1.0 and an application 3.0 upgrade package for the whole software version 2.0.
In some embodiments, if the server further stores the pre-link cache information corresponding to the complete machine software version, the server may further perform the pre-link operation on the upgrade application and/or the shared library corresponding to the upgrade application according to the basic shared library of each complete machine software version on which the pre-link operation has been performed and the pre-link cache information corresponding to the complete machine software version, and generate the application upgrade package of each complete machine software version. The method does not need to acquire the pre-linking information from the basic shared library which has executed the pre-linking operation, can directly utilize the pre-linking cache information corresponding to the stored whole software version to execute the pre-linking operation, and is more convenient to operate.
In some embodiments, the server stores a base shared library on which the whole software version 1.0 and the whole software version 2.0 have performed a pre-linking operation and pre-linking cache information corresponding to the base shared library. When the upgrade application 3.0 exists, according to the basic shared library of the whole software version 1.0 and the whole software version 2.0 which have executed the pre-linking operation and the pre-linking cache information corresponding to the basic shared library, the pre-linking operation is executed on the upgrade application 3.0, so that an application 3.0 upgrade package aiming at the whole software version 1.0 and an application 3.0 upgrade package aiming at the whole software version 2.0 are obtained.
The controller is configured to perform step S803: and downloading an application upgrading package corresponding to the current complete machine software version according to the current complete machine software version.
In some embodiments, if the current display device is installed with the complete machine software version 1.0, the application upgrade package corresponding to the complete machine software version 1.0 is downloaded from the server.
The controller is configured to perform step S804: and installing an application upgrading package.
In the above embodiment, the pre-linking process in the software packaging process is optimized, the pre-linking cache information of the basic service and the basic shared library of the display device is stored in the whole software package, and then the incremental pre-linking is dynamically executed after the application is upgraded to add the pre-linking information to the updated application, so that the starting speed improvement effect brought by the original pre-linking is achieved.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
a display;
a controller for performing:
downloading and installing an application upgrade package, wherein the application upgrade package comprises upgrade applications and/or a shared library on which the upgrade applications depend;
and executing pre-linking operation on the upgrade application and/or a shared library depended by the upgrade application based on pre-linking cache information, wherein the pre-linking cache information is packaged in a complete machine software package, and the complete machine software package is downloaded and installed in the display equipment in advance.
2. The display device according to claim 1, wherein the pre-link cache information comprises a correspondence between a shared library and a memory address.
3. A display device, comprising:
a display;
a controller for performing:
downloading an application upgrading package corresponding to the current complete machine software version according to the current complete machine software version, wherein the application upgrading package is obtained by executing a pre-linking operation on an upgrading application and/or a shared library which is depended by the upgrading application by a server according to a basic shared library of the current complete machine software version which has executed the pre-linking operation;
and installing the application upgrading package.
4. The display device according to claim 3, wherein the application upgrade package is obtained by the server performing a pre-linking operation on the upgrade application and/or the shared library on which the upgrade application depends according to the base shared library of the current complete machine software version on which the pre-linking operation has been performed and the pre-linking cache information corresponding to the current complete machine software version.
5. A server, characterized in that it is configured to perform:
executing a pre-linking operation on the basic service and the basic shared library and reserving pre-linking cache information;
and packaging the basic service and the basic shared library which have executed the pre-link operation and the pre-link cache information to generate a whole software package.
6. The server of claim 5, further configured to perform:
executing a pre-linking operation on the built-in application and/or a shared library corresponding to the built-in application;
and packaging the built-in application which has performed the pre-linking operation and/or the shared library corresponding to the built-in application into the whole software package.
7. A server, characterized in that it is configured to perform:
storing a basic shared library of each complete machine software version, which is executed with a pre-linking operation;
and executing the pre-linking operation on the upgrading application and/or the shared library depending on the upgrading application according to the basic shared library of each complete machine software version which has executed the pre-linking operation, and generating an application upgrading package of each complete machine software version.
8. An application upgrade method, characterized in that the method comprises:
downloading and installing an application upgrade package, wherein the application upgrade package comprises upgrade applications and/or a shared library on which the upgrade applications depend;
and executing pre-linking operation on the upgrade application and/or a shared library depended by the upgrade application based on pre-linking cache information, wherein the pre-linking cache information is packaged in a complete machine software package, and the complete machine software package is downloaded and installed in the display equipment in advance.
9. The method of claim 8, wherein the pre-link cache information comprises a mapping between a shared library and a memory address.
10. An application upgrade method, characterized in that the method comprises:
downloading an application upgrading package corresponding to the current complete machine software version according to the current complete machine software version, wherein the application upgrading package is obtained by executing a pre-linking operation on an upgrading application and/or a shared library which is depended by the upgrading application by a server according to a basic shared library which has executed the pre-linking operation under the current complete machine software version;
and installing the application upgrading package.
CN202110097527.0A 2021-01-25 2021-01-25 Application upgrading method, display device and server Active CN112667285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110097527.0A CN112667285B (en) 2021-01-25 2021-01-25 Application upgrading method, display device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110097527.0A CN112667285B (en) 2021-01-25 2021-01-25 Application upgrading method, display device and server

Publications (2)

Publication Number Publication Date
CN112667285A true CN112667285A (en) 2021-04-16
CN112667285B CN112667285B (en) 2023-11-03

Family

ID=75414456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110097527.0A Active CN112667285B (en) 2021-01-25 2021-01-25 Application upgrading method, display device and server

Country Status (1)

Country Link
CN (1) CN112667285B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378177A (en) * 2021-06-17 2021-09-10 武汉珈港科技有限公司 Safe and open Native multi-application system architecture and Native application program execution method

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5561800A (en) * 1993-05-19 1996-10-01 Hewlett-Packard Company Method and apparatus for incrementally linking modified routines into software
JPH10254711A (en) * 1997-03-14 1998-09-25 Matsushita Electric Ind Co Ltd Program linking system
US6446254B1 (en) * 1999-03-30 2002-09-03 International Business Machines Corporation Packaging memory image files
EP1691282A1 (en) * 2005-02-11 2006-08-16 Biftone Corporation Build optimizer tool for efficient management of software builds for mobile devices
CN101165648A (en) * 2006-10-16 2008-04-23 中兴通讯股份有限公司 Method for constructing middle library
JP2010225099A (en) * 2009-03-25 2010-10-07 Canon Inc Information processing apparatus, method for controlling the same, and program
CN102147743A (en) * 2011-03-28 2011-08-10 博视联(苏州)信息科技有限公司 Method for accelerating startup of embedded system application program
CN103645888A (en) * 2013-10-25 2014-03-19 普华基础软件股份有限公司 System and method for automatically building operation system
CN104751048A (en) * 2015-01-29 2015-07-01 中国科学院信息工程研究所 Dynamic link library integrity measuring method under perlink mechanism
US20150347162A1 (en) * 2014-06-03 2015-12-03 Mentor Graphics Corporation Prelinked embedding
CN106453642A (en) * 2016-11-28 2017-02-22 国网四川省电力公司眉山供电公司 Linux dynamic link library-based method of rapidly upgrading electric energy data acquire terminal
CN107085514A (en) * 2017-03-06 2017-08-22 北京安博通科技股份有限公司 Shared library upgrade method and device
CN107943504A (en) * 2017-12-07 2018-04-20 中国航空工业集团公司西安航空计算技术研究所 The dynamic update method of software module in a kind of embedded system
CN108595226A (en) * 2018-05-09 2018-09-28 腾讯科技(深圳)有限公司 Dynamic loading method, device and computer readable storage medium
CN109933366A (en) * 2017-12-19 2019-06-25 镇江飞协软件开发有限公司 A kind of software package management method and system
CN109960511A (en) * 2019-03-22 2019-07-02 北京智游网安科技有限公司 Dynamic base delivery method, storage medium and intelligent terminal based on virtualization technology
DE102018201571A1 (en) * 2018-02-01 2019-08-01 Robert Bosch Gmbh Method for updating data

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5561800A (en) * 1993-05-19 1996-10-01 Hewlett-Packard Company Method and apparatus for incrementally linking modified routines into software
JPH10254711A (en) * 1997-03-14 1998-09-25 Matsushita Electric Ind Co Ltd Program linking system
US6446254B1 (en) * 1999-03-30 2002-09-03 International Business Machines Corporation Packaging memory image files
EP1691282A1 (en) * 2005-02-11 2006-08-16 Biftone Corporation Build optimizer tool for efficient management of software builds for mobile devices
CN101165648A (en) * 2006-10-16 2008-04-23 中兴通讯股份有限公司 Method for constructing middle library
JP2010225099A (en) * 2009-03-25 2010-10-07 Canon Inc Information processing apparatus, method for controlling the same, and program
CN102147743A (en) * 2011-03-28 2011-08-10 博视联(苏州)信息科技有限公司 Method for accelerating startup of embedded system application program
CN103645888A (en) * 2013-10-25 2014-03-19 普华基础软件股份有限公司 System and method for automatically building operation system
US20150347162A1 (en) * 2014-06-03 2015-12-03 Mentor Graphics Corporation Prelinked embedding
CN104751048A (en) * 2015-01-29 2015-07-01 中国科学院信息工程研究所 Dynamic link library integrity measuring method under perlink mechanism
CN106453642A (en) * 2016-11-28 2017-02-22 国网四川省电力公司眉山供电公司 Linux dynamic link library-based method of rapidly upgrading electric energy data acquire terminal
CN107085514A (en) * 2017-03-06 2017-08-22 北京安博通科技股份有限公司 Shared library upgrade method and device
CN107943504A (en) * 2017-12-07 2018-04-20 中国航空工业集团公司西安航空计算技术研究所 The dynamic update method of software module in a kind of embedded system
CN109933366A (en) * 2017-12-19 2019-06-25 镇江飞协软件开发有限公司 A kind of software package management method and system
DE102018201571A1 (en) * 2018-02-01 2019-08-01 Robert Bosch Gmbh Method for updating data
CN108595226A (en) * 2018-05-09 2018-09-28 腾讯科技(深圳)有限公司 Dynamic loading method, device and computer readable storage medium
CN109960511A (en) * 2019-03-22 2019-07-02 北京智游网安科技有限公司 Dynamic base delivery method, storage medium and intelligent terminal based on virtualization technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周全成;郑延召;: "嵌入式Linux系统中的快速启动技术研究", 单片机与嵌入式系统应用, no. 03 *
王玉梅;赵正文;张迎华;: "Prelink--一种Linux下加速程序启动的技术研究", 计算机系统应用, no. 11 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378177A (en) * 2021-06-17 2021-09-10 武汉珈港科技有限公司 Safe and open Native multi-application system architecture and Native application program execution method

Also Published As

Publication number Publication date
CN112667285B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
WO2021121051A1 (en) Display method and display device
CN113268199A (en) Display device and function item setting method
CN112445545A (en) Starting method of webpage application and display equipment
CN112612525A (en) Display device and display device starting method
CN112764627B (en) Upgrade package installation progress display method and display device
CN113111214A (en) Display method and display equipment for playing records
CN112667285B (en) Application upgrading method, display device and server
CN112836158A (en) Resource loading method on display equipment and display equipment
CN114077584A (en) File transmission method and display device
CN113573149B (en) Channel searching method and display device
CN112487322B (en) Third party application Loading page loading method and display device
CN112911371B (en) Dual-channel video resource playing method and display equipment
CN113589990A (en) Application management method of display device, display device and mobile terminal
CN112882631A (en) Display method of electronic specification on display device and display device
CN112732396A (en) Media asset data display method and display device
CN113573112A (en) Display device and remote controller
CN112882780A (en) Setting page display method and display device
CN113490030A (en) Display device and channel information display method
CN112637683A (en) Display equipment system optimization method and display equipment
CN114942902A (en) Display device and multiplexing method of memory module thereof
CN113286185A (en) Display device and homepage display method
CN112668546A (en) Video thumbnail display method and display equipment
CN112883302B (en) Method for displaying page corresponding to hyperlink address and display equipment
CN112788025B (en) Network access control method and display device
CN112631707B (en) User interface display method and display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20221018

Address after: 83 Intekte Street, Devon, Netherlands

Applicant after: VIDAA (Netherlands) International Holdings Ltd.

Address before: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Applicant before: QINGDAO HISENSE MEDIA NETWORKS Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant