CN111726604A - Setting method and device of working mode data, terminal and readable storage medium - Google Patents

Setting method and device of working mode data, terminal and readable storage medium Download PDF

Info

Publication number
CN111726604A
CN111726604A CN202010384676.0A CN202010384676A CN111726604A CN 111726604 A CN111726604 A CN 111726604A CN 202010384676 A CN202010384676 A CN 202010384676A CN 111726604 A CN111726604 A CN 111726604A
Authority
CN
China
Prior art keywords
terminal
aging
mode data
data
working mode
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
CN202010384676.0A
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.)
Dongguan Jinruixian Digital Technology Co ltd
Original Assignee
Dongguan Jinruixian Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Jinruixian Digital Technology Co ltd filed Critical Dongguan Jinruixian Digital Technology Co ltd
Priority to CN202010384676.0A priority Critical patent/CN111726604A/en
Publication of CN111726604A publication Critical patent/CN111726604A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • 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/4435Memory management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)

Abstract

The application is applicable to the technical field of testing, and provides a method, a device, a terminal and a readable storage medium for setting working mode data, wherein the method for setting the working mode data comprises the following steps: setting an aging variable storage area in a memory of the terminal; when the terminal is started for the first time, writing first working mode data for indicating the terminal to enter an aging mode into an aging variable storage area; after the terminal is started for the first time and enters an aging mode to finish aging, replacing the first working mode data in the aging variable storage area with second working mode data; the terminal can directly enter the aging mode according to the first working mode data after being started for the first time without manual participation, so that stations for enabling the terminal to enter the aging mode are saved, the production cost of the terminal is reduced, and the production efficiency of the terminal is improved; meanwhile, the terminal can enter a normal working mode after subsequent startup, and the condition that the terminal cannot work normally is avoided.

Description

