CN111918135A - Method and device for checking configuration parameters and television - Google Patents

Method and device for checking configuration parameters and television Download PDF

Info

Publication number
CN111918135A
CN111918135A CN202010578351.6A CN202010578351A CN111918135A CN 111918135 A CN111918135 A CN 111918135A CN 202010578351 A CN202010578351 A CN 202010578351A CN 111918135 A CN111918135 A CN 111918135A
Authority
CN
China
Prior art keywords
function
configuration parameters
file
configuration
layer
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
CN202010578351.6A
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 CN202010578351.6A priority Critical patent/CN111918135A/en
Publication of CN111918135A publication Critical patent/CN111918135A/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/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/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • 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
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
    • 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

Abstract

The application relates to the technical field of intelligent household appliances, and discloses a method and a device for checking configuration parameters and a television, wherein the method comprises the following steps: under the condition that the key of the screen parameter file is consistent with the key of the system, the U-Boot determines configuration parameters of a set function according to the screen parameter file, and configures environment variables of a hardware layer according to the configuration parameters; the framework layer configures framework layer environment variables according to the hardware layer environment variables, and determines target environment variables corresponding to functions to be verified according to the function verification requests; and the application layer acquires the target environment variable and generates a function menu display interface according to the target environment variable under the condition that the target environment variable is matched with the system hardware configuration information. According to the scheme, the problem that verification fails due to the fact that a verifier or a user modifies the configuration parameters of the set functions in the screen reference file is avoided, and the success rate of normally displaying the function menu on the television is improved. The technical effect of the method is explained. The application also discloses a device for checking the configuration parameters and a television.

Description

