CN112752154A - Software upgrading method and device and smart television - Google Patents

Software upgrading method and device and smart television Download PDF

Info

Publication number
CN112752154A
CN112752154A CN201911038783.1A CN201911038783A CN112752154A CN 112752154 A CN112752154 A CN 112752154A CN 201911038783 A CN201911038783 A CN 201911038783A CN 112752154 A CN112752154 A CN 112752154A
Authority
CN
China
Prior art keywords
memory
upgrade
upgrading
applicable
ddr memory
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
CN201911038783.1A
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.)
Haier Smart Home Co Ltd
Qingdao Haier Multimedia Co Ltd
Original Assignee
Haier Smart Home Co Ltd
Qingdao Haier Multimedia 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 Haier Smart Home Co Ltd, Qingdao Haier Multimedia Co Ltd filed Critical Haier Smart Home Co Ltd
Priority to CN201911038783.1A priority Critical patent/CN112752154A/en
Publication of CN112752154A publication Critical patent/CN112752154A/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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

Abstract

The application relates to the technical field of display equipment, and discloses a software upgrading method, which comprises the following steps: under an upgrading mode of the mobile storage equipment, obtaining double data rate DDR memory information of equipment to be upgraded, analyzing an upgrading file in the mobile storage equipment, and obtaining a first applicable memory condition of the upgrading file; and when the DDR memory meets the first applicable memory condition, controlling the equipment to be upgraded to enter a recovery mode. Because the upgrade file is compiled by technical personnel, a user cannot change the specific content of the upgrade file at will, the problem that the system cannot normally operate after the upgrade is finished by using unmatched upgrade files is avoided, and the success rate of the upgrade is improved. The application also discloses a software upgrading device and an intelligent television.

Description

