A software configuration method, device, apparatus and storage medium

By establishing standard and user-coded folders in the in-vehicle equipment and creating soft links upon receiving user requests, the problem of customer customization requirements in in-vehicle products is solved, unified software firmware management is achieved, and the workload of development and maintenance is reduced.

CN116225523BActive Publication Date: 2025-12-30SHENZHEN STREAMING VIDEO TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310243261.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2025-12-30
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

Existing technologies make it difficult to achieve unified software firmware management in automotive products, resulting in the need for separate development and maintenance for each customer's customized requirements, which increases the workload of development, testing and maintenance.

Method used

By obtaining a customized partition of the internal storage space of the vehicle equipment software firmware, a standard folder and a user-coded folder are created. When a configuration request is received from the target user, a soft link is made to the standard folder to a temporary file system, and the software is configured according to the customer information.

Benefits of technology

It reduced the workload of development, testing, and post-maintenance, met the software configuration requirements of different customers, and improved software configuration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116225523B_ABST
    Figure CN116225523B_ABST
Patent Text Reader

Abstract

The application discloses a software configuration method and device, equipment and storage medium. The method comprises the following steps: obtaining a customized partition of an internal storage space of software firmware of a vehicle-mounted device, and establishing standard folders and user code folders in each customized partition; when receiving a configuration request of a target user, soft connecting each standard folder to a temporary file system, and determining customer information of the target user; and performing software configuration according to the customer information, the standard folders, the user code folders and the temporary file system. The customized partition of the internal storage space of the software firmware of the vehicle-mounted device is obtained, the customized partition comprises the standard folders and the user code folders, each standard folder is soft connected to the temporary file system during configuration, and finally, the software configuration can be performed according to the customer information of the target user, the standard folders, the user code folders and the temporary file system, so that the software firmware package does not need to be customized for the customer by a unit, and the development and test workload and the post-maintenance workload are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of software configuration, and more particularly to a software configuration method, apparatus, device, and storage medium. Background Technology

[0002] For many automotive product companies, their products are project-driven. Even for different customers in the same industry, although most of the product functions are the same, most customers will always have their own special needs. This makes it difficult to meet all customer needs with the same software firmware.

[0003] Existing technologies typically cater to the specific needs of each client, requiring each client to release a separate software firmware package. This approach involves significant development and testing workload, as well as substantial maintenance efforts, hindering unified software management. Summary of the Invention

[0004] This invention provides a software configuration method, apparatus, device, and storage medium for configuring software on in-vehicle equipment.

[0005] According to one aspect of the present invention, a software configuration method is provided, the method comprising:

[0006] Obtain the customized partitions of the internal storage space of the vehicle equipment software firmware, and create standard folders and user-coded folders in each customized partition;

[0007] When a configuration request is received from the target user, symbolic links are created to each standard folder on a temporary file system, and the target user's customer information is determined.

[0008] Configure the software based on customer information, standard folders, user-coded folders, and temporary file systems.

[0009] Optionally, obtaining customized partitions of the internal storage space of the vehicle device software firmware includes: obtaining partition requirements for the internal storage space, wherein the partition requirements include partition name, purpose, read / write attributes and customizability; when the customizability is customizable, creating customized partitions based on the customizable partition requirements.

[0010] Optionally, a standard folder and a user-coded folder are created in each customized partition, including: obtaining standard parameters and user configuration parameters; creating a standard folder in each customized partition according to the standard parameters, and creating a user-coded folder in each customized partition according to the user configuration parameters.

[0011] Optionally, determining the target user's customer information includes: determining whether the target user is marked with a target user code; if so, using the target user code as customer information; otherwise, using the absence of a code as customer information.

[0012] Optionally, software configuration can be performed based on customer information, a standard folder, a user code folder, and a temporary file system. This includes: determining whether the customer information is the target user code; if so, performing software configuration based on the target user code, the user code folder, and the temporary file system; otherwise, performing software configuration directly based on the standard folder, which is symbolically linked to the temporary file system.

