Production data isolation method and device, equipment and storage medium

By using TV operating conditions software to upgrade the system and switch modes during the TV production process, the problem of difficult isolation of production data and user data is solved, and the data is safe and efficient testing and debugging is achieved.

CN120068166APending Publication Date: 2025-05-30SHENZHEN ZHIXIAN VISION SOFTWARE TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510190065.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-20
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

During the TV production process, it is difficult for the prior art to effectively isolate production data from user data, resulting in the risk of data leakage, and the efficiency of manually clearing data is inefficient, which cannot completely ensure that the data is completely cleared.

Method used

By obtaining the TV operating condition software, upgrading the TV system, and controlling the system to enter the factory mode, determine the factory mode logo. Then, based on the factory mode identification, software test sub-piece collection is created, functional testing and data debugging are triggered, factory mode data is generated and switched logos are generated. Finally, based on these data control systems, the isolation of production data is completed.

Benefits of technology

It realizes effective isolation between production data and user data, ensures that production data is completely cleared when switched to user mode, prevents sensitive data leakage, and reduces manual intervention through automated processes, improving the efficiency of functional testing and debugging of production equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120068166A_ABST
    Figure CN120068166A_ABST
Patent Text Reader

Abstract

The invention discloses a production data isolation method and device, equipment and a storage medium, and the method comprises the steps: obtaining television working condition software, upgrading a television based on the television working condition software, controlling a system to enter a factory mode, and determining a factory mode identifier; making a software test sub-slice set based on the factory mode identifier, triggering television function test and data debugging, and determining factory mode data and a switching identifier; and controlling the system to enter a user mode based on the factory mode data and the switching identifier, determining user mode data, and completing production data isolation based on the factory mode data and the user mode data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of television production and manufacturing, and particularly to a production data isolation method, device, equipment, and storage medium. Background Art

[0002] In the current mass production process of televisions, comprehensive functional tests and data debugging are performed on each television to ensure product quality. At the same time, test and debugging logs are often recorded during the production process, that is, a large amount of data unrelated to users is generated. These data may contain sensitive information or system data. If not properly processed, it is easy to cause data leakage, thus triggering security issues. Therefore, how to avoid the leakage of factory sensitive data during the factory test and debugging process and effectively switch from the factory mode to the user mode at different production stages has become an important problem faced by the television manufacturing industry.

[0003] Currently, the existing approach is to use a single system for functional testing and data debugging during the television production process, store production data and user data in the same system, and only distinguish them through simple partition or folder management. After production is completed, the production data is cleared by formatting or manual deletion to switch to the user mode.

[0004] However, the existing approach of mixing production data and user data easily leads to the risk of data leakage, and the manual data clearing method is inefficient and cannot fully ensure that the data is completely cleared. At the same time, the lack of an effective security mechanism during the system switching process will lead to data residue or system instability. Therefore, how to effectively isolate production data and user data and perform efficient functional testing and debugging of production equipment has become an urgent problem to be solved.

[0005] The above content is only used to assist in understanding the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0006] The main purpose of this application is to provide a production data isolation method, device, equipment, and storage medium, aiming to solve the technical problem of how to effectively isolate production data and user data and perform efficient functional testing and debugging of production equipment.

[0007] To achieve the above object, this application proposes a production data isolation method, and the production data isolation method includes:

[0008] Obtain the television working condition software, upgrade the television based on the television working condition software, and control the system to enter the factory mode to determine the factory mode identifier;

[0009] Make a software test subset based on the factory mode identifier, trigger the TV function test and data debugging, and determine the factory mode data and switching identifier;

[0010] Based on the factory mode data and switching identifier, control the system to enter the user mode, determine the user mode data, and complete the production data isolation based on the factory mode data and user mode data.

[0011] In addition, to achieve the above object, the present application also proposes a production data isolation device, which includes:

[0012] An acquisition module, configured to acquire the TV working condition software, upgrade the TV based on the TV working condition software, control the system to enter the factory mode, and determine the factory mode identifier;

[0013] A processing module, configured to make a software test subset based on the factory mode identifier, trigger the TV function test and data debugging, and determine the factory mode data and switching identifier;

[0014] An execution module, configured to control the system to enter the user mode based on the factory mode data and switching identifier, determine the user mode data, and complete the production data isolation based on the factory mode data and user mode data.

[0015] In addition, to achieve the above object, the present application also proposes a production data isolation device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the production data isolation method as described above.

[0016] In addition, to achieve the above object, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by the processor, it implements the steps of the production data isolation method as described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.

[0018] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0019] Figure 1 It is a schematic flowchart provided for Embodiment 1 of the production data isolation method of the present application;

[0020] Figure 2It is a schematic flowchart provided for the second embodiment of the production data isolation method of this application;

[0021] Figure 3 It is a schematic module structure diagram of the production data isolation device according to the embodiment of this application;

[0022] Figure 4 It is a schematic device structure diagram of the hardware operating environment involved in the production data isolation method according to the embodiment of this application.

[0023] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments with reference to the accompanying drawings. Specific Embodiments

[0024] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of this application and are not used to limit this application.

[0025] In order to better understand the technical solutions of this application, the following will be described in detail in conjunction with the accompanying drawings of the specification and specific embodiments.

