CN109947687A - Entire car controller EEPROM memory interface configures system, method, apparatus and storage medium - Google Patents
Entire car controller EEPROM memory interface configures system, method, apparatus and storage medium Download PDFInfo
- Publication number
- CN109947687A CN109947687A CN201910234073.XA CN201910234073A CN109947687A CN 109947687 A CN109947687 A CN 109947687A CN 201910234073 A CN201910234073 A CN 201910234073A CN 109947687 A CN109947687 A CN 109947687A
- Authority
- CN
- China
- Prior art keywords
- eeprom
- signal
- attribute information
- signals
- entire car
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
Abstract
This application discloses a kind of entire car controller EEPROM memory interfaces to configure system, method, device and computer readable storage medium, the EEPROM signal in signal file to be transcoded can be read automatically, and therefrom extract initial EEPROM signal, initial EEPROM signal is converted to the signal type for supporting C language form again, obtain EEPROM signal, further extract the attribute information of each EEPROM signal, the memory space in EEPROM is distributed using the attribute information of each EEPROM signal, the memory space and attribute information for recycling each EEPROM signal to distribute, EEPROM signal is distributed to corresponding storage location, for the function call of preset C language form corresponding with each storage location, it completes to EEP The configuration of ROM memory interface realizes the code that EEPROM signal is converted to C language format, and is automatically performed and automatically configures to EEPROM interface, improves EEPROM interface allocative efficiency and accuracy.
Description
Technical field
The present invention relates to computer field of storage, in particular to a kind of entire car controller EEPROM memory interface configuration system
System, method, apparatus and computer readable storage medium.
Background technique
Entire car controller assembly is usually in industry referred to as " brain " of new-energy automobile, with battery modules, battery
Management Controller collectively forms three big kernel components of new-energy automobile.Entire car controller assembly is as automobile " brain ", tool
For core functions such as the energy management of automobile, moment of torsion control, human-computer interactions, while having these core functions, also just anticipate
Taste entire car controller assembly need extremely huge data to be calculated accordingly, in these data, frequently refer to vehicle
All kinds of historical datas, and the preservation of historical data relates to a critically important module: EEPROM memory module
(Electrically Erasable Programmable read only memory, band electrically erasable programmable read-write storage
Device).Currently, the letter that the EEPROM module software of entire car controller assembly is stored as needed by controller software Developmental Engineer
Number list is developed by hand, and stronger and stronger along with controller function, the data for needing to store also can be more and more, excessive letter
It is higher and higher that number storage will lead to the difficulty developed by hand, time-consuming increasingly longer, and is easy to appear mistake.
In view of the complexity and importance of entire car controller assembly EEPROM memory module, a kind of EEPROM storage is needed to connect
Mouth configuration method, is able to ascend software development efficiency and quality, guarantees the correctness of the historical data of entire car controller assembly, with
Guarantee the normal operation of vehicle various functions.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of entire car controller EEPROM memory interfaces to configure system, side
Method, device and computer readable storage medium improve allocative efficiency.Its concrete scheme is as follows:
A kind of entire car controller EEPROM memory interface configuration system, comprising:
File load module, for loading signal file to be transcoded;Signal file includes a variety of EEPROM signals;
Signal reading module, for reading out all initial EEPROM signals in the signal file;
Signal type changes module, and the signal type for supporting the non-C language in all initial EEPROM signals becomes
The more signal type of C language support, obtains all EEPROM signals;
Property extracting module, for extracting the attribute information of all EEPROM signals;
Memory allocation module distributes each EEPROM signal for the attribute information using each EEPROM signal
Memory space in EEPROM;
Storage location distribution module will be each for the memory space and attribute information according to each EEPROM signal
The attribute information of EEPROM signal is distributed to corresponding storage location, for preset C language corresponding with each storage location
The function call of form completes the configuration to EEPROM memory interface.
Optionally, the file load module is specifically used for load EEPROM signaling interface list.
Optionally, the signal reading module, comprising:
Sheet table screening unit, for reading out in EEPROM signaling interface list using keyword " EEPROM " and including
The sheet table of EEPROM signal;
Signal-obtaining unit rejects sheet table for reading out all initial EEPROM signals from each sheet table
Middle empty content.
Optionally, the signal type changes module, specifically for by bool type in all initial EEPROM signals
Signal is changed to the signal of uint8 type, obtains all EEPROM signals.
Optionally, the memory allocation module, comprising:
Signal attribute judging unit, for judging that current EEPROM signal is using the attribute information of current EEPROM signal
It is no to be removed;
Space allocation unit is removed, for determining that current EEPROM signal can be clear when the signal attribute judgment module
It removes, then space can extremely be removed by distributing current EEPROM signal;
Allocation unit can not be removed, for determining that current EEPROM signal can not be clear when the signal attribute judgment module
It removes, then space can not extremely be removed by distributing current EEPROM signal.
Optionally, the storage location distribution module, comprising:
Function allocation unit is set, for the memory space according to each EEPROM signal, by each EEPROM signal
The initial value and default value recorded in attribute information, distribution is cached into corresponding structural body, for corresponding with structural body
Preset C language form setting function call, wherein the setting function is letter for initial value and default value to be arranged
Number;
Storage function allocation unit will be each for the memory space and attribute information according to each EEPROM signal
EEPROM signal assignment is to corresponding storage location, for the storage function of preset C language form corresponding with storage location
It calls;
Function reading allocation unit will be each for the memory space and attribute information according to each EEPROM signal
EEPROM signal is stored from reading in corresponding caching in corresponding storage location, for preset C language corresponding with caching
The function reading of speech form is called.
The invention also discloses a kind of entire car controller EEPROM memory interface configuration methods, comprising:
Load signal file to be transcoded;Signal file includes a variety of EEPROM signals;
Read out all initial EEPROM signals in the signal file;
The signal type that non-C language in all initial EEPROM signals is supported is changed to the class signal of C language support
Type obtains all EEPROM signals;
Extract the attribute information of all EEPROM signals;
Using the attribute information of each EEPROM signal, memory space of each EEPROM signal in EEPROM is distributed;
According to the memory space and attribute information of each EEPROM signal, each EEPROM signal and attribute information are distributed
To corresponding storage location, for the function call of preset C language form corresponding with each storage location, completion pair
The configuration of EEPROM memory interface.
Optionally, the process of load signal file to be transcoded, comprising:
Load the list of EEPROM signaling interface.
Optionally, the process for reading out all initial EEPROM signals in the signal file, comprising:
The sheet table in EEPROM signaling interface list including EEPROM signal is read out using keyword " EEPROM ";
All initial EEPROM signals are read out from each sheet table, reject empty content in sheet table.
Optionally, the signal type that the non-C language by all initial EEPROM signals is supported is changed to C language branch
The signal type held obtains the process of all EEPROM signals, comprising:
The signal of bool type in all initial EEPROM signals is changed to the signal of uint8 type, is owned
EEPROM signal.
Optionally, the attribute information using each EEPROM signal distributes each EEPROM signal in EEPROM
Memory space process, comprising:
Judge whether current EEPROM signal can be removed using the attribute information of current EEPROM signal;
If it is, space can extremely be removed by distributing current EEPROM signal;
If it is not, then space can not extremely be removed by distributing current EEPROM signal.
Optionally, the memory space and attribute information according to each EEPROM signal, by each EEPROM signal and
Attribute information is distributed to corresponding storage location, for the function tune of preset C language form corresponding with each storage location
Process, comprising:
According to the memory space of each EEPROM signal, the initial value that will be recorded in the attribute information of each EEPROM signal
And default value, distribution is cached into corresponding structural body, for the setting of preset C language form corresponding with structural body
Function call, wherein the setting function is the function for initial value and default value to be arranged;
According to the memory space and attribute information of each EEPROM signal, by each EEPROM signal assignment to depositing accordingly
Storage space is set, so that the storage function of preset C language form corresponding with storage location calls;
According to the memory space and attribute information of each EEPROM signal, each EEPROM signal is stored into position from corresponding
It reads in corresponding caching and stores in setting, so that the function reading of preset C language form corresponding with caching is called.
The invention also discloses a kind of entire car controller EEPROM memory interface configuration devices, comprising:
Memory, for storing computer program;
Processor realizes that entire car controller EEPROM memory interface as the aforementioned is matched for executing the computer program
Set method.
The invention also discloses a kind of computer readable storage medium, meter is stored on the computer readable storage medium
Calculation machine program, the computer program realize entire car controller EEPROM memory interface configuration as the aforementioned when being executed by processor
Method.
In the present invention, entire car controller EEPROM memory interface configures system, comprising: file load module, for loading
Signal file to be transcoded;Signal file includes a variety of EEPROM signals;Signal reading module, for reading out in signal file
All initial EEPROM signals;Signal type changes module, for support the non-C language in all initial EEPROM signals
Signal type is changed to the signal type of C language support, obtains all EEPROM signals;Property extracting module, for extracting
There is the attribute information of EEPROM signal;Memory allocation module, for the attribute information using each EEPROM signal, distribution
Memory space of each EEPROM signal in EEPROM;Storage location distribution module, for according to each EEPROM signal
Memory space and attribute information distribute the attribute information of each EEPROM signal to corresponding storage location, for it is each
The function call of the corresponding preset C language form of storage location completes the configuration to EEPROM memory interface.
The present invention reads the EEPROM signal in signal file to be transcoded automatically, and therefrom extracts initial EEPROM letter
Number, then initial EEPROM signal is converted to the signal type for supporting C language form, EEPROM signal is obtained, further
The attribute information for extracting each EEPROM signal distributes the memory space in EEPROM using the attribute information of each EEPROM signal,
The memory space and attribute information for recycling each EEPROM signal to distribute distribute EEPROM signal to corresponding storage position
It sets, for the function call of preset C language form corresponding with each storage location, EEPROM memory interface is matched in completion
It sets, realizes the code that EEPROM signal is converted to C language format, and be automatically performed and automatically configure to EEPROM interface, mention
High EEPROM interface allocative efficiency and accuracy.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is that a kind of entire car controller EEPROM memory interface disclosed by the embodiments of the present invention configures system structure signal
Figure;
Fig. 2 is that another entire car controller EEPROM memory interface disclosed by the embodiments of the present invention configures system structure signal
Figure;
Fig. 3 is a kind of entire car controller EEPROM memory interface configuration method process signal disclosed by the embodiments of the present invention
Figure;
Fig. 4 is another entire car controller EEPROM memory interface configuration method process signal disclosed by the embodiments of the present invention
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of entire car controller EEPROM memory interfaces to configure system, shown in Figure 1, should
System includes:
File load module 11, for loading signal file to be transcoded;Signal file includes a variety of EEPROM signals.
Specifically, include a variety of EEPROM signals signal file, can be input in advance by user in system specify
Storage region actively loads the signal file in designated storage area to utilize file load module 11 after operating system,
For subsequent reading.
Signal reading module 12, for reading out all initial EEPROM signals in signal file.
It is understood that can use character recognition technology, by way of keyword extraction, read from signal file
It takes out all initial EEPROM signal, realization and filters out EEPROM signal from signal file;Due in signal file
EEPROM signal may be stored in the form of a plurality of types of, for example, bool type, uint8 type or uint16 type etc.
Multiple types, so in the preliminary reading EEPROM signal from signal file, in EEPROM signal still stick signal file
Signal type, therefore, hereon referred to as initial EEPROM signal, to distinguish the EEPROM signal of subsequent change signal type.
Signal type changes module 13, the signal type for supporting the non-C language in all initial EEPROM signals
It is changed to the signal type of C language support, obtains all EEPROM signals.
Specifically, to enable EEPROM signal to store in the form of C language into EEPROM, and can be by C language form
Function read and call, by all initial EEPROM signals non-C language support signal type be changed to C language branch
The signal type held obtains all EEPROM signals, and obtained all EEPROM signals are the function that can support C language form
The signal type for reading and calling, for example, uint8 type.
Property extracting module 14, for extracting the attribute information of all EEPROM signals.
Specifically, corresponding attribute information just is extracted from all EEPROM signals after reading all EEPROM signals,
Attribute information may include ASW (ASW, Applications SoftWare, application software layer) and BSW (BSW, Basic
Software, basic software layer) transmit mutually signal name, initial value, default value, whether be vehicle build-in attribute, signal number
According to attribute informations such as types, so that the subsequent attribute information different according to each EEPROM distributes different storage locations.
Memory allocation module 15 distributes each EEPROM letter for the attribute information using each EEPROM signal
Memory space number in EEPROM.
Specifically, EEPROM includes two kinds of memory spaces, a kind of space that can be lost for data after power down can referred to as be removed
Space, another kind are the space that will not be lost after power down, can not referred to as remove space, therefore, can use each EEPROM letter
Number attribute information in whether be vehicle build-in attribute and both attributes of signal data type distribution EEPROM signal exist
Memory space in EEPROM.
Storage location distribution module 16 will be each for the memory space and attribute information according to each EEPROM signal
EEPROM signal and attribute information are distributed to corresponding storage location, for preset C language corresponding with each storage location
The function call of form completes the configuration to EEPROM memory interface.
It should be noted that can be by being configured to function corresponding with interface function to the configuration of EEPROM interface
Complete, different functions corresponds to different interface functions, for example, control interface realize storage have a corresponding storage function,
Control interface realizes that reads has corresponding function reading, therefore, if EEPROM interface is allowed to run with the code of C language format,
Only need to configure the correlation function of corresponding C language form.
Specifically, after the memory space for determining each EEPROM signal, according to the memory space of each EEPROM signal,
The attribute information of each EEPROM signal is distributed to specific storage location, storage location may include caching, structural body and
Fixed storage location etc., different storage locations correspond to the function of different C language forms, and each function is stored with corresponding
Position is corresponding, and the function of C language form be the function template pre-generated, by by the attribute information of EEPROM signal store to
Corresponding storage location, function can read and call the attribute of EEPROM signal therein to believe from respective memory locations
Breath obtains complete function to realize the assignment to function, realizes the configuration to EEPROM interface.
As it can be seen that the embodiment of the present invention reads the EEPROM signal in signal file to be transcoded automatically, and therefrom extract
Initial EEPROM signal, then initial EEPROM signal is converted to the signal type for supporting C language form, obtain EEPROM letter
Number, the attribute information of each EEPROM signal is further extracted, is existed using the attribute information distribution of each EEPROM signal
The memory space of EEPROM, the memory space and attribute information for recycling each EEPROM signal to distribute, by EEPROM signal point
It is assigned to corresponding storage location, for the function call of preset C language form corresponding with each storage location, completion pair
The configuration of EEPROM memory interface is realized the code that EEPROM signal is converted to C language format, and is automatically performed to EEPROM
Interface automatically configures, and improves EEPROM interface allocative efficiency and accuracy.
The embodiment of the invention discloses a kind of specific entire car controller EEPROM memory interfaces to configure system, relative to upper
One embodiment, the present embodiment have made further instruction and optimization to technical solution.It is shown in Figure 2, specific:
Specifically, above-mentioned file load module 11, the signal file to be transcoded of load can be EEPROM signaling interface
List is stored with a large amount of a variety of EEPROM signal in EEPROM signaling interface list in table form.
Specifically, above-mentioned signal reading module 12, may include Sheet table screening unit 121 and signal-obtaining unit
122;Wherein,
Sheet table screening unit 121 is wrapped for being read out in EEPROM signaling interface list using keyword " EEPROM "
Include the sheet table of EEPROM signal.
It also include some non-EEPROM it is understood that preserving a large amount of information in EEPROM signaling interface list
The information of signal, for example, the note of some signals can use key word spotting techniques to improve the reading efficiency to list,
Satisfactory Sheet table is filtered out, can quickly exclude garbage in this way, wherein keyword can be set to
" EEPROM " quickly finds out the sheet table that Sheet table name includes " EEPROM ", so that it is guaranteed that in the sheet table filtered out
It include EEPROM signal.
Signal-obtaining unit 122 rejects sheet for reading out all initial EEPROM signals from each sheet table
Empty content in table.
Specifically, after filtering out sheet table then each table in each sheet table can be read according to row and/or column
Content therefrom reads out all initial EEPROM signals, and weeds out blank line therein simultaneously, avoids the dry of invalid data
It disturbs, meanwhile, it can also reduce the occupancy of memory space;The initial EEPROM signal read out can be temporarily stored to corresponding pre-
If structural body in cached, to subsequent processing.
Specifically, above-mentioned signal type changes module 13, specifically can be used for not propping up in all initial EEPROM signals
The signal for holding the bool type of C language format is changed to support the signal of the uint8 type of C language format, to be owned
EEPROM signal;Certainly, signal type change module 13 can also be converted to other signal types for not supporting C language format
Other signal types for supporting C language format, the embodiment of the present invention are not intended to be limited in any herein.
Specifically, above-mentioned memory allocation module 15, can specifically include signal attribute judging unit 151, remove sky
Between allocation unit 152 and allocation unit 153 can not be removed;Wherein,
Signal attribute judging unit 151 judges that current EEPROM believes for the attribute information using current EEPROM signal
Number whether can be removed;
Space allocation unit 152 is removed, for determining that current EEPROM signal can be removed when signal attribute judgment module,
Space can extremely be removed by then distributing current EEPROM signal;
Allocation unit 153 can not be removed, for determining that current EEPROM signal can not be clear when signal attribute judgment module
It removes, then space can not extremely be removed by distributing current EEPROM signal.
Specifically, can judge one by one the determined property of whole EEPROM signals, for example, can judge one by one first be
It is no for can not clear signal, can not clear signal one by one using can not remove allocation unit 153 distribution can not extremely remove space,
Again to unappropriated EEPROM signal judge whether it is one by one can clear signal, can clear signal one by one using distribution can be removed
Unit is distributed to that can remove space, to complete the memory allocation to whole EEPROM signals.
Wherein it is possible to using current EEPROM signal whether be vehicle build-in attribute and signal data type judge to work as
Whether preceding EEPROM signal can be removed.
Specifically, above-mentioned storage location distribution module 16, can specifically include setting function allocation unit 161, storage letter
Number allocation unit 162 and function reading allocation unit 163;Wherein,
Function allocation unit 161 is set, for the memory space according to each EEPROM signal, by each EEPROM signal
Attribute information in the initial value and default value recorded, distribution cached into corresponding structural body, for structural body pair
The setting function call for the preset C language form answered, wherein setting function is the letter for initial value and default value to be arranged
Number.
Specifically, the initial value recorded in attribute information according to the memory allocation EEPROM signal of EEPROM signal
It is cached with default value into corresponding structural body, for example, the initial value and default value of the EEPROM signal in space can be removed,
Then distribution is to being cached in structural body corresponding with that can remove space, can not remove the EEPROM signal in space initial value and
Default value, then distribution is to being cached in structural body corresponding with that can not remove space, by by the initial value of EEPROM signal
It is distributed with default value and carries out caching into corresponding structural body and be equivalent to initial value and default value assignment to corresponding with structural body
Setting function in, setting function can use corresponding relationship between structural body in advance realize call it is initial in structural body
Value and default value, to realize the subsequent calling function to initial value and default value, setting function can be mentioned according to other functions
Initial value and default value are being stored in structure to call corresponding initial value and default value by the title of the EEPROM signal of confession
While body, setting function will also establish the corresponding relationship of EEPROM signal name with corresponding initial value and default value.
Storage function allocation unit 162 will be each for the memory space and attribute information according to each EEPROM signal
EEPROM signal assignment is to corresponding storage location, for the storage function of preset C language form corresponding with storage location
It calls.
Specifically, with setting the assigning process principle of function it is identical, according to each EEPROM signal memory space whether
Judged one by one for space can be removed, then the ASW further according to EEPROM signal passes to this category of the signal name of BSW storage
EEPROM signal is assigned to the corresponding storage location of different memory spaces by property information, so that storage function can call accordingly
EEPROM signal, to realize the assignment to storage function and the interface configuration to EEPROM.
Function reading allocation unit 163 will be each for the memory space and attribute information according to each EEPROM signal
EEPROM signal is stored from reading in corresponding caching in corresponding storage location, for preset C language corresponding with caching
The function reading of speech form is called.
Specifically, finding each EEPROM signal in different memory spaces according to the memory space of each EEPROM signal
In storage location, then each EEPROM signal read from storage location and passes to ASW with each EEPROM signal BSW and deposits
During this attribute information of the signal name of storage caches accordingly, so that function reading can call corresponding EEPROM signal, thus
Realize the assignment to function reading and the interface configuration to EEPROM.
Correspondingly, the embodiment of the invention also discloses a kind of entire car controller EEPROM memory interface configuration method, referring to
Shown in Fig. 3, this method comprises:
S11: signal file to be transcoded is loaded;Signal file includes a variety of EEPROM signals;
S12: all initial EEPROM signals in signal file are read out;
S13: the signal type that the non-C language in all initial EEPROM signals is supported is changed to the letter of C language support
Number type, obtains all EEPROM signals;
S14: the attribute information of all EEPROM signals is extracted;
S15: using the attribute information of each EEPROM signal, it is empty to distribute storage of each EEPROM signal in EEPROM
Between;
S16: according to the memory space and attribute information of each EEPROM signal, by each EEPROM signal and attribute information
Distribution is to corresponding storage location, for the function call of preset C language form corresponding with each storage location, completion pair
The configuration of EEPROM memory interface.
In addition, the embodiment of the invention discloses a kind of specific entire car controller EEPROM memory interface configuration method, phase
For a upper embodiment, the present embodiment has made further instruction and optimization to technical solution.
It is shown in Figure 4, specific:
S21: load EEPROM signaling interface list;
Specifically, above-mentioned S12 is in the embodiment of the present invention when signal file to be transcoded is the list of EEPROM signaling interface
In may include S121 and S122;Wherein,
S121: being read out using keyword " EEPROM " includes EEPROM signal in EEPROM signaling interface list
Sheet table;
S122;All initial EEPROM signals are read out from each sheet table, reject empty content in sheet table.
S23: the signal of bool type in all initial EEPROM signals is changed to the signal of uint8 type, obtains institute
There is EEPROM signal.
S24: the attribute information of all EEPROM signals is extracted;
Specifically, above-mentioned S15 can specifically include S151 to S153 in embodiments of the present invention;Wherein,
S151: judge whether current EEPROM signal can be removed using the attribute information of current EEPROM signal;
S152: if it is, space can extremely be removed by distributing current EEPROM signal;
S153: if it is not, then space can not extremely be removed by distributing current EEPROM signal.
Specifically, above-mentioned S16 can specifically include S161 to S163 in embodiments of the present invention;Wherein,
S161: according to the memory space of each EEPROM signal, by what is recorded in the attribute information of each EEPROM signal
Initial value and default value, distribution is cached into corresponding structural body, for preset C language form corresponding with structural body
Setting function call, wherein setting function is function for initial value and default value to be arranged;
S162: according to the memory space and attribute information of each EEPROM signal, by each EEPROM signal assignment to phase
The storage location answered, so that the storage function of preset C language form corresponding with storage location calls;
S163: according to the memory space and attribute information of each EEPROM signal, by each EEPROM signal from corresponding
It reads in corresponding caching and stores in storage location, for the function reading tune of preset C language form corresponding with caching
With.
In addition, the embodiment of the invention also discloses a kind of entire car controller EEPROM memory interface configuration devices, comprising:
Memory, for storing computer program;
Processor realizes entire car controller EEPROM memory interface configuration side as the aforementioned for executing computer program
Method.
In addition, the embodiment of the invention also discloses a kind of computer readable storage medium, on computer readable storage medium
It is stored with computer program, entire car controller EEPROM memory interface as the aforementioned is realized when computer program is executed by processor
Configuration method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
Technology contents provided by the present invention are described in detail above, specific case used herein is to this hair
Bright principle and embodiment is expounded, method of the invention that the above embodiments are only used to help understand and its
Core concept;At the same time, for those skilled in the art, according to the thought of the present invention, in specific embodiment and application
There will be changes in range, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (14)
1. a kind of entire car controller EEPROM memory interface configures system characterized by comprising
File load module, for loading signal file to be transcoded;Signal file includes a variety of EEPROM signals;
Signal reading module, for reading out all initial EEPROM signals in the signal file;
Signal type changes module, and the signal type for supporting the non-C language in all initial EEPROM signals is changed to C
The signal type that language is supported, obtains all EEPROM signals;
Property extracting module, for extracting the attribute information of all EEPROM signals;
Memory allocation module distributes each EEPROM signal and exists for the attribute information using each EEPROM signal
Memory space in EEPROM;
Storage location distribution module, for the memory space and attribute information according to each EEPROM signal, by each EEPROM
The attribute information of signal is distributed to corresponding storage location, for preset C language form corresponding with each storage location
Function call completes the configuration to EEPROM memory interface.
2. entire car controller EEPROM memory interface according to claim 1 configures system, which is characterized in that the file
Loading module is specifically used for load EEPROM signaling interface list.
3. entire car controller EEPROM memory interface according to claim 2 configures system, which is characterized in that the signal
Read module, comprising:
Sheet table screening unit, for reading out in EEPROM signaling interface list using keyword " EEPROM " and including
The sheet table of EEPROM signal;
It is hollow to reject sheet table for reading out all initial EEPROM signals from each sheet table for signal-obtaining unit
White content.
4. entire car controller EEPROM memory interface according to claim 1 configures system, which is characterized in that the signal
Type changes module, specifically for the signal of bool type in all initial EEPROM signals to be changed to the letter of uint8 type
Number, obtain all EEPROM signals.
5. entire car controller EEPROM memory interface according to any one of claims 1 to 4 configures system, feature exists
In the memory allocation module, comprising:
Signal attribute judging unit, for judging that current EEPROM signal whether may be used using the attribute information of current EEPROM signal
It is removed;
Space allocation unit is removed, for determining that current EEPROM signal can be removed when the signal attribute judgment module, then
Space can extremely be removed by distributing current EEPROM signal;
Allocation unit can not be removed, for determining that current EEPROM signal can not be removed when the signal attribute judgment module,
Space can not extremely be removed by then distributing current EEPROM signal.
6. entire car controller EEPROM memory interface according to claim 5 configures system, which is characterized in that the storage
Position distribution module, comprising:
Function allocation unit is set, for the memory space according to each EEPROM signal, by the attribute of each EEPROM signal
The initial value and default value recorded in information, distribution is cached into corresponding structural body, for corresponding with structural body pre-
If C language form setting function call, wherein the setting function is function for initial value and default value to be arranged;
Storage function allocation unit, for the memory space and attribute information according to each EEPROM signal, by each EEPROM
Signal assignment is to corresponding storage location, so that the storage function of preset C language form corresponding with storage location calls;
Function reading allocation unit, for the memory space and attribute information according to each EEPROM signal, by each EEPROM
Signal is stored from reading in corresponding caching in corresponding storage location, for preset C language form corresponding with caching
Function reading call.
7. a kind of entire car controller EEPROM memory interface configuration method characterized by comprising
Load signal file to be transcoded;Signal file includes a variety of EEPROM signals;
Read out all initial EEPROM signals in the signal file;
The signal type that non-C language in all initial EEPROM signals is supported is changed to the signal type of C language support, is obtained
To all EEPROM signals;
Extract the attribute information of all EEPROM signals;
Using the attribute information of each EEPROM signal, memory space of each EEPROM signal in EEPROM is distributed;
According to the memory space and attribute information of each EEPROM signal, each EEPROM signal and attribute information are distributed to phase
The storage location answered, for the function call of preset C language form corresponding with each storage location, EEPROM is deposited in completion
Store up the configuration of interface.
8. entire car controller EEPROM memory interface configuration method according to claim 7, which is characterized in that the load
The process of signal file to be transcoded, comprising:
Load the list of EEPROM signaling interface.
9. entire car controller EEPROM memory interface configuration method according to claim 8, which is characterized in that the reading
Out in the signal file all initial EEPROM signals process, comprising:
The sheet table in EEPROM signaling interface list including EEPROM signal is read out using keyword " EEPROM ";
All initial EEPROM signals are read out from each sheet table, reject empty content in sheet table.
10. entire car controller EEPROM memory interface configuration method according to claim 7, which is characterized in that described to incite somebody to action
The signal type that non-C language in all initial EEPROM signals is supported is changed to the signal type of C language support, is owned
The process of EEPROM signal, comprising:
The signal of bool type in all initial EEPROM signals is changed to the signal of uint8 type, obtains all EEPROM
Signal.
11. according to the described in any item entire car controller EEPROM memory interface configuration methods of claim 7 to 10, feature exists
In the attribute information using each EEPROM signal distributes memory space of each EEPROM signal in EEPROM
Process, comprising:
Judge whether current EEPROM signal can be removed using the attribute information of current EEPROM signal;
If it is, space can extremely be removed by distributing current EEPROM signal;
If it is not, then space can not extremely be removed by distributing current EEPROM signal.
12. entire car controller EEPROM memory interface configuration method according to claim 11, which is characterized in that described to press
According to the memory space and attribute information of each EEPROM signal, each EEPROM signal and attribute information are distributed to depositing accordingly
Storage space is set, for the process of the function call of preset C language form corresponding with each storage location, comprising:
According to the memory space of each EEPROM signal, by the initial value recorded in the attribute information of each EEPROM signal and write from memory
Recognize value, distribution is cached into corresponding structural body, for the setting function of preset C language form corresponding with structural body
It calls, wherein the setting function is the function for initial value and default value to be arranged;
According to the memory space and attribute information of each EEPROM signal, by each EEPROM signal assignment to corresponding storage position
It sets, so that the storage function of preset C language form corresponding with storage location calls;
According to the memory space and attribute information of each EEPROM signal, by each EEPROM signal from corresponding storage location
It reads in corresponding caching and stores, so that the function reading of preset C language form corresponding with caching is called.
13. a kind of entire car controller EEPROM memory interface configuration device characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program to realize such as the described in any item entire car controllers of claim 7 to 12
EEPROM memory interface configuration method.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes such as claim 7 to 12 described in any item entire car controllers when the computer program is executed by processor
EEPROM memory interface configuration method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910234073.XA CN109947687B (en) | 2019-03-26 | 2019-03-26 | System, method and device for configuring EEPROM (electrically erasable programmable read-Only memory) storage interface of vehicle controller and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910234073.XA CN109947687B (en) | 2019-03-26 | 2019-03-26 | System, method and device for configuring EEPROM (electrically erasable programmable read-Only memory) storage interface of vehicle controller and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109947687A true CN109947687A (en) | 2019-06-28 |
CN109947687B CN109947687B (en) | 2022-11-18 |
Family
ID=67010960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910234073.XA Active CN109947687B (en) | 2019-03-26 | 2019-03-26 | System, method and device for configuring EEPROM (electrically erasable programmable read-Only memory) storage interface of vehicle controller and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109947687B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111460050A (en) * | 2020-04-01 | 2020-07-28 | 北京汽车集团有限公司 | Vehicle information processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5430675A (en) * | 1993-05-24 | 1995-07-04 | Matsushita Electronics Corporation | An EEPROM Circuit, a memory device having the EEPROM circuit and an IC card having the EEPROM circuit |
JPH07175640A (en) * | 1993-12-17 | 1995-07-14 | Hudson Soft Co Ltd | Function improvement system for electronic equipment |
US20090136209A1 (en) * | 2004-08-30 | 2009-05-28 | Masao Nonaka | Recording device, system, integrated circuit, program, and recording method |
CN104317746A (en) * | 2014-10-27 | 2015-01-28 | 安徽江淮汽车股份有限公司 | Data redundancy access method for EEPROM (electrically erasable programmable read-only memory) |
-
2019
- 2019-03-26 CN CN201910234073.XA patent/CN109947687B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5430675A (en) * | 1993-05-24 | 1995-07-04 | Matsushita Electronics Corporation | An EEPROM Circuit, a memory device having the EEPROM circuit and an IC card having the EEPROM circuit |
JPH07175640A (en) * | 1993-12-17 | 1995-07-14 | Hudson Soft Co Ltd | Function improvement system for electronic equipment |
US20090136209A1 (en) * | 2004-08-30 | 2009-05-28 | Masao Nonaka | Recording device, system, integrated circuit, program, and recording method |
CN104317746A (en) * | 2014-10-27 | 2015-01-28 | 安徽江淮汽车股份有限公司 | Data redundancy access method for EEPROM (electrically erasable programmable read-only memory) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111460050A (en) * | 2020-04-01 | 2020-07-28 | 北京汽车集团有限公司 | Vehicle information processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109947687B (en) | 2022-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104238963B (en) | A kind of date storage method, storage device and storage system | |
CN103688257B (en) | Method and device for managing metadata | |
CN110399352A (en) | Handle method, apparatus, equipment and the storage medium of SVN journal file | |
CN107608695A (en) | Hard disk firmware upgrade method, device and server | |
CN103473076A (en) | Issuing method and issuing system for code version | |
CN102801565B (en) | Method for carrying out centralized management on service configuration in network management system | |
CN108696394A (en) | The means of communication and equipment of multiple PCIE network interface cards under a kind of Linux system | |
CN110018989A (en) | A kind of method and apparatus that snapshot compares | |
CN110515894A (en) | A kind of conversion method of data format, device, equipment and readable storage medium storing program for executing | |
CN105404691A (en) | File storage method and apparatus | |
CN106528198A (en) | Program downloading system and program downloading method applied to automobile electric-control unit | |
CN109783802A (en) | A kind of business rule processing method, server and computer readable storage medium | |
CN101211352A (en) | Electronic dictionary data update system and its method | |
CN107911741A (en) | Free memory method for improving, smart television and computer-readable recording medium | |
CN103543901B (en) | The method and apparatus generating menu | |
CN109582153A (en) | information input method and device | |
CN109947687A (en) | Entire car controller EEPROM memory interface configures system, method, apparatus and storage medium | |
CN109032635A (en) | Method for upgrading software, device and the network equipment | |
CN104216834B (en) | A kind of method of internal storage access, buffer scheduling device and memory modules | |
CN105868023B (en) | Data processing method and calculate node in a kind of distributed system | |
CN108287819A (en) | A method of realizing that financial and economic news is automatically associated to stock | |
CN106897224A (en) | A kind of software test method of determining range and device | |
CN106126275A (en) | Control method and device for application program data in mobile terminal and mobile terminal | |
EP3992785A1 (en) | Method and apparatus for acquiring command line multiway tree of data network device | |
CN107807993A (en) | A kind of implementation method and device of web-page histories writing function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 401133 room 208, 2 house, 39 Yonghe Road, Yu Zui Town, Jiangbei District, Chongqing Patentee after: Deep Blue Automotive Technology Co.,Ltd. Address before: 401133 room 208, 2 house, 39 Yonghe Road, Yu Zui Town, Jiangbei District, Chongqing Patentee before: CHONGQING CHANGAN NEW ENERGY AUTOMOBILE TECHNOLOGY Co.,Ltd. |