[0013] Optionally, software configuration is performed based on the target user code, the user code folder, and the temporary file system, including: matching each customized partition according to the target user code to obtain the target customized partition, wherein the target customized partition includes the target user code folder corresponding to the target user code; determining the target standard folder in the temporary file system corresponding to the target customized partition; replacing the target standard folder with the target user code folder, and performing software configuration based on the replaced temporary file system.

[0014] Optionally, each customized partition is matched according to the target user code to obtain the target customized partition, including: determining the user code corresponding to the user code file contained in each customized partition; when the user code is consistent with the target user code, the customized partition corresponding to the user code is taken as the target customized partition.

[0015] According to another aspect of the present invention, a software configuration apparatus is provided, the apparatus comprising:

[0016] The custom partition acquisition module is used to acquire the custom partitions of the internal storage space of the vehicle equipment software firmware, and to create standard folders and user-coded folders in each custom partition;

[0017] The customer information determination module is used to create symbolic links to each standard folder on a temporary file system and determine the customer information of the target user when a configuration request from the target user is received.

[0018] The software configuration module is used to configure the software based on customer information, standard folders, user-coded folders, and temporary file systems.

[0019] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0020] At least one processor; and

[0021] A memory communicatively connected to the at least one processor; wherein,

[0022] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform a software configuration method according to any embodiment of the present invention.

[0023] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement a software configuration method according to any embodiment of the present invention.

[0024] The technical solution of this invention obtains a customized partition of the internal storage space of the vehicle-mounted device software firmware. The customized partition includes a standard folder and a user-coded folder. During configuration, each standard folder is symbolically linked to a temporary file system. Finally, the software can be configured based on the target user's customer information, the standard folder, the user-coded folder, and the temporary file system. This eliminates the need for the organization to customize the software firmware package for the customer, reducing the workload of development and testing as well as subsequent maintenance.

[0025] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0026] To more clearly illustrate the technical solutions in the embodiments of the present invention, 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 the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0027] Figure 1 This is a flowchart of a software configuration method provided according to Embodiment 1 of the present invention;

[0028] Figure 2 This is a flowchart of a software configuration method provided according to Embodiment 1 of the present invention;

[0029] Figure 3 This is a flowchart of a software configuration method provided according to Embodiment 2 of the present invention;

[0030] Figure 4 This is a schematic diagram of the structure of a software configuration device according to Embodiment 3 of the present invention;

[0031] Figure 5 This is a schematic diagram of the structure of an electronic device that implements a software configuration method according to an embodiment of the present invention. Detailed Implementation

[0032] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0034] Example 1

[0035] Figure 1 This is a flowchart illustrating a software configuration method provided in Embodiment 1 of the present invention. This embodiment is applicable to configuring software for in-vehicle equipment. The method can be executed by a software configuration device, which can be implemented in hardware and / or software and can be configured in a computer. Figure 1 As shown, the method includes:

[0036] S110. Obtain the customized partitions of the internal storage space of the vehicle equipment software firmware, and create standard folders and user-coded folders in each customized partition.

[0037] In-vehicle equipment refers to devices that connect to a vehicle and provide users with services such as positioning, navigation, anti-theft, information dissemination, internet access, gaming, and multimedia. In-vehicle equipment meets the functional needs of users during driving and riding. Users refer to the persons driving or riding in the vehicle. Software firmware refers to a set of instructions or computer programs embedded in the hardware device that provide the functions and performance required by the user for the in-vehicle equipment. Storage space refers to a carrier space within the software firmware that stores and manages data via a network connection and physical storage media. Storage space includes custom partitions and standard partitions. Standard partitions are fixed partitions located within the storage space and cannot be configured by the user. Standard partitions include the bootloader Uboot, kernel, backup, and rootfs root file system. Custom partitions are partitions that users can configure according to their needs. Custom partitions include the algorithm execution AIbin, algorithm model AImodule, application APP, and parameter Param. Standard folders and user-coded folders refer to configuration files used for software configuration. To meet different user needs, developers can pre-set user-coded folders and standard folders without special requirements within the controller. The controller will store the standard folders and user-coded folders in a custom partition. When interacting with users later, only the corresponding user-coded folder needs to be called, without the need to configure user requirements separately, thus reducing the workload of software configuration and improving software configuration efficiency.