Setting method and device of working mode data, terminal and readable storage medium
Technical Field
The application belongs to the technical field of testing, and particularly relates to a method, a device, a terminal and a readable storage medium for setting working mode data.
Background
In the production process of the television, the television generally needs to enter an aging mode, and after aging for 12 hours, 24 hours and 48 hours, a series of tests are carried out after aging.
Currently, the method for entering the television into the aging mode includes: manually selecting options in a factory menu by using a remote controller to enter an aging mode; or, the television enters an aging mode by detecting the U disk file; or, the television enters the aging mode by sending the serial port command, however, in all of these modes, a station needs to be added in the production process of the television, and the television enters the aging mode in a manual participation mode, which not only increases the production cost of the television, but also reduces the production efficiency of the television.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a readable storage medium for setting working mode data, so that the terminal such as a television can automatically enter an aging mode after being started for the first time, the production cost of the terminal such as the television is reduced, and the production efficiency of the terminal such as the television is improved.
A first aspect of the embodiments of the present application provides a method for setting work mode data, including:
setting an aging variable storage area in a memory of the terminal;
when the terminal is started for the first time, writing first working mode data into the aging variable storage area, wherein the first working mode data are used for indicating the terminal to enter an aging mode;
after the terminal is started for the first time and enters an aging mode to finish aging, replacing the first working mode data of the aging variable storage area with second working mode data; the second working mode data is used for indicating the terminal to enter a normal working mode.
A second aspect of the embodiments of the present application provides an apparatus for setting data of a working mode, including:
the setting unit is used for setting an aging variable storage area in a memory of the terminal;
the writing unit is used for writing first working mode data into the aging variable storage area when the terminal is started for the first time, wherein the first working mode data are used for indicating the terminal to enter an aging mode;
the replacing unit is used for replacing the first working mode data of the aging variable storage area with the second working mode data after the terminal is started for the first time and enters an aging mode to finish aging; the second working mode data is used for indicating the terminal to enter a normal working mode.
A third aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
In a fifth aspect, embodiments of the present application provide a computer program product, which when run on a terminal device, causes the terminal device to perform the steps of the method.
In the embodiment of the application, an aging variable storage area is arranged in a memory of a terminal, first working mode data is written into the aging variable storage area when the terminal is started for the first time, and then the first working mode data of the aging variable storage area is replaced by second working mode data after the terminal is started for the first time and enters an aging mode to finish aging; the terminal can directly enter the aging mode according to the first working mode data after being started for the first time without manual participation, so that stations for enabling the terminal to enter the aging mode are saved, the production cost of the terminal is reduced, and the production efficiency of the terminal is improved; meanwhile, the terminal can enter a normal working mode after subsequent startup, so that the situation that the terminal cannot work normally is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation process of a setting method of working mode data according to an embodiment of the present application;
fig. 2 is a schematic diagram of memory allocation of a terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an implementation flow for resetting a terminal according to an embodiment of the present application;
fig. 4 is a schematic view of an implementation flow for upgrading software of a terminal according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for setting operation mode data according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the production process of the television, the television generally needs to enter an aging mode, and after aging (burning) for 12 hours, 24 hours and 48 hours, a series of tests are carried out after aging is finished, so that the television can be delivered to the hands of users.
Currently, the method for entering the television into the aging mode includes: manually selecting options in a factory menu by using a remote controller to enter an aging mode; or, the television enters an aging mode by detecting the U disk file; or, the television enters the aging mode by sending the serial port command, however, in all of these modes, a station needs to be added in the production process of the television, and the television enters the aging mode in a manual participation mode, which not only increases the production cost of the television, but also reduces the production efficiency of the television.
Based on this, the embodiment of the application provides a method, an apparatus, a terminal and a readable storage medium for setting working mode data, which can enable terminals such as a television and the like to automatically enter an aging mode after the terminals are started for the first time, reduce the production cost of the terminals such as the television and the like, do not need manual participation, save stations for enabling the terminals to enter the aging mode, reduce the production cost of the terminals, and improve the production efficiency of the terminals; meanwhile, the terminal can enter a normal working mode after subsequent startup, so that the situation that the terminal cannot work normally is avoided.
In order to explain the technical means of the present application, the following description will be given by way of specific examples.
Fig. 1 shows a schematic implementation flow chart of a method for setting working mode data according to an embodiment of the present application, where the method can be applied to a terminal, and can be executed by a setting device of the working mode data configured on the terminal, and is suitable for a situation where it is necessary to reduce the production cost of the terminal and improve the production efficiency of the terminal. The terminal can be a television, a set-top box and other terminals. The setting method of the operation mode data may include steps 101 to 103.
Step 101, setting an aging variable storage area in a memory of a terminal.
In the embodiment of the present application, the aging variable storage area is a storage space that is specially used for storing the operating mode data of the terminal. And the working mode data of the terminal comprises first working mode data used for indicating the terminal to enter an aging mode after being started and second working mode data used for indicating the terminal to enter a normal working mode after being started.
For example, when the operation mode data bFacBurnMode of the terminal is 1, the terminal is instructed to enter an aging mode after being powered on (i.e., the first operation mode data is 1); when the working mode data bFacBurnMode of the terminal is 0, the terminal is instructed to enter a normal working mode after being powered on (that is, the second working mode data is 0).
It should be noted that, this is merely an example, and in other embodiments of the present application, the first operation mode data and the second operation mode data may also be represented by other data. For example, the first operation mode data may be set to 00 and the second operation mode data may be set to 11.
And 102, writing first working mode data into the aging variable storage area when the terminal is started for the first time, wherein the first working mode data is used for indicating the terminal to enter an aging mode.
In the embodiment of the application, when the terminal is started for the first time, the first working mode data are written into the aging variable storage area, so that the terminal can directly enter the aging mode according to the first working mode data after the terminal is started for the first time without manual participation, a station for the terminal to enter the aging mode is saved, the production cost of the terminal is reduced, and the production efficiency of the terminal is improved.
103, after the terminal is started for the first time and enters an aging mode to finish aging, replacing the first working mode data of the aging variable storage area with second working mode data; the second working mode data is used for indicating the terminal to enter a normal working mode.
In the embodiment of the application, after the terminal is started for the first time and enters the aging mode to complete aging, the terminal is subjected to aging test or test after aging, and does not need to enter the aging mode again.
In practical application, it may be necessary to perform multiple aging tests or tests after aging on a terminal, and therefore, in the process of determining whether the terminal belongs to a condition that the aging tests or the tests after aging are completed and does not need to enter an aging mode, it may be detected whether the terminal receives a shutdown instruction after the terminal is first powered on, and if the terminal receives the shutdown instruction, it may indicate that the terminal has completed the aging tests or the tests after aging, and therefore, the first working mode data in the aging variable storage area may be replaced by the second working mode data according to the shutdown instruction, and after the first working mode data in the aging variable storage area is replaced by the second working mode data, a shutdown process is performed; after the terminal is first started, if a restart instruction is received, the terminal indicates that the terminal does not finish the aging test or the test after aging, at this time, the terminal cannot replace the first working mode data of the aging variable storage area with the second working mode data, but needs to continue to enter the aging mode again according to the first working mode data to finish aging.
In some embodiments of the present application, the memory of the terminal may be provided with a first code area and a second code area in addition to the aging variable storage area; the first code area can be a storage space for storing software codes burned by an ISP (internet service provider) or a burner and upgrading data received in the software upgrading process; the second code area may be a storage space for storing codes that need to be run in the normal operation mode of the terminal.
Fig. 2 is a schematic diagram illustrating memory allocation of a terminal according to an embodiment of the present disclosure. The first code area, the second code area and the aging variable storage area are independent of each other. Based on the memory allocation manner shown in fig. 2, in the step 102, writing the first working mode data into the aging variable storage area may include: and writing the first working mode data in the first code area into the aging variable storage area, and writing the data except the first working mode data in the first code area into the second code area.
That is, the first code area stores therein data to be written into the aging variable storage area, that is, the first operation mode data, and data to be written into the second code area. In the embodiment of the present application, the data in the second code region does not include the first operation mode data.
Generally, the operation mode of the terminal is determined by the data stored in the second code area, however, since the terminal needs to remember the user's settings during normal operation, frequent erasing of the data in the second code area may occur.
For example, when the terminal is a television, if the user needs to adjust the volume of the television to 40, the data in the second code area needs to be erased. In the process of erasing the data in the second code area, if power is off, the data in the second code area may be damaged, and therefore, the terminal needs to be reset.
In this embodiment of the application, in order to ensure that the terminal can still enter the normal operating mode to perform normal operation after performing the reset processing on the terminal, as shown in fig. 3, the method for setting the operating mode data may further include: step 301 to step 302.
Step 301, detecting whether the terminal receives a reset instruction;
step 302, if it is detected that the terminal receives a reset instruction, retaining the data stored in the aging variable storage area, and writing the data in the first code area except the first working mode data into the second code area again.
In the embodiment of the application, the aging variable storage area is arranged in the memory of the terminal, and the aging variable storage area is used for storing the working mode data, so that the data in the second code area does not contain the working mode data, and therefore, when the terminal is reset, the data in the second code area can be reset only, the aging variable storage area is not reset, and the working mode data of the terminal is kept unchanged.
In practical applications, in addition to the terminal being reset, software upgrading of the terminal software may be required. In this embodiment of the present application, in order to ensure that the terminal that has completed the aging test can still enter the normal operating mode to perform normal operation after performing software upgrade processing on the terminal, as shown in fig. 4, the method for setting the operating mode data may further include: step 401 to step 403.
Step 401, detecting whether the terminal receives a software upgrading instruction.
Step 402, if the terminal receives a software upgrading instruction, detecting whether the aging variable storage area stores data.
In the embodiment of the application, if the aging variable storage area stores data, it indicates that the terminal has completed aging before receiving a software upgrade instruction, and the first working mode data of the aging variable storage area is replaced with the second working mode data, otherwise, it indicates that the terminal has not aged.
Step 403, if it is detected that the aging variable storage area stores data, retaining the data stored in the aging variable storage area, and after writing the software upgrade data in the software upgrade instruction into the first code area, writing the data in the first code area except the first working mode data into the second code area again.
In the embodiment of the application, when the terminal receives a software upgrading instruction, the aging variable storage area may not store data, that is, data is not written in, and it indicates that the terminal is not aged, so that when it is detected that the terminal receives the software upgrading instruction, it may be detected first whether the aging variable storage area stores data, so that when it is detected that the data stored in the aging variable storage area is empty, first working mode data may be written in the aging variable storage area, so that the terminal may directly enter an aging mode according to the first working mode data after being started for the first time, without manual participation, thereby saving a station for entering the terminal into the aging mode, reducing the production cost of the terminal, and improving the production efficiency of the terminal; and when detecting that the aging variable storage area stores data, the data stored in the aging variable storage area can be reserved, and after the software upgrading data in the software upgrading instruction is written into the first code area, the data in the first code area except the first working mode data is written into the second code area again, so that the terminal can still enter a normal working mode to work normally after the terminal which finishes the aging test is subjected to software upgrading processing.
In some embodiments of the present application, in step 302, when the terminal receives a reset instruction, it may be configured to detect whether the aging variable storage area stores data, and when the aging variable storage area stores data, retain the data stored in the aging variable storage area, and write data in the first code area, except for the first operating mode data, in the second code area again; and when the data stored in the aging variable storage area is empty, writing first working mode data into the aging variable storage area.
It should be noted that, for simplicity of description, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders.
As shown in fig. 5, a schematic structural diagram of an apparatus 500 for setting operation mode data according to an embodiment of the present application is provided, where the apparatus 500 for setting operation mode data may include: a setting unit 501, a writing unit 502, and a replacement unit 503.
A setting unit 501, configured to set an aging variable storage area in a memory of a terminal;
a writing unit 502, configured to write first working mode data into the aging variable storage area when the terminal is booted for the first time, where the first working mode data is used to instruct the terminal to enter an aging mode;
a replacing unit 503, configured to replace the first working mode data in the aging variable storage area with the second working mode data after the terminal is booted for the first time and enters the aging mode to complete aging; the second working mode data is used for indicating the terminal to enter a normal working mode.
In some embodiments of the present application, the setting unit 501 is further specifically configured to: setting a first code area and a second code area in a memory of the terminal; the writing unit 502 is further configured to write the first working mode data in the first code area into the aging variable storage area, and write the data in the first code area except the first working mode data into the second code area.
In some embodiments of the present application, the setting device of the operation mode data further includes:
the first detection unit is used for detecting whether the terminal receives a reset instruction;
and the resetting unit is used for reserving the data stored in the aging variable storage area and writing the data in the first code area except the first working mode data into the second code area again if the terminal is detected to receive a resetting instruction.
In some embodiments of the present application, the setting device of the operation mode data further includes:
the second detection unit is used for detecting whether the terminal receives a software upgrading instruction;
the third detection unit is used for detecting whether the aging variable storage area stores data or not if the terminal receives a software upgrading instruction;
and the upgrading unit is used for reserving the data stored in the aging variable storage area if the aging variable storage area is detected to store the data, and rewriting the data except the first working mode data in the first code area into the second code area after the software upgrading data in the software upgrading instruction is written into the first code area.
It should be noted that, for convenience and simplicity of description, the specific working process of the above-described setting apparatus 500 for working mode data may refer to the corresponding process of the method described in fig. 1 to fig. 4, and is not described herein again.
Fig. 6 is a schematic diagram of a terminal according to an embodiment of the present application. The terminal 6 may include: a processor 60, a memory 61 and a computer program 62, such as a setting program for operating mode data, stored in said memory 61 and executable on said processor 60. The processor 60 executes the computer program 62 to implement the steps in the above-mentioned embodiments of the setting method of the respective operation mode data, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of each module/unit in each device embodiment described above, for example, the functions of the units 501 to 503 shown in fig. 5.
The computer program may be divided into one or more modules/units, which are stored in the memory 61 and executed by the processor 60 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the terminal. For example, the computer program may be divided into a setting unit, a writing unit, and a replacing unit, and each unit functions specifically as follows: the setting unit is used for setting an aging variable storage area in a memory of the terminal; the writing unit is used for writing first working mode data into the aging variable storage area when the terminal is started for the first time, wherein the first working mode data are used for indicating the terminal to enter an aging mode; the replacing unit is used for replacing the first working mode data of the aging variable storage area with the second working mode data after the terminal is started for the first time and enters an aging mode to finish aging; the second working mode data is used for indicating the terminal to enter a normal working mode.
The terminal can be a television, a set-top box and other terminals, or a smart phone, a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The terminal may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is only an example of a terminal and is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the terminal may also include input-output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal. The memory 61 may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal. The memory 61 is used for storing the computer program and other programs and data required by the terminal. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will 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 depends upon the particular application and design constraints imposed on the implementation. 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 present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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 achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for setting working mode data is characterized by comprising the following steps:
setting an aging variable storage area in a memory of the terminal;
when the terminal is started for the first time, writing first working mode data into the aging variable storage area, wherein the first working mode data are used for indicating the terminal to enter an aging mode;
after the terminal is started for the first time and enters an aging mode to finish aging, replacing the first working mode data of the aging variable storage area with second working mode data; the second working mode data is used for indicating the terminal to enter a normal working mode.
2. The setting method of operation mode data according to claim 1, wherein a first code area and a second code area are provided in a memory of the terminal;
the writing of the first working mode data into the aging variable storage area comprises:
and writing the first working mode data in the first code area into the aging variable storage area, and writing the data except the first working mode data in the first code area into the second code area.
3. The setting method of the operation mode data according to claim 2, characterized in that the setting method of the operation mode data further comprises:
detecting whether the terminal receives a reset instruction;
and if the terminal is detected to receive a reset instruction, reserving the data stored in the aging variable storage area, and writing the data in the first code area except the first working mode data into the second code area again.
4. The setting method of the operation mode data according to claim 2, characterized in that the setting method of the operation mode data further comprises:
detecting whether the terminal receives a software upgrading instruction;
if the terminal receives a software upgrading instruction, detecting whether the aging variable storage area stores data or not;
if the aging variable storage area is detected to store data, the data stored in the aging variable storage area is reserved, and after the software upgrading data in the software upgrading instruction is written into the first code area, the data in the first code area except the first working mode data is written into the second code area again.
5. An apparatus for setting operation mode data, comprising:
the setting unit is used for setting an aging variable storage area in a memory of the terminal;
the writing unit is used for writing first working mode data into the aging variable storage area when the terminal is started for the first time, wherein the first working mode data are used for indicating the terminal to enter an aging mode;
the replacing unit is used for replacing the first working mode data of the aging variable storage area with the second working mode data after the terminal is started for the first time and enters an aging mode to finish aging; the second working mode data is used for indicating the terminal to enter a normal working mode.
6. The apparatus for setting operation mode data according to claim 5, wherein the setting unit is further configured to set a first code region and a second code region in a memory of the terminal;
the writing unit is further configured to write the first working mode data in the first code area into the aging variable storage area, and write the data in the first code area except the first working mode data into the second code area.
7. The apparatus for setting operation mode data according to claim 6, wherein said apparatus for setting operation mode data further comprises:
the first detection unit is used for detecting whether the terminal receives a reset instruction;
and the resetting unit is used for reserving the data stored in the aging variable storage area and writing the data in the first code area except the first working mode data into the second code area again if the terminal is detected to receive a resetting instruction.
8. The apparatus for setting operation mode data according to claim 6, wherein said apparatus for setting operation mode data further comprises:
the second detection unit is used for detecting whether the terminal receives a software upgrading instruction;
the third detection unit is used for detecting whether the aging variable storage area stores data or not if the terminal receives a software upgrading instruction;
and the upgrading unit is used for reserving the data stored in the aging variable storage area if the aging variable storage area is detected to store the data, and rewriting the data except the first working mode data in the first code area into the second code area after the software upgrading data in the software upgrading instruction is written into the first code area.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-4 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202010384676.0A 2020-05-08 2020-05-08 Setting method and device of working mode data, terminal and readable storage medium Pending CN111726604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010384676.0A CN111726604A (en) 2020-05-08 2020-05-08 Setting method and device of working mode data, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010384676.0A CN111726604A (en) 2020-05-08 2020-05-08 Setting method and device of working mode data, terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN111726604A true CN111726604A (en) 2020-09-29

