Equipment factory configuration management methods, devices, storage media and electronic equipment

By using a visual configuration management interface and a predefined catalog structure for equipment factory configuration management, the problems of low efficiency, poor intuitiveness, and poor traceability in existing technologies have been solved. This has enabled efficient, intuitive, and traceable equipment factory configuration management, thereby improving management reliability.

CN122489147APending Publication Date: 2026-07-31TCL COMM TECH (CHENGDU) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TCL COMM TECH (CHENGDU) LTD
Filing Date
2026-04-13
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing technologies suffer from low efficiency, poor intuitiveness, and poor traceability in equipment factory configuration management, resulting in poor management reliability.

Method used

It adopts a visual configuration management interface, allowing users to customize the factory configuration of the device through the module selection area and resource customization area. Resources are stored according to a predetermined directory structure and are subject to version management and resource change detection. It automatically and seamlessly integrates with the compilation pipeline for compilation.

Benefits of technology

It enables efficient, intuitive, and traceable equipment factory configuration management, improving management reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122489147A_ABST
    Figure CN122489147A_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, storage medium, and electronic device for managing device factory configurations, relating to the field of software technology. The method includes: obtaining updated resources based on configuration operations for device factory configuration in a configuration management interface; storing the updated resources in a project path according to a predetermined directory structure; performing version management and resource change detection on the updated resources to obtain detection results; if the detection results indicate resource changes, packaging the project path and pushing it to the compilation pipeline for compilation, and displaying the compilation status on the configuration management interface. This application can achieve an efficient, intuitive, and traceable device factory configuration management solution, improving the reliability of device factory configuration management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of software technology, specifically to a method, apparatus, storage medium, and electronic device for managing device factory configuration. Background Technology

[0002] In the manufacturing and deployment of modern smart terminals (such as smartphones, tablets, smart home gateways, etc.), the initial factory configuration of the device before it leaves the factory usually includes static configurations such as wallpaper, ringtone, desktop layout, power-on / off animation, Gmail signature, pre-installed applications, and system properties.

[0003] Equipment factory configuration is usually managed before the equipment leaves the factory. It is typically managed manually by engineering or configuration personnel through command-line tools or scripts combined with manual management. These configuration management methods all suffer from low efficiency, poor intuitiveness, and poor traceability, resulting in poor reliability of equipment factory configuration management. Summary of the Invention

[0004] This application provides a device factory configuration management scheme, which can achieve an efficient, intuitive, and traceable device factory configuration management scheme and improve the reliability of device factory configuration management.

[0005] The embodiments of this application provide the following technical solutions: According to one embodiment of this application, a device factory configuration management method includes: obtaining updated resources based on configuration operations for device factory configuration in a configuration management interface; storing the updated resources in a project path according to a predetermined directory structure; performing version management and resource change detection on the updated resources to obtain detection results; if the detection results indicate that there are resource changes, packaging the project path and pushing it to the compilation pipeline for compilation, and displaying the compilation status in the configuration management interface.

[0006] In some embodiments of this application, the configuration management interface includes a module selection area and a resource customization area; obtaining updated resources based on the configuration operation for the device's factory configuration in the configuration management interface includes: obtaining the selected resource module based on the selection operation in the module selection area; and obtaining the updated resources corresponding to the resource module based on the resource customization operation in the resource customization area.

[0007] In some embodiments of this application, the configuration management interface further includes a real-time preview area, and the method further includes: in response to a preview operation for the updated resource, playing the resource content of the updated resource in the real-time preview area.

[0008] In some embodiments of this application, storing the updated resource in the project path according to a predetermined directory structure includes: determining the directory corresponding to the resource module to which the updated resource belongs in the project path according to the predetermined directory structure; creating a temporary file corresponding to the updated resource in the directory; renaming the temporary file to the filename corresponding to the historical file and replacing the historical file.

[0009] In some embodiments of this application, determining the directory corresponding to the resource module to which the updated resource belongs according to the predetermined directory structure includes: determining whether the directory corresponding to the resource module to which the updated resource belongs exists in the project path according to the predetermined directory structure; if not, generating the directory corresponding to the resource module in the project path according to the predetermined directory structure.

[0010] In some embodiments of this application, the step of performing version management and resource change detection on the updated resource to obtain a detection result includes: performing hash processing on the updated resource to obtain an update hash value; comparing the update hash value with the historical hash value of the historical resource of the resource module to which the updated resource belongs to obtain the detection result; if the detection result indicates that a resource change has occurred, generating new version information for the updated resource; and recording the new version information and the update hash value in the update maintenance file corresponding to the resource module to which the updated resource belongs.