[0026] The main solution of the embodiment of this application is: obtain the TV working condition software, upgrade the TV based on the TV working condition software, and control the system to enter the factory mode to determine the factory mode identifier; make a software test sub-set based on the factory mode identifier and trigger TV function testing and data debugging to determine the factory mode data and the switching identifier; control the system to enter the user mode based on the factory mode data and the switching identifier to determine the user mode data, and complete the production data isolation based on the factory mode data and the user mode data.

[0027] In this embodiment, for the convenience of description, the following will be described with the identification of the production data isolation device as the execution subject.

[0028] Since the prior art stores production data and user data together, it is easy to cause the risk of data leakage, and the method of manually clearing data is inefficient and cannot completely ensure that the data is completely cleared. At the same time, there is a lack of an effective security mechanism during the system switching process, which will lead to data residue or system instability.

[0029] This application provides a solution: obtain the TV working condition software, upgrade the TV based on the TV working condition software, and control the system to enter the factory mode to determine the factory mode identifier; make a software test sub-set based on the factory mode identifier and trigger TV function testing and data debugging to determine the factory mode data and the switching identifier; control the system to enter the user mode based on the factory mode data and the switching identifier to determine the user mode data, and complete the production data isolation based on the factory mode data and the user mode data.

[0030] As can be seen from the above embodiments, the present application enters the factory mode through the control system and determines the factory mode identifier. Using the factory mode identifier, a software test sub-chip is made to trigger the TV function test and data debugging, generating factory mode data and a switching identifier, thereby realizing a secure switch from the factory mode to the user mode, effectively isolating production data and user data, ensuring that production data is completely cleared when switching to the user mode, preventing sensitive data leakage, and reducing manual intervention through an automated process to perform efficient functional testing and debugging of production equipment.

[0031] Based on this, an embodiment of the present application provides a production data isolation method. Referring to Figure 1 , Figure 1 is a schematic flowchart of the first embodiment of the production data isolation method of the present application.

[0032] In this embodiment, the production data isolation method includes steps S10 to S30:

[0033] Step S10, obtain the TV working condition software, upgrade the TV based on the TV working condition software, and control the system to enter the factory mode to determine the factory mode identifier;

[0034] It should be noted that the TV working condition software is a software system designed for testing and debugging in the TV production process. The factory mode identifier is a specific flag or status information generated after entering the factory mode, used to confirm that the current system has successfully switched to the factory mode.

[0035] It can be understood that the TV working condition software has a dual-system architecture, namely a standard user mode system and a factory production mode system. Among them, the standard user mode system is suitable for user mode access. The user mode is the normal use state after the TV is delivered to the user, providing daily functions. When switching to the user mode, the factory mode data will be completely cleared, and at the same time, the system will limit the access permission to the production data partition. The factory production mode system is a micro-system suitable for use in the factory mode. The factory mode is a dedicated mode for functional testing and data debugging during TV production, supporting comprehensive function verification, inaccessible in the user mode. At the same time, after upgrading the TV working condition software to TV, the system defaults to the user mode.

[0036] In addition, it should be noted that when the system is already installed, it is also possible to directly enter the factory mode by using the built-in engineering application to display the entry page without powering on and off. When the system is not installed, only serial port commands can be used to enter the factory mode, and powering on and off is required. The TV enters the factory mode system according to the system parameters, where the system parameters are the input serial port commands. For example, one represents the user mode, and two represents the factory mode.

[0037] For ease of understanding, taking the determination of the factory mode identifier as an example for illustration, where the information collection device is the information collection module and the storage device is the memory.

[0038] The information collection module obtains the TV working condition software, that is, prepares the software with dual systems and upgrades it to the TV, and obtains the TV communication status. That is, install the serial port terminal tool on the computer, and you can choose the tool that can communicate normally with the serial port terminal on the Internet, such as MobaXterm, SecureCRT. The serial port terminal tool is connected to the HDMI port of the TV through the HDMI cable connected to the serial port adapter board. Confirm that the computer port is correct and the serial port terminal port can be used to communicate with the TV normally. Obtain the TV power-on status. That is, when the serial port terminal tool is connected, press and hold the ESC key and then power on the TV. Obtain the monitored key status, that is, the specific monitored key identification code. There is a remote control, and each key has a corresponding key identification code for the TV, which is transmitted through the serial port. Call the monitoring method to identify this key identification code, and then the monitoring result of the key can be obtained. Obtain the serial port operation instruction. At this time, you can directly manipulate the page displayed by the engineering software to enter the system security, or trigger the system security mode based on the TV communication status, TV power-on status, and monitored key status, and input the serial port operation instruction to switch the system mode. Determine the factory mode identifier. That is, the BootCode module of the TV system enters the system security mode by calling the BootCode.escListener() monitoring method by monitoring the ESC key. The serial port terminal tool will display the TV system security mode and wait for the serial port terminal tool to display BootCode> to enter the instruction input mode. At this time, it means entering the BootCode mode. The BootCode mode is a program triggered before the system starts and does not belong to the system, that is, the compilation mode, and external instructions can be input. At this time, after entering the serial port operation instruction factory_mode and pressing Enter, the BootCode module calls BootCode.intoFactoryMode() to start the factory mode system switch. In the case of power-off and power-on, the TV enters the factory mode system according to the system parameters to obtain the factory mode identifier. After normal startup, check whether the factory mode identifier at the lower left corner of the TV displays the word PMDOE. If it is successfully displayed, it means entering the factory production mode, otherwise, it means not entering the factory production mode. Verify whether the TV function is normal based on the factory mode identifier.