[0038] S120. When a configuration request from the target user is received, a soft link is created to each standard folder on the temporary file system, and the target user's customer information is determined.

[0039] Specifically, the target user refers to the user currently configuring the software; the configuration request is the request sent by the target user's device to the controller after a successful connection is established; and the soft link is the virtual communication connection between the standard folder and the temporary file system. The temporary file system is also a partition located in the internal storage space, used for temporary file storage. Customer information refers to the target user's tagging information. It should be noted that when the vehicle-mounted device is installed for the first time, the corresponding customer can be selected and tagged in the client interface, i.e., users with special needs are tagged with user codes.

[0040] Optionally, determining the target user's customer information includes: determining whether the target user is marked with a target user code; if so, using the target user code as customer information; otherwise, using the absence of a code as customer information.

[0041] Specifically, when a configuration request from a target user is received, the controller will determine whether the target user has been marked with a target user code. If the target user has been marked with a target user code, the controller can read the target user code as the target user's customer information. If the target user has not been marked with a target user code, the controller will treat the absence of a code as the target user's customer information.

[0042] S130. Configure the software based on customer information, standard folders, user-coded folders, and temporary file systems.

[0043] Figure 3 A flowchart of a software configuration method is provided for Embodiment 1 of the present invention. Step S130 mainly includes the following steps S131 to S133:

[0044] S131. Determine whether the customer information is the target user code. If yes, execute S132; otherwise, execute S133.

[0045] S132. Configure the software based on the target user code, user code folder, and temporary file system.

[0046] Optionally, software configuration is performed based on the target user code, the user code folder, and the temporary file system, including: matching each customized partition according to the target user code to obtain the target customized partition, wherein the target customized partition includes the target user code folder corresponding to the target user code; determining the target standard folder in the temporary file system corresponding to the target customized partition; replacing the target standard folder with the target user code folder, and performing software configuration based on the replaced temporary file system.

[0047] Specifically, the controller can match each customized partition according to the target user code, and take the partition containing the target user code as the target customized partition. That is, the target customized partition includes the target user code folder corresponding to the target user code. Then, it will determine the target standard folder in the temporary file system that corresponds to the target customized partition, replace the target standard folder stored in the temporary file system with the target user code folder, and then perform software configuration according to the replaced temporary file system.

[0048] For example, taking the customized area set by the target user as the APP, and the user code marked by the target user as 995504, firstly, all standard folders in the customized area are stored in a temporary file system. Then, it is determined whether the folder corresponding to the configured target user code exists in the user code folder. If it exists, the files in the folder corresponding to that user code are created as symbolic links and overwritten in the temporary file system. The temporary file system after replacement includes the following folders under APP / lib: lib1 (APP / normal / lib / lib1), lib2 (APP / normal / lib / lib2), lib3 (APP / normal / lib / lib3), lib4 (APP / customer / 995504 / lib / lib4), lib5 (APP / normal / lib / lib5). It can be seen that lib1, lib2, lib3, and lib5 are library files linked to the standard directory, while lib4 is a library file linked to the 995504 customer code directory.

[0049] Optionally, each customized partition is matched according to the target user code to obtain the target customized partition, including: determining the user code corresponding to the user code file contained in each customized partition; when the user code is consistent with the target user code, the customized partition corresponding to the user code is taken as the target customized partition.

[0050] Specifically, the controller determines whether the directory for the customer code exists in the user code folder of all customized partitions. In other words, it identifies the user code corresponding to the user code file in each customized partition and checks if the user code matches the target user code. If the user code matches the target user code, it means that the directory for the customer code exists in the user code folder. At this point, the controller designates the customized partition corresponding to the user code as the target customized partition. The target customized partition is the partition containing the user's customized requirements.

[0051] S133. Configure the software directly based on a standard folder with a soft link to the temporary file system.