Method and device for checking configuration parameters and television
Technical Field
The application relates to the technical field of intelligent household appliances, for example, to a method and a device for checking configuration parameters and a television.
Background
At present, functional configuration parameters needing to be verified in a television and the model of the whole television are combined and written into a key code file. When a certain function is verified, the function configuration parameters in the key code file are directly read, when the display file is matched with the hardware configuration, verification is successful, and the television normally displays the function menu.
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 key code file is modifiable, and when the key code file is modified, the verification fails and the function menu cannot be normally displayed.
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 method and a device for checking configuration parameters and a television, and aims to solve the technical problem that a function menu cannot be normally displayed due to checking failure caused by modification of an existing key code file.
In some embodiments, the method for configuration parameter checking includes:
under the condition that the key of the screen parameter file is consistent with the key of the system, the U-Boot determines configuration parameters of a set function according to the screen parameter file, and configures environment variables of a hardware layer according to the configuration parameters;
the framework layer configures framework layer environment variables according to the hardware layer environment variables, and determines target environment variables corresponding to functions to be verified according to the function verification requests;
and the application layer acquires the target environment variable and generates a function menu display interface according to the target environment variable under the condition that the target environment variable is matched with the system hardware configuration information.
In some embodiments, the means for configuration parameter checking comprises: processor and memory storing program instructions, the processor being configured to perform the above-described method for configuration parameter checking when executing the program instructions
In some embodiments, the television set comprises the apparatus for configuration parameter verification described above.
The method and the device for verifying the configuration parameters and the television set provided by the embodiment of the disclosure can achieve the following technical effects:
and writing the configuration parameters of the set function into the screen parameter file, and starting a verification process under the condition of confirming that the screen parameter file is consistent with the system key. And in the checking process, the U-Boot configures the environment variable of the hardware layer according to the configuration parameters in the screen parameter file so as to facilitate reading and analysis of the framework layer, the framework layer determines the target environment variable according to the function checking request, so that the application layer determines the checking result according to the target environment variable and generates a function menu display interface when the checking is successful. According to the scheme, the problem that verification fails due to the fact that a verifier or a user modifies the configuration parameters of the set functions in the screen reference file is avoided, and the success rate of normally displaying the function menu on the television 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 diagram of a method for checking configuration parameters according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of another method for configuration parameter verification provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another method for configuration parameter verification provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another method for configuration parameter verification provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another method for configuration parameter verification provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of another method for configuration parameter checking provided by the embodiments of the present disclosure;
fig. 7 is a schematic diagram of a television set provided by the embodiment of the 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 terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
The method for verifying the configuration parameters, provided by the embodiment of the disclosure, is mainly used for verifying the television. With the increasing requirements for the intellectualization and the user experience of the television, the system software is updated regularly to optimize the performance of the television. In order to avoid errors or failed upgrading of the upgrading file, normal display of the television can be ensured after upgrading is completed, and verification is started after upgrading is completed or the system is powered on.
Referring to fig. 1, a method for verifying configuration parameters according to an embodiment of the present disclosure includes the following steps:
s101, under the condition that the key of the screen parameter file is consistent with the key of the system, the U-Boot determines configuration parameters of a set function according to the screen parameter file, and configures environment variables of a hardware layer according to the configuration parameters.
In some embodiments, the setting function comprises: remote controller mode, button type, high color gamut display, sound effect function and high definition multimedia interface.
In the prior art, the configuration parameters of the set functions and the model of the whole machine are combined and written into a key code file. For example: LS55a51A × P × DhTa0, wherein LS55a51 is the complete machine model; a is the movement model of the television, and is a positive integer; p1 is the panda screen of the movement brand, and screens of other brands are represented by different letters. A P is used for identifying and displaying hardware information, and the selection of the screen has small influence on the operation and control of the television and does not need to be checked. DhTa0 is a setting function that requires verification in this application. In the character segment DhTa0, D indicates that the television supports the DBX sound effect function, and when the character segment does not include D, the television does not support the DBX sound effect function; h represents that the television supports high color gamut display, and when h is not included in the character segment, the television does not support high color gamut display; t represents that the television supports the Bluetooth remote control function, and when the character segment does not contain T, the television does not support the Bluetooth remote control function and only supports the infrared remote control function; a represents that the television has two HDMI interfaces, and when a is not included in the character segment, the television has three HDMI interfaces; and 0 represents that the television key type is a 1 key, when 0 is not included in the character segment and f is included in the character segment, the television key type is a5 key, and when 0 is not included in the character segment and k is included in the character segment, the television key type is a 7 key.
As described above, during the verification process, the verifying personnel needs to know the coding logic of the complete machine model and the configuration parameters in the key code file. According to the scheme, the configuration parameters of the set functions are written into the screen parameter file, and the configuration parameters of each set function are independently coded during writing.
As the number of tv models increases, the configuration parameters need to be updated. According to the method and the device, the configuration parameters are written into the screen parameter file, the main program of the system does not need to be updated in the updating process, and the difficulty of software version maintenance is reduced.
In this embodiment of the present application, the process of writing the configuration parameter screen parameter file of the setting function into the screen parameter file includes: compiling the configuration parameters to generate a meaninging.apk file, copying the file to a system image file system.img, reading and writing the file into a bootloader image file bootloader.img by a bootloader, and finally loading the file to a data factory image file factor data.img.
The system.img, the bootloader.img and the factorydata.img are encrypted by a signature tool in the process of setting the configuration parameter screen parameter file of the function, so that the system safety is improved, the user operation permission is cancelled, and the verification failure caused by the fact that the user modifies the configuration parameter of the set function is avoided.
In some embodiments, the signing tool Aml-signtool-TL1, while storing the encrypted key in the aml-user-key.
Sig file aml-user-key needs to be read and the screen reference file key is verified against the system key before step S101.
The U-Boot is used as a Boot loader of a hardware layer, and the system can run with an operating system first when being started. And the U-Boot determines configuration parameters of the set function according to the screen parameter file, configures the environment variables of the hardware layer according to the configuration parameters, prepares for the operation of the operating system, and facilitates the operating system to call the environment variables of the hardware layer so as to quickly identify the configuration parameters.
And S102, the framework layer configures the framework layer environment variables according to the hardware layer environment variables, and determines target environment variables corresponding to functions to be verified according to the function verification requests.
The television operating system related in the application is an android system. And starting the android system after the U-Boot is ready, and configuring the framework layer environment variables by the framework layer according to the hardware layer environment variables. The setting function related to the present application includes: remote controller mode, button type, high color gamut display, sound effect function and high definition multimedia interface. The frame layer sets corresponding frame layer environment variables according to different functions so as to perform corresponding page layout according to different functions and generate various controls of the interface.
When the frame layer receives the function check request, the function to be checked is determined according to the function check request, and the corresponding target environment variable is called, namely, the corresponding page layout is called and various controls of the interface are generated.
S103, the application layer obtains the target environment variable and generates a function menu display interface according to the target environment variable under the condition that the target environment variable is matched with the system hardware configuration information.
And if the target environment variable is not matched with the system hardware configuration information, the verification is failed, and the function menu display interface is not generated and is not displayed. For different functions, the process of generating the function menu display interface by the application layer is independent, namely the function menu display interface of the function which is successfully verified is not influenced when the function which is failed to be verified exists.
The hardware configuration information of the system is the hardware structure of the television, taking the remote controller mode as an example, if the television comprises the bluetooth module, the television supports the remote controller mode as the bluetooth mode. When the television comprises the Bluetooth module and the target variable does not comprise the control related to the Bluetooth mode, namely the verification fails, the application layer cannot generate a display interface of the remote controller mode.
In the embodiment of the application, the configuration parameters of the set function are written into the screen parameter file, and the verification process is started under the condition that the screen parameter file is confirmed to be consistent with the system key. And in the checking process, the U-Boot configures the environment variable of the hardware layer according to the configuration parameters in the screen parameter file so as to facilitate reading and analysis of the framework layer, the framework layer determines the target environment variable according to the function checking request, so that the application layer determines the checking result according to the target environment variable and generates a function menu display interface when the checking is successful. According to the scheme, the problem that verification fails due to the fact that a verifier or a user modifies the configuration parameters of the set functions in the screen reference file is avoided, and the success rate of normally displaying the function menu on the television is improved.
In some embodiments, the determining, by the U-Boot, the configuration parameter of the setting function according to the screen parameter file includes: the U-Boot acquires the equipment model and the screen parameter file; and analyzing the screen parameter file, and determining the corresponding configuration parameters of the set function according to the equipment model. The configuration parameters of the set functions of different equipment models can be stored in the screen parameter file, and the configuration parameters of the set functions are different correspondingly due to different hardware configurations of different equipment models. And the U-Boot determines the configuration parameters of the corresponding set function according to the equipment model, thereby ensuring the validity of the verification.
In some embodiments, the obtaining of the device model by the U-Boot includes: the U-Boot acquires a KEY code file; and reading the equipment model from the KEY code file according to the first set starting position. As described in the foregoing embodiment with respect to the KEY code file, the configuration parameters of the set functions and the entire model in the KEY code file are written in the set coding sequence, and the U-Boot reads the device model from the KEY code file in the reading process according to the coding sequence of the KEY code file.
In some embodiments, after the configuration parameters of the set function are written into the screen parameter file, the configuration parameters of the set function are cancelled from the KEY code file, so as to simplify the composition of the KEY code file and facilitate reading.
In the embodiment of the disclosure, the configuration parameters of different set function types are recoded and independently coded, and the coding sequence of a plurality of function parameters in the existing character segment DhTa0 is not required to be judged, so that the reading is convenient and the checking efficiency is improved. According to different types of set functions, the configuration process of the hardware layer environment variable and the framework layer environment variable in the method for checking the configuration parameter is different, and fig. 2 to 6 show a flow chart of the configuration process of the hardware layer environment variable and the framework layer environment variable in the method for checking the configuration parameter.
Referring to fig. 2, a method for checking configuration parameters provided in the embodiment of the present disclosure includes the following steps:
s201, the U-Boot reads the value of Remote to determine the configuration parameters of the Remote controller mode.
S202, when Remote is BT, that is, when bluetooth Remote control is supported, ro.
S203, the frame layer configures the matching code of the Bluetooth remote controller according to the parameter value true.
S204, when Remote is IR, that is, bluetooth Remote control is not supported, set to ro.
S205, the framework layer does not need to generate a Bluetooth remote controller matching code.
And S202 and S204, namely the U-Boot configures corresponding hardware layer environment variables according to the configuration parameters of the remote controller mode. Step S203 and step S205, the framework layer configures the framework layer environment variables according to the hardware layer environment variables.
Referring to fig. 3, a method for checking configuration parameters provided in the embodiment of the present disclosure includes the following steps:
s301, the U-Boot reads the value of KEYPAD to determine the configuration parameters of the key type.
S302, when the key on the tv is a 1 key, key set is 1.
And S303, configuring a one-key menu control by the framework layer according to the parameter value 1.
S304, when the key on the tv is 5, key set is 5.
S305, the framework layer configures the five-key menu control according to the parameter value 5.
S306, when the key on the tv is 7, key is set to 7.
And S307, configuring the seven-key menu control by the frame layer according to the parameter value 7.
The key types include 1 key, 5 keys and 7 keys, namely the number of keys included in the key board on the television local machine. And S302, S304 and S306, namely the U-Boot configures corresponding hardware layer environment variables according to the configuration parameters of the key type. Step S303, step S305, and step S307, i.e., the framework layer configures framework layer environment variables according to the hardware layer environment variables.
Referring to fig. 4, a method for checking configuration parameters provided in the embodiment of the present disclosure includes the following steps:
s401, the U-Boot reads the value of NM to determine the configuration parameters of high color gamut display.
S402, when high gamut display is supported, NM is set to enable.
And S403, configuring the high color gamut menu control by the framework layer according to the parameter value enable.
S404, when the high color gamut display is not supported, NM is set to disable.
S405, the framework layer does not need to configure the high-color-gamut menu control.
When the menu is displayed, the eye protection function and the nanometer wide color gamut function are added to the high-color-gamut display menu compared with the common color-gamut display menu. And S402 and S404, namely the U-Boot configures corresponding hardware layer environment variables according to the configuration parameters displayed in the high color gamut. Step S403 and step S405, i.e. the framework layer configures the framework layer environment variables according to the hardware layer environment variables. In step S405, the frame layer does not generate controls related to the eye protection function and the nano wide color gamut function without configuring a high color gamut menu control.
Referring to fig. 5, a method for checking configuration parameters provided in the embodiment of the present disclosure includes the following steps:
s501, the U-Boot reads the DBX value to determine the configuration parameters of the sound effect function.
S502, when the DBX sound effect function is supported, DBX is set to enable.
And S503, configuring the DBX sound effect menu control by the framework layer according to the parameter value enable.
S504, when the DBX sound effect function is not supported, set DBX disable.
And S505, the frame layer does not need to be configured with a DBX sound effect menu control.
When the menu is displayed, the DBX sound effect display menu is added with a ring sound function and a constant sound function compared with a common sound effect display menu. And S502 and S504, namely the U-Boot configures corresponding hardware layer environment variables according to the configuration parameters of the sound effect function. Step S503 and step S505, namely the framework layer configures the framework layer environment variables according to the hardware layer environment variables. In step S505, the frame layer does not need to configure the DBX sound effect menu control, i.e., the control related to the ring tone function and the constant tone function is not generated.
Referring to fig. 6, a method for checking configuration parameters provided in the embodiment of the present disclosure includes the following steps:
s601, reading the value of hdmi by the U-Boot to determine the configuration parameters of the high-definition multimedia interface.
S602, when two high-definition multimedia inputs are supported, setting hdmi to 2.
And S603, configuring two paths of high-definition multimedia information source controls by the framework layer according to the parameter value 2.
S604, when three-way high-definition multimedia input is supported, set hdmi to 3.
And S605, configuring three paths of high-definition multimedia information source controls by the frame layer according to the parameter value 3.
And step S602 and step S604, namely the U-Boot configures corresponding hardware layer environment variables according to the configuration parameters of the high-definition multimedia interface. Step S603 and step S605, namely, the framework layer configures the framework layer environment variables according to the hardware layer environment variables.
In some embodiments, the KEY code file is unchanged in composition, and as described above with respect to the KEY code file in the embodiments, the configuration parameters of the set function are written into the KEY code file, and at the same time, the configuration parameters of the set function are recoded and written into the screen parameter file. The method further comprises the following steps: reading writable configuration parameters of the set function from the KEY code file according to the second set starting position; and generating prompt information under the condition that the configuration parameters are inconsistent with the writable configuration parameters. Due to the fact that the readability of the KEY code file is high, verification personnel can conveniently verify the configuration of the television according to the KEY code file. Therefore, the configuration parameters of the set function are reserved in the KEY code file. Because the verifying personnel have the modification authority to the KEY code file, the KEY code file is prevented from being modified due to misoperation, and prompt information is generated, so that the verifying personnel can conveniently verify and confirm, the verifying accuracy is improved, and the feedback of verification failure caused by misoperation is reduced. In addition, when configuration parameters in the KEY code file are matched with the hardware configuration of the television and a programmer has an error in compiling the screen parameter file, the programmer can further determine that the programmer has an error in compiling the screen parameter file according to the prompt information, so that the programmer can modify the upgrade file in time.
As shown in fig. 2 to 6, the framework layer generates a bluetooth remote controller matching code and controls of each function display menu according to configuration parameters in the screen parameter file. And under the condition that the configuration parameters are not consistent with the writable configuration parameters, the framework layer generates the matching codes of the Bluetooth remote controller and the controls of each function display menu and simultaneously generates the controls related to the prompt message. If the control related to the prompt message exists, the application layer acquires the target environment variable and simultaneously acquires the control related to the prompt message to display the prompt message, so that a checker can conveniently check writable configuration parameters in the KEY code file to determine that the KEY code file is modified or the updated file has a compiling error.
In some embodiments, configuring the hardware layer environment variables according to the configuration parameters includes: establishing a hardware layer configuration file; writing the set function type and the configuration parameters into a configuration file; and encapsulating the configuration file to generate the hardware layer environment variable. As shown in fig. 2 to 6, after the U-Boot sets the parameter value, in order to ensure that the frame layer can be read smoothly, a process of generating the hardware layer environment variable by encapsulating the configuration file is further included.
In some embodiments, the framework layer configures the framework layer environment variables according to the hardware layer environment variables, including: analyzing the environment variable of the hardware layer by the framework layer to determine each set function type and corresponding configuration parameters; and packaging the configuration parameters according to the set function type to generate the frame layer environment variable.
In some embodiments, determining a target environment variable corresponding to a function to be checked according to the function check request includes: analyzing the function checking request to determine the type of the function to be checked; and selecting a target environment variable from the environment variables of the framework layer according to the type of the function to be checked.
In the method, the verification of the remote controller mode, the key type, the high color gamut display, the sound effect function and the high-definition multimedia interface in the set function is independently carried out, namely, the independent menu interface is displayed according to different functions, the display content is simplified, and the verifying personnel can more visually check the information of the set function.
Optionally, the function verification request includes a character of any function or an identifier of any function in the remote controller mode, the key type, the high color gamut display, the sound effect function and the high-definition multimedia interface, so that the application layer determines each function to be verified and generates a corresponding menu display interface.
The embodiment of the disclosure provides an apparatus for configuration parameter verification, which includes a processor and a memory storing program instructions, wherein the processor is configured to execute the above method for configuration parameter verification when executing the program instructions.
The embodiment of the disclosure provides a television, which includes the above device for checking configuration parameters.
As shown in fig. 7, an embodiment of the present disclosure provides a television, which includes a processor (processor)700 and a memory (memory) 701. Optionally, the television set may further include a Communication Interface (Communication Interface)702 and a bus 703. The processor 700, the communication interface 702, and the memory 701 may communicate with each other via a bus 703. Communication interface 702 may be used for information transfer. The processor 700 may call logic instructions in the memory 701 to perform the method for configuration parameter checking of the above-described embodiment.
In addition, the logic instructions in the memory 701 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 701 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 700 executes functional applications and data processing, i.e. implements the method for configuration parameter checking in the above embodiments, by executing program instructions/modules stored in the memory 701.
The memory 701 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, memory 701 may include high speed random access memory, and may also include non-volatile memory.
Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for configuration parameter verification.
Embodiments of the present disclosure 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 above-mentioned method for configuration parameter verification.
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. 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 for configuration parameter checking, comprising:
under the condition that the key of the screen parameter file is consistent with the key of the system, the U-Boot determines configuration parameters of a set function according to the screen parameter file, and configures environment variables of a hardware layer according to the configuration parameters;
the framework layer configures framework layer environment variables according to the hardware layer environment variables, and determines target environment variables corresponding to functions to be verified according to the function verification requests;
and the application layer acquires the target environment variable and generates a function menu display interface according to the target environment variable under the condition that the target environment variable is matched with the system hardware configuration information.
2. The method of claim 1, wherein the setting function comprises: remote controller mode, button type, high color gamut display, sound effect function and high definition multimedia interface.
3. The method according to claim 1, wherein the U-Boot determines configuration parameters of the setting function according to the screen parameter file, including:
the U-Boot acquires the equipment model and the screen parameter file;
and analyzing the screen parameter file, and determining the configuration parameters of the corresponding set function according to the equipment model.
4. The method of claim 3, wherein the obtaining of the device model by the U-Boot comprises:
the U-Boot acquires a KEY code file;
and reading the equipment model from the KEY code file according to a first set starting position.
5. The method of claim 4, further comprising:
reading writable configuration parameters of the set function from the KEY code file according to a second set starting position;
and generating prompt information under the condition that the configuration parameters are inconsistent with the writable configuration parameters.
6. The method of claim 1, wherein configuring hardware layer environment variables according to the configuration parameters comprises:
establishing a hardware layer configuration file;
writing a set function type and the configuration parameters into the configuration file;
and packaging the configuration file to generate the hardware layer environment variable.
7. The method of claim 1, wherein the framework layer configures framework layer environment variables according to the hardware layer environment variables, comprising:
the framework layer analyzes the environment variable of the hardware layer to determine each set function type and corresponding configuration parameters;
and packaging the configuration parameters according to the set function type to generate the frame layer environment variable.
8. The method of claim 1, wherein determining the target environment variable corresponding to the function to be checked according to the function check request comprises:
analyzing the function checking request to determine the type of the function to be checked;
and selecting a target environment variable from the frame layer environment variables according to the type of the function to be checked.
9. An apparatus for configuration parameter checking, comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for configuration parameter checking according to any one of claims 1 to 8 when executing the program instructions.
10. A television set comprising means for configuration parameter verification as claimed in claim 9.
CN202010578351.6A 2020-06-23 2020-06-23 Method and device for checking configuration parameters and television Pending CN111918135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010578351.6A CN111918135A (en) 2020-06-23 2020-06-23 Method and device for checking configuration parameters and television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010578351.6A CN111918135A (en) 2020-06-23 2020-06-23 Method and device for checking configuration parameters and television