[0039] In a feasible implementation manner, step S10 may include steps A11 to A12:

[0040] Step A11, obtaining the TV communication status, TV power-on status, monitored key status, and serial port operation instruction;

[0041] It should be noted that the TV communication status is the state of establishing a connection between the TV and the external device through the serial communication interface, the TV power-on state is the working state of the TV after being connected to the power supply and started, the monitoring button state is the real-time monitoring state of the TV system for the specific button identification code, and the serial port operation instruction is the control command sent to the TV system through the serial port communication tool.

[0042] It can be understood that the TV communication status can indicate whether the TV can exchange data with external devices through serial port tools, receive external commands and feedback information. The TV power-on status can indicate whether the TV is powered on, ensuring that the TV has been started at the hardware level and is ready to receive operation commands. The monitoring button status can indicate the key identification code corresponding to the monitoring remote control. Each button has a corresponding key identification code for the TV, and the monitoring method is called to identify the key identification code. The obtained key monitoring result is used to determine whether to trigger entry into the system safety mode. When a long press of the ESC key is detected, the system will call the monitoring method of the BootCode module to enter the safe mode. The serial port operation command can be used to switch to the factory mode in the system safety mode. After entering the "factory_mode" command, the system will call the BootCode.intoFactoryMode() method to complete the switch from standard user mode to factory mode.

[0043] Step A12, triggering the system safety mode based on the television communication state, television power-on state and monitoring key state, inputting the serial port operation command to switch the system mode, and determining the factory mode identifier.

[0044] It should be noted that the factory mode identifier is a specific status information or sign used to confirm that the TV system has been successfully switched to factory mode. The system safety mode is a debugging mode used by testers between user mode and factory mode to adjust the system.

[0045] It is understandable that the factory mode identifier is a unique identification signal generated by the system after entering the factory mode. It exists in the form of specific display words, such as "PMDOE". The factory mode identifier can accurately identify the current mode and prevent accidental operation into the user mode. When the factory produces televisions, it needs to call on privacy data. The system security mode can be triggered in a special way for detection and adjustment.

[0046] Step S20, based on the factory mode identifier, a software test sub-film set is produced and a TV function test and data debugging are triggered, and the factory mode data and the switching identifier are determined;

[0047] It should be noted that factory mode data refers to various types of information and logs generated during the television production process through functional testing and data debugging. The switching identifier is a system status flag used to indicate the successful status of the operation for the television to switch from the factory mode to the user mode.

[0048] It can be understood that factory mode data can include aging information, picture inspection information, white balance debugging information, and debugging logs, which are used to record the testing and debugging processes carried out by the television in the factory mode, accurately represent the performance status and debugging results of the television during the production stage, and are only generated and stored in the factory mode. Moreover, they will be cleared when switching to the user mode to prevent the leakage of sensitive information. The switching identifier is a signal generated by the system after completing the operations of saving and clearing the factory mode data, ensuring that the system can safely enter the user mode, accurately verify the mode switching status, and prevent data residue or abnormal system status.

[0049] For the sake of easy understanding, taking the determination of factory mode data and the switching identifier as an example, the information acquisition device is the information acquisition module, the storage device is the memory, and the processing device is the processing module.

[0050] The information acquisition module obtains the factory mode identifier. At this time, it has entered the micro-system of the factory production mode. It restarts to verify whether it has entered the production mode system, verifies whether the TV function is normal based on the factory mode identifier, obtains the function test identifier and the upgraded software, verifies the TV function status based on the factory mode identifier and the upgraded software, and performs software pre-copying and cloning to determine the software test sub-set, that is, making the master disk in the production mode system. After verifying that the TV function is normal, it uses the current TV upgraded software as the master version to make the pre-copying software. After the production of the pre-copying software master disk is completed, all sub-disks are cloned according to the made master disk, and the master version is cloned to the sub-disks through the cloning method to complete the production of all boards, obtaining the software test sub-set. At this time, all sub-disks in the software test sub-set are exactly the same as the master disk, and the system is in the factory mode system. Based on the software test sub-set, test instructions are generated, and television function testing and data debugging are carried out based on the test instructions to determine the factory mode data. That is, after all boards are made to obtain the software test sub-set, the factory production conducts function testing and data debugging on each board. The board factory and the complete machine factory will test and debug all functions of the TV, such as aging, picture inspection, white balance debugging, and debugging logs, to obtain the factory mode data. The function test identifier is reset to detect the system's pending switching state to determine the switching identifier. That is, after the board factory and the complete machine factory complete all function tests, they reset the function test identifier and perform a SHOP reset on the last position for shipment to obtain the switching identifier, and subsequent processing is carried out based on the factory mode data and the switching identifier.

[0051] Step S30: Based on the factory mode data and the switching identifier, the system enters the user mode, determines the user mode data, and completes the isolation of production data based on the factory mode data and the user mode data.