[0011] In some embodiments of this application, the method further includes: generating multiple split screens in response to a predetermined split screen operation; and distributing multiple functional areas in the configuration management interface to the multiple split screens.

[0012] According to one embodiment of this application, a device for managing device factory configuration includes: a user interaction module, configured to: obtain updated resources based on configuration operations for device factory configuration in the configuration management interface; a synchronization storage module, configured to: store the updated resources in a project path according to a predetermined directory structure; a version control module, configured to: perform version management and resource change detection on the updated resources, and obtain detection results; and a compilation interface module, configured to: if the detection result indicates that there are resource changes, package the project path and push it to the compilation pipeline for compilation, and display the compilation status on the configuration management interface.

[0013] According to another embodiment of this application, a storage medium stores a computer program thereon, which, when executed by a processor of an electronic device, causes the electronic device to perform the methods described in the embodiments of this application.

[0014] According to another embodiment of this application, an electronic device may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the methods described in the embodiments of this application.

[0015] According to another embodiment of this application, a computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in the various optional implementations described in the embodiments of this application.

[0016] In this embodiment, updated resources are obtained based on the configuration operations for the device's factory configuration in the configuration management interface; the updated resources are stored in the project path according to a predetermined directory structure; version management and resource change detection are performed on the updated resources to obtain the detection results; if the detection results indicate that there are resource changes, the project path is packaged and pushed to the compilation pipeline for compilation, and the compilation status is displayed in the configuration management interface.

[0017] In this embodiment of the application, based on a visual configuration management interface, users can conveniently and intuitively customize the factory configuration of the device through visual interaction. Resources are managed in a standardized and reliable manner according to a predetermined directory structure. Version management enables version traceability, and resource change detection automatically connects seamlessly with the compilation pipeline to automatically complete compilation. Overall, this achieves an efficient, intuitive, and traceable factory configuration management solution for the device, improving the reliability of the factory configuration management. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A flowchart of a device factory configuration management method according to an embodiment of this application is shown.

[0020] Figure 2 A flowchart illustrating resource customization according to one embodiment of this application is shown.

[0021] Figure 3 A version control flowchart according to an embodiment of this application is shown.

[0022] Figure 4A block diagram of a device factory configuration management apparatus according to an embodiment of this application is shown.

[0023] Figure 5 A block diagram of an electronic device according to an embodiment of this application is shown. Detailed Implementation

[0024] The present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are merely illustrative of the present disclosure and are not intended to limit the present disclosure. Furthermore, the embodiments provided below are some embodiments for implementing the present disclosure, and not all embodiments for implementing the present disclosure. Unless otherwise specified, the technical solutions described in the embodiments of the present disclosure can be implemented in any combination.

[0025] It should be noted that, in the embodiments of this disclosure, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a method or apparatus that includes a list of elements includes not only the elements expressly described, but also other elements not expressly listed, or elements inherent to implementing the method or apparatus. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other related elements (e.g., steps in the method or units in the apparatus; for example, a unit may be a portion of circuitry, a portion of a processor, a portion of a program or software, etc.) in the method or apparatus that includes that element.

[0026] For example, the device factory configuration management method provided in this disclosure includes a series of steps, but the device factory configuration management method provided in this disclosure is not limited to the steps described. Similarly, the device factory configuration management device provided in this disclosure includes a series of units, but the device provided in this disclosure is not limited to the units explicitly described, but may also include units that need to be set up for obtaining relevant information or processing based on information.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of this disclosure.

[0028] It is understood that in the specific implementation of this application, relevant data is involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0029] In the manufacturing and deployment of modern smart terminals (such as smartphones, tablets, and smart home gateways), the initial factory configuration before the device leaves the factory typically includes static configurations such as wallpaper, ringtones, desktop layout, power-on / off animations, Gmail signatures, pre-installed applications, and system properties. Factory configurations are usually managed before the device leaves the factory, typically manually by engineers or configuration personnel using command-line tools or a combination of scripts and manual management. These methods suffer from low efficiency, poor intuitiveness, and poor traceability, resulting in poor reliability in managing factory configurations.

[0030] To address these issues, this application provides a device factory configuration management solution, which can achieve an efficient, intuitive, and traceable device factory configuration management solution, thereby improving the reliability of device factory configuration management.

[0031] The following is a detailed description of relevant embodiments of the equipment factory configuration management scheme provided in this application.