Family

ID=72564277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010384676.0A Pending CN111726604A (en) 2020-05-08 2020-05-08 Setting method and device of working mode data, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN111726604A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542838A (en) * 2021-06-23 2021-10-22 广东长虹电子有限公司 Method for controlling television mainboard aging mode, storage medium and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5099326A (en) * 1989-07-14 1992-03-24 Sony Corporation Television receiver with operational mode for aging
US5790189A (en) * 1995-01-20 1998-08-04 Samsung Electronics Co., Ltd. Bus-controlled television capable of being controlled without a bus controller and a control method thereof
CN101827282A (en) * 2010-04-07 2010-09-08 深圳创维-Rgb电子有限公司 Television set aging control method and device and television set
CN107809633A (en) * 2017-11-03 2018-03-16 广州小百合信息技术有限公司 The method and device of TV automatic aging
CN108632606A (en) * 2018-04-02 2018-10-09 广州视源电子科技股份有限公司 Television set ageing testing method and system
CN109040751A (en) * 2018-09-21 2018-12-18 中新科技集团股份有限公司 A kind of control equipment of TV aging process

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5099326A (en) * 1989-07-14 1992-03-24 Sony Corporation Television receiver with operational mode for aging
US5790189A (en) * 1995-01-20 1998-08-04 Samsung Electronics Co., Ltd. Bus-controlled television capable of being controlled without a bus controller and a control method thereof
CN101827282A (en) * 2010-04-07 2010-09-08 深圳创维-Rgb电子有限公司 Television set aging control method and device and television set
CN107809633A (en) * 2017-11-03 2018-03-16 广州小百合信息技术有限公司 The method and device of TV automatic aging
CN108632606A (en) * 2018-04-02 2018-10-09 广州视源电子科技股份有限公司 Television set ageing testing method and system
CN109040751A (en) * 2018-09-21 2018-12-18 中新科技集团股份有限公司 A kind of control equipment of TV aging process

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542838A (en) * 2021-06-23 2021-10-22 广东长虹电子有限公司 Method for controlling television mainboard aging mode, storage medium and device