[0052] It should be noted that the user mode data is the data generated by the user during normal use after the TV enters the user mode, such as installed application programs, user account information, and personalized settings.

[0053] It can be understood that after the factory mode data is completed with testing and debugging, it is saved to a specific storage partition, and its access permission in the user mode is restricted. Moreover, the system will call the deletion interface to clear the factory mode data, so as to ensure that the device safely enters the user mode and achieve a complete isolation between the production data and the user mode data.

[0054] In addition, it should be noted that by saving the factory mode data to a specific partition and restricting the access permission, the production data is made invisible in the user mode, effectively preventing the leakage of sensitive information, protecting the user privacy and the factory data security. Moreover, when switching, it enters the user mode more stably and safely, avoiding system anomalies caused by data residue or failed mode switching, and achieving a seamless connection between production and use.

[0055] For the convenience of understanding, taking the acquisition of the factory mode data and the switching identifier as an example for illustration, where the information collection device is the information collection module, the storage device is the memory, and the execution device is the execution module.

[0056] The information collection module obtains factory mode data, a switching identifier, and user mode operation information, that is, the data for testing and debugging each board is saved to a specified system partition. The data and logs generated during the functional testing and debugging of the board factory and the complete machine factory will be saved to the storage partition in the micro system, and the storage path is / mnt / vendor / factory. Based on the switching identifier, the factory mode data is deleted, and the system is controlled to enter the user mode. User mode data is generated based on the user mode operation information. An interface for deletion is obtained. When the switching identifier is to switch to the user mode, the deletion interface is called to control the system to delete the factory mode data, that is, the EXT.shop() interface provided by the solution provider is called using the switching identifier for system switching, switching the factory mode back to the user mode, and the micro system to the normal standard system, and the data generated in the factory mode is cleared. After the testing and debugging of each board are completed, a shop reset is performed at the last position in the factory production. After the Shop reset, the factory production data in the system partition is deleted, and the deletion interface EXT.delFactoryData() is called for data deletion. At the same time, EXT.lockFactory() is called to prohibit access to the / mnt / vendor / factory partition of the micro system, and then the system is restarted to verify whether it has returned to the user mode system. At this time, the TV will enter the user mode system according to the system parameters. After normal startup, it is detected whether the word PMDOE is displayed in the lower left corner of the TV. If it is not displayed, it means that the user mode has been entered; otherwise, it means that the user mode has not been entered, thereby verifying whether the TV function is normal.

[0057] In a feasible implementation manner, step S30 may include steps B11 to B12:

[0058] Step B11, obtaining user mode operation information;

[0059] It should be noted that the user mode operation information is the characteristic information collected about the actual operations of the user in the user mode.

[0060] It can be understood that the user mode operation information can represent the data actually experienced by the user in the user mode. It can be the operation records when the user interacts with the TV through a remote control, a touch screen, or other input devices, such as opening an application, switching channels, adjusting the volume, and changing settings, or the personalized settings made by the user for the TV according to their preferences, such as language settings, display mode, and sound effect adjustment, or the account information used by the user when logging in to the TV system, such as the username, password, login time, and login frequency, or the usage frequency and preferences of the user for the TV functions, such as the frequently watched channels, commonly used applications, and viewing duration.

[0061] Step B12: Delete the factory mode data based on the switching identifier, control the system to enter the user mode, and generate user mode data based on the user mode operation information.

[0062] It can be understood that by performing the data clearing operation, the system can completely delete the factory mode data, ensure that no production data can be accessed in the user mode, effectively prevent the leakage of sensitive information, and protect the security of production data.

[0063] In a feasible implementation manner, step B12 may include steps C11 to C12:

[0064] Step C11: Obtain the deletion interface.

[0065] It should be noted that the deletion interface is a programmatic interface provided by the system for deleting the factory mode data when switching to the user mode.

[0066] It can be understood that the deletion interface can be designed by system developers and integrated into the firmware or operating system of the device, receive external call instructions, and perform the data clearing operation to ensure that the factory mode data is completely deleted when switching to the user mode.

[0067] Step C12: When the switching identifier is to switch to the user mode, call the deletion interface to control the system to delete the factory mode data.

[0068] It can be understood that the deletion interface completely clears the factory mode data in a programmatic way, avoids the risk of possible omission in manual deletion, ensures that no production data can be accessed in the user mode, and effectively prevents the leakage of sensitive information.

[0069] A production data isolation method proposed in this embodiment obtains the TV working condition software, upgrades the TV based on the TV working condition software, and controls the system to enter the factory mode to determine the factory mode identifier; makes a software test sub-set based on the factory mode identifier and triggers TV function testing and data debugging to determine the factory mode data and the switching identifier; controls the system to enter the user mode based on the factory mode data and the switching identifier to determine the user mode data, and completes the production data isolation based on the factory mode data and the user mode data. It solves the technical problem of how to effectively isolate production data and user data. Compared with the prior art, this application upgrades the TV by obtaining the TV working condition software, controls the TV to enter the factory mode, makes a software test sub-set to trigger function testing and data debugging, generates the factory mode data and the switching identifier, saves and isolates the factory mode data, safely switches to the user mode, avoids the coexistence of production data and user data during TV production, prevents the leakage of production data, and reduces manual intervention through an automated process, performs efficient functional testing and debugging of production equipment, and ensures product quality.