Publications (1)

Publication Number Publication Date
CN111918135A true CN111918135A (en) 2020-11-10

Family

ID=73226476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010578351.6A Pending CN111918135A (en) 2020-06-23 2020-06-23 Method and device for checking configuration parameters and television

Country Status (1)

Country Link
CN (1) CN111918135A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349192A (en) * 2014-10-24 2015-02-11 深圳创维-Rgb电子有限公司 Factory and user data automatic programming method and system for intelligent television
CN105242950A (en) * 2015-11-12 2016-01-13 广州视睿电子科技有限公司 Display screen upgrading method and system
CN105912350A (en) * 2015-11-02 2016-08-31 乐视致新电子科技(天津)有限公司 Software adaption method and software adaption system compatible to a plurality of screen parameters
WO2018006789A1 (en) * 2016-07-04 2018-01-11 中兴通讯股份有限公司 Parameter checking method and apparatus, and network management server and computer storage medium
CN110780929A (en) * 2019-09-18 2020-02-11 华为技术有限公司 Method for calling hardware interface and electronic equipment
CN111142711A (en) * 2019-12-31 2020-05-12 惠州Tcl移动通信有限公司 Firmware configuration method and device, storage medium and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349192A (en) * 2014-10-24 2015-02-11 深圳创维-Rgb电子有限公司 Factory and user data automatic programming method and system for intelligent television
CN105912350A (en) * 2015-11-02 2016-08-31 乐视致新电子科技(天津)有限公司 Software adaption method and software adaption system compatible to a plurality of screen parameters
CN105242950A (en) * 2015-11-12 2016-01-13 广州视睿电子科技有限公司 Display screen upgrading method and system
WO2018006789A1 (en) * 2016-07-04 2018-01-11 中兴通讯股份有限公司 Parameter checking method and apparatus, and network management server and computer storage medium
CN110780929A (en) * 2019-09-18 2020-02-11 华为技术有限公司 Method for calling hardware interface and electronic equipment
CN111142711A (en) * 2019-12-31 2020-05-12 惠州Tcl移动通信有限公司 Firmware configuration method and device, storage medium and mobile terminal