[0032] Figure 1 A flowchart illustrating a device factory configuration management method according to an embodiment of this application is shown schematically. The device factory configuration management method can be implemented by an electronic device with processing capabilities, such as a computer, tablet, etc.

[0033] like Figure 1 As shown, the device factory configuration management method may include steps S110 to S140.

[0034] Step S110: Obtain updated resources based on the configuration operations for the device's factory configuration in the configuration management interface; Step S120: Store the updated resources in the project path according to the predetermined directory structure; Step S130: Perform version management and resource change detection on the updated resources, and obtain the detection results; Step S140: If the detection result indicates that there are resource changes, package the project path and push it to the compilation pipeline for compilation, and display the compilation status in the configuration management interface.

[0035] A visual configuration management interface is provided for managing the device's factory configuration. Users can access this interface through a pre-defined interface and perform configuration operations such as dragging, clicking, selecting, inputting, searching, and filtering. Users can customize different resource modules in the factory configuration (e.g., adding, deleting, modifying, and replacing). Therefore, users can conveniently and intuitively customize the device's factory configuration through a visually interactive interface.

[0036] Furthermore, a unified predefined directory structure (which may include an input directory tree structure and an output directory tree structure) is pre-defined. When the user confirms the completion of resource customization (e.g., by clicking the save / publish button in the configuration management interface), the updated resources generated by the configuration operation are obtained. These updated resources can be stored in the project path according to the input directory tree structure in the predefined directory structure, either atomically written or overwritten. It is possible to define corresponding predefined directory structures for different device models and platforms. Therefore, the resources of different resource modules configured at the factory are further ensured to be managed in a standardized and reliable manner according to the predefined directory structure.

[0037] Furthermore, version management and resource change detection are performed on the updated resources. Specifically, resource change detection can be: comparing the updated resources with the historical resources of the corresponding resource module to determine whether the updated resources have undergone a real resource change compared to the historical resources (there will be no change if the user has not made any substantial modifications). Resource change detection facilitates accurate management of resource increments or changes. Specifically, version management can be: when the detection result indicates that a real resource change has occurred, the corresponding new version information (such as a new version number) is incremented for the updated resources to facilitate version traceability of changes to the device's factory configuration.

[0038] Furthermore, if the detection result indicates that there are resource changes, the compilation process will be automatically triggered by a compilation trigger request (which may carry parameters such as project name, version information, and device identifier). The project path can be packaged according to the output directory tree structure and pushed to the backend compilation pipeline for compilation. The backend compilation pipeline can automatically compile and generate a static configuration package or system image that can be deployed on smart terminals.

[0039] Furthermore, the backend compilation pipeline can return compilation status (such as compilation in progress, compilation completed, etc.), and display the feedback compilation status on the configuration management interface. Therefore, based on the detection results of resource changes, it can automatically trigger the automatic compilation of the device's factory configuration, efficiently completing the closed-loop management of the device's factory configuration.

[0040] In summary, the present application embodiment, based on a visual configuration management interface, allows users to conveniently and intuitively customize the factory configuration of the device through visual interaction. Resources are managed in a standardized and reliable manner according to a predetermined directory structure. Version management enables version traceability, and resource change detection automatically and seamlessly connects with the compilation pipeline to automatically complete compilation. Overall, it achieves an efficient, intuitive, and traceable device factory configuration management solution, improving the reliability of device factory configuration management.

[0041] The following description Figure 1 Further optional specific embodiments for each step performed during the factory configuration management of equipment in the example.

[0042] See Figure 2 In one embodiment, step S110 includes a module selection area and a resource customization area in the configuration management interface; obtaining updated resources based on the configuration operation for the device's factory configuration in the configuration management interface may include: step S210, obtaining the selected resource module based on the selection operation in the module selection area; step S220, obtaining the updated resources corresponding to the resource module based on the resource customization operation in the resource customization area.

[0043] The configuration management interface should include at least a module selection area and a resource customization area. The module selection area provides functions such as searching, filtering, listing, and selecting resource modules. Through these functions, users can perform selection operations and flexibly select one or more resource modules. Resource modules may include, but are not limited to, ringtones, wallpapers, power-on / off animations, desktop layouts, pre-installed applications, overlay configurations, etc.

[0044] The resource customization area offers drag-and-drop upload, click-to-select, and editing operations, allowing users to easily customize updated resources for selected resource modules. For example, after selecting the ringtone resource module, users can drag and drop the ringtone audio file (i.e., the updated resource) to the resource customization area; or, after selecting the wallpaper resource module, users can click to select a wallpaper image file (i.e., the updated resource) from their local storage and upload it.