[0070] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later.

[0071] In this embodiment, refer to Figure 2 , Figure 2 The flowchart provided for the second embodiment of the production data isolation method of the present application, step S20 specifically includes steps S21 to S24:

[0072] Step S21, obtaining a functional test identifier and upgrade software;

[0073] It should be noted that the functional test identifier is a state variable mark used to represent the completion status of the functional test, and the upgrade software refers to the current version used to upgrade the system firmware or software during the TV production process, that is, it indicates the version used when upgrading the TV.

[0074] It is understandable that after the functional test is completed, a functional test identifier will be generated. Resetting the functional test identifier indicates that all functional tests are completed, the system mode can be switched, and then the identifier for switching the system mode is obtained to enter the factory mode. The upgrade software is a key software version used for system upgrades, functional testing and data debugging in the TV production process. It not only contains the basic functions and optimizations required for system operation, but also integrates a series of test tools and modules for comprehensive functional verification and data debugging of the TV in factory mode.

[0075] For ease of understanding, the example of obtaining a functional test identifier and upgrading software is used for explanation, wherein the information collection device is an information collection module, the storage device is a memory, and the processing device is a processing module.

[0076] The functional test mark is a sign used to confirm whether the TV has completed all predetermined functional tests in factory mode. It is generated by the test system and stored in the system memory. When the TV has completed all functional tests, such as aging test, picture quality detection and white balance debugging, the mark will be set to the "completed" status, thereby ensuring that each TV in the production process has undergone complete and rigorous functional tests. The upgrade software is used to ensure that the TV can operate normally in factory mode and support various testing and debugging functions. It is used as a master for pre-copying and cloning operations, and is used to generate software test sub-chip sets, including the basic functions required for system operation, and integrates special tools and modules for factory testing, and performs subsequent processing based on the functional test mark and upgrade software.

[0077] Step S22, verifying the TV function status based on the factory mode identification and the upgrade software, and performing software pre-copying and cloning to determine the software test sub-slice set;

[0078] It should be noted that the software test subset refers to a set of software copies for functional testing generated by pre-copying and cloning the upgraded software in the factory mode.

[0079] It can be understood that the software test subset is obtained by cloning the master software into the sub-chips in a cloning manner. Each sub-chip is exactly the same as the master software, containing all necessary test functions and debugging tools, which are used to support various functional tests during the production process of the TV. Different sub-chips are assigned to different circuit boards or test devices to ensure that each TV can be tested in a standardized manner under the same software environment.

[0080] For easy understanding, taking the determination of the software test subset as an example, the information collection device is the information collection module, the storage device is the memory, and the processing device is the processing module.

[0081] The information collection module obtains the factory mode identifier, the function test identifier, and the upgraded software. At this time, it has entered the micro system of the factory production mode. Based on the factory mode identifier, serial communication is established, and the TV function status is verified to determine the verification result. That is, after entering the factory mode, the production test is in the form of an assembly line test, and corresponding function tests are carried out at each workstation. Each workstation is equipped with a computer, and a host computer is installed on the computer. The host computer communicates with the factory production service module in the TV through a serial cable. When the TV reaches the test position, the host computer sends corresponding serial commands. Among them, the serial commands are protocols defined by the company itself. For example, when the host computer detects and opens the WIFI, it sends: AA 06 16 02 3D 2A. After the factory production service module in the TV receives the command, it will call the system interface through the interface to open the WIFI, detect whether the current WIFI status is open, and save the result to the test report file in the factory system partition. At the same time, the factory production service module returns a test result command to the host computer: AB 05 16 01. After the host computer receives the result of the TV, it then executes the next command to send the test. Each workstation is tested in this way, and each position requires test items. Based on the verification result, the upgraded software is used as the master to make a pre-copy software, determine the pre-copy software master disk, and clone the pre-copy software master disk to obtain a software test sub-disk set. That is, restart to verify whether it enters the production mode system, verify whether the TV function is normal based on the factory mode identifier, verify the TV function status based on the factory mode identifier and the upgraded software, and perform software pre-copying and cloning to determine the software test sub-disk set. That is, make the master disk in the production mode system. After verifying that the TV function is normal, use the current TV upgraded software as the master to make a pre-copy software. After the pre-copy software master disk is made, clone all the sub-disks according to the made master disk, clone the master disk to the sub-disks through the cloning method, complete the production of all boards, and obtain a software test sub-disk set. At this time, all the sub-disks in the software test sub-disk set are exactly the same as the master disk, and the system is in the factory mode system. Based on the software test sub-disk set, subsequent processing is carried out.

[0082] In a feasible implementation manner, step S22 may include steps D11 to D13:

[0083] Step D11, establish serial communication based on the factory mode identifier, verify the TV function status, and determine the verification result;

[0084] It should be noted that the verification result refers to the conclusion obtained after detecting the TV function status in the factory mode, and is used to judge whether the TV can operate normally.

[0085] It is understandable that the verification result can characterize whether the functions of the TV meet the production standards, including passing the verification and failing the verification. Passing the verification indicates that all key functions of the TV are operating normally, such as the display, audio, and communication functions are all operating normally. Failing the verification indicates that there are problems with some functions and further troubleshooting and repair are required, which can be recorded in the form of code or logs.