[0052] Specifically, the controller determines whether the customer information matches the target user code. If it does, the controller identifies the target standard file based on the target user code and the user code folder. It then replaces the target standard folder with the target user code folder and finally configures the software based on the temporary file system containing the replaced target user code folder, thus starting the device. Conversely, if the customer information does not match the target user code (i.e., there is no code), it indicates that the user has no special configuration requirements. In this case, the controller directly configures the software based on the standard folder linked to the temporary file system. By mapping all files (creating symbolic links) to a writable temporary partition and using customer-customized files to overwrite the mappings of the standard requirement files, the controller resolves the issue of different customers having different needs and thus being unable to use the same firmware.

[0053] The technical solution of this invention obtains a customized partition of the internal storage space of the vehicle-mounted device software firmware. The customized partition includes a standard folder and a user-coded folder. During configuration, each standard folder is symbolically linked to a temporary file system. Finally, the software can be configured based on the target user's customer information, the standard folder, the user-coded folder, and the temporary file system. This eliminates the need for the organization to customize the software firmware package for the customer, reducing the workload of development and testing as well as subsequent maintenance.

[0054] Example 2

[0055] Figure 3 This is a flowchart of a software configuration method provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment specifically describes the process of creating soft links to each standard folder in a temporary file system and determining the target user's customer information when a configuration request from a target user is received. The specific content of steps S250-S260 is largely the same as steps S120-S130 in Embodiment 1, and therefore will not be repeated in this embodiment. Figure 3 As shown, the method includes:

[0056] S210. Obtain the partition requirements for the internal storage space, including the partition name, purpose, read / write attributes, and customizable features.

[0057] Specifically, the controller can divide the internal storage space of the vehicle-mounted device into different partitions based on the acquired partitioning requirements, with each partition having different functions. Table 1 below illustrates the acquired partitioning requirements:

[0058] Table 1

[0059]

[0060]

[0061] The partition requirements include partition name, purpose, read / write attributes, and customizability. For example, a partition named Uboot is a boot partition with read-only attributes and no customizability, while a partition named APP is an application partition with read-only attributes and customizability.

[0062] S220. When the customizable condition is customizable, create a custom partition based on the customizable partition requirements.

[0063] S230, Obtain standard parameters and user configuration parameters.

[0064] S240. Create standard folders in each customized partition according to standard parameters, and create user-coded folders in each customized partition according to user configuration parameters.

[0065] Specifically, the controller can determine custom partitions based on the customizability of the partitioning requirements. That is, when a partition is customizable, a custom partition can be created based on the customizable partitioning requirements. Furthermore, the controller acquires standard parameters and user configuration parameters. Standard parameters and user configuration parameters are parameters used for software configuration. User configuration parameters are parameters used to configure the software according to specific user configuration requirements, while standard parameters are default parameters used when the user has no specific configuration requirements. The controller will create a standard folder to store standard parameters in each custom partition, and a user code folder to store user configuration parameters in each custom partition.

[0066] S250. When a configuration request from the target user is received, a soft link is made to each standard folder on a temporary file system, and the target user's customer information is determined.

[0067] Optionally, determining the target user's customer information includes: determining whether the target user is marked with a target user code; if so, using the target user code as customer information; otherwise, using the absence of a code as customer information.

[0068] S260: Configure the software based on customer information, standard folders, user-coded folders, and temporary file systems.

[0069] Optionally, software configuration can be performed based on customer information, a standard folder, a user code folder, and a temporary file system. This includes: determining whether the customer information is the target user code; if so, performing software configuration based on the target user code, the user code folder, and the temporary file system; otherwise, performing software configuration directly based on the standard folder, which is symbolically linked to the temporary file system.

[0070] Optionally, software configuration is performed based on the target user code, the user code folder, and the temporary file system, including: matching each customized partition according to the target user code to obtain the target customized partition, wherein the target customized partition includes the target user code folder corresponding to the target user code; determining the target standard folder in the temporary file system corresponding to the target customized partition; replacing the target standard folder with the target user code folder, and performing software configuration based on the replaced temporary file system.

[0071] Optionally, each customized partition is matched according to the target user code to obtain the target customized partition, including: determining the user code corresponding to the user code file contained in each customized partition; when the user code is consistent with the target user code, the customized partition corresponding to the user code is taken as the target customized partition.