[0045] Furthermore, in one embodiment, the configuration management interface also includes a real-time preview area, which may further include: in response to a preview operation for an updated resource, playing the resource content of the updated resource in the real-time preview area.

[0046] The configuration management interface also includes a real-time preview area for previewing resources. When a user performs a preview operation on an updated resource module, the resource content of the updated resource can be played in the real-time preview area (such as video display or audio playback) to determine whether the updated resource is appropriate or incorrect, thereby further improving the device's factory configuration management experience.

[0047] For example, the live preview area can display thumbnails of the wallpaper image files (i.e., updated resources), avoiding lag caused by directly rendering large images; it can also display pre-defined preview frames from the boot animation files, and play preview ringtone audio. In one method... Furthermore, in one embodiment, the configuration management interface also includes a submit button (such as a save / publish button). When the user clicks the submit button in the configuration management interface, the resource customization is confirmed to be complete, which can then trigger subsequent processes.

[0048] Furthermore, in one embodiment, the method may also include: verifying the updated resources and obtaining a verification result; displaying the verification result in the configuration management interface. For example, when a user customizes the corresponding updated resources for a selected resource module through a resource customization operation, the updated resource type, size, and filename can be automatically verified to ensure they conform to predetermined standards. The verification result can describe whether the resource type, size, and filename conform to predetermined standards. Consequently, the user can make corresponding adjustments based on the verification result, further improving the reliability of the device's factory configuration management.

[0049] In one embodiment, step S120, storing the updated resource in the project path according to a predetermined directory structure, may include: determining the directory corresponding to the resource module to which the updated resource belongs in the project path according to the predetermined directory structure; creating a temporary file corresponding to the updated resource in the directory; renaming the temporary file to the filename corresponding to the historical file and replacing the historical file.

[0050] According to the predetermined directory structure, the directory of resource module A corresponding to updated resource A1 under the project path can be determined. A temporary file can be created in this directory, and the updated resource A1 can be stored in the temporary file. If a historical file of resource module A exists in this directory, the temporary file is renamed to the filename corresponding to the historical file and replaces the historical file. This atomic write storage method can avoid errors during resource storage.

[0051] Optionally, in other embodiments, in step S120, storing the updated resource in the project path according to a predetermined directory structure may include: determining the directory location of the resource module A corresponding to the updated resource A1 in the project path according to the predetermined directory structure; and then directly using the updated resource to overwrite the historical resource in the historical file.

[0052] Furthermore, in some embodiments, determining the directory corresponding to the resource module to which the updated resource belongs according to a predetermined directory structure includes: determining whether there is a directory corresponding to the resource module to which the updated resource belongs in the project path according to the predetermined directory structure; if not, generating the directory corresponding to the resource module in the project path according to the predetermined directory structure.

[0053] When a directory is missing, the system automatically generates the corresponding directory for the resource module within the project path according to the predefined directory structure, further improving the reliability of configuration management. If historical files exist in the newly created directory, the resource files corresponding to the updated resources can be directly stored in that directory.

[0054] Furthermore, in some embodiments, when updating resources are stored in the project path according to a predetermined directory structure, corresponding logs can be recorded, in which resource addition, replacement and deletion operations can be recorded.

[0055] See Figure 3 In one embodiment, step S130, which involves version management and resource change detection of the updated resource to obtain a detection result, may include: step S310, performing hash processing on the updated resource to obtain an update hash value; step S320, comparing the update hash value with the historical hash value of the historical resource of the resource module to which the updated resource belongs to obtain a detection result; step S330, if the detection result indicates that a resource change has occurred, generating new version information for the updated resource; and step S340, recording the new version information and the update hash value in the update maintenance file corresponding to the resource module to which the updated resource belongs.

[0056] Hash algorithms such as MD5 can be used to hash updated resources to obtain updated hash values. The project path can also store historical maintenance files corresponding to the resource modules to which the updated resources belong. These historical maintenance files record the historical hash values ​​of historical resources (i.e., resources from the previous version) corresponding to the resource modules. Comparing the updated hash value with the historical hash value allows for accurate and reliable detection results.

[0057] If the detection result indicates a resource change, a new version of the updated resource is generated; the new version information and update hash value are recorded in the update maintenance file corresponding to the resource module to which the updated resource belongs. This allows for continuous version tracking and accurate detection of resource changes. Furthermore, the update maintenance file can also record other information such as the resource source of the updated resource.