[0086] In a feasible implementation manner, step D11 may include steps E11 to E14:

[0087] Step E11, obtain the serial port verification instruction, verification interface, and TV function items;

[0088] It should be noted that the serial port verification instruction is an instruction sent by the test system to the TV system. It can be machine code directly executed by the processor of the computer, or a statement, function call in a programming language, or a command issued by the user through the interface. They will ultimately be compiled or interpreted into machine code and executed by the hardware. The serial port verification instruction includes a test instruction and a test result instruction. The test instruction is an instruction sent by the host computer, and the test result instruction is an instruction returned by the factory production service module to the host computer. The verification interface is an interface used to interact with the TV system, allowing the test system to communicate with the TV through specific instructions or signals to verify whether the various functions of the TV are operating normally. Among them, the interface provides a standardized connection method, enabling different modules or systems to cooperate seamlessly without having to understand the specific implementation details of each other. For example, the interface defines the signatures of a set of methods but does not provide the specific implementation. Other classes can provide specific functions by implementing these interfaces, not only achieving modularization and decoupling but also enhancing the maintainability and scalability of the code. At the same time, the interface allows different software programs to interact through predefined functions and methods, thereby realizing data sharing and service calls.

[0089] Step E12, when the factory mode flag is set to establish serial communication and the serial port verification instruction is for function testing, the control system calls the verification interface to detect the TV function items and obtains the factory system partition test report;

[0090] It should be noted that the factory system partition test report is a detailed report generated after the TV system tests various functions in the factory mode.

[0091] It can be understood that when the factory mode is marked to establish serial communication, the test system can send instructions to the TV system, such as sending test instructions and reading test results, and provide predefined functions for controlling various functions of the TV, such as calling the display test screen and reading the hardware status, so as to ensure that the test instructions can be accurately sent to the TV system, and at the same time be able to receive the feedback information of the TV system to verify the various functions of the TV. The factory system partition test report records the test results of various functions during the test, including whether the test passes, test data, and error information, which are used to evaluate whether the TV system meets the production standards.

[0092] Step E13, when the factory system partition test report passes, the verification result is verified to pass;

[0093] It can be understood that the system will check one by one whether each test item in the factory system partition test report passes, and verify whether the test data meets the preset standard range. If all test items pass and the test data are within the standard range, the verification result is verified to pass, indicating that the TV system functions normally and can enter the next production process or switch to the user mode.

[0094] Step E14, when the factory system partition test report fails, the verification result is verified to fail.

[0095] It can be understood that the system will check one by one whether each test item in the factory system partition test report passes, and verify whether the test data meets the preset standard range. If any test fails or the data is abnormal, the verification result is verified to fail. At this time, it is necessary to further troubleshoot and fix the problems to ensure product quality and data security.

[0096] Step D12, based on the verification result, use the upgraded software as the master to produce the pre-copied software and determine the pre-copied software master disc;

[0097] It should be noted that the pre-copied software master disc refers to a verified basic software version generated based on the upgraded software in the factory mode for subsequent cloning operations.

[0098] It can be understood that pre-copying is to pre-copy the verified software version, copy the selected source software to the specified storage medium or system to generate a standardized master, and the pre-copied software master disc is a complete and tested software with normal functions, including all necessary system functions, test tools, and debugging modules.

[0099] Step D13, clone the pre-copied software master disc to obtain a set of software test sub-discs.

[0100] It is understandable that cloning is a data replication technology that completely copies a source data software to a target location, generating a software copy identical to the source data software. When producing a batch of boards in a wafer, it is impossible to test each board. Since the cloned sub-system is the same as the mother system, that is, only the mother system needs to be tested to achieve the purpose. However, during the production of the whole machine, the sub-boards still need to be functionally tested to prevent problems with the sub-boards.

[0101] Step S23: Generate test instructions based on the software test sub-board set, and perform TV function tests and data debugging based on the test instructions to determine the factory mode data.

[0102] It should be noted that the factory mode data refers to various information and logs generated through function tests and data debugging during the TV production process.

[0103] For ease of understanding, taking the determination of factory mode data as an example, the information collection device is the information collection module, the storage device is the memory, and the processing device is the processing module.

[0104] The information collection module obtains the software test sub-board set. After all the boards are made to obtain the software test sub-board set, it obtains the TV function test items, and performs tests and debugging on the TV functions based on the TV function test items and the software test sub-board set to obtain the factory mode data. That is, during factory production, functional tests and data debugging are performed on each board. The board factory and the whole machine factory will test and debug all the functions of the TV, such as aging, picture inspection, white balance debugging, and debugging logs, to obtain the factory mode data, and subsequent processing is carried out based on the factory mode data.

[0105] Step S24: Reset the function test identification detection system to the pending switching state and determine the switching identification.

[0106] It should be noted that the switching identification is a system status flag used to indicate whether the operation of switching the TV from the factory mode to the user mode is successfully completed.

[0107] It is understandable that the switching identification is generated by the system after completing the operations of saving and clearing the factory mode data, ensuring that the device can safely enter the user mode and preventing system status anomalies.

