CN111565333A - Data modification method based on data separation, television and storage medium - Google Patents

Data modification method based on data separation, television and storage medium Download PDF

Info

Publication number
CN111565333A
CN111565333A CN202010360127.XA CN202010360127A CN111565333A CN 111565333 A CN111565333 A CN 111565333A CN 202010360127 A CN202010360127 A CN 202010360127A CN 111565333 A CN111565333 A CN 111565333A
Authority
CN
China
Prior art keywords
data
separation
storage path
equipment
packet
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.)
Pending
Application number
CN202010360127.XA
Other languages
Chinese (zh)
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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202010360127.XA priority Critical patent/CN111565333A/en
Publication of CN111565333A publication Critical patent/CN111565333A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a data modification method based on data separation, which comprises the following steps: storing the device data separated from the device main program into a corresponding storage path in a data separation packet of the external storage device; when detecting that an external storage device is accessed, judging whether the external storage device has a data separation packet or not; if the data modification request exists, target data are derived from the data separation packet to replace the data under the corresponding storage path in the equipment, so that the data modification is completed. The invention also discloses a television and a computer readable storage medium. The data modification of the equipment is realized through the external storage equipment, the main program codes do not need to be modified, the convenience of the data modification is improved, the unified debugging and upgrading are facilitated, the separated equipment data are stored through the external storage equipment, the equipment memory occupancy rate is reduced, and the running speed of the equipment can be increased.

Description