Similar Documents

Publication Publication Date Title
CN106415480B (en) High-speed application for installation on a mobile device for enabling remote configuration of the mobile device
CN101088071B (en) Method and device for secure parameterization of electronic devices
JP5039428B2 (en) Programmable controller and PLC system
US9959125B2 (en) Field update of boot loader using regular device firmware update procedure
CN104023154A (en) Debug system
CN104756120A (en) Storing and accessing data
CN110597662A (en) Backup data automatic verification method and device, user equipment and storage medium
EP3819800A1 (en) Information processing apparatus, method for ensuring files and storage medium
CN115344434B (en) Patching method and device, electronic equipment and storage medium
CN111918135A (en) Method and device for checking configuration parameters and television
US20210096838A1 (en) Firmware update with integrated smart sequence and action engine
EP4137937A1 (en) Industrial automation project library cross sharing
CN108377198B (en) Unified batch maintenance method for node configuration based on cloud platform
JP5119765B2 (en) Specification creation support apparatus and support method
KR102402373B1 (en) Information processing apparatus, and information processing method
JP2010108218A (en) Control system and program
JP2021114173A (en) Information processing apparatus, processing method thereof, and program
CN110895609A (en) Information processing apparatus, control method thereof, and storage medium
WO2023286176A1 (en) Teaching operation panel, robot system and robot control device
CN114244828B (en) Data transmission method and vehicle-mounted dynamic data management system
CN111782230B (en) Program installation control method and device and electronic equipment
EP4310750A1 (en) Catalog service replication
CN112035103A (en) Code generation method, device, server and medium
CN116545632A (en) Joint debugging tool, joint debugging method, control device and readable storage medium
JP6138636B2 (en) Programmable controllers, programming devices, and systems thereof

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