[0108] For ease of understanding, taking the determination of the switching identification as an example, the information collection device is the information collection module, the storage device is the memory, and the processing device is the processing module.

[0109] The information acquisition module obtains the function test identifier, resets the function test identifier to detect the system's pending switching state, and determines the switching identifier. That is, after the board factory and the whole machine factory have completed all functions of the test, the function test identifier is reset, and the SHOP is reset for the last position of the shipment to obtain the switching identifier. Then, it is restarted to verify whether it has returned to the user mode system. At this time, the TV will enter the user mode system according to the system parameters. After normal startup, it is detected whether the word "PMDOE" is displayed in the lower left corner of the TV. If it is not displayed, it means that the user mode has been entered; otherwise, it means that the user mode has not been entered, so as to verify whether the TV function is normal.

[0110] A production data isolation method proposed in this embodiment obtains a function test identifier and an upgraded software; verifies the TV function status based on the factory mode identifier and the upgraded software, and performs software pre-copying and cloning to determine a software test subset; generates test instructions based on the software test subset, and performs TV function testing and data debugging based on the test instructions to determine factory mode data; resets the function test identifier to detect the system's pending switching state and determines the switching identifier. It solves the technical problem of how to perform efficient functional testing and debugging of production equipment and switch between different modes. Compared with the prior art, this application performs software pre-copying and cloning based on the factory mode identifier to generate a software subset for testing, triggers TV function testing and data debugging, generates factory mode data, resets the function test identifier to detect the system's pending switching state, determines the switching identifier, and then switches to the user mode to achieve test standardization, allowing efficient testing and debugging during the production process, reducing manual intervention, significantly improving production efficiency, and performing data security isolation so that production data is completely cleared when switching to the user mode, preventing data leakage, protecting user privacy and factory data security. At the same time, it reduces system anomalies caused by data residue or failed mode switching, providing a more secure and reliable product.

[0111] This application also provides a production data isolation device. Please refer to Figure 3 , the production data isolation device includes:

[0112] An acquisition module 10, configured to obtain the TV working condition software, upgrade the TV based on the TV working condition software, and control the system to enter the factory mode to determine the factory mode identifier;

[0113] A processing module 20, configured to make a software test subset based on the factory mode identifier and trigger TV function testing and data debugging to determine the factory mode data and the switching identifier;

[0114] An execution module 30, configured to control the system to enter the user mode based on the factory mode data and the switching identifier to determine the user mode data, and complete production data isolation based on the factory mode data and the user mode data.

[0115] The acquisition module 10 is also used to acquire the TV communication status, TV power-on status, monitor key status, and serial port operation instructions;

[0116] Trigger the system security mode based on the TV communication status, TV power-on status, and monitor key status, input the serial port operation instructions to switch the system mode, and determine the factory mode identifier.

[0117] The processing module 20 is also used to acquire the function test identifier and upgrade the software;

[0118] Verify the TV function status based on the factory mode identifier and the upgraded software, perform software pre-copying and cloning, and determine the software test subset;

[0119] Generate test instructions based on the software test subset, and perform TV function tests and data debugging based on the test instructions to determine the factory mode data;

[0120] Reset the function test identifier to detect the system's pending switching state and determine the switching identifier.

[0121] The processing module 20 is also used to establish serial port communication based on the factory mode identifier and verify the TV function status to determine the verification result;

[0122] Use the upgraded software as the master to produce pre-copying software based on the verification result, and determine the pre-copying software master slice;

[0123] Clone the pre-copying software master slice to obtain the software test subset.

[0124] The processing module 20 is also used to acquire the serial port verification instruction, verification interface, and TV function items;

[0125] When the factory mode identifier is to establish serial port communication and the serial port verification instruction is to perform function tests, the control system calls the verification interface to detect the TV function items and obtain the factory system partition test report;

[0126] When the factory system partition test report is passed, the verification result is verified to be passed;

[0127] When the factory system partition test report is not passed, the verification result is verified to be not passed.

[0128] The execution module 30 is also used to acquire the user mode operation information;

[0129] Delete the factory mode data based on the switching identifier, control the system to enter the user mode, and generate user mode data based on the user mode operation information.

[0130] The execution module 30 is also used to acquire the deletion interface;

[0131] When the switching identifier is switched to the user mode, the deletion interface control system is called to delete the factory mode data.

[0132] The production data isolation device provided in this application adopts the production data isolation method in the above embodiment, which can solve the technical problem of how to effectively isolate production data and user data and perform efficient functional testing and debugging of production equipment. Compared with the prior art, the beneficial effects of the production data isolation device provided in this application are the same as those of the production data isolation method provided in the above embodiment, and other technical features in the production data isolation device are the same as those disclosed in the method of the above embodiment, which will not be elaborated here.

[0133] This application provides a production data isolation device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the production data isolation method in the first embodiment above.

[0134] Next, refer to Figure 4 , which shows a schematic structural diagram of a production data isolation device suitable for implementing the embodiments of this application. The production data isolation device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The production data isolation device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.

[0135] As Figure 4As shown, the production data isolation device may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM: Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the production data isolation device are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems may be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the production data isolation device to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows a production data isolation device having various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or had alternatively.

[0136] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above functions defined in the methods of the embodiments disclosed in the present application are executed.