Software upgrading method and device and smart television
Technical Field
The application relates to the technical field of display equipment, for example, to a software upgrading method and device and a smart television.
Background
At present, with the development of science and technology and the improvement of the living standard of people, the traditional household appliances are more and more intelligent, and intelligent terminals such as smart phones, tablet computers, smart televisions and the like are widely applied. Taking the smart television as an example, because the smart television gradually replaces the traditional television, the smart television often needs to upgrade the main board software thereof, so that the user can obtain more and updated functions, and the use experience of the television system is improved. The software upgrading scheme proposed in the related art is that a software upgrading packet is stored in a flash disk in advance, and if the name of the software upgrading packet is judged to be consistent with the name of a main board in the upgrading process, or if the size of the software packet in the name of the software upgrading packet is judged to be consistent with the size of a Double Data Rate (DDR) memory of the main board, the software upgrading packet in the flash disk is called to be upgraded correspondingly.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art: the name of the software upgrading package can be modified by a user, and upgrading is easy to make mistakes when the name is wrong, so that the system cannot be started.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a software upgrading method and device and a smart television, and aims to solve the technical problem that upgrading errors are easily caused by using the name of a software upgrading package as a judgment condition for starting upgrading.
In some embodiments, the method comprises:
under an upgrading mode of a mobile storage device, obtaining DDR memory information of a device to be upgraded, analyzing an upgrading file in the mobile storage device, and obtaining a first applicable memory condition of the upgrading file;
and when the DDR memory meets the first applicable memory condition, controlling the equipment to be upgraded to enter a recovery mode.
In some embodiments, the apparatus comprises:
the device comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is configured to acquire DDR memory information of a device to be upgraded in an upgrading mode of the movable storage device;
the analysis unit is configured to analyze the upgrade file in the movable storage device to obtain a first applicable memory condition of the upgrade file;
and the control module is configured to control the device to be upgraded to enter a recovery mode when the DDR memory meets the first applicable memory condition.
In some embodiments, the apparatus comprises: a processor and a memory storing program instructions, the processor being configured to perform the above-described method when executing the program instructions.
In some embodiments, the smart television comprises the software upgrading device.
The software upgrading method and device and the smart television provided by the embodiment of the disclosure can achieve the following technical effects:
when the system is upgraded according to the upgrade file, the upgrade file is analyzed to determine the memory condition applicable to the upgrade file contained in the set field, the DDR memory is compared with the memory condition applicable to the upgrade file, and whether the upgrade file is applicable to system upgrade of the equipment to be upgraded is determined. Because the upgrade file is compiled by technical personnel, a user cannot change the specific content of the upgrade file at will, the problem that the system cannot normally operate after the upgrade is finished by using unmatched upgrade files is avoided, and the success rate of the upgrade is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
FIG. 1 is a schematic flow chart diagram of a software upgrading method provided by an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating a software upgrading method provided by an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating a software upgrading method provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a software upgrading apparatus provided by an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a smart television provided in an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The embodiment of the disclosure is mainly used for intelligent equipment which can be connected with external movable storage equipment, for example: smart phones, tablet computers, smart televisions, projectors, and the like. In order to enable a user to obtain more and updated functions and improve the use experience of the television system, the server can regularly promote the upgrading information under the condition of networking of the intelligent equipment. Before the server pushes the upgrade information, the identification of the intelligent device can be obtained so as to push an applicable upgrade file, and upgrade failure caused by inapplicability of the upgrade file can be avoided. The application scenario of the embodiment of the present disclosure is to upgrade the smart device by using an upgrade file in the external removable storage device, for example: the network condition of the intelligent equipment is poor, the online upgrading time is long, or the software version of the intelligent equipment is reduced due to poor experience of the new version function. The removable storage device is a mobile hard disk or a flash disk.
Fig. 1 is a schematic flowchart of a software upgrading method provided in an embodiment of the present disclosure, including the following steps.
S101, under the upgrading mode of the movable storage device, obtaining DDR memory information of the device to be upgraded, analyzing an upgrading file in the movable storage device, and obtaining a first applicable memory condition of the upgrading file.
The equipment to be upgraded is the intelligent equipment which needs to be upgraded. In some embodiments, in an upgrade environment, the smart device provides a plurality of upgrade options from which the user may select a removable storage device upgrade mode.
In some embodiments, the smart device automatically enters a removable storage device upgrade mode upon detecting that a removable storage device is connected. The automatic skip mode simplifies the upgrading process and improves the upgrading speed.
After the upgrade mode is determined, the intelligent device can directly read DDR memory information of the system in the upgrade mode of the movable storage device. Optionally, the memory information includes: total capacity of DDR memory, partitions of DDR memory, and capacity of each partition.
The DDR memory information of the equipment to be upgraded and the first applicable memory condition are acquired without definite sequence, and the DDR memory information of the upgrading equipment and the first applicable memory condition can be acquired at the same time.
During the process of compiling the upgrade file, programmers write the memory conditions suitable for the upgrade file into the fixed character segment, so that the upgrade failure caused by tampering is avoided. In some embodiments, to facilitate the user's selection of the upgrade file, it may be noted in the file name of the upgrade file.
When multiple files are contained in the removable storage device, the user is required to select the file for upgrade. In order to determine whether the upgrade file in the removable storage device can be used for upgrading, the intelligent device needs to analyze the upgrade file to determine the applicable memory condition of the upgrade file before upgrading.
S102, when the DDR memory meets a first applicable memory condition, the device to be upgraded is controlled to enter a recovery mode.
In some embodiments, the first applicable memory condition includes: DDR memory capacity conditions. Optionally, the DDR memory capacity value includes: 1GB, 2GB, 3GB, 4GB, 6GB and 8 GB.
In step S102, a first applicable memory condition of the upgrade file is determined, that is, a DDR memory capacity applicable to the upgrade file is determined. And when the total capacity of the system DDR memory read by the intelligent device is determined to be consistent with the DDR memory capacity applicable to the upgrade file, the intelligent device enters a recovery mode.
In some embodiments, the first applicable memory condition includes: DDR memory partitioning and partition capacity conditions. Whether the upgrade file is suitable or not is judged through the partition information, characters corresponding to DDR memory capacity in the upgrade file can be prevented from being maliciously modified, and upgrade success rate is improved.
In some embodiments, the first applicable memory condition includes: the DDR memory capacity condition, the DDR memory partition condition and the partition capacity condition. Whether the upgrade file is suitable or not is judged through the plurality of memory information, characters corresponding to the DDR memory capacity in the upgrade file can be prevented from being maliciously modified, and the upgrade success rate is improved.
In the embodiment of the disclosure, when the system is upgraded according to the upgrade file, the upgrade file is analyzed to determine the memory condition applicable to the upgrade file included in the setting field, the DDR memory is compared with the memory condition applicable to the upgrade file, and whether the upgrade file is applicable to system upgrade of the device to be upgraded is determined. Because the upgrade file is compiled by technical personnel, a user cannot change the specific content of the upgrade file at will, the problem that the system cannot normally operate after the upgrade is finished by using unmatched upgrade files is avoided, and the success rate of the upgrade is improved.
In some embodiments, the software upgrade method further comprises: and when the DDR memory does not meet the first applicable memory condition, generating matching failure prompt information. And the matching failure prompt information is used for reminding the user that the software is normally upgraded, so that the user can conveniently perform upgrading operation again according to the requirement or select the intelligent equipment to operate by adopting the original system.
Fig. 2 is a schematic flowchart of a software upgrading method provided in an embodiment of the present disclosure, including the following steps.
S201, in the upgrading mode of the movable storage device, obtaining DDR memory information of the device to be upgraded.
S202, analyzing the name of the upgrade file to obtain a second applicable memory condition of the upgrade file.
In some embodiments, the second applicable memory condition comprises: DDR memory capacity conditions. Optionally, the DDR memory capacity value includes: 1GB, 2GB, 3GB, 4GB, 6GB and 8 GB.
In some embodiments, the second applicable memory condition comprises: DDR memory partitioning and partition capacity conditions.
In some embodiments, the second applicable memory condition comprises: the DDR memory capacity condition, the DDR memory partition condition and the partition capacity condition.
In some optional embodiments, the name of the upgrade file includes the corresponding DDR memory capacity. In some optional embodiments, the name of the upgrade file includes an identifier corresponding to the DDR memory capacity, for example: "1" or "one" represents "1 GB".
In some embodiments, step S202 is executed first, and then step S201 is executed to obtain the DDR memory information of the device to be upgraded. In some embodiments, the step S201 of acquiring the DDR memory information of the device to be upgraded and the step S202 may be performed simultaneously. The intelligent device has strong operation capability, and the second applicable memory condition for simultaneously acquiring the DDR memory information of the device to be upgraded and the upgrade file can shorten the upgrade time and improve the upgrade efficiency.
S203, when the DDR memory meets the second applicable memory condition, the upgrade file is decompressed.
In some embodiments, the upgrade file includes a plurality of subfiles, and compression is performed after compilation is completed, so that the integrity of the upgrade file in a copying process can be ensured, meanwhile, modification of the subfiles by a user is avoided, and the safety of the upgrade file is improved.
S204, analyzing the upgrade file to obtain a first applicable memory condition of the upgrade file.
In this embodiment, step S204 is used to verify the upgrade file, that is, to avoid the upgrade failure caused by the user modifying the name of the upgrade file, to prevent the system from crashing due to the upgrade error, and to improve the upgrade success rate.
In some implementations, the first applicable memory condition and the second usage condition are the same.
In some implementations, the first applicable memory condition and the second usage condition are different. Optionally, the first applicable memory condition determined by analyzing the upgrade file is a condition of DDR memory partition and partition capacity, and the second applicable memory condition determined according to the name of the upgrade file is DDR memory capacity.
Optionally, the first applicable memory condition determined by analyzing the upgrade file is a DDR memory capacity, and the second applicable memory condition determined according to the name of the upgrade file is a DDR memory partition and a partition capacity condition.
S205, when the DDR memory meets the first applicable memory condition, the device to be upgraded is controlled to enter a recovery mode.
In the embodiment of the disclosure, when the system is upgraded according to the upgrade file, the pre-judgment is performed according to the name of the upgrade file, when it is determined that the upgrade file is suitable for system upgrade of the device to be upgraded, the upgrade file is analyzed again to determine the memory condition applicable to the upgrade file included in the setting field, the DDR memory is compared with the memory condition applicable to the upgrade file, and whether the upgrade file is suitable for system upgrade of the device to be upgraded is determined. Because the upgrade file is compiled by technical personnel, a user cannot change the specific content of the upgrade file at will, the problem that the system cannot normally operate after the upgrade is finished by using unmatched upgrade files is avoided, and the success rate of the upgrade is improved.
In some embodiments, the software upgrade method further comprises: and when the DDR memory does not meet the second applicable memory condition, generating matching failure prompt information. And the matching failure prompt information is used for reminding the user that the software is normally upgraded, so that the user can conveniently perform upgrading operation again according to the requirement or select the intelligent equipment to operate by adopting the original system.
In some embodiments, when generating the matching failure prompt information, the method further includes: and controlling the equipment to be upgraded to exit the upgrading mode of the movable storage equipment and operating by using the original system.
In some embodiments, before controlling the device to be upgraded to exit the removable storage device upgrade mode, the method further includes: acquiring the number of files in the movable storage equipment; when the number of the files is one, controlling the equipment to be upgraded to exit the upgrading mode of the movable storage equipment; and when the number of the files is two or more, displaying matching failure prompt information. Based on the application scenario of this embodiment, when the number of files in the removable storage device is one and the upgrade fails, the user needs to transfer the upgrade file to the removable storage device again to ensure that the upgrade succeeds, and therefore, exiting from the upgrade mode of the removable storage device can facilitate the user to obtain related services through the intelligent device, and improve user experience.
Fig. 3 is a flowchart illustrating a software upgrading method according to an embodiment of the present disclosure, which includes the following steps.
And S301, starting up.
And S302, entering an upgrading mode of the removable storage device.
S303, reading the DDR memory and the upgrading file name of the television.
S304, judging whether the DDR memory of the television meets the condition of the DDR memory capacity in the name.
S305, analyzing the set field intercepted by the upgrade file, and acquiring the corresponding DDR memory capacity condition.
And S306, generating matching failure prompt information.
And S307, exiting the upgrading mode, running the original system, and prompting the matching failure.
If the determination result in step S304 is yes, step S305 and the subsequent step S308 are executed. In the case where the determination result in step S304 is no, steps S306 and S307 are executed.
S308, judging whether the DDR memory of the television meets the condition of the DDR memory capacity corresponding to the set field.
S309, enter the recovery mode.
If the determination result in step S308 is yes, step S309 and subsequent step S310 are executed. In the case where the determination result in step S308 is no, steps S306 and S307 are executed.
S310, analyzing the upgrade file to determine the size of each partition of the upgrade file.
And S311, reading the partition and the partition capacity of the DDR memory of the television.
And S312, judging whether the partition and the partition capacity of the DDR memory of the television are matched with each partition of the upgrade file.
And S313, sequentially upgrading the DDR memory partitions.
If the determination result in step S312 is yes, step S313 is executed. In the case where the determination result in step S308 is no, steps S306 and S307 are executed.
Fig. 4 is a schematic diagram of a software upgrading apparatus provided in an embodiment of the present disclosure, including: an acquisition module 401, an analysis unit 402 and a control module 403.
The obtaining module 401 is configured to obtain DDR memory information of a device to be upgraded in an upgrade mode of the removable storage device.
The parsing unit 402 is configured to parse the upgrade file in the removable storage device, and obtain a first applicable memory condition of the upgrade file.
The control module 403 is configured to control the device to be upgraded to enter a recovery mode when the DDR memory meets the first applicable memory condition.
The equipment to be upgraded is the intelligent equipment which needs to be upgraded. In some embodiments, in an upgrade environment, the smart device provides a plurality of upgrade options from which the user may select a removable storage device upgrade mode.
In some embodiments, the smart device automatically enters a removable storage device upgrade mode upon detecting that a removable storage device is connected. The automatic skip mode simplifies the upgrading process and improves the upgrading speed.
After the upgrade mode is determined, the obtaining module 401 may directly read the DDR memory information of the system in the upgrade mode of the removable storage device. Optionally, the memory information includes: total capacity of DDR memory, partitions of DDR memory, and capacity of each partition.
The DDR memory information of the equipment to be upgraded and the first applicable memory condition are acquired without definite sequence, and the DDR memory information of the upgrading equipment and the first applicable memory condition can be acquired at the same time.
During the process of compiling the upgrade file, programmers write the memory conditions suitable for the upgrade file into the fixed character segment, so that the upgrade failure caused by tampering is avoided. In some embodiments, to facilitate the user's selection of the upgrade file, it may be noted in the file name of the upgrade file.
When multiple files are contained in the removable storage device, the user is required to select the file for upgrade. In order to determine whether the upgrade file in the removable storage device can be used for upgrading, the intelligent device needs to analyze the upgrade file by the analysis unit 402 before upgrading to determine the applicable memory condition of the upgrade file.
In some embodiments, the first applicable memory condition includes: DDR memory capacity conditions. Optionally, the DDR memory capacity value includes: 1GB, 2GB, 3GB, 4GB, 6GB and 8 GB.
The parsing unit 402 determines a first applicable memory condition of the upgrade file, that is, determines a DDR memory capacity applicable to the upgrade file. When it is determined that the total capacity of the system DDR memory read by the smart device is consistent with the DDR memory capacity applicable to the upgrade file, the control module 403 controls the smart device to enter a recovery mode.
In some embodiments, the first applicable memory condition includes: DDR memory partitioning and partition capacity conditions. Whether the upgrade file is suitable or not is judged through the partition information, characters corresponding to DDR memory capacity in the upgrade file can be prevented from being maliciously modified, and upgrade success rate is improved.
In some embodiments, the first applicable memory condition includes: the DDR memory capacity condition, the DDR memory partition condition and the partition capacity condition. Whether the upgrade file is suitable or not is judged through the plurality of memory information, characters corresponding to the DDR memory capacity in the upgrade file can be prevented from being maliciously modified, and the upgrade success rate is improved.
In the embodiment of the disclosure, when the system is upgraded according to the upgrade file, the upgrade file is analyzed to determine the memory condition applicable to the upgrade file included in the setting field, the DDR memory is compared with the memory condition applicable to the upgrade file, and whether the upgrade file is applicable to system upgrade of the device to be upgraded is determined. Because the upgrade file is compiled by technical personnel, a user cannot change the specific content of the upgrade file at will, the problem that the system cannot normally operate after the upgrade is finished by using unmatched upgrade files is avoided, and the success rate of the upgrade is improved.
In some embodiments, the software upgrading apparatus further comprises: the generating module is configured to generate the matching failure prompt information when the DDR memory does not meet the first applicable memory condition. And the matching failure prompt information is used for reminding the user that the software is normally upgraded, so that the user can conveniently perform upgrading operation again according to the requirement or select the intelligent equipment to operate by adopting the original system.
In some embodiments, the parsing unit 402 is further configured to, before parsing the upgrade file, parse the name of the upgrade file, obtain a second applicable memory condition of the upgrade file, and decompress the upgrade file when the DDR memory satisfies the second applicable memory condition.
In some embodiments, the second applicable memory condition comprises: DDR memory capacity conditions. Optionally, the DDR memory capacity value includes: 1GB, 2GB, 3GB, 4GB, 6GB and 8 GB.
In some embodiments, the second applicable memory condition comprises: DDR memory partitioning and partition capacity conditions.
In some embodiments, the second applicable memory condition comprises: the DDR memory capacity condition, the DDR memory partition condition and the partition capacity condition.
In some optional embodiments, the name of the upgrade file includes the corresponding DDR memory capacity. In some optional embodiments, the name of the upgrade file includes an identifier corresponding to the DDR memory capacity, for example: "1" or "one" represents "1 GB".
In some embodiments, the generation module is further configured to generate the match failure hint information when the DDR memory does not satisfy the second applicable memory condition. And the matching failure prompt information is used for reminding the user that the software is normally upgraded, so that the user can conveniently perform upgrading operation again according to the requirement or select the intelligent equipment to operate by adopting the original system.
In some embodiments, the control module 403 is further configured to, when the matching failure prompt message is generated, control the device to be upgraded to exit the removable storage device upgrading mode, and control the device to be upgraded to operate in the original system.
In some embodiments, the obtaining module 401 is further configured to obtain the number of files in the removable storage device before controlling the device to be upgraded to exit the removable storage device upgrade mode. The control module 403 is configured to control the device to be upgraded to exit the upgrade mode of the removable storage device when the number of the files is one; and when the number of the files is two or more, controlling the equipment to be upgraded to display prompt information of matching failure. Based on the application scenario of this embodiment, when the number of files in the removable storage device is one and the upgrade fails, the user needs to transfer the upgrade file to the removable storage device again to ensure that the upgrade succeeds, and therefore, exiting from the upgrade mode of the removable storage device can facilitate the user to obtain related services through the intelligent device, and improve user experience.
The embodiment of the present disclosure provides a software upgrading apparatus, which includes a processor and a memory storing program instructions, where the processor is configured to execute the software upgrading method in the foregoing method embodiments when executing the program instructions.
The embodiment of the disclosure provides a smart television, which comprises a software upgrading device in the device embodiment.
The embodiment of the present disclosure provides a smart television, whose structure is shown in fig. 5, including:
a processor (processor)500 and a memory (memory)501, and may further include a Communication Interface 502 and a bus 503. The processor 500, the communication interface 502, and the memory 501 may communicate with each other via a bus 503. Communication interface 502 may be used for information transfer. The processor 500 may call logic instructions in the memory 501 to perform the software upgrade method of the above-described embodiment.
In addition, the logic instructions in the memory 501 may be implemented in the form of software functional units and may be stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 501 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 500 executes functional applications and data processing, i.e. implements the software upgrading method in the above-described method embodiments, by executing program instructions/modules stored in the memory 501.
The memory 501 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 501 may include a high-speed random access memory and may also include a nonvolatile memory.
The disclosed embodiments provide a computer-readable storage medium storing computer-executable instructions configured to perform the software upgrading method in the above method embodiments.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the software upgrade method in the above method embodiments.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the disclosed embodiments includes the full ambit of the claims, as well as all available equivalents of the claims. As used in this application, although the terms "first," "second," etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, unless the meaning of the description changes, so long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first and second elements are both elements, but may not be the same element. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method of upgrading software, comprising:
under an upgrading mode of the mobile storage equipment, obtaining double data rate DDR memory information of equipment to be upgraded, analyzing an upgrading file in the mobile storage equipment, and obtaining a first applicable memory condition of the upgrading file;
and when the DDR memory meets the first applicable memory condition, controlling the equipment to be upgraded to enter a recovery mode.
2. The method of claim 1, wherein the first applicable memory condition comprises:
the conditions of DDR memory capacity, and/or the conditions of DDR memory partitioning and partition capacity.
3. The method of claim 1, further comprising:
and when the DDR memory does not meet the first applicable memory condition, generating matching failure prompt information.
4. The method of any of claims 1 to 3, further comprising, prior to parsing the upgrade file:
analyzing the name of the upgrading file to obtain a second applicable memory condition of the upgrading file;
and when the DDR memory meets the second applicable memory condition, decompressing the upgrade file.
5. The method of claim 4, wherein the second applicable memory condition comprises:
the conditions of DDR memory capacity, and/or the conditions of DDR memory partitioning and partition capacity.
6. The method of claim 4, further comprising:
and generating matching failure prompt information when the DDR memory does not meet the second applicable memory condition.
7. The method according to claim 3 or 6, wherein when generating the matching failure prompt message, the method further comprises:
and controlling the equipment to be upgraded to exit the upgrading mode of the movable storage equipment and operating by using the original system.
8. A software upgrading apparatus, comprising:
the device comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is configured to acquire DDR memory information of a device to be upgraded in an upgrading mode of the movable storage device;
the analysis unit is configured to analyze the upgrade file in the movable storage device to obtain a first applicable memory condition of the upgrade file;
and the control module is configured to control the device to be upgraded to enter a recovery mode when the DDR memory meets the first applicable memory condition.
9. A software upgrade apparatus comprising a processor and a memory storing program instructions, characterized in that the processor is configured to perform the method according to any one of claims 1 to 8 when executing the program instructions.
10. A smart tv comprising the software upgrading apparatus according to claim 9.
CN201911038783.1A 2019-10-29 2019-10-29 Software upgrading method and device and smart television Pending CN112752154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911038783.1A CN112752154A (en) 2019-10-29 2019-10-29 Software upgrading method and device and smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911038783.1A CN112752154A (en) 2019-10-29 2019-10-29 Software upgrading method and device and smart television