Data modification method based on data separation, television and storage medium
Technical Field
The invention relates to the technical field of televisions, in particular to a data modification method based on data separation, a television and a computer readable storage medium.
Background
With the continuous progress of the technology level, people have more and more requirements on various aspects of televisions, and enterprises have more and more models and more complex functions developed corresponding to different client groups in order to meet the requirements of consumers.
However, in the development process of television products, televisions of different models have different size requirements, so that the requirements for screen parameter data, MAC addresses, sound data, image quality data, startup logo, offline pictures or video demonstration and other data are different, and when television manufacturers debug and upgrade televisions of different models, codes need to be modified according to different models, so that the processing efficiency is not high; in addition, some special pictures or film source data may occupy too much tv memory or even exceed tv memory.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a data modification method based on data separation, a television and a computer readable storage medium, and aims to solve the problem that in the prior art, the data of equipment needs to be modified in a code modification mode, so that the unified debugging and upgrading are inconvenient.
In order to achieve the above object, the present invention provides a data modification method based on data separation, the method comprising the steps of:
optionally, storing the device data separated from the device main program into a corresponding storage path in a data separation packet of the external storage device;
when detecting that an external storage device is accessed, judging whether the external storage device has a data separation packet or not;
if the data modification request exists, target data are derived from the data separation packet to replace the data under the corresponding storage path in the equipment, so that the data modification is completed.
Optionally, before the step of deriving the target data from the data separation packet to replace the data in the corresponding storage path in the terminal, the method includes:
and determining target data based on the data information and the data storage path of each data in the data separation packet.
Optionally, the step of determining target data based on the data information and the data storage path of each data in the data separation packet includes:
determining a corresponding device data storage path in the device based on the data storage path of each data in the data separation packet;
matching the data information of the data under the data storage path with the data information of the data under the data storage path of the corresponding equipment;
and if the matching result is inconsistent, determining the data with inconsistent data information under the data storage path and the corresponding equipment data storage path as the target data.
Optionally, the step of deriving the target data from the data separation packet to replace the data in the corresponding storage path in the device includes:
determining a corresponding target storage path in the equipment based on the storage path of the target data in the data separation packet;
and exporting the target data from the storage path of the target data in the data separation packet, and importing the exported target data into the target storage path in the equipment to replace the data in the target storage path.
Optionally, before the step of deriving the target data from the data separation packet to replace the data in the corresponding storage path in the device, the method includes:
judging whether the equipment data are updated or not;
and if the data exists, updating the data and the data information thereof under the corresponding storage path in the data separation packet of the external storage equipment.
Optionally, after the step of storing the device data separated from the device main program into the corresponding storage path in the data separation packet of the external storage device, the method includes:
if the external storage equipment is not accessed, judging whether request information for sending a network data request to the server exists or not;
if yes, downloading a corresponding configuration file from a data separation package pre-stored in the server;
and replacing the target data of the corresponding position in the equipment based on the configuration information corresponding to the configuration file so as to finish data modification.
Optionally, after the step of storing the device data separated from the device main program into the corresponding storage path in the data separation packet of the external storage device, the method includes:
if no external storage device is accessed, exporting a data separation packet from a factory menu;
determining target data to be modified from the derived data separation packet;
and modifying the target data based on an input instruction of a user and importing the modified target data into a corresponding storage path to complete data modification.
In addition, in order to achieve the above object, the present invention further provides a television set, which includes a memory, a processor and a data modification program based on data separation, stored on the processor and executable on the processor, wherein the processor implements the steps of the data modification method based on data separation when executing the data modification program based on data separation.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a data modification program based on data separation, which when executed by a processor implements the steps of the data modification method based on data separation as described above.
In the embodiment of the invention, the device data separated from the device main program is stored in the corresponding storage path in the data separation packet of the external storage device, so that when the external storage device is detected to be accessed, whether the external storage device has the data separation packet is judged, and if the external storage device has the data separation packet, the target data is derived from the data separation packet to replace the data under the corresponding storage path in the device, so as to finish data modification. The data modification of the device is realized through the external storage device based on data separation, the data modification of the device can be realized only by modifying a code form when the data of the device such as a picture or a film source and the like is stored on the device, the memory is prevented from being occupied, and the convenience of the data modification can be effectively improved and the memory occupancy rate of a system can be reduced.
Drawings
Fig. 1 is a schematic structural diagram of a television in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a first embodiment of a data modification method based on data separation according to the present invention;
FIG. 3 is a flowchart illustrating a data modification method based on data separation according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Storing the device data separated from the main program of the device into a corresponding storage path in a data separation packet of the external storage device; when detecting that an external storage device is accessed, judging whether the external storage device has a data separation packet or not; if the data modification request exists, target data are derived from the data separation packet to replace the data under the corresponding storage path in the equipment, so that the data modification is completed.
The existing equipment data modification method mainly modifies data stored on equipment in a code modification mode, so that the equipment is inconvenient to debug and upgrade uniformly, a large amount of data is stored in the storage space of the equipment, the occupied system memory is large, and the system operation is easy to be blocked. Therefore, the invention provides a data modification method based on data separation, a television and a computer readable storage medium, which store the device data separated from the main program of the device into the corresponding storage path in the data separation packet of the external storage device, judge whether the external storage device has the data separation packet when detecting that the external storage device is accessed, derive the target data from the data separation packet to replace the data under the corresponding storage path in the device when the external storage device has the data separation packet, so as to complete the data modification, do not need to store a large amount of data in the device space to occupy the memory, do not need to modify the code to complete the data modification, can realize the data modification only by replacing the data through the external storage device, improve the convenience of the data modification, and are convenient for debugging and upgrading, and the memory occupancy rate of the equipment is reduced, and the operation and processing efficiency of the equipment can be effectively improved.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a television set in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the television set may include: a communication bus 1002, a processor 1001, such as a CPU, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the television may further include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, a WiFi module, and so on. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the television configuration shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a data modification program based on data separation.
In the television shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a data modification program based on data separation stored in the memory 1005, and perform the following operations:
storing the device data separated from the device main program into a corresponding storage path in a data separation packet of the external storage device;
when detecting that an external storage device is accessed, judging whether the external storage device has a data separation packet or not;
if the data modification request exists, target data are derived from the data separation packet to replace the data under the corresponding storage path in the equipment, so that the data modification is completed.
Optionally, before the step of deriving the target data from the data separation packet to replace the data in the corresponding storage path in the terminal, the processor 1001 may call a data modification program based on data separation stored in the memory 1005, and further perform the following operations:
and determining target data based on the data information and the data storage path of each data in the data separation packet.
Alternatively, the processor 1001 may call a data modification program based on data separation stored in the memory 1005, and further perform the following operations:
determining a corresponding device data storage path in the device based on the data storage path of each data in the data separation packet;
matching the data information of the data under the data storage path with the data information of the data under the data storage path of the corresponding equipment;
and if the matching result is inconsistent, determining the data with inconsistent data information under the data storage path and the corresponding equipment data storage path as the target data.
Alternatively, the processor 1001 calls a data modification program based on data separation stored in the memory 1005, and performs the following operations:
determining a corresponding target storage path in the equipment based on the storage path of the target data in the data separation packet;
and exporting the target data from the storage path of the target data in the data separation packet, and importing the exported target data into the target storage path in the equipment to replace the data in the target storage path.
Alternatively, the processor 1001 may call a data modification program based on data separation stored in the memory 1005, and further perform the following operations:
judging whether the external storage equipment has identification information of the data separation packet or not;
and if so, judging that the data separation packet exists in the external storage equipment.
Optionally, before the step of deriving the target data from the data separation packet to replace the data in the corresponding storage path in the device, the processor 1001 may call a data modification program based on data separation stored in the memory 1005, and further perform the following operations:
judging whether the equipment data are updated or not;
and if the data exists, updating the data and the data information thereof under the corresponding storage path in the data separation packet of the external storage equipment.
Alternatively, after the step of storing the device data separated from the main program of the device into the corresponding storage path in the data separation packet of the external storage device, the processor 1001 may call a data modification program based on data separation stored in the memory 1005, and further perform the following operations:
if the external storage equipment is not accessed, judging whether request information for sending a network data request to the server exists or not;
if yes, downloading a corresponding configuration file from a data separation package pre-stored in the server;
and replacing the target data of the corresponding position in the equipment based on the configuration information corresponding to the configuration file so as to finish data modification.
Alternatively, after the step of storing the device data separated from the main program of the device into the corresponding storage path in the data separation packet of the external storage device, the processor 1001 may call a data modification program based on data separation stored in the memory 1005, and further perform the following operations:
if no external storage device is accessed, exporting a data separation packet from a factory menu;
determining target data to be modified from the derived data separation packet;
and modifying the target data based on an input instruction of a user and importing the modified target data into a corresponding storage path to complete data modification.
Referring to fig. 2, fig. 2 is a flowchart of a data modification method based on data separation according to a first embodiment of the present invention, in this embodiment, the data modification method based on data separation includes the following steps:
step S10: storing the device data separated from the device main program into a corresponding storage path in a data separation packet of the storage device;
generally, when debugging or upgrading equipment, because equipment main program and equipment data are not separated, when debugging or upgrading the equipment is needed, the equipment main program is difficult to be distinguished from the corresponding equipment data, so that the debugging efficiency of the equipment is low, the debugging effect is not good, and under the condition, the change of the equipment data can cause the change of the whole software, which is not beneficial to the development and maintenance of the whole software. Therefore, in order to improve the debugging efficiency on the basis of not occupying a system memory, according to the whole software framework of the equipment, after the main program of the equipment is separated from the corresponding equipment data, the equipment data separated from the main program of the equipment is stored through an external storage device independent of the equipment, so that the separated equipment data can be independently debugged independent of the main program of the equipment. And a data separation package is arranged in the storage device and is specially used for storing the device data separated from the device main program. In order to facilitate data search and system debugging, special data storage paths are arranged for different types of device data in the data separation packet, the data storage paths need to correspond to device data storage paths of a main program when the corresponding device data is called, and then the device data separated from the device main program is stored in the corresponding data storage paths according to different data types based on the corresponding relationship between the device data storage paths and the storage paths. Therefore, when data modification such as parameter updating or version upgrading is required, the parameter configuration file or the system upgrading file under the corresponding storage path can be directly called. The device may include electronic devices such as a television and a computer which need to be debugged and upgraded, and in this embodiment, the device is particularly a television; the equipment data can comprise upgrading data, screen parameter data, address data, sound data, picture quality data, interface display data, picture data, video data and the like; the external storage device independent of the device, particularly, the external storage device that can be externally connected to the device through a USB interface or the like, may specifically include: u disk, hard disk, floppy disk, optical disk, etc.
Step S20: when detecting that an external storage device is accessed, judging whether the external storage device has a data separation packet or not;
when detecting that an external storage device is accessed, the accessed storage device may be a system debugging dedicated storage device based on data separation, or may be a storage device with other purposes, such as: the storage device only has a data storage function, the storage device used for starting the device, the storage device used for encrypting the system or the storage device used for sterilizing the system, and the like. In order to distinguish the system debug dedicated storage device based on data separation from the storage device for other purposes, the system debug dedicated storage device based on data separation may be distinguished based on a data separation packet stored in the system debug dedicated storage device based on data separation. Whether the external storage device has the data separation packet or not can be determined by determining whether the external storage device has the identification information of the data separation packet or not, wherein the identification information can include the name of the data separation packet, the address mapping relationship between the data in the data separation packet and the data in the device, and the like. Therefore, the determination can be made based on the name of the packet stored in the external storage device, or based on the address information corresponding to the packet stored in the external storage device. Such as: if the name of the data packet existing in the storage device is 'special debugging data separation packet', which indicates that the external storage device stores the data separation packet, judging that the external storage device is special debugging storage device based on data separation; if the data packet named as the 'special debugging data separation packet' does not exist, the external storage device is judged to be the storage device with other purposes if the data packet is not stored in the external storage device; or, by acquiring address information corresponding to the data separation packet, judging whether a mapping relation exists between the address information and a calling address of a main program when the data is called in the external storage device, if so, indicating that the data separation packet is stored in the external storage device, and judging that the external storage device is a special debugging storage device; if the data separation packet does not exist, the external storage device does not store the data separation packet, and the external storage device is judged to be a storage device with other purposes.
Step S30: if the data modification request exists, target data are derived from the data separation packet to replace the data under the corresponding storage path in the equipment, so that the data modification is completed.
After judging whether the external storage device has the data separation packet, if the external storage device has the data separation packet, the external storage device is the special debugging storage device. In this case, the target data may be determined based on the data information and the data storage path of each data in the data separation packet.
Specifically, the device data storage path corresponding to the data storage path in the device may be determined based on the data storage path of each data in the data separation packet and the address mapping relationship between the data storage path and the device data storage path corresponding to the device, and then the data information of the data in the data storage path is matched with the data information of the data in the device data storage path to determine whether data modification is needed according to a matching result, where the data modification includes modification of system parameters of the device, version upgrade of the device, and the like. If the matching results are consistent, data modification is not needed; if the matching result is not consistent, data modification is needed, at this time, target data needs to be determined according to the matching result, for example, unmatched data in the data separation packet is determined as the target data, or data content is further analyzed when data information is unmatched so that unmatched data in the data separation packet is used as the target data, accuracy is improved, and then data modification is conducted based on the target data. The data information at least comprises the name of the folder in which the data is positioned so as to judge whether the parameter show needs to be performed or not based on the name of the folder
In an embodiment, data under the data storage path and data under the corresponding storage path in the device are determined as target data according to a matching result, then a corresponding target storage path in the device is determined based on the storage path of the target data in the data separation packet, after the target data is exported from the storage path of the target data in the data separation packet, the exported target data is imported into the device under the target storage path, and the data under the target storage path is replaced by the target data in the data separation packet, so that the data to be modified is modified, and debugging is performed based on the modified data.
The device realizes parameter modification or upgrading of the device by replacing data through the external storage device, so that when the stored data is updated, the parameter modification or upgrading of a plurality of devices of the same model can be realized through the external storage device after the data is updated only by modifying or refreshing the data under the corresponding storage device in the external storage device, thus being convenient for debugging or upgrading the devices of the same model, and the devices of different models can realize parameter modification, version upgrading and the like of the devices of a plurality of models through the external storage device only by updating the data in the external storage device. In addition, the external storage equipment stores the equipment data, the occupancy rate of a system memory can be effectively reduced, and the phenomenon that the equipment runs in a stuck state due to the fact that too much equipment space is occupied when some pictures or film source data are too large is avoided.
In a specific application scenario, taking a television as an example, when one television needs to be configured with multiple remote controllers under the conditions that the remote controllers are not suitable or the remote controllers are replaced and the like, because a one-to-one mapping relation exists between the addresses corresponding to the keys and the keys corresponding to the remote controllers, IR files in remote controller configuration files can be directly modified through external storage equipment to enable the remote controllers to be adapted to the television without opening corresponding serial ports; for starting up LOGO, playing EPOP format video and demonstration video, because the corresponding preferences or requirements of different countries, different regions and different clients are different, at the moment, based on the external storage device storing the data separation packet, reading related pictures or videos from the specified folder in the data separation packet to achieve the purpose of playing, and realizing data modification without modifying codes, thereby greatly improving the flexibility of the system and the processing efficiency of the system; in addition, when the system needs to be upgraded, if the version number of the device is lower than the corresponding version number in the data separation package, the upgrade file corresponding to the version number in the data separation package is directly written into the corresponding storage position in the device to replace the original version data, so that the upgrade is realized.
In the embodiment, the device data separated from the device main program is stored in the corresponding storage path in the data separation packet of the storage device, and when the external storage device is detected to be accessed, whether the external storage device has the data separation packet is judged, so that when the external storage device has the data separation packet, the target data is derived from the data separation packet to replace the data under the corresponding storage path in the device, so as to complete the data modification of the device, code modification is not required, and a storage area is not required to be additionally arranged in the system to store the device data separated from the device main program, so that the convenience of the data modification is improved, and the occupancy rate of a system memory is effectively reduced.
Referring to fig. 3, fig. 3 is a flowchart of a data modification method based on data separation according to a second embodiment of the present invention, in this embodiment, the data modification method based on data separation includes the following steps:
step S11: storing the device data separated from the device main program into a corresponding storage path in a data separation packet of the external storage device;
step S12: if the external storage equipment is not accessed, judging whether request information for sending a network data request to the server exists or not;
step S13: if yes, downloading a corresponding configuration file from a data separation package pre-stored in the server;
step S14: and replacing the target data of the corresponding position in the equipment based on the configuration information corresponding to the configuration file so as to finish data modification.
In this embodiment, after the device data separated from the device main program is stored in the corresponding storage path in the data separation packet of the external storage device, if the access of the external storage device is not detected, it is further determined whether there is request information for the device to send a network data request to the server, so as to determine whether the device sends the data request to the server, and if there is request information for sending the network data request to the server, a corresponding configuration file is downloaded from the data separation packet pre-stored in the server based on the request information, and then the target data at the corresponding position in the device is replaced based on the configuration information corresponding to the configuration file, so as to complete data modification. Specifically, since the requested data may be parameter configuration data or upgrade configuration data after the network request is sent to the server, a request transaction type corresponding to the request type may be determined based on the different request type, and then a corresponding configuration file may be downloaded from a corresponding storage path in the data separation package based on the different transaction type. If the request transaction type is parameter modification, determining a corresponding parameter configuration file from the data separation packet based on the transaction type, and replacing the parameter data at the corresponding position based on the parameter configuration file to complete parameter modification; and if the request item type is version upgrading, determining a corresponding upgrading configuration file from the data separation package based on the item type, and replacing the version file at the corresponding position based on the parameter configuration file to finish the version upgrading.
Specifically, taking version upgrade as an example, the data separation package is uploaded on the server in advance, and a relevant configuration file is configured. Firstly configuring URL (containing relevant configuration parameters of the data separation package, such as version number), then requesting to the server through the URL, downloading a configuration file (containing md5 code generated when downloading the data separation package and uploading the data separation package) if the server has the data separation package, downloading the corresponding upgrade file based on the download link in the configuration file and pressurizing. Because an md5 code is generated when the data separation package is uploaded to the server, and an md5 code is generated when the corresponding upgrade file is downloaded, the md5 codes before and after the pressurized upgrade file is downloaded need to be compared and checked, and the upgrade is performed if the check is consistent. And then, comparing the version number in the downloaded upgrade file with the current version number of the equipment to judge whether the upgrade is needed, wherein the version number in the downloaded upgrade file is higher than the current version number of the equipment, and the purpose of upgrading is achieved by replacing the upgrade file.
In another embodiment, after the device data separated from the device main program is stored in the corresponding storage path in the data separation packet of the external storage device, if the access of the external storage device is not detected, the data separation packet is derived from a factory menu, then the target parameter to be modified is determined from the derived data separation packet, the target data and the data information thereof are modified based on the input instruction of the user, and the modified data is imported into the corresponding storage path of the device, so that the modification of the target data and the information update of the target data are completed. Typically, the factory menu export function is used without source code, or to save time for modifying and compiling code, and to prevent misoperations.
In addition, an embodiment of the present invention further provides a television, where the television includes a memory, a processor, and a data modification program based on data separation, which is stored on the processor and is executable on the processor, and when the processor executes the data modification program based on data separation, the steps of the data modification method based on data separation are implemented.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a data modification program based on data separation is stored, and when executed by a processor, the data modification program based on data separation implements the steps of the data modification method based on data separation as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a television, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A data modification method based on data separation is characterized by comprising the following steps:
storing the device data separated from the device main program into a corresponding storage path in a data separation packet of the external storage device;
when detecting that an external storage device is accessed, judging whether the external storage device has a data separation packet or not;
if the data modification request exists, target data are derived from the data separation packet to replace the data under the corresponding storage path in the equipment, so that the data modification is completed.
2. The data modification method based on data separation as claimed in claim 1, wherein the step of deriving the target data from the data separation packet to replace the data in the corresponding storage path in the terminal is preceded by the steps of:
and determining target data based on the data information and the data storage path of each data in the data separation packet.
3. The data modification method based on data separation as claimed in claim 2, wherein the step of determining the target data based on the data information and the data storage path of each data in the data separation packet comprises:
determining a corresponding device data storage path in the device based on the data storage path of each data in the data separation packet;
matching the data information of the data under the data storage path with the data information of the data under the data storage path of the corresponding equipment;
and if the matching result is inconsistent, determining the data with inconsistent data information under the data storage path and the corresponding equipment data storage path as the target data.
4. The data modification method based on data separation as claimed in claim 3, wherein the step of deriving the target data from the data separation packet to replace the data under the corresponding storage path in the device comprises:
determining a corresponding target storage path in the equipment based on the storage path of the target data in the data separation packet;
and exporting the target data from the storage path of the target data in the data separation packet, and importing the exported target data into the target storage path in the equipment to replace the data in the target storage path.
5. The data modification method based on data separation as claimed in claim 1, wherein the step of determining whether the data separation packet exists in the external storage device comprises:
judging whether the external storage equipment has identification information of the data separation packet or not;
and if so, judging that the data separation packet exists in the external storage equipment.
6. The data modification method based on data separation as claimed in claim 1, wherein the step of deriving the target data from the data separation packet to replace the data in the corresponding storage path in the device is preceded by the steps of:
judging whether the equipment data are updated or not;
and if the data exists, updating the data and the data information thereof under the corresponding storage path in the data separation packet of the external storage equipment.
7. The data modification method based on data separation as claimed in claim 1, wherein after the step of storing the device data separated from the main program of the device into the corresponding storage path in the data separation package of the external storage device, the method comprises:
if the external storage equipment is not accessed, judging whether request information for sending a network data request to the server exists or not;
if yes, downloading a corresponding configuration file from a data separation package pre-stored in the server;
and replacing the target data of the corresponding position in the equipment based on the configuration information corresponding to the configuration file so as to finish data modification.
8. The data modification method based on data separation as claimed in claim 1, wherein after the step of storing the device data separated from the main program of the device into the corresponding storage path in the data separation package of the external storage device, the method comprises:
if no external storage device is accessed, exporting a data separation packet from a factory menu;
determining target data to be modified from the derived data separation packet;
and modifying the target data based on an input instruction of a user and importing the modified target data into a corresponding storage path to complete data modification.
9. A tv set, comprising a memory, a processor and a data modification program based on data separation, stored on the memory and executable on the processor, wherein the processor implements the steps of the data modification method based on data separation according to any one of claims 1 to 8 when executing the data modification program based on data separation.
10. A computer-readable storage medium, on which a data-separation-based data modification program is stored, which, when executed by a processor, implements the steps of the data-separation-based data modification method according to any one of claims 1 to 8.
CN202010360127.XA 2020-04-29 2020-04-29 Data modification method based on data separation, television and storage medium Pending CN111565333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010360127.XA CN111565333A (en) 2020-04-29 2020-04-29 Data modification method based on data separation, television and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010360127.XA CN111565333A (en) 2020-04-29 2020-04-29 Data modification method based on data separation, television and storage medium