[0137] The production data isolation device provided by the present application adopts the production data isolation method in the above embodiments, and can solve the technical problems of how to effectively isolate production data and user data, and perform efficient functional testing and debugging of production equipment. Compared with the prior art, the beneficial effects of the production data isolation device provided by the present application are the same as those of the production data isolation method provided by the above embodiments, and other technical features in the production data isolation device are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.

[0138] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.

[0139] The above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

[0140] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the production data isolation method in the above embodiments.

[0141] The computer-readable storage medium provided by this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems, or devices, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0142] The above computer-readable storage medium can be included in the production data isolation device; it can also exist separately without being assembled into the production data isolation device.

[0143] The above computer-readable storage medium carries one or more programs, which, when executed by the production data isolation device, cause the production data isolation device to: obtain the TV operating condition software, upgrade the TV based on the TV operating condition software, and control the system to enter the factory mode to determine the factory mode identifier; produce a software test subset based on the factory mode identifier and trigger TV function testing and data debugging to determine the factory mode data and the switching identifier; control the system to enter the user mode based on the factory mode data and the switching identifier to determine the user mode data, and complete production data isolation based on the factory mode data and the user mode data.

[0144] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0145] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0146] The modules involved in the embodiments of the present application can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation on the unit itself in some cases.

[0147] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned production data isolation method, and can solve the technical problems of how to effectively isolate production data and user data, and perform efficient functional testing and debugging of production equipment. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as those of the production data isolation method provided by the above embodiments, and will not be elaborated here.

[0148] The above are only partial embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structural transformation made by using the content of the specification and drawings of the present application under the technical concept of the present application, or direct / indirect application in other related technical fields, is included in the patent protection scope of the present application.

Claims

1. A production data isolation method, characterized in that: The method includes: Acquire television operating software, upgrade the television based on the television operating software, control the system to enter factory mode, and determine the factory mode identifier; Based on the factory mode identifier, a software test sub-slice set is produced and a television function test and data debugging are triggered to determine the factory mode data and the switching identifier; Based on the factory mode data and the switching identifier, the control system enters the user mode, determines the user mode data, and completes the production data isolation based on the factory mode data and the user mode data.

2. The method according to claim 1, characterized in that The control system enters the factory mode, and the step of determining the factory mode identifier includes: Get TV communication status, TV power-on status, monitoring button status and serial port operation instructions; The system safety mode is triggered based on the television communication state, the television power-on state and the monitoring button state, and the serial port operation instruction is input to switch the system mode, and the factory mode identifier is determined.

3. The method according to claim 1, characterized in that The steps of making a software test sub-slice set based on the factory mode identifier and triggering a television function test and data debugging, and determining the factory mode data and the switching identifier include: Obtain functional test identification and upgrade software; Verifying the functional status of the television based on the factory mode identifier and the upgrade software, and performing software pre-copying and cloning to determine a software test sub-slice set; Generate test instructions based on the software test sub-slice set, and perform television function test and data debugging based on the test instructions to determine factory mode data; The function test flag is reset to detect the system to-be-switched state, and the switching flag is determined.

4. The method according to claim 3, characterized in that The step of verifying the TV function status based on the factory mode identifier and the upgrade software, performing software pre-copying and cloning, and determining the software test sub-slice set includes: Establishing serial port communication based on the factory mode identifier, verifying the functional status of the television, and determining a verification result; Based on the verification result, the upgrade software is used as a master to produce pre-copy software, and a pre-copy software master is determined; The pre-copied software master slice is cloned to obtain a set of software test child slices.

5. The method according to claim 4, characterized in that The steps of establishing serial port communication based on the factory mode identifier, verifying the functional status of the television, and determining the verification result include: Get serial port verification instructions, verification interface and TV function items; When the factory mode identifier is to establish serial port communication and the serial port verification instruction is to perform a function test, the control system calls the verification interface to detect the television function items and obtains a factory system partition test report; When the factory system partition test report is passed, the verification result is verification passed; When the factory system partition test report is failed, the verification result is verification failed.

6. The method according to claim 1, characterized in that The step of controlling the system to enter the user mode based on the factory mode data and the switching identifier and determining the user mode data comprises: Get user mode operation information; The factory mode data is deleted based on the switching identifier, the system is controlled to enter the user mode, and the user mode data is generated based on the user mode operation information.

7. The method according to claim 6, characterized in that The step of deleting the factory mode data based on the switching identifier includes: Get the deletion interface; When the switching mark indicates switching to the user mode, the deletion interface control system is called to delete the factory mode data.

8. A production data isolation device, characterized in that: The device comprises: An acquisition module, used for acquiring TV working status software, upgrading the TV based on the TV working status software, controlling the system to enter factory mode, and determining a factory mode identifier; A processing module, used for making a software test sub-slice set based on the factory mode identifier and triggering a television function test and data debugging, and determining the factory mode data and the switching identifier; An execution module is used to control the system to enter the user mode based on the factory mode data and the switching identifier, determine the user mode data, and complete the production data isolation based on the factory mode data and the user mode data.

9. A production data isolation device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the production data isolation method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the production data isolation method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Control method and device of detection system, electronic equipment and storage medium

    CN121029247A