[0072] The technical solution of this invention obtains customized partitions of the internal storage space of the vehicle-mounted device software firmware, creates standard folders in each customized partition according to standard parameters, and creates user code folders in each customized partition according to user configuration parameters. During configuration, each standard folder is symbolically linked to a temporary file system. When the customer information is the target user code, the controller determines the target standard file based on the target user code and the user code folder, and then replaces the target standard folder with the target user code folder. Finally, the software is configured based on the temporary file system with the replaced target user code folder. When the customer information is not the target user code, the software is configured directly based on the standard folder symbolically linked to the temporary file system. This eliminates the need for the unit to customize the software firmware package for the customer, reducing the workload of development and testing as well as subsequent maintenance.

[0073] Example 3

[0074] Figure 4 This is a schematic diagram of a software configuration device provided in Embodiment 3 of the present invention. Figure 4 As shown, the device includes: a customized partition acquisition module 310, used to acquire customized partitions in the internal storage space of the vehicle-mounted device software firmware, and to create standard folders and user-coded folders in each customized partition; a customer information determination module 320, used to soft-link each standard folder to a temporary file system and determine the customer information of the target user when a configuration request from a target user is received; and a software configuration module 330, used to perform software configuration based on the customer information, standard folders, user-coded folders, and temporary file system.

[0075] Optionally, the custom partition acquisition module 310 specifically includes: a custom partition acquisition unit, used to: acquire partition requirements for the internal storage space, wherein the partition requirements include partition name, purpose, read / write attributes and customizability; when the customizability is customizable, a custom partition is created based on the customizable partition requirements.

[0076] Optionally, the customized partition acquisition module 310 specifically includes: a folder creation unit, used to: acquire standard parameters and user configuration parameters; create standard folders in each customized partition according to the standard parameters, and create user-coded folders in each customized partition according to the user configuration parameters.

[0077] Optionally, the customer information determination module 320 specifically includes: a customer information determination unit, used to: determine whether the target user is marked with a target user code; if so, use the target user code as customer information; otherwise, use the absence of a code as customer information.

[0078] Optionally, the software configuration module 330 specifically includes: a user code judgment unit, used to determine whether the customer information is the target user code; an encoding file configuration unit, used to perform software configuration based on the target user code, the user code folder, and the temporary file system when the customer information is the target user code; and a standard file configuration unit, used to perform software configuration directly based on the standard folder with a soft link to the temporary file system when the customer information is not the target user code.

[0079] Optionally, the encoding file configuration unit specifically includes: a target custom partition determination subunit, used to match each custom partition according to the target user code to obtain the target custom partition, wherein the target custom partition includes a target user code folder corresponding to the target user code; a target standard folder determination subunit, used to determine the target standard folder in the temporary file system corresponding to the target custom partition; and a folder replacement subunit, used to replace the target standard folder with the target user code folder, and perform software configuration according to the replaced temporary file system.

[0080] Optionally, the target custom partition determination subunit is used to: determine the user code corresponding to the user code file contained in each custom partition; when the user code is consistent with the target user code, the custom partition corresponding to the user code is taken as the target custom partition.

[0081] The technical solution of this invention obtains a customized partition of the internal storage space of the vehicle-mounted device software firmware. The customized partition includes a standard folder and a user-coded folder. During configuration, each standard folder is symbolically linked to a temporary file system. Finally, the software can be configured based on the target user's customer information, the standard folder, the user-coded folder, and the temporary file system. This eliminates the need for the organization to customize the software firmware package for the customer, reducing the workload of development and testing as well as subsequent maintenance.

[0082] The software configuration device provided in this embodiment of the invention can execute a software configuration method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0083] Example 4

[0084] Figure 5 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0085] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0086] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0087] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as a software configuration method. That is: acquiring customized partitions of the internal storage space of the vehicle device software firmware, and creating standard folders and user-coded folders in each customized partition; when receiving a configuration request from a target user, soft-linking each standard folder to a temporary file system, and determining the target user's customer information; and performing software configuration based on the customer information, standard folders, user-coded folders, and temporary file system.

[0088] In some embodiments, a software configuration method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the software configuration method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform a software configuration method by any other suitable means (e.g., by means of firmware).