Publications (1)

Publication Number Publication Date
CN111565333A true CN111565333A (en) 2020-08-21

Family

ID=72071685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010360127.XA Pending CN111565333A (en) 2020-04-29 2020-04-29 Data modification method based on data separation, television and storage medium

Country Status (1)

Country Link
CN (1) CN111565333A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244746A (en) * 2011-04-29 2011-11-16 深圳市康冠技术有限公司 Television parameter setting method, exporting method and television
US20170163787A1 (en) * 2015-12-07 2017-06-08 Le Holdings (Beijing) Co., Ltd. Method and electronic device for upgrading or downgrading system
CN109947450A (en) * 2019-03-19 2019-06-28 深圳创维-Rgb电子有限公司 System file upgrade method, device, mobile terminal and readable storage medium storing program for executing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244746A (en) * 2011-04-29 2011-11-16 深圳市康冠技术有限公司 Television parameter setting method, exporting method and television
US20170163787A1 (en) * 2015-12-07 2017-06-08 Le Holdings (Beijing) Co., Ltd. Method and electronic device for upgrading or downgrading system
CN109947450A (en) * 2019-03-19 2019-06-28 深圳创维-Rgb电子有限公司 System file upgrade method, device, mobile terminal and readable storage medium storing program for executing

Similar Documents