[0058] In one embodiment of this application, it may further include: generating multiple split screens in response to a predetermined split screen operation; and distributing multiple functional areas in the configuration management interface to multiple split screens.

[0059] The configuration management interface provides a split-screen trigger control. After a user triggers a pre-defined split-screen operation using this control, multiple split screens can be generated on the screen. Furthermore, multiple functional areas of the configuration management interface (such as the module selection area, resource customization area, and real-time preview area) can be distributed across these multiple split screens. Data can be exchanged and the multiple split screens can work collaboratively.

[0060] Since the factory configuration of devices is usually numerous and complex, distributing multiple functional areas to multiple split screens can further facilitate users to flexibly manage the configuration and avoid interference between multiple functional areas affecting the configuration operation.

[0061] In one approach, when distributing multiple functional areas in the configuration management interface across multiple split screens, the distribution can be automatic, with each split screen displaying at least one functional area. In another approach, users can set the number of split screens and manually move functional areas to other split screens as needed.

[0062] To facilitate better implementation of the equipment factory configuration management method provided in this application, this application also provides an equipment factory configuration management device based on the above-described equipment factory configuration management method. The meanings of the terms used are the same as in the above-described equipment factory configuration management method, and specific implementation details can be found in the descriptions in the method embodiments. Figure 4 A block diagram of a device factory configuration management apparatus according to an embodiment of this application is shown.

[0063] like Figure 4 As shown, the device factory configuration management device 400 may include: a user interaction module 410, which can be used to obtain updated resources based on the configuration operations for the device factory configuration in the configuration management interface; a synchronization storage module 420, which can be used to store the updated resources in the project path according to a predetermined directory structure; a version control module 430, which can be used to perform version management and resource change detection on the updated resources and obtain the detection results; and a compilation interface module 440, which can be used to package the project path and push it to the compilation pipeline for compilation if the detection result indicates that there is a resource change, and display the compilation status in the configuration management interface.

[0064] In some embodiments of this application, the configuration management interface includes a module selection area and a resource customization area; when obtaining updated resources based on the configuration operation for the device's factory configuration in the configuration management interface, the user interaction module 410 can be used to: obtain the selected resource module based on the selection operation in the module selection area; and obtain the updated resources corresponding to the resource module based on the resource customization operation in the resource customization area.

[0065] In some embodiments of this application, the configuration management interface further includes a real-time preview area, and the user interaction module 410 can be used to: in response to a preview operation for the updated resource, play the resource content of the updated resource in the real-time preview area.

[0066] In some embodiments of this application, when the updated resource is stored in the project path according to a predetermined directory structure, the synchronization storage module 420 can be used to: determine the directory corresponding to the resource module to which the updated resource belongs in the project path according to the predetermined directory structure; create a temporary file corresponding to the updated resource in the directory; rename the temporary file to the filename corresponding to the historical file and replace the historical file.

[0067] In some embodiments of this application, when determining the directory corresponding to the resource module to which the updated resource belongs according to the predetermined directory structure, the synchronization storage module 420 may be used to: determine whether the directory corresponding to the resource module to which the updated resource belongs exists in the project path according to the predetermined directory structure; if not, generate the directory corresponding to the resource module in the project path according to the predetermined directory structure.

[0068] In some embodiments of this application, when performing version management and resource change detection on the updated resource and obtaining the detection result, the version control module 430 can be used to: perform hash processing on the updated resource to obtain an update hash value; compare the update hash value with the historical hash value of the historical resource of the resource module to which the updated resource belongs to obtain the detection result; if the detection result indicates that a resource change has occurred, generate new version information for the updated resource; and record the new version information and the update hash value in the update maintenance file corresponding to the resource module to which the updated resource belongs.

[0069] In some embodiments of this application, the device further includes a regional split-screen module that can be used to: generate multiple split screens in response to a predetermined split-screen operation; and distribute multiple functional areas in the configuration management interface to the multiple split screens.

[0070] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0071] Furthermore, embodiments of this application also provide an electronic device, such as... Figure 5 As shown, Figure 5 A block diagram of an electronic device according to an embodiment of this application is shown, specifically: The electronic device may include components such as a processor 501 with one or more processing cores, a memory 502 with one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will understand that... Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 501 is the control center of the electronic device, connecting various parts of the computer device via various interfaces and lines. It executes software programs and / or modules stored in the memory 502, and calls data stored in the memory 502, to perform various functions of the computer device and process data. Optionally, the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user page, and application programs, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 501.

[0072] The memory 502 can be used to store software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.

