Interaction control method and device for charging pile parameter configuration and medium
By adopting plain text string format and a predefined tag hierarchy system in the charging pile, the problem of portable interaction for charging pile parameter configuration is solved, enabling convenient reading and consistent management of parameter configuration, and improving operation and maintenance efficiency and system stability.
Patent Information
- Application Number
- CN202511584672.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-31
- Publication Date
- 2026-01-02
AI Technical Summary
The lack of effective batch processing and portable interaction methods for charging pile parameter configuration makes it difficult to achieve logical association and hierarchical organization of parameters using traditional storage formats. This increases the risk of misoperation during parameter maintenance and makes it difficult to achieve rapid cloning and batch deployment due to insufficient configuration synchronization and version management.
The parameter configuration file is stored in plain text string format. It uses a predefined tag hierarchy and keyword dictionary to create the parameter configuration file in the FLASH storage medium of the charging pile. It also interacts with external storage devices via USB interface to provide import and export functions for the configuration file.
It enables convenient reading and understanding of parameter configurations, improves the consistency and maintainability of parameter configurations, supports rapid cloning and batch deployment, reduces the risk of misoperation, and enhances the readability of configuration files and the backward compatibility of the system.
Smart Images

Figure CN121246597A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, and in particular to an interactive control method, device and medium for parameter configuration of a charging pile. BACKGROUND
[0002] With the widespread deployment of electric vehicle charging facilities, parameter configuration management of charging pile equipment has become a key link affecting operation and maintenance efficiency and equipment consistency. At present, charging piles generally use EEPROM as a parameter storage medium and save configuration data in hexadecimal format. Although this storage method has non-volatility, its data format is extremely difficult for operation and maintenance personnel to read, and cannot be directly interpreted or modified through conventional text tools. When multiple devices need to be parameterized or troubleshooting, technicians must rely on special debugging tools to connect devices one by one and perform parameter read-write operations through a specific protocol. The whole process is time-consuming and labor-intensive and is prone to configuration deviation due to human operation errors.
[0003] In the prior art, the parameter configuration of the charging pile lacks effective batch processing and portable interaction means. In particular, for cost-reduction devices without a screen, parameter modification completely relies on the underlying communication interface, making on-site debugging and factory initialization work extremely cumbersome. In addition, the traditional hexadecimal storage format has limited capacity to carry parameter semantics, making it difficult to realize logical association and hierarchical organization between parameters, significantly increasing the risk of misoperation during parameter maintenance.
[0004] Further, the existing charging pile parameter management system has obvious deficiencies in configuration synchronization and version management. Due to the lack of standardized configuration file format and external storage interaction mechanism, parameter migration between different devices must be manually checked and input one by one, and cannot be quickly cloned and deployed in batches. At the same time, the traditional storage scheme does not establish an effective configuration verification and rollback mechanism. If an exception occurs during parameter update, it is easy to cause abnormal device running state and even safety hazards. SUMMARY
[0005] The embodiments of the present application provide an interactive control method, device and medium for parameter configuration of a charging pile to solve the above technical problems.
[0006] In one aspect, the embodiments of the present application provide an interactive control method for parameter configuration of a charging pile, comprising: creating a parameter configuration file in the FLASH storage medium of the charging pile based on a predefined label hierarchical system and a keyword dictionary; the parameter configuration file is stored in a pure text string format; In response to an internal parameter setting operation of the charging pile, parameter data is converted into corresponding label strings and keyword strings according to the predefined label hierarchy system and the keyword dictionary, and is written into the parameter configuration file in a configuration file structure; In response to a parameter loading request, a parameter configuration file in a text string format is read from the FLASH storage medium, parameter data values are parsed, and after the parameter data validity check is passed, the parameter data values are loaded into the running system of the charging pile to control the charging operation; In response to a connection event of an external storage device, import and export functions of the configuration file are provided.
[0007] In an implementation manner of the present application, a parameter configuration file is created in the FLASH storage medium of the charging pile based on a predefined label hierarchy system and a keyword dictionary, specifically including: Based on a predefined first-level label set, a second-level label set and a third-level label set, a first-level label string, a second-level label string and a third-level label string are generated; the first-level label string is used to identify a parameter function module, the second-level label string is used to identify a sub-function module, and the third-level label string is used to identify a specific parameter item; Based on a predefined parameter keyword set, a keyword string is generated, and a parameter data type of the keyword is associated; the keyword string is used to uniquely identify a specific parameter; The first-level label string, the second-level label string, the third-level label string and the keyword string are organized in a preset hierarchical order and line format to generate a text file with a specific suffix name as a parameter configuration file.
[0008] In an implementation manner of the present application, in response to an internal parameter setting operation of the charging pile, parameter data is converted into corresponding label strings and keyword strings according to the predefined label hierarchy system and the keyword dictionary, and is written into the parameter configuration file in a configuration file structure, specifically including: A parameter setting instruction is received, and parameter data to be written and corresponding target hierarchical labels and keyword identifiers are obtained; According to the parameter data type associated in the keyword dictionary, the parameter data value is converted into a string form, and the parameter data value in the string form and the corresponding keyword string are connected by an equal sign to combine into a complete parameter line string; According to the hierarchical order from the first-level label to the third-level label, the corresponding label strings are sequentially written into a new line of the parameter configuration file, and the parameter line string is written after the line of the corresponding third-level label string, to complete the recording of one parameter item; The above formatting and writing steps are repeated until all parameter data to be set is recorded in the parameter configuration file.
[0009] In an implementation of the present application, in response to a parameter loading request, a parameter configuration file in a text string format is read from the FLASH storage medium, parameter data values are parsed, and after the parameter data passes the validity check, the parameter data values are loaded into the operation system of the charging pile to control the charging operation, specifically including: Starting from the starting position of the parameter configuration file, the content of each line of string is read in sequence; For each line of string, the number of specific identifiers is counted to determine the label level to which the current line belongs, and the string content is matched with a predefined label set and a keyword dictionary, and if the matching is successful, the current valid level path or the keyword information is recorded; When a keyword line is identified, the string is divided according to the equal sign, the parameter value string corresponding to the keyword is obtained, and according to the data type defined in the keyword dictionary, the parameter value string is converted into corresponding numerical or character type parameter data; The converted parameter data is subjected to validity check, and after the check passes, the parameter data is loaded into the corresponding memory unit of the charging pile operation system to update the operation parameters; the validity check includes range judgment and logic consistency check.
[0010] In an implementation of the present application, for each line of string, the number of specific identifiers is counted to determine the label level to which the current line belongs, and the string content is matched with a predefined label set and a keyword dictionary, and if the matching is successful, the current valid level path or the keyword information is recorded, specifically including: The current line of string is analyzed, the number of continuous appearances of specific bracket identifiers is calculated to obtain an identifier count, and the line type corresponding to the current line is determined according to the identifier count; If the line type is a label line, the label type corresponding to the current line is determined according to the number of counts, and the current level path is recorded using a stack data structure, and if it is a keyword line, the current level path remains unchanged; the label type includes first, second or third level; The core string after removing the identifiers in the label line is compared with a predefined label set, and the part before the equal sign in the keyword line is compared with a predefined keyword dictionary to determine the specific parameter semantics represented by the current line.
[0011] In an implementation of the present application, in response to a connection event of an external storage device, import and export functions of the configuration file are provided, specifically including: continuously detecting whether an external USB storage device is connected through a USB interface of the charging pile; In response to an export instruction triggered by a user on the interactive interface, the data acquisition logic is called to read the parameter configuration data of the current charging pile, a standard configuration file conforming to the configuration file structure is generated, and the standard configuration file is written to the external storage device; In response to an import instruction triggered by a user on the interactive interface, a standard configuration file conforming to the naming convention is searched for in the external storage device, and the parameter configuration data in the standard configuration file is parsed and applied to realize parameter synchronization between charging piles or between the charging pile and the offline editing environment.
[0012] In an implementation manner of the present application, in response to an import instruction triggered by a user on the interactive interface, a standard configuration file conforming to the naming convention is searched for in the external storage device, and the parameter configuration data in the standard configuration file is parsed and applied to realize parameter synchronization between charging piles or between the charging pile and the offline editing environment, specifically including: According to a preset file suffix name rule, the U disk root directory and subdirectories are traversed to check whether there is a matching configuration file, and after the configuration file is found, it is checked whether the file size and basic format conform to the predefined specification; After the file verification is passed, the file content is parsed line by line, the tag level matching keyword is identified, the parameter value is extracted and verified, and all valid parameters are updated to the charging pile system; After the import process is completed, a corresponding operation result report is generated to indicate whether the import is successful or failed, and the corresponding error information when an error occurs.
[0013] In an implementation manner of the present application, after the parameter data validity verification is passed and the parameter data value is loaded into the running system of the charging pile to control the charging operation, the method further includes: When the parameters are successfully changed through the import operation or internal setting, the keywords of the modified parameters, the values before modification, the values after modification, and the modification time stamp are automatically recorded to form a corresponding modification record, and the modification record is written to an independent log file in the FLASH storage medium in an appending manner; the independent log file adopts a pure text string format; Through the debugging interface or the interactive interface of the charging pile, a function of reading and displaying the log file content is provided to track the parameter change history.
[0014] On the other hand, the present application also provides an interactive control device for charging pile parameter configuration, which comprises: at least one processor; and a memory in communication connection with the at least one processor; The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the interactive control method for charging pile parameter configuration.
[0015] In another aspect, the embodiments of the present application also provide a nonvolatile computer storage medium, which stores computer executable instructions, and the computer executable instructions, when executed, implement an interactive control method for charging pile parameter configuration.
[0016] The embodiments of the present application provide an interactive control method for charging pile parameter configuration, a device and a medium, which at least have the following beneficial effects: By using a pure text string format to replace the traditional hexadecimal encoding storage parameter and using hierarchical tags for organization, the configuration file can be directly read and understood by technicians without relying on specific decoding tools, greatly facilitating development debugging, field operation and parameter auditing; by integrating the configuration file import and export function based on an external storage device (such as a U disk), an operation and maintenance personnel can generate a standard configuration file on one device, which can be quickly copied to a large number of devices of the same type through a U disk, ensuring the consistency of parameter configuration among multiple devices; based on the file system storage mode and the structured text protocol, the parameter management method is easy to integrate with other systems, and when new parameters are added in the future, only the predefined tag system and keyword dictionary need to be expanded, without changing the underlying storage architecture, showing good forward compatibility and adaptability. BRIEF DESCRIPTION OF DRAWINGS
[0017] The accompanying drawings, which are included to provide a further understanding of the present application, constitute a part of the present application and illustrate embodiments of the present application and its description, which serve to explain the present application, and do not constitute improper limitations on the present application. In the drawings: Figure 1 A flowchart of an interactive control method for charging pile parameter configuration provided by the embodiments of the present application is shown in the figure; Figure 2 An internal structure diagram of an interactive control device for charging pile parameter configuration provided by the embodiments of the present application is shown in the figure. DETAILED DESCRIPTION
[0018] To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be described clearly and completely below in combination with specific embodiments of the present application and corresponding drawings. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0019] The technical solutions provided by the embodiments of the present application are described in detail below with reference to the drawings.
[0020] Figure 1 A flowchart of an interactive control method for charging pile parameter configuration provided by an embodiment of the present application.
[0021] The analysis method involved in the embodiments of the present application can be implemented for a terminal device or a server, and the present application does not make special limitations thereon. For the convenience of understanding and description, the following embodiments are described in detail by taking the server as an example.
[0022] It should be noted that the server can be a single device or a system composed of multiple devices, i.e., a distributed server, and the present application does not make specific limitations thereon.
[0023] As shown in the figure, the interactive control method for charging pile parameter configuration provided by an embodiment of the present application comprises: Figure 1 Step 101, creating a parameter configuration file in the FLASH storage medium of the charging pile based on a predefined label hierarchy system and a keyword dictionary.
[0024] It should be noted that the parameter configuration file in the embodiments of the present application is stored in a pure text string format.
[0025] In the present embodiment, the predefined label hierarchy system comprises a predefined first-level label set, a second-level label set and a third-level label set. Exemplarily, the first-level label string (such as [SYSTEM_PARAM]) is used to macroscopically identify the function module of the parameter, the second-level label string (such as [[CHARGING_PROFILE]]) further identifies the sub-function module within the scope of the first-level label, and the third-level label string (such as [[[VOLTAGE_LIMIT]]]) is used to accurately identify the specific parameter item. It can be understood that the hierarchical relationship is represented by the nesting number of square brackets, so that the file structure is clear and easy to visually identify and program analyze.
[0026] It should be noted that the keyword dictionary is a mapping bridge between the parameter semantics and the storage format. The construction of the keyword dictionary is based on the generation of a keyword string, such as MaxCurrent, from a predefined parameter keyword set, and the association of the parameter data type of the keyword, such as integer, floating point, string, so as to ensure that each parameter can be uniquely and explicitly identified in the file.
[0027] Specifically, when creating the parameter configuration file, the system first initializes the embedded file system on the FLASH storage medium, allocating the necessary storage space. Then, according to the above-mentioned tag hierarchy system and keyword dictionary, the parameter data is converted into corresponding tag strings and keyword strings in the preset hierarchical order and line format, generating a pure text file with a specific suffix name (such as.config). It can be understood that the selection of FLASH as the storage medium provides greater storage capacity and better read-write durability compared to traditional EEPROM, making it very suitable for storing structured text configuration files. Storing in pure text string format means that all parameter information exists in human-readable character form, and operation and maintenance personnel can directly use general text editors to consult and modify, greatly improving the readability and maintainability of parameters, laying a solid foundation for subsequent manual modification, import and export, and batch synchronization.
[0028] Step 102, in response to the internal parameter setting operation of the charging pile, the parameter data is converted into corresponding tag strings and keyword strings according to the predefined tag hierarchy system and keyword dictionary, and written into the parameter configuration file according to the configuration file structure.
[0029] In this embodiment, when the charging pile receives an internal parameter setting operation, such as modifying parameters through a human-computer interaction interface or initializing default parameters, the process is triggered. Specifically, the system first receives the parameter setting instruction and obtains the parameter data to be written and its corresponding target hierarchical tag and keyword identifier. For example, if the output voltage upper limit of the charging module needs to be set, the system will locate to the target path, which is composed of the first-level tag [POWER_MODULE], the second-level tag [[OUTPUT_SETTING]], and the third-level tag [[[VOLTAGE]]].
[0030] Next, the system converts the parameter data value into a string form according to the associated parameter data type in the keyword dictionary. For example, the integer voltage value 750 is converted to the string "750". Then, the parameter data value in string form is connected to the corresponding keyword string (such as MaxVoltage) through an equal sign, combining into a complete parameter line string, i.e. MaxVoltage=750.
[0031] It should be noted that the file is written in strict accordance with the configuration file structure. The system writes the corresponding tag string in the new line of the parameter configuration file in the order of the level from the first level tag to the third level tag. After the line where the corresponding third level tag string is located, the aforementioned generated parameter line string is written, thereby completing the record of a complete parameter item. It can be understood that this formatting and writing process is repeated until all the parameter data to be set or updated is recorded completely and orderly in the parameter configuration file. This structured writing method not only ensures the standardization and consistency of the file content, but also provides a reliable guarantee for accurately parsing the file content subsequently.
[0032] Step 103, in response to the parameter loading request, reading the parameter configuration file in text string format from the FLASH storage medium, parsing the parameter data value, and loading the parameter data value into the running system of the charging pile to control the charging operation after the parameter data validity verification.
[0033] In the embodiment, the parameter loading request can be generated by device startup, manual trigger refresh, or parameter import completion event. Specifically, the system opens the parameter configuration file from the FLASH storage medium and reads the content of each line string from the starting position. For each line string, the system first counts the number of specific identifiers (such as square brackets [ and ]) to determine the tag level to which the current line belongs. For example, a line containing a pair of [] is determined as a first level tag line, two pairs of [[ ]] are determined as a second level tag line, and three pairs of [[ ]] are determined as a third level tag line.
[0034] It should be noted that in the parsing process, the system uses a stack or other data structure to dynamically record the current valid level path. When a tag line is identified, the stack content is updated according to the level, and when a keyword line is identified, the current level path remains unchanged. Then, the system compares the core string after removing the identifier in the tag line with the predefined tag set, or compares the part before the equal sign in the keyword line with the predefined keyword dictionary, thereby accurately determining the specific parameter semantics represented by the current line.
[0035] When the keyword line is successfully identified, the system splits the string according to the equal sign to obtain the parameter value string corresponding to the keyword. Then, according to the data type defined in the keyword dictionary, the parameter string is converted back to the corresponding numerical or character parameter data. It can be understood that, in order to ensure the stable operation of the system, the converted parameter data must be subjected to validity check, which includes range judgment (such as whether the voltage value is within the allowed range) and logical consistency check (such as whether the related parameter settings conflict). Only after the check passes, the system will load these parameter data into the corresponding memory unit of the charging pile operation system, to update the operation parameters and finally control the charging operation, such as adjusting the output power, starting and stopping the charging process. This complete parsing and loading mechanism ensures that the stored configuration information can be accurately and safely converted into the behavior instructions of the device.
[0036] Step 104, in response to the connection event of the external storage device, providing import and export functions of the configuration file.
[0037] In this embodiment, it should be noted that the external storage device generally refers to a U disk, and the connection event is detected through the USB interface of the charging pile. Specifically, the export function responds to the export instruction triggered by the user on the interactive interface. The system calls the data acquisition logic to read the current parameter configuration data of the charging pile, generates a standard configuration file conforming to the aforementioned configuration file structure, and then writes this file into the connected external storage device. This allows the operation and maintenance personnel to conveniently backup the device parameters or create templates for batch configuration.
[0038] It should be noted that the import function responds to the import instruction triggered by the user on the interactive interface. The system first searches for a standard configuration file conforming to the naming convention (such as a specific file suffix) in the external storage device. After finding the target file, the system checks whether the file size and basic format conform to the predefined specification for preliminary verification.
[0039] Specifically, after the file verification passes, the system parses the file content line by line, identifies the tag level, matches the keyword, extracts and verifies the parameter value. It can be understood that the purpose of this verification process is to update all valid parameters in the external configuration file to the system configuration of the current charging pile. Exemplarily, this function is used to quickly clone the parameter configuration of one device to multiple devices, ensuring parameter consistency. Finally, at the end of the import process, the system generates an operation result report, explicitly indicating whether the import is successful or failed, and providing corresponding error information when an error occurs, to facilitate the user to troubleshoot the problem. Through the import and export functions, the portability and batch operation efficiency of parameter configuration are greatly improved, which is particularly suitable for debugging and operation and maintenance scenarios of non-screen devices.
[0040] In this embodiment, when the system detects that the parameter is successfully modified, it automatically captures and records the key of the modified parameter, the value before modification, the value after modification, and the modification timestamp to form a complete modification record. For example, if the operation and maintenance personnel modify the upper limit of the output voltage from "500V" to "550V" through the human-computer interface, the system will record the key "OutputVoltage", the value before modification "500", the value after modification "550", and the timestamp "2024-01-15 14:30:25.123" accurate to the millisecond level. It can be understood that these information is obtained from the data flow in the system during the parameter modification process, the key is from the mapping relationship of the key dictionary, the values before and after modification are from the comparison before and after the parameter writing, and the timestamp is provided by the system real-time clock.
[0041] It should be noted that all modification records are written in an additional manner in a separate log file in the FLASH storage medium. Specifically, the system will create a special log storage area on the FLASH storage medium, and the log file adopts the same pure text string format as the parameter configuration file, but has an independent file naming rule, for example "param_change.log". Using the additional writing method means that new modification records will be added to the end of the file and will not overwrite historical records, so that all parameter change trajectories can be saved completely. For example, a complete log record may be represented as: "[2024-01-15 14:30:25.123] OutputVoltage changed from 500 to 550".
[0042] It can be understood that using a pure text string format to store log files allows operation and maintenance personnel to directly use text reading tools to view log content without the need for special analysis software. At the same time, the text format facilitates content search and filtering, making it easy and fast to locate modification records of specific time periods or specific parameters.
[0043] Specifically, the system also provides functions of reading and displaying log file content through the debugging interface or interactive interface of the charging pile. In actual application scenarios, when operation and maintenance personnel need to troubleshoot parameter-related problems, they can access the log file through the local interface of the device or the remote debugging interface, and the system will display all parameter modification records in chronological order. For example, the display interface can support functions such as time range filtering and key searching to help operation and maintenance personnel quickly locate the root cause of the problem. This complete parameter change tracking mechanism provides reliable historical data support for device operation and maintenance, significantly improving the efficiency of fault diagnosis and system maintenance.
[0044] It needs to be specially pointed out that the log recording function is closely matched with the parameter configuration function to form a complete closed-loop management system. Whenever the parameters are changed through internal setting or import operation, the log system will automatically trigger recording to ensure that all parameter changes are traceable. Such design not only enhances the maintainability of the system, but also provides an important security mechanism for the safe operation of the equipment.
[0045] The above is the method embodiment of the present application. Based on the same inventive concept, the present application embodiment also provides an interactive control device for parameter configuration of a charging pile, the structure of which is as shown in Figure 2 .
[0046] Figure 2 The internal structure diagram of an interactive control device for parameter configuration of a charging pile provided by the present application embodiment is shown in Figure 2 . The device includes: at least one processor; and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: create a parameter configuration file in the FLASH storage medium of the charging pile based on a predefined label hierarchy system and a keyword dictionary; the parameter configuration file is stored in a pure text string format; in response to an internal parameter setting operation of the charging pile, convert parameter data into corresponding label strings and keyword strings according to the predefined label hierarchy system and the keyword dictionary, and write them into the parameter configuration file according to the configuration file structure; in response to a parameter loading request, read the parameter configuration file in the text string format from the FLASH storage medium, parse out the parameter data values, and after the parameter data validity check is passed, load the parameter data values into the running system of the charging pile to control the charging operation; in response to a connection event of an external storage device, provide import and export functions of the configuration file.
[0047] The present application embodiment also provides a non-volatile computer storage medium, which stores computer executable instructions, and the computer executable instructions can: create a parameter configuration file in the FLASH storage medium of the charging pile based on a predefined label hierarchy system and a keyword dictionary; the parameter configuration file is stored in a pure text string format; in response to an internal parameter setting operation of the charging pile, convert parameter data into corresponding label strings and keyword strings according to the predefined label hierarchy system and the keyword dictionary, and write them into the parameter configuration file according to the configuration file structure; In response to the parameter loading request, a parameter configuration file in a text string format is read from the FLASH storage medium, parameter data values are parsed, and after parameter data validity verification, the parameter data values are loaded into the operation system of the charging pile to control the charging operation. In response to a connection event of the external storage device, import and export functions of the configuration file are provided.
[0048] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiments.
[0049] The device and medium provided by the embodiments of the present application correspond to the method, and therefore, the device and medium also have similar beneficial technical effects as the method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the device and medium will not be described here.
[0050] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage, etc.) containing computer-usable program code.
[0051] The present application is described with reference to flowcharts and / or block diagrams of the method, device (system), and computer program product according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce a device that implements the flowcharts and / or block diagrams. Figure 1 The device that implements the function specified in one flow or multiple flows and / or one block or multiple blocks. Figure 1 The device that implements the function specified in one flow or multiple flows and / or one block or multiple blocks.
[0052] These computer program instructions can also be stored in a computer-readable memory that can guide the computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including instruction devices that implement the flowcharts and / or block diagrams.Figure 1 one or more processes and / or functions specified in a flowchart block Figure 1 one or more processes and / or functions specified in a flowchart block
[0053] These computer program instructions can also be loaded into a computer or other programmable data processing devices, so that a series of operational steps are performed on the computer or other programmable devices, to generate a computer implemented process, so that the instructions executed on the computer or other programmable devices provide operational steps for implementing the processes specified in the flowchart block or blocks. Figure 1 one or more processes and / or functions specified in a flowchart block Figure 1 one or more processes and / or functions specified in a flowchart block
[0054] In one typical configuration, the computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0055] The memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) and / or cache memory, non-volatile memory, such as read-only memory (ROM), EPROM, and / or flash memory. The memory is an example of computer readable media.
[0056] Computer readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer readable media does not include transitory media, such as modulated data signals and carrier waves.
[0057] It should also be noted that the terms "comprising", "comprises" or other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus.
[0058] The above embodiments of the present application are only used to illustrate the technical solutions of the present application, and not intended to limit the present application. Although the present application is illustrated in detail, those skilled in the art should understand that the present application can make various modifications and changes without departing from the spirit and scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims
1. An interactive control method for configuring charging pile parameters, characterized in that, The method includes: Based on a predefined tag hierarchy and keyword dictionary, a parameter configuration file is created in the FLASH storage medium of the charging pile; the parameter configuration file is stored in plain text string format. In response to the internal parameter setting operation of the charging pile, the parameter data is converted into corresponding tag strings and keyword strings according to the predefined tag hierarchy system and the keyword dictionary, and written into the parameter configuration file according to the configuration file structure; In response to the parameter loading request, the parameter configuration file in text string format is read from the FLASH storage medium, the parameter data values are parsed, and after the parameter data validity is verified, the parameter data values are loaded into the operating system of the charging pile to control the charging operation. In response to connection events to external storage devices, it provides import and export functions for configuration files.
2. The interactive control method for configuring charging pile parameters according to claim 1, characterized in that, Based on a predefined tag hierarchy and keyword dictionary, a parameter configuration file is created in the charging pile's FLASH storage medium, specifically including: Based on a predefined set of first-level tags, a set of second-level tags, and a set of third-level tags, first-level tag strings, second-level tag strings, and third-level tag strings are generated; the first-level tag strings are used to identify parameter function modules, the second-level tag strings are used to identify sub-function modules, and the third-level tag strings are used to identify specific parameter items. Based on a predefined set of parameter keywords, a keyword string is generated and associated with the parameter data type of the keyword; the keyword string is used to uniquely identify a specific parameter. The first-level tag string, the second-level tag string, the third-level tag string, and the keyword string are organized according to a preset hierarchical order and line format to generate a text file with a specific file extension, which serves as a parameter configuration file.
3. The interactive control method for configuring charging pile parameters according to claim 1, characterized in that, In response to the internal parameter setting operation of the charging pile, the parameter data is converted into corresponding tag strings and keyword strings according to the predefined tag hierarchy system and the keyword dictionary, and written into the parameter configuration file according to the configuration file structure, specifically including: Receive parameter setting instructions, obtain the parameter data to be written and the corresponding target level label and keyword identifier; Based on the parameter data types associated with the keyword dictionary, the parameter data values are converted into string form, and the string form parameter data values are connected with the corresponding keyword strings by equal signs to form a complete parameter line string; Following the hierarchical order from first-level tags to third-level tags, the corresponding tag strings are written into new lines in the parameter configuration file. After the corresponding third-level tag string, the parameter line string is written to complete the recording of one parameter item. Repeat the above formatting and writing steps until all the parameter data that needs to be set is recorded in the parameter configuration file.
4. The interactive control method for configuring charging pile parameters according to claim 1, characterized in that, In response to a parameter loading request, a parameter configuration file in text string format is read from the FLASH storage medium, parameter data values are parsed, and after the parameter data validity verification is passed, the parameter data values are loaded into the charging pile's operating system to control the charging operation. Specifically, this includes: Starting from the beginning of the parameter configuration file, read the string content of each line sequentially; For each line of string, count the number of specific identifiers to determine the tag level to which the current line belongs, and match the string content with the predefined tag set and keyword dictionary. If the match is successful, record the current valid level path or extract keyword information. When a keyword line is identified, the string is split by an equal sign to obtain the parameter value string corresponding to the keyword, and the parameter value string is converted into the corresponding numeric or character parameter data according to the data type defined in the keyword dictionary. The converted parameter data is validated. If the validation passes, the parameter data is loaded into the corresponding memory unit of the charging pile operation system to update the operating parameters. The validation includes range judgment and logical consistency check.
5. The interactive control method for configuring charging pile parameters according to claim 4, characterized in that, For each line of string, the number of specific identifiers is counted to determine the tag level to which the current line belongs. The string content is then matched against a predefined tag set and keyword dictionary. If a match is found, the currently valid level path is recorded or keyword information is extracted. Specifically, this includes: Analyze the string in the current line, calculate the number of consecutive occurrences of a specific bracket identifier to obtain the identifier count, and determine the line type corresponding to the current line based on the identifier count; If the row type is a tag row, the tag type corresponding to the current row is determined according to the count, and the current hierarchical path is recorded using a stack data structure. If it is a keyword row, the current hierarchical path remains unchanged. The tag type includes first-level, second-level, or third-level. The core string after removing the identifier in the label line is compared with the predefined label set, and the part before the equal sign in the keyword line is compared with the predefined keyword dictionary to determine the specific parameter semantics represented by the current line.
6. The interactive control method for configuring charging pile parameters according to claim 1, characterized in that, In response to connection events from external storage devices, it provides import and export functions for configuration files, specifically including: The charging station continuously detects whether an external USB storage device is connected via its USB port. In response to the user's export command triggered on the interactive interface, the data acquisition logic is invoked to read the parameter configuration data of the current charging pile, generate a standard configuration file that conforms to the configuration file structure, and write the standard configuration file to an external storage device; In response to the import command triggered by the user in the interactive interface, the system searches for a standard configuration file that conforms to the naming convention on the external storage device, parses and applies the parameter configuration data in the standard configuration file to achieve parameter synchronization between charging piles or between charging piles and the offline editing environment.
7. The interactive control method for configuring charging pile parameters according to claim 6, characterized in that, In response to an import command triggered by the user on the interactive interface, the system searches for a standard configuration file conforming to the naming convention on the external storage device, parses and applies the parameter configuration data in the standard configuration file, thereby achieving parameter synchronization between charging piles or between a charging pile and the offline editing environment. Specifically, this includes: Based on the preset file extension rules, traverse the root directory and subdirectories of the USB drive to search for a matching configuration file. After finding the configuration file, check whether the file size and basic format conform to the predefined specifications. After the file is verified, the file content is parsed line by line, the tag level matching keywords are identified, and the parameter values are extracted and verified so that all valid parameters are updated to the charging pile system. After the import process is complete, a corresponding operation result report is generated to indicate whether the import was successful or failed, as well as the corresponding error message when an error occurs.
8. The interactive control method for configuring charging pile parameters according to claim 1, characterized in that, After the parameter data validity verification is passed, and the parameter data value is loaded into the charging pile's operating system to control the charging operation, the method further includes: When parameters are successfully changed through import operations or internal settings, the keywords of the modified parameters, the values before and after modification, and the modification timestamp are automatically recorded to form a corresponding modification record. The modification record is then appended to an independent log file in the FLASH storage medium. The independent log file is in plain text string format. The charging pile's debugging interface or interactive interface provides the function of reading and displaying log file contents to track parameter change history.
9. An interactive control device for configuring charging pile parameters, characterized in that, The device includes: At least one processor; And, a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform an interactive control method for configuring charging pile parameters as described in any one of claims 1-8.
10. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, When the computer-executable instructions are executed, they implement an interactive control method for configuring charging pile parameters as described in any one of claims 1-8.