Similar Documents

Publication Publication Date Title
CN110765026B (en) Automatic test method, device, storage medium and equipment
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
CN103593281A (en) Test system and test method
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
CN116048643B (en) Equipment operation method, system, device, storage medium and electronic equipment
CN111104178A (en) Dynamic library loading method, terminal device and storage medium
CN110209605B (en) Register read-write method of PCIE bus network card and computing equipment
CN111190621A (en) Firmware burning method, device, system, terminal equipment and storage medium
CN111726604A (en) Setting method and device of working mode data, terminal and readable storage medium
CN113885971A (en) State management method and device based on self-adaptive platform system
WO2024113884A1 (en) Resource allocation method and apparatus for peripheral, server, and storage medium
CN111143240B (en) Image storage method, system and terminal equipment
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN115495161B (en) BIOS option modification validation method and device and storage medium
CN108255549B (en) Server program visual control method and device
CN115878327A (en) Bus reservation method, device, server, electronic equipment and storage medium
US20090144536A1 (en) Monitoring method and monitor apparatus
CN113721953B (en) Firmware program upgrading method and device and display control equipment
CN109933471A (en) Method, apparatus, computer readable storage medium are surveyed in Android device and its production
CN113778482A (en) Dynamic updating method of running program, embedded controller and electronic equipment
CN111694610A (en) Software implementation method and system of SOC (System on chip), electronic equipment and storage medium
CN111464688B (en) Working mode switching method and device
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
CN111694600A (en) Mirror image file design, chip operation method, system, device and medium
CN111027104A (en) Method, device and mainboard for preventing loss of network card identification data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200929