[0073] The electronic device also includes a power supply 503 that supplies power to various components. Preferably, the power supply 503 can be logically connected to the processor 501 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 503 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0074] The electronic device may also include an input unit 504, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0075] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 501 in the electronic device can load the executable files corresponding to the processes of one or more computer programs into the memory 502 according to the following instructions, and the processor 501 runs the computer programs stored in the memory 502, thereby realizing the various functions in the foregoing embodiments of this application.

[0076] For example, processor 501 can perform the following: obtain updated resources based on the configuration operation for the device's factory configuration in the configuration management interface; store the updated resources in the project path according to a predetermined directory structure; perform version management and resource change detection on the updated resources to obtain the detection results; if the detection results indicate that there are resource changes, package the project path and push it to the compilation pipeline for compilation, and display the compilation status in the configuration management interface.

[0077] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by a computer program, or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0078] Therefore, embodiments of this application also provide a storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the methods provided in embodiments of this application.

[0079] The storage medium can be a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0080] Since the computer program stored in the storage medium can execute the steps of any of the methods provided in the embodiments of this application, the beneficial effects that the methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0081] According to another embodiment of this application, a computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in the various optional implementations described in the embodiments of this application.

[0082] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.

[0083] It should be understood that this application is not limited to the embodiments described above and shown in the accompanying drawings, but various modifications and changes can be made without departing from its scope.

Claims

1. A method for managing the factory configuration of equipment, characterized in that, include: Based on the configuration operations performed on the device's factory settings in the configuration management interface, updated resources are obtained; The updated resources are stored in the project path according to a predetermined directory structure; Version management and resource change detection are performed on the updated resources to obtain the detection results; If the detection result indicates that there are resource changes, the project path is packaged and pushed to the compilation pipeline for compilation, and the compilation status is displayed on the configuration management interface.

2. The method according to claim 1, characterized in that, The configuration management interface includes a module selection area and a resource customization area; The process of obtaining updated resources based on the configuration operations performed on the device's factory settings in the configuration management interface includes: The selected resource module is obtained based on the selection operation in the module selection area; Based on the resource customization operation in the resource customization area, the updated resources corresponding to the resource module are obtained.

3. The method according to claim 2, characterized in that, The configuration management interface also includes a real-time preview area, and the method further includes: In response to a preview operation for the updated resource, the resource content of the updated resource is played in the live preview area.

4. The method according to claim 1, characterized in that, The step of storing the updated resources in the project path according to a predetermined directory structure includes: In the project path, the directory corresponding to the resource module to which the updated resource belongs is determined according to the predetermined directory structure; In the specified directory, create a temporary file corresponding to the updated resource; Rename the temporary file to the filename corresponding to the historical file and replace the historical file.

5. The method according to claim 4, characterized in that, Determining the directory corresponding to the resource module to which the updated resource belongs according to the predetermined directory structure includes: Determine whether the project path contains a directory corresponding to the resource module to which the updated resource belongs, based on the predetermined directory structure. If it does not exist, the directory corresponding to the resource module will be generated in the project path according to the predetermined directory structure.

6. The method according to claim 1, characterized in that, The process of version management and resource change detection for the updated resources, and obtaining detection results, includes: The updated resource is hashed to obtain the updated hash value; The detection result is obtained by comparing the updated hash value with the historical hash value of the historical resource in the resource module to which the updated resource belongs; If the detection result indicates that a resource change has occurred, then a new version of the updated resource is generated; The new version information and the update hash value are recorded in the update maintenance file corresponding to the resource module to which the updated resource belongs.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: In response to a pre-defined split-screen operation, multiple split screens are generated; The configuration management interface distributes multiple functional areas across multiple split screens.

8. A device for managing equipment factory configuration, characterized in that, include: The user interaction module is used to obtain updated resources based on the configuration operations performed on the device's factory settings in the configuration management interface. The synchronous storage module is used to: store the updated resources in the project path according to a predetermined directory structure; The version control module is used to: manage the updated resources and detect resource changes, and obtain the detection results; The compilation interface module is used to: if the detection result indicates that there is a resource change, package the project path and push it to the compilation pipeline for compilation, and display the compilation status on the configuration management interface.

9. A storage medium, characterized in that, It stores a computer program that, when executed by the processor of the electronic device, causes the electronic device to perform the method described in any one of claims 1 to 7.

10. An electronic device, characterized in that, include: Memory, which stores computer programs; A processor reads a computer program stored in memory to perform the method described in any one of claims 1 to 7.