Publication Publication Date Title
CN108768875B (en) Application gray level publishing method and device and computer readable storage medium
US20140380340A1 (en) Dependency Based Configuration Package Activation
WO2015093815A1 (en) Method and apparatus for outputting digital content
EP2866158A1 (en) Method for reader to provide service, reader, terminal and computer storage medium
CN107404669B (en) Television system interface display method, equipment and computer readable storage medium
CN109683967B (en) Firmware support method, device, mobile terminal and readable storage medium
CN114640727B (en) Protocol analysis method, device and computer readable storage medium
CN111090866A (en) Application authority management method, mobile terminal and computer readable storage medium
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
CN107426588B (en) Method, system and storage device for acquiring television set configuration information
US20150262544A1 (en) Information processing system, information processing method, and computer program product
CN110502263A (en) Upgrade package production method, system and computer readable storage medium
CN113821417A (en) Lamp effect adaptation display processing method, intelligent terminal and storage medium
CN105373370B (en) Control display method and device
KR20020009741A (en) Apparatus for etalishing operating platform of mobile phone and wireless up-grading method of application thereby
CN110032390B (en) Method for realizing multi-model co-upgrade package, storage medium and intelligent terminal
CN109032651B (en) Application updating method, intelligent terminal and computer readable storage medium
CN110018918B (en) Method and device for repairing terminal abnormity, mobile terminal and storage medium
CN111565333A (en) Data modification method based on data separation, television and storage medium
CN113672311A (en) Structure assignment method, assigner and computer-readable storage medium
CN111294655B (en) HDR (high-definition multimedia System) film source playing method and device and storage medium
CN111324491A (en) Program bug fixing method and device and computer readable storage medium
CN111309613A (en) Application testing method, device, equipment and computer readable storage medium
CN110580166A (en) system application installation method and device and storage medium
CN111522564A (en) Method and device for identifying system upgrading state and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200821

RJ01 Rejection of invention patent application after publication