[0089] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0090] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0091] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on 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 thereof.

[0092] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0093] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0094] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0095] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0096] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A software configuration method, characterized by, The method comprises the following steps: obtaining customized partitions of internal storage space of software firmware of an in-vehicle device, and establishing standard folders and user code folders in each of the customized partitions; when a configuration request of a target user is received, soft connecting each of the standard folders to a temporary file system, and determining customer information of the target user; wherein the soft connection is a virtual communication connection between the standard folder and the temporary file system; performing software configuration according to the customer information, the standard folder, the user code folder and the temporary file system; the obtaining of the customized partitions of the internal storage space of the software firmware of the in-vehicle device comprises: obtaining partition requirements for the internal storage space, wherein the partition requirements include partition name, purpose, read-write attribute and customizability; when the customizability is customizable, establishing the customized partitions according to the customizable partition requirements; the establishing of the standard folders and the user code folders in each of the customized partitions comprises: obtaining standard parameters and user configuration parameters; establishing the standard folders in each of the customized partitions according to the standard parameters, and establishing the user code folders in each of the customized partitions according to the user configuration parameters; the performing of the software configuration according to the customer information, the standard folder, the user code folder and the temporary file system comprises: judging whether the customer information is a target user code, if yes, performing software configuration according to the target user code, the user code folder and the temporary file system; otherwise, directly performing software configuration based on the standard folder soft connected to the temporary file system.

2. The method of claim 1, wherein, the determining of the customer information of the target user comprises: judging whether the target user is marked with a target user code, if yes, taking the target user code as the customer information; otherwise, taking no code as the customer information.

3. The method of claim 1, wherein, the performing of the software configuration according to the target user code, the user code folder and the temporary file system comprises: matching each of the customized partitions according to the target user code to obtain a target customized partition, wherein the target customized partition includes a target user code folder corresponding to the target user code; determining a target standard folder in the temporary file system corresponding to the target customized partition; replacing the target standard folder through the target user code folder, and performing software configuration according to the replaced temporary file system.

4. The method of claim 3, wherein, the matching of each of the customized partitions according to the target user code to obtain a target customized partition comprises: determining a user code corresponding to a user code folder contained in each of the customized partitions; when the user code is consistent with the target user code, taking the customized partition corresponding to the user code as the target customized partition.

5. A software configuration apparatus characterized by comprising: The method comprises the following steps: a customized partition obtaining module is configured to obtain customized partitions of internal storage space of software firmware of an in-vehicle device, and establish standard folders and user code folders in each of the customized partitions; The client information determining module is configured to, when receiving a configuration request of a target user, soft-connect each of the standard folders to a temporary file system, and determine client information of the target user; wherein the soft connection is a virtual communication connection between the standard folder and the temporary file system. The software configuration module is configured to perform software configuration according to the client information, the standard folder, the user coding folder and the temporary file system. The custom partition obtaining module specifically comprises: The custom partition obtaining unit is configured to: obtain partition requirements for the internal storage space, wherein the partition requirements include a partition name, a use, a read-write attribute and a customizability; and when the customizability is customizable, establish a custom partition according to the customizable partition requirements. The custom partition obtaining module specifically further comprises: The folder establishing unit is configured to: obtain standard parameters and user configuration parameters; establish standard folders in each custom partition according to the standard parameters, and establish user coding folders in each custom partition according to the user configuration parameters. The software configuration module specifically comprises: The user coding judging unit is configured to judge whether the client information is target user coding. The coding file configuration unit is configured to, when the client information is target user coding, perform software configuration according to the target user coding, the user coding folder and the temporary file system. The standard file configuration unit is configured to, when the client information is not target user coding, directly perform software configuration based on the standard folder soft-connected to the temporary file system.

6. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the method of any one of claims 1-4.

7. A computer storage medium, characterized in that The computer storage medium stores computer instructions for enabling the processor to implement the method of any one of claims 1-4 when executed.

Citation Information

Patent Citations

  • Vehicle-mounted system configuration method, device and system, vehicle, electronic equipment and medium

    CN114924785A