Publications (1)

Publication Number Publication Date
CN112752154A true CN112752154A (en) 2021-05-04

Family

ID=75641632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911038783.1A Pending CN112752154A (en) 2019-10-29 2019-10-29 Software upgrading method and device and smart television

Country Status (1)

Country Link
CN (1) CN112752154A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778490A (en) * 2021-09-16 2021-12-10 深圳市易平方网络科技有限公司 Software upgrading processing method and device based on intelligent terminal and intelligent terminal

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385520A (en) * 2011-09-06 2012-03-21 四川金网通电子科技有限公司 USB (Universal Serial Bus) upgrading method based on partition name for digital television set-top box
CN104978223A (en) * 2015-07-02 2015-10-14 上海市共进通信技术有限公司 Method for implementing upgrade of device firmware in Web manner
CN106126285A (en) * 2016-06-22 2016-11-16 天维尔信息科技股份有限公司 A kind of method for upgrading software and terminal
CN106610839A (en) * 2015-10-21 2017-05-03 阿里巴巴集团控股有限公司 Method for releasing upgrading package and lightweight upgrading method, device and system
CN106648441A (en) * 2015-10-28 2017-05-10 中兴通讯股份有限公司 Method and device for transferring equipment partition information
CN107193593A (en) * 2017-05-17 2017-09-22 深圳创维数字技术有限公司 A kind of upgrade method, set top box and the storage medium of scalable file
CN107301056A (en) * 2017-07-27 2017-10-27 上海斐讯数据通信技术有限公司 A kind of AP online upgradings processing method and processing device
CN108399079A (en) * 2017-02-07 2018-08-14 中兴通讯股份有限公司 Difference upgrade method and device, terminal
CN108874414A (en) * 2018-04-02 2018-11-23 广州视源电子科技股份有限公司 Method for upgrading software, device, readable storage medium storing program for executing and television equipment
CN108989891A (en) * 2018-06-29 2018-12-11 广州视源电子科技股份有限公司 System for TV set update method, device, readable storage medium storing program for executing and television set
CN109597639A (en) * 2018-12-04 2019-04-09 深圳市创维软件有限公司 A kind of method for upgrading software, device, equipment and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385520A (en) * 2011-09-06 2012-03-21 四川金网通电子科技有限公司 USB (Universal Serial Bus) upgrading method based on partition name for digital television set-top box
CN104978223A (en) * 2015-07-02 2015-10-14 上海市共进通信技术有限公司 Method for implementing upgrade of device firmware in Web manner
CN106610839A (en) * 2015-10-21 2017-05-03 阿里巴巴集团控股有限公司 Method for releasing upgrading package and lightweight upgrading method, device and system
CN106648441A (en) * 2015-10-28 2017-05-10 中兴通讯股份有限公司 Method and device for transferring equipment partition information
CN106126285A (en) * 2016-06-22 2016-11-16 天维尔信息科技股份有限公司 A kind of method for upgrading software and terminal
CN108399079A (en) * 2017-02-07 2018-08-14 中兴通讯股份有限公司 Difference upgrade method and device, terminal
CN107193593A (en) * 2017-05-17 2017-09-22 深圳创维数字技术有限公司 A kind of upgrade method, set top box and the storage medium of scalable file
CN107301056A (en) * 2017-07-27 2017-10-27 上海斐讯数据通信技术有限公司 A kind of AP online upgradings processing method and processing device
CN108874414A (en) * 2018-04-02 2018-11-23 广州视源电子科技股份有限公司 Method for upgrading software, device, readable storage medium storing program for executing and television equipment
CN108989891A (en) * 2018-06-29 2018-12-11 广州视源电子科技股份有限公司 System for TV set update method, device, readable storage medium storing program for executing and television set
CN109597639A (en) * 2018-12-04 2019-04-09 深圳市创维软件有限公司 A kind of method for upgrading software, device, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778490A (en) * 2021-09-16 2021-12-10 深圳市易平方网络科技有限公司 Software upgrading processing method and device based on intelligent terminal and intelligent terminal

