[go: up one dir, main page]

CN110119132B - Method and system for realizing function setting diversification of controller - Google Patents

Method and system for realizing function setting diversification of controller Download PDF

Info

Publication number
CN110119132B
CN110119132B CN201910281407.9A CN201910281407A CN110119132B CN 110119132 B CN110119132 B CN 110119132B CN 201910281407 A CN201910281407 A CN 201910281407A CN 110119132 B CN110119132 B CN 110119132B
Authority
CN
China
Prior art keywords
controller
memory
data
mapping
function
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.)
Active
Application number
CN201910281407.9A
Other languages
Chinese (zh)
Other versions
CN110119132A (en
Inventor
吴怡文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201910281407.9A priority Critical patent/CN110119132B/en
Publication of CN110119132A publication Critical patent/CN110119132A/en
Application granted granted Critical
Publication of CN110119132B publication Critical patent/CN110119132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

When a master control controller sends a bus data file with function setting information, controller software establishes a mapping memory area and writes and maps data according to the setting, so that the memory setting of the mapping area replaces the mapped memory setting, and the current written data function is enabled to take effect; when the main control controller sends a new function setting information data file, the controller software adjusts the content of the mapping memory area to realize function updating. The invention adopts the mode of establishing the mapping memory in the controller, establishes the mirror image data in the controller to change the operation result of the controller, and simultaneously, the content of the mapping memory can be changed or rebuilt according to the appointed communication protocol so as to realize the diversified setting with unlimited quantity and meet the diversified requirements of different terminal clients on the operation result of the controller.

Description

Method and system for realizing function setting diversification of controller
Technical Field
The invention relates to the field of controllers and software functions thereof, in particular to a method and a system for realizing function setting diversification of a controller.
Background
Along with the popularization of automobiles, terminal clients have good function setting on the automobiles, and the characteristic of diversified function adjustment requirements on automobile controller software is increasingly shown.
How to improve the experience of diversified functional requirements of terminal clients on the vehicle controller software becomes an important research topic.
On the basis of the conventional scheme adopted at present, the method for updating the after-sale service shop of the manufacturer is the most common scheme, and is characterized in that the shop service time is long, the cost is high, diversified control software setting cannot be provided for the terminal customer, and the method is difficult to become an experience means of the terminal customer for diversification of the control function; the multi-mode selection switch or button is another scheme provided in recent years, and is characterized in that a plurality of different controller software settings can be simultaneously set on certain functions of a vehicle through selection of the selection switch or button so as to meet diversified experiences of customers, and the multi-mode selection switch or button has the defects of low utilization rate of a controller memory, fixed and solidified options, less option change and incapability of expansion. The remote update scheme (OTA) is another common scheme and is applied to some high-end vehicle models, which has the disadvantages that the client vehicle cannot be in the vehicle operation mode during the update process, the download time is long, the vehicle cannot operate if the update fails, and the bandwidth requirement of the vehicle-mounted download terminal is high and the cost is high. Therefore, the method for realizing the infinite diversified expansion of the functions, the high utilization efficiency of the memory of the controller and the setting change in the running process of the vehicle is a technical key point.
Disclosure of Invention
The invention aims to solve the technical problem of providing a method and a system for realizing function setting diversification of a controller, which adopts a method for flexibly using a controller memory to realize various software function settings and conveniently realizing unlimited diversification and instantaneity of function settings without changing a vehicle hardware system or a controller software system.
The first aspect of the present invention provides a system for diversifying the function setting of a controller, the system comprising: the system comprises a controller, a master control controller and a bus system, wherein the controller and the master control controller are connected and communicated with each other through the bus system, and when the master control controller sends a bus data file with function setting information, the controller establishes a mapping memory area and writes and maps data according to the setting, so that the memory setting in the mapping area replaces the mapped memory setting, and the currently written data function is enabled to take effect;
when the main control controller sends a new function setting information data file, the controller adjusts the content of the mapping memory area to realize function updating.
In the above description of the present invention, the controller, the master controller, and the bus system may be hardware that exist independently of each other, or any two or all of them may be integrated in the same hardware.
In a preferred embodiment, the freed mirrored memory regions may be reclaimed and reallocated when memory allocation is stressed.
In a preferred embodiment, the system for realizing function setting diversification of the controller comprises a user side, a user software customization management system, a main control controller, a controller and a bus system; the user side customizes the required functions through the user software customization management system and sends the functions to the main control controller, the main control controller comprises a database management system, a controller software customization management system and a cloud service control center, the database management system generates the required function setting information data files through the controller software customization management system according to the customized required functions, and when the cloud service control center sends the function setting information data files to the controller, the controller adjusts the content of the mapping memory area to achieve function updating.
The number of the user terminals and the number of the controllers can be 1 or more, each user terminal can correspond to one or more controllers, or one controller can correspond to one or more user terminals.
The second aspect of the present invention provides a method for realizing function setting diversification for a controller, comprising: when the master control controller sends a bus data file with function setting information, the controller software establishes a mapping memory area and writes and maps data according to the setting, so that the memory setting in the mapping area replaces the mapped memory setting, and the currently written data function is enabled to take effect;
when the main control controller sends a new function setting information data file, the controller software adjusts the content of the mapping memory area to realize function updating, and can recycle and redistribute the released mirror image memory area when the memory configuration is tense.
In a preferred embodiment, the master controller sends out a command sequence through a bus system according to an agreed communication protocol, and the controller acquires the command sequence of the bus system, analyzes and executes the command sequence according to the agreed communication protocol;
the agreed communication protocol refers to specific description of circuit or network communication modes agreed among the controllers.
In a preferred embodiment, the controller includes a CPU, a memory, an input/output interface, a housing, and the like.
In a preferred embodiment, the memory of the controller refers to an erasable and rewritable memory.
The mapping or mirroring refers to establishing a data copy, wherein the data setting in the copy is differentiated, and the original data or the copy data is selected for use, so that the controller software generates an operation result and a control characteristic different from the original setting.
The mapping mode can select the mapping of all or part of the data segment memory according to the capacity of the available memory, and can also map for multiple times.
In the above, the controller includes one or more functional modules, each functional module includes data, and the memory mapping or mirroring refers to selecting a part of the functional modules or selecting a part of the data of the functional modules for memory mapping or mirroring.
The invention relates to a system and a method for diversifying functions of controller software, which can select the mapping of all or part of a data segment memory, namely, can copy all or part of the structure of a memory segment of set data, for example, write new set data different from the original set data into the newly copied memory, and when a controller function software program operates, adopt the new set data to replace the original set data, then the controller can show different control characteristics.
The invention relates to a system and a method for diversifying functions of controller software.A mode of establishing a mapping memory in a controller is adopted, mirror image data is established in the controller to change the operation result of the controller, and simultaneously the content of the mapping memory can be changed or rebuilt according to an agreed communication protocol so as to realize diversified setting with unlimited quantity and meet the requirement of different terminal clients on diversification of the operation result of the controller.
Drawings
FIG. 1 is a block diagram of a system for diversifying the functions of controller software according to the present invention;
fig. 2A and 2B are schematic illustrations of a general structure of a controller (fig. 2A), controller function software, and a memory area set by software data (fig. 2B), respectively;
fig. 3 is a schematic diagram illustrating areas respectively occupied by functional software and data setting in a memory of a controller;
FIG. 4 is a diagram illustrating a general method for mirroring and mapping the memory amount of the data setting portion of the controller according to the present invention;
FIG. 5 is an illustrative diagram of a multiple mapping;
FIG. 6 is a schematic diagram illustrating a method for partially mirroring and partially mapping the memory amount of the data setting portion of the controller according to the present invention, including multiple mappings;
FIG. 7 is a schematic diagram of an embodiment of the present invention;
fig. 8 is a diagram of a multi-user embodiment of the present invention.
Detailed Description
Referring to fig. 1 and fig. 2A and 2B, the system with diversified functions of controller software according to the present invention includes a controller, a master controller, and a bus system, wherein the controller and the master controller are connected and communicate with each other through the bus system, and when the master controller sends a bus data file with function setting information, the controller software establishes a mapping memory area and performs data writing and mapping according to the setting, so that the memory setting in the mapping area replaces the mapped memory setting, so as to enable the currently written data function to take effect. The controller comprises a CPU, a memory, an input/output interface, a shell and the like.
When the main control controller sends a new function setting information data file, the controller software adjusts the content of the mapping memory area to realize function updating, and can recycle and redistribute the released mirror image memory area when the memory configuration is tense.
For example, referring to fig. 3, the controller includes one or more function modules, each function module includes data, and the memory mapping or mirroring refers to selecting a part of the function modules or selecting a part of the data of the function modules to perform memory mapping or mirroring. In actual use, a designer of the controller software generally knows the definition of the data stored in each data address, so that which data needs to be mapped and how many mapped values to place can be generated according to application requirements. For example, the memory segment set by the controller software includes a controller memory data segment 1, a controller memory data segment 2, a controller memory data segment 3, \8230, a controller memory data segment m +1, \8230 \ 8230, a controller memory data segment end-1, and a controller memory data segment end. Wherein m is a natural number > 1; in addition, there is a part of the remaining memory.
The invention can select the mapping of all or part of the data segment memory, namely, the structure copying of all or part of the memory segment of the set data can be carried out, for example, new set data different from the original set data is written into the newly copied memory, and when the functional software program of the controller operates, the new set data is adopted to replace the original set data, and then the controller can show different control characteristics.
Example 1
Referring to fig. 4, when the master controller sends a bus data file with function setting information, the controller software will establish a mapping memory area and perform data writing and mapping according to the setting, so that the memory setting in the mapping area replaces the mapped memory setting, so that the currently written data function becomes effective; at this time, the memory segment used for the original software setting cannot be changed.
When the master controller sends a new function setting information data file, the controller software adjusts the contents of the mapped memory area to implement function update, for example, the remaining memory of the controller may establish a mapped area, i.e., a mapped memory (a memory area of data that needs to change functions according to an actually used function), and a memory segment of the mapped memory may be set, changed, or cleared. The controller software function module comprises a controller memory data segment 1, a controller memory data segment 2, a controller memory data segment 3, a controller memory data segment 8230a controller memory data segment m, a controller memory data segment m +1, a controller memory data segment 8230a controller memory data segment end-1 and a controller memory data segment end, when the main controller sends data, the controller residual memory area establishes a mapping area, and an image is established between the memory segment 1 (copy data) of the mapping memory and the memory data segment 1 (original data) of the controller memory.
When the functional software runs, a method of adopting original data or copy data can be selected, and finally the controller software generates a running result and control characteristics different from the original set.
And when the memory configuration is tense, the released mirror memory area can be recycled and reallocated.
Example 2
The memory mapping mode of the invention can select multiple times of mapping of the data segment memory according to the capacity of the available memory. Referring to fig. 5, after the image is created on the memory segment 1 of the mapped memory, the image is created on the memory segment 2 of the mapped memory according to the method of embodiment 1. The memory segment 1 of the mapping memory and the memory segment 2 of the mapping memory are both copy data.
Example 3
The memory mapping mode of the invention can select the mapping of all or part of the data segment memory according to the capacity of the available memory. Referring to fig. 6, a mapping region is only established for data segments of the original data, i.e., a controller memory data segment 1, a controller memory data segment 2, a controller memory data segment 3, and a controller memory data segment end-1, and referring to embodiments 1 and 2, a memory segment 1 of a mapping memory and a memory segment 2 of a mapping memory are respectively established as mirror images.
Referring to fig. 7, taking vehicle-mounted software as an example, a user selects a required function setting such as a certain function mode through the network device 1, after receiving information, the network and data server 2 sends a corresponding command sequence to the main control controller 3 (vehicle terminal device) according to an agreed communication protocol, and after receiving the command sequence, the main control controller 3 performs handshake, information sending and feedback confirmation with the vehicle controller 4; after receiving the information sequence of the function mode selection command, the vehicle controller 4 establishes a proper mirror image memory according to the information of the command sequence, performs normalization, sorting, data writing and confirmation on the mirror image memory, and finally starts the data mirror image to switch to a new function mode, so that the vehicle 5 shows different control characteristics.
Fig. 8 is a system with diversified functions of controller software for multiple users, where each user sets software functions through a software customization management system according to his own needs, and the functions are uploaded to a database management system of a server, and a functional module and a data segment to be updated are formed through the controller software customization management system. The cloud service control center is used as a main controller to send data to a controller of a target device (for example, the vehicle device 1, \\ 8230; \ 8230; the vehicle device N, N are natural numbers of a relevant user), and referring to any one of the embodiments 1 to 3, after the target device receives an information sequence of the function mode selection command, the target device establishes a proper mirror memory according to the information of the command sequence, and performs ordering, sorting, data writing and confirmation on the mirror memory, and finally starts a data mirror to switch to a new function mode, so that the vehicle shows different control characteristics.
The embodiments of the present invention have been described in detail, but the embodiments are merely examples, and the present invention is not limited to the embodiments described above. Any equivalent modifications and substitutions to those skilled in the art are also within the scope of the present invention. Accordingly, equivalent changes and modifications made without departing from the spirit and scope of the present invention should be covered by the present invention.

Claims (7)

1. A system for a controller to implement functional setting diversification, the system comprising: a user terminal, a user software customization management system, a controller, a master control controller and a bus system, wherein the controller and the master control controller are connected and communicated with each other through the bus system,
the method comprises the steps that a user side customizes required functions through a user software customization management system and sends the functions to a main control controller, the main control controller comprises a database management system, a controller software customization management system and a cloud service control center, the database management system generates required function setting information data files through the controller software customization management system according to the customized required functions, and when the cloud service control center sends the function setting information data files to the controller, the controller adjusts the content of a mapping memory area to achieve function updating;
wherein:
when the master control controller sends a bus data file with function setting information, the controller establishes a mapping memory area and writes and maps data according to the setting, so that the memory setting in the mapping area replaces the mapped memory setting, and the currently written data function is enabled to take effect;
when the master controller sends a new function setting information data file, the controller adjusts the content of the mapping memory area to realize function updating;
the controller, the master controller and the bus system are mutually independent hardware, or any two or all of the controllers, the master controller and the bus system are integrated in the same hardware;
the mapping refers to establishing a data copy, wherein data setting in the copy is differentiated, and original data or copy data are selected for use, so that the controller software generates an operation result and control characteristics different from the original setting.
2. The system according to claim 1, wherein the number of the user terminals and the controllers is 1 or more, and each user terminal corresponds to one or more controllers, or each controller corresponds to one or more user terminals.
3. The system of claim 1, wherein the map is of all or part of a data segment memory.
4. The system of claim 1, wherein the mapping is a multiple mapping of a data segment memory.
5. The system of claim 1, wherein the controller comprises one or more function modules, each function module comprises data, and the memory mapping is performed by selecting a part of the function modules or selecting a part of the data of the function modules.
6. A method for a controller to implement function setting diversification by using the system of claim 1, comprising:
when the master control controller sends a bus data file with function setting information, the controller software establishes a mapping memory area and writes and maps data according to the setting, so that the memory setting in the mapping area replaces the mapped memory setting, and the currently written data function is enabled to take effect;
when the main control controller sends a new function setting information data file, the controller software adjusts the content of the mapping memory area to realize function updating.
7. The method of claim 6, wherein the master controller sends a command sequence through the bus system according to an agreed communication protocol, and the controller obtains the command sequence of the bus system, analyzes and executes the command sequence according to the agreed communication protocol; the agreed communication protocol refers to specific description of circuit or network communication modes agreed among the controllers.
CN201910281407.9A 2019-04-09 2019-04-09 Method and system for realizing function setting diversification of controller Active CN110119132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910281407.9A CN110119132B (en) 2019-04-09 2019-04-09 Method and system for realizing function setting diversification of controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910281407.9A CN110119132B (en) 2019-04-09 2019-04-09 Method and system for realizing function setting diversification of controller

Publications (2)

Publication Number Publication Date
CN110119132A CN110119132A (en) 2019-08-13
CN110119132B true CN110119132B (en) 2023-01-24

Family

ID=67520927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910281407.9A Active CN110119132B (en) 2019-04-09 2019-04-09 Method and system for realizing function setting diversification of controller

Country Status (1)

Country Link
CN (1) CN110119132B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259834A (en) * 2015-10-28 2016-01-20 华中科技大学 Mobile phone data collection controller and method with reconfigurable firmware

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6383853A (en) * 1986-09-29 1988-04-14 Matsushita Electric Ind Co Ltd Method for informing common memory map
US6493811B1 (en) * 1998-01-26 2002-12-10 Computer Associated Think, Inc. Intelligent controller accessed through addressable virtual space
JP4100968B2 (en) * 2002-06-06 2008-06-11 株式会社日立製作所 Data mapping management device
US20050015407A1 (en) * 2003-07-17 2005-01-20 International Business Machines Corporation System and method of relational configuration mirroring
CN101826106B (en) * 2010-04-09 2012-07-04 上海交通大学 Telemetering data access method for ground station of unmanned airship system
US8595415B2 (en) * 2011-02-02 2013-11-26 Micron Technology, Inc. At least semi-autonomous modules in a memory system and methods
CN103744626B (en) * 2014-01-14 2017-08-11 浪潮电子信息产业股份有限公司 It is a kind of that the method for carrying out data write-in is replaced based on internal memory
CN104268096A (en) * 2014-09-26 2015-01-07 西南科技大学 Rapid large-scale point-cloud data reading method based on memory pre-distribution and multi-point writing technology
CN108491334B (en) * 2018-03-08 2020-10-23 北京东土科技股份有限公司 Physical memory management method and device for embedded real-time system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259834A (en) * 2015-10-28 2016-01-20 华中科技大学 Mobile phone data collection controller and method with reconfigurable firmware

Also Published As

Publication number Publication date
CN110119132A (en) 2019-08-13

Similar Documents

Publication Publication Date Title
CN1079551C (en) Personal property selection method and device with delay management
CN110351378A (en) A kind of control method and system of internet of things equipment
CN1132874A (en) Method and device for selecting and managing personal attributes using priority memory
JP4677406B2 (en) Method, system and computer program for storing user settings of a mobile device
JP2019191742A (en) On-vehicle update device, on-vehicle update system, update processing method, and update processing program
JP4518887B2 (en) Storage area network management system, management apparatus, volume allocation method, and computer software
CN110597590A (en) Method and device for replacing vehicle-mounted system icon, computer equipment and storage medium
CN112074811A (en) Method and system for data acquisition in a vehicle
CN114422436A (en) Gateway, gateway control method, gateway control device, electronic equipment and storage medium
CN116801232A (en) OTA upgrading control method and related equipment
EP4339871A1 (en) Internet of vehicles-based digital commodity processing method, apparatus, and medium
CN115576627A (en) Middleware configuration management method, device, equipment, storage medium and operating machine
CN102325367B (en) Data packet synchronizing device and method for client application
CN110119132B (en) Method and system for realizing function setting diversification of controller
CN114442537A (en) Device intelligentization method, device and readable storage medium
US20240378046A1 (en) Vehicle device
CN111367561B (en) Remote development method and device for software program
US20220413838A1 (en) Vehicle data communication device, center device, data communication method, and computer-readable non-transitory tangible storage medium
CN108317686A (en) A kind of the control parameter generation method and controller of air conditioner
EP1303153B1 (en) Apparatus and method for selecting software modules in a mobile terminal
CN108156082A (en) A kind of APP management methods and system based on router
CN114756263A (en) Vehicle software data upgrading method and device, vehicle and storage medium
CN111638882A (en) Method and device for generating operation interface, storage medium and processor
CN115334197B (en) Communication function changing method, multi-system terminal and medium
JP2003316681A (en) On-vehicle communication system

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