Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and operation method for updating files in Linux system

A file and TV system technology, applied in the field of updating files in Linux systems, can solve the problems of complex code design, no dual backup, and can not start the machine, and achieves simplified code logic design, simple code logic design, and simple logic design. Effect

Active Publication Date: 2018-03-06
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF7 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the method of upgrading the entire main program: 1. The upgrade process is relatively slow, and the efficiency of upgrading the main program on large-scale machines is very low; There is a risk of not being able to start the machine if there is a power outage in the program
For differential upgrades: the code design is complex; the efficiency of differential upgrades for large-scale machines is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and operation method for updating files in Linux system
  • Method and operation method for updating files in Linux system
  • Method and operation method for updating files in Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] A method of updating files in a Linux system. Realized that the upgrade package to be released is directly placed in the root directory of external storage devices such as U disk and mobile hard disk, and then connected to the TV, the TV will automatically update the system, and the update result will be fed back. refer to figure 1 , the implementation includes the following aspects:

[0041] For TVs with the Linux kernel, when external storage devices such as U disks and mobile hard drives are detected to be connected to the TV, the external storage devices will be mounted to the system. file. Design a functional interface. When the external storage device is mounted, the functional interface will be called. The functions implemented by the functional interface include:

[0042] S1: After the external storage device is mounted, determine whether there is a script meeting the requirements in the agreed directory. The upgrade package has a fixed name XXXXX, that is, ...

Embodiment 2

[0065] refer to figure 2 , an operation method for updating files in a Linux system, comprising the following steps: downloading an update package through a network, etc., placing the update package in an external storage device such as a USB flash drive or a mobile hard disk, and then inserting the external storage device into the TV USB interface, at this time, the function interface will be called to execute the shell script in the external storage device. The TV system automatically updates the wrong files in the system. If there is no error, there will be a prompt message that the update is successful, and then restart the TV; if it fails, restore the files backed up in step S4 in step 1. In this way, the specific content and logic of the update and repair can be controlled by the external shell script file of the system. The code logic design of the upgrade file in this way is simple, and the update and upgrade file is more convenient and efficient than the current main...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and an operation method for updating files in a Linux system, and relates to the technical field of software. According to the invention, a function interface is realized in a main program, and the interface is called when an external storage device, such as a USB flash disk and a mobile hard disk, is connected to a television; a function of executing a script in the external storage device is realized, so that a specific content of updating and repairing can be specified by an external script, and the upgrading logic can also be controlled by the external script file of the system. The code logic design of the upgrade and the update of the files is simplified. Compared with the present mainstream method, the upgrade and the update of the files can be convenient and efficient. The files in the system can be automatically updated by only inserting the external storage device with an upgrade patch, such as the USB flash disk and the mobile hard disk, andthe efficiency of solving the problem by development, production and after-sale service is improved to a great extent. Particularly, the method has obvious advantages when the problems are processed in a large scale.

Description

technical field [0001] The embodiments of the present invention relate to the field of software technology, and more specifically, the embodiments of the present invention relate to a method and an operation method for updating files in a Linux system. The accurate update of files in the Linux system can quickly and efficiently solve the bugs caused by file errors in the Linux system. Background technique [0002] At present, most of the TVs on the market have operating systems, and most of the operating systems are Linux kernels. In the links of TV product development, production, and after-sales, we can find many bugs caused by file errors in the system. When such problems occur on TV, the current method is to solve them by upgrading the main program or differential upgrade. The way to upgrade the main program takes a long time, the logic of differential upgrade is complex, and the production of differential packages is troublesome. Especially when dealing with such prob...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04N21/443G06F8/65
CPCG06F8/65H04N21/443
Inventor 袁义叶壮斌薛群波钟石金
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More