Similar Documents

Publication Publication Date Title
US9436557B2 (en) Method and computation node for processing application data
US20160132315A1 (en) Method, Apparatus, and Communication Device for Updating Firmware
CN110555073A (en) data processing method and device, electronic equipment and storage medium
CN110928559A (en) Data burning method and device, electronic equipment and storage medium
CN108445788B (en) Hotel scene control method and related device
CN105589699A (en) Serial number information update method, device and terminal
CN109002305B (en) Method and system for updating equipment program
CN112752154A (en) Software upgrading method and device and smart television
US10007529B2 (en) Data terminal running mode switching method, device, and data terminal
CN109739857B (en) Data distributed writing method and device under high concurrency, terminal and storage medium
CN106096419A (en) The method of operating system security startup, Apparatus and system
CN110187872A (en) A kind of BIOS development approach, system and electronic equipment and storage medium
CN112463199A (en) System upgrading method and terminal
CN104951325A (en) Information display method and electronic equipment
CN108920338A (en) A kind of method and terminal indicating file system state
CN112312212B (en) Upgrading method and related device for digital television system
CN105701162B (en) Management method for user data partition of intelligent terminal and intelligent terminal
CN113849161A (en) Application control method and device, storage medium and electronic equipment
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
CN102460386B (en) For the method and apparatus of load document during bootup process
CN112654964A (en) Brush machine control method, brush machine control device and terminal equipment
CN110262272B (en) Intelligent household equipment control method, device and system
CN112532750B (en) Big data push processing method and system and cloud platform
CN111104412B (en) Concurrent control method, device and system based on single thread
CN108229134B (en) Password prompting method and electronic equipment

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