CN114780171A - Method for supporting vehicle-mounted function dynamic configuration of all links of research, production and marketing - Google Patents

Method for supporting vehicle-mounted function dynamic configuration of all links of research, production and marketing Download PDF

Info

Publication number
CN114780171A
CN114780171A CN202210391152.3A CN202210391152A CN114780171A CN 114780171 A CN114780171 A CN 114780171A CN 202210391152 A CN202210391152 A CN 202210391152A CN 114780171 A CN114780171 A CN 114780171A
Authority
CN
China
Prior art keywords
configuration
vehicle
function
research
code
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
Application number
CN202210391152.3A
Other languages
Chinese (zh)
Other versions
CN114780171B (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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202210391152.3A priority Critical patent/CN114780171B/en
Priority claimed from CN202210391152.3A external-priority patent/CN114780171B/en
Publication of CN114780171A publication Critical patent/CN114780171A/en
Application granted granted Critical
Publication of CN114780171B publication Critical patent/CN114780171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for supporting vehicle-mounted function dynamic configuration in a full link of research, production and marketing, the function configuration tables corresponding to different vehicle types are summarized and stored, when research personnel designs and adjusts a certain vehicle type, the function configuration table corresponding to the vehicle type is obtained, so that research and development personnel can directly add, delete or modify the vehicle type, and then store the adjusted function configuration table, the research and development personnel can conveniently and timely adjust and debug each function without switching different design systems according to different vehicle types, the method can complete the function configuration of the vehicle-mounted terminal carrying systems of different vehicle types under different vehicle systems, greatly shortens the research, development and debugging time, improves the research and development efficiency, and aims to provide the differentiated configuration from research, development and production to the configuration of the vehicle-mounted function modules of the after-sale full link of the user.

Description

Method for supporting dynamic configuration of vehicle-mounted functions in full-link of research, production and marketing
Technical Field
The invention relates to the field of automobile intelligent design, in particular to a method for supporting dynamic configuration of vehicle-mounted functions in a research, production and marketing full link.
Background
The existing automobile industry tends to be 'intelligent' increasingly, more and more vehicles are carried with intelligent vehicle-mounted machine systems, and the vehicle-using experience of users is greatly enriched. On one hand, with the more and more richness and diversity of the host factory to the vehicle-mounted functions, the vehicle type updating iteration of the whole vehicle is very quick; on the other hand, the demand of users for personalized satisfaction and customized functions is becoming stronger.
Therefore, the original single vehicle-mounted function, namely the set inherent function mode when leaving the factory, is difficult to meet various and personalized market requirements, namely different vehicle-mounted functions are switched on or off according to personal preference of a user; the requirement that the same vehicle system carries different configured vehicle types by using the same vehicle-mounted system is difficult to meet in a factory production line, and the production line needs to be frequently switched according to vehicle type selection and installation functions; meanwhile, the same car machine system is used in the research and development process, and inconvenience is brought to the function development and debugging of different car types.
Patent CN2021102012304 discloses a vehicle-mounted function configuration method, which focuses on the use of different users, and configures the function switch state according to different drivers of the same vehicle and independent account information differentiation, and only can adjust the function from the vehicle-mounted terminal, which cannot solve the difficulty encountered in the initial design stage of the vehicle.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, an object of the present invention is to provide a method for supporting dynamic configuration of vehicle functions in a research, production and marketing full link, so as to solve the problems in the prior art that the vehicle functions are fixed singly, development and debugging of functions of different vehicle models are inconvenient in the initial stage of vehicle design, and a factory production line is difficult to meet the requirement that different configured vehicle models of the same vehicle family are loaded with the same vehicle system.
In order to solve the technical problem, the invention adopts the following technical scheme:
a method for supporting vehicle-mounted function dynamic configuration in a research, production and marketing full link comprises the following steps:
s1: according to design requirements, a function configuration table is formulated for restraining and defining specific functions;
s2: setting corresponding configuration codes through a function configuration table established by S1, and storing the configuration codes into a storage space;
s3: switching different vehicle types, acquiring function configuration codes corresponding to the vehicle types, analyzing the functions of the configuration codes, adding, deleting or modifying the configuration codes, storing the configuration codes into the function configuration of the corresponding vehicle type in the storage space, and uploading the configuration codes to the cloud;
s4: writing the function configuration codes corresponding to all vehicle types in the storage space into the vehicle-mounted terminal;
s5: after the vehicle-mounted terminal is started, obtaining offline configuration service cache data and judging whether a local cache exists or not; if the local cache exists, analyzing the cached vehicle type configuration; if no local cache exists, the default vehicle model function configuration code is used.
Compared with the prior art, the invention has the following beneficial effects:
1. the method of the invention collects and stores the function configuration tables corresponding to different vehicle types at the beginning of vehicle design, and when a research and development personnel designs and adjusts a certain vehicle type, the function configuration table corresponding to the vehicle type is obtained, so that the research and development personnel can directly add, delete or modify the vehicle type, and then store the adjusted function configuration table, and the research and development personnel can conveniently and timely adjust and debug each function without switching different design systems according to different vehicle types.
2. By the method, a factory production line can directly complete writing of the function configuration codes, the requirement that different configured vehicle types of the same vehicle series are carried by the same vehicle-mounted system is met, and the production line does not need to be frequently switched according to vehicle type selection functions.
3. The method can also update the system function on the vehicle-mounted terminal in time according to the change of the function configuration code, and in the using process of a user, the function configuration code is requested to be updated to the background of the Internet of vehicles in a remote upgrading mode, or the vehicle background is appointed to remotely issue the function configuration code of a specific vehicle type, and the function configuration code is modified and updated to the storage space through the configuration service.
Drawings
FIG. 1 is a diagram illustrating an exemplary definition of one byte of function configuration code according to the present invention.
Fig. 2 is an overall framework diagram of the full link configuration of the function item configuration in the present invention.
Fig. 3 is a schematic diagram of the offline configuration service of the function dynamic configuration core of the present invention.
Fig. 4 is a flowchart illustrating the overall implementation of the offline configuration service according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be considered as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
The invention provides a method for supporting vehicle-mounted function dynamic configuration in a research, production and marketing full link, which is based on an Android system and comprises the following steps:
s1: according to design needs, a function configuration table is established for restricting and defining specific functions. The function configuration table comprises item types, vehicle type categories and all function item sets of all vehicle types.
S2: and setting corresponding configuration codes through the function configuration table established in the S1, and storing the configuration codes into the storage space. And generating a corresponding configuration code according to the function configuration table, wherein the configuration code is composed of bytes, and the number of bytes with different lengths is configured according to the number of functions.
As shown in fig. 1, the function difference flag is implemented by a function configuration code, the configuration code is composed of bytes, 1 byte =8 bits, and the presence or absence of one function can be specified by "0/1" in units of one Bit. In fig. 1, S101 is a serial number of one byte, and generally, the function of the same byte is a related direction function, and the number of bytes with different lengths may be configured according to the number of functions. S102 is a Bit serial number (the sequence starts from 0, and meets the programming language habit) in one byte. And S103, configuring a name for the function, wherein the research and development personnel can correspond to the actual development function according to the name. S104 is a detailed description of function assignment, and the combination of Bit bits can realize the description of multi-energy assignment (more than 2 assignments). Of course, the configuration code also needs to include an item code or code, and vehicle type category information for identifying the vehicle type category.
S3: switching different vehicle types, acquiring function configuration codes corresponding to the vehicle types, analyzing the functions of the configuration codes, adding, deleting or modifying the configuration codes, storing the configuration codes into the corresponding vehicle type function configuration in the storage space, and uploading the configuration codes to the cloud.
As shown in fig. 2, the MCU module in S210 is configured to store, update, and query the function configuration codes, and because the function configuration codes have a permanent storage space, the function configuration codes are not easily lost (including operations such as restoring the car system to factory settings), are connected to the car body controller and the car system, and are convenient for direct brushing-down configuration in factory production without starting the car system. This example includes, but is not limited to, this storage. S210 connects to the Car machine system through the serial SPI, and synchronizes the data to the offline configuration service through the Car module of the Car machine system (S222) (S223). Meanwhile, the MCU stores the change of the data in the area, and has the capability of providing notification or broadcast to the outside, namely the storage data is changed and the relevant parties such as S223 and the like need to be notified in time.
And S223, taking the offline configuration service as the core of the embodiment, mainly taking charge of acquiring the vehicle type function configuration code stored in the S210, analyzing the configuration code function, and uniformly providing the vehicle type function configuration code to an upper application layer for use. S233 serves a Framework layer of the Android car machine system and provides SDK interface query reading function configuration for external applications. Meanwhile, S223 also needs to satisfy the function of modifying the configuration code, acquire the new configuration code, and write the new configuration code to the configuration code storage area of S210 through the Car module. The data source is updated, the data source is from the background of the Internet of vehicles, the specified vehicle is informed through the 4G network to refresh and modify the function configuration code, and the Internet of vehicles configuration function adds and deletes the function configuration according to the user requirements, so that the differentiation requirements of the user are met.
S201, through application of an internal tool of an engineering mode APK (S221) integrated by a vehicle machine system, a research and development worker can freely switch function configuration codes of project vehicle types, the configuration code change is received through a Car module MCU, the configuration change stored by the MCU is notified to an offline configuration service through a Car module via an SPI, and the offline configuration service refreshes the configuration code change.
The method of the invention collects and stores the function configuration tables corresponding to different vehicle types at the beginning of vehicle design, and when a research and development personnel designs and adjusts a certain vehicle type, the function configuration table corresponding to the vehicle type is obtained, so that the research and development personnel can directly add, delete or modify the vehicle type, and then store the adjusted function configuration table, and the research and development personnel can conveniently and timely adjust and debug each function without switching different design systems according to different vehicle types.
S4: and writing the function configuration codes corresponding to the vehicle models in the storage space into the vehicle-mounted terminal. And directly writing the function configuration codes corresponding to the vehicle models into the corresponding vehicle-mounted terminals according to the flash agreed protocol by directly interacting with the MCU storage space. As shown in fig. 2, in S202, the factory production process is similar to the research and development process in that the flashing modification function configuration code is changed into a diagnostic instrument tool of the production line, the diagnostic instrument tool directly interacts with the MCU module, directly flashes data to the MCU storage area according to the flashing agreed protocol, and then notifies the offline configuration service.
By the method, the factory production line can directly complete the writing of the function configuration code, the requirement that different configured vehicle types of the same vehicle series are carried by the same vehicle-mounted system is met, and the production line does not need to be frequently switched according to the vehicle type selecting and loading functions.
S5: after the vehicle-mounted terminal is started, obtaining offline configuration service cache data and judging whether a local cache exists or not; if the local cache exists, analyzing the cached vehicle type configuration; if no local cache exists, the default vehicle model function configuration code is used. When the vehicle-mounted terminal receives the MCU configuration code monitoring and returning, the vehicle-mounted terminal judges whether the MCU configuration code monitoring and returning is consistent with the local cache configuration code, if the MCU configuration code monitoring and returning is different from the local cache configuration code monitoring and returning, the vehicle-mounted terminal updates and downloads a new configuration code and stores the new configuration code to the local, and meanwhile, the electric detection code is refreshed to each application on the vehicle-mounted terminal.
As shown in fig. 3 and 4, the offline configuration service is in the Android system Framework layer, and provides a service for querying a function configuration difference for each upper layer application. The car machine system is started, and the service is started automatically. And meanwhile, acquiring a local cache function configuration code of the offline configuration service, and performing change monitoring and registration on a far-end vehicle network background configuration task from the function configuration code of the MCU module through the Car module. Firstly, pulling off the offline configuration service cache data, judging whether a local cache exists, analyzing the cache vehicle type configuration if the local cache exists, and informing an application function configuration code of being ready to provide SDK calling if a default vehicle type function configuration code does not exist. And when the MCU function configuration code monitoring callback is received, judging whether the MCU function configuration code monitoring callback is consistent with the local cache configuration code, and if the MCU function configuration code monitoring callback is different from the local cache configuration code, updating the offline configuration service local cache data and refreshing the electric inspection code to each application. Meanwhile, if a background configuration task of the Internet of vehicles is received, the latest second configuration code of the background is pulled and written into the MCU. It should be noted that, in this embodiment, the priority of the car networking background function configuration code data is set to be the highest, and when other data updates exist at the same time, the car networking configuration code is taken as the standard. In addition, the configuration code is changed, and the vehicle machine is restarted once, so that the problem of cache of the application layer function is guaranteed to be solved.
The method can also update the system function on the vehicle-mounted terminal in time according to the change of the function configuration code, and in the using process of a user, the function configuration code is requested to be updated to the background of the Internet of vehicles in a remote upgrading mode, or the vehicle background is appointed to remotely issue the function configuration code of a specific vehicle type, and the function configuration code is modified and updated to the storage space through the configuration service.
As described above, the reminding system of the present invention is not limited to the configuration, and other systems capable of implementing the embodiments of the present invention may fall within the protection scope of the present invention.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention and not for limiting the technical solutions, and those skilled in the art should understand that modifications or equivalent substitutions can be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions, and all that should be covered by the claims of the present invention.

Claims (7)

1. A method for supporting vehicle-mounted function dynamic configuration in a research, production and marketing full link is characterized by comprising the following steps:
s1: according to design requirements, a function configuration table is formulated for restraining and defining specific functions;
s2: setting corresponding configuration codes through a function configuration table established by S1, and storing the configuration codes into a storage space;
s3: switching different vehicle types, acquiring a function configuration code corresponding to each vehicle type, analyzing a configuration code function, adding, deleting or modifying the configuration code, storing the configuration code into the function configuration of the corresponding vehicle type in a storage space, and uploading the configuration code to a cloud end;
s4: writing the function configuration codes corresponding to all vehicle types in the storage space into the vehicle-mounted terminal;
s5: after the vehicle-mounted terminal is started, obtaining offline configuration service cache data and judging whether a local cache exists or not; if the local cache exists, analyzing the cached vehicle type configuration; if no local cache exists, the default vehicle model function configuration code is used.
2. The method of claim 1, wherein in S1, the function configuration table comprises item types, vehicle type categories, and all function item sets of each vehicle type.
3. The method of claim 1, wherein in step S2, corresponding configuration codes are generated according to the function configuration table, the configuration codes are composed of bytes, and bytes with different lengths are configured according to the number of functions.
4. The method for supporting dynamic configuration of vehicular functions in a full link of research, production and marketing according to claim 1, wherein in S2, the configuration code is stored in the storage area of the MCU, and notification prompt is enabled when the stored data changes.
5. The method according to claim 4, wherein in S3, the Car module adds, deletes or modifies the configuration code in the MCU storage space, the MCU storage space receives the configuration code change through the CAR module, and then notifies the offline configuration service through the SPI and the Car module, and the offline configuration service updates the changed configuration code.
6. The method for supporting dynamic configuration of vehicular functions in a research, production and marketing full link according to claim 4, wherein in S4, the method directly writes the function configuration code corresponding to each vehicle type into the corresponding vehicular terminal according to the write-through agreement by directly interacting with the MCU storage space.
7. The method according to claim 1, wherein in step S5, when the vehicle-mounted terminal receives the MCU configuration code monitoring response, the vehicle-mounted terminal determines whether it is consistent with the local cache configuration code, if there is a difference, the vehicle-mounted terminal updates and downloads the new configuration code and stores the new configuration code locally, and meanwhile, refreshes the electrical inspection code to each application on the vehicle-mounted terminal.
CN202210391152.3A 2022-04-14 Method for supporting vehicle-mounted function dynamic configuration in full-link of research, production and sale Active CN114780171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210391152.3A CN114780171B (en) 2022-04-14 Method for supporting vehicle-mounted function dynamic configuration in full-link of research, production and sale

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210391152.3A CN114780171B (en) 2022-04-14 Method for supporting vehicle-mounted function dynamic configuration in full-link of research, production and sale

Publications (2)

Publication Number Publication Date
CN114780171A true CN114780171A (en) 2022-07-22
CN114780171B CN114780171B (en) 2024-06-07

Family

ID=

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080097257A (en) * 2007-03-03 2008-11-05 이홍곤 Digital memory system of vehicle registration information and application
JP2013196279A (en) * 2012-03-19 2013-09-30 Yokogawa Electric Corp Configuration tool
US20130326457A1 (en) * 2012-05-30 2013-12-05 Gumstix, Inc. Integrated electronic design automation system
KR20160067479A (en) * 2014-12-04 2016-06-14 현대모비스 주식회사 Apparatus and method for processing log information of vehicle device
CN109858081A (en) * 2018-12-25 2019-06-07 郑州日产汽车有限公司 Vehicle product data design collaboration method based on Teamcenter
CN110413265A (en) * 2019-08-02 2019-11-05 甘棠软件系统(上海)有限公司 A kind of software configuration code generating method, device and electronic equipment
WO2020032199A1 (en) * 2018-08-10 2020-02-13 株式会社デンソー Vehicle information communication system
US20200374192A1 (en) * 2019-05-23 2020-11-26 Cisco Technology, Inc. Automated discovery of manual configuration changes
CN112445160A (en) * 2019-09-02 2021-03-05 广州汽车集团股份有限公司 Automatic generation method and device of ECU configuration code
KR20210041972A (en) * 2019-10-08 2021-04-16 경남대학교 산학협력단 Apparatus for updating vehicle ECU software
CN112954646A (en) * 2021-02-23 2021-06-11 恒大新能源汽车投资控股集团有限公司 Vehicle-mounted function configuration method, Internet of vehicles server and vehicle-mounted terminal
CN113246883A (en) * 2021-04-13 2021-08-13 湖北亿咖通科技有限公司 Control method for multi-vehicle configuration, micro control unit and vehicle-mounted machine system
CN113691623A (en) * 2021-08-24 2021-11-23 奇瑞新能源汽车股份有限公司 Software configuration method and device of vehicle-mounted Tbox and cloud platform
CN113703425A (en) * 2021-08-30 2021-11-26 重庆长安新能源汽车科技有限公司 Automobile personalized function configuration code generation system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080097257A (en) * 2007-03-03 2008-11-05 이홍곤 Digital memory system of vehicle registration information and application
JP2013196279A (en) * 2012-03-19 2013-09-30 Yokogawa Electric Corp Configuration tool
US20130326457A1 (en) * 2012-05-30 2013-12-05 Gumstix, Inc. Integrated electronic design automation system
KR20160067479A (en) * 2014-12-04 2016-06-14 현대모비스 주식회사 Apparatus and method for processing log information of vehicle device
WO2020032199A1 (en) * 2018-08-10 2020-02-13 株式会社デンソー Vehicle information communication system
CN109858081A (en) * 2018-12-25 2019-06-07 郑州日产汽车有限公司 Vehicle product data design collaboration method based on Teamcenter
US20200374192A1 (en) * 2019-05-23 2020-11-26 Cisco Technology, Inc. Automated discovery of manual configuration changes
CN110413265A (en) * 2019-08-02 2019-11-05 甘棠软件系统(上海)有限公司 A kind of software configuration code generating method, device and electronic equipment
CN112445160A (en) * 2019-09-02 2021-03-05 广州汽车集团股份有限公司 Automatic generation method and device of ECU configuration code
KR20210041972A (en) * 2019-10-08 2021-04-16 경남대학교 산학협력단 Apparatus for updating vehicle ECU software
CN112954646A (en) * 2021-02-23 2021-06-11 恒大新能源汽车投资控股集团有限公司 Vehicle-mounted function configuration method, Internet of vehicles server and vehicle-mounted terminal
CN113246883A (en) * 2021-04-13 2021-08-13 湖北亿咖通科技有限公司 Control method for multi-vehicle configuration, micro control unit and vehicle-mounted machine system
CN113691623A (en) * 2021-08-24 2021-11-23 奇瑞新能源汽车股份有限公司 Software configuration method and device of vehicle-mounted Tbox and cloud platform
CN113703425A (en) * 2021-08-30 2021-11-26 重庆长安新能源汽车科技有限公司 Automobile personalized function configuration code generation system

Similar Documents

Publication Publication Date Title
CN104539668B (en) Long-range newer method and system is carried out to the software program in automobile
CN1079551C (en) Personal property selection method and device with delay management
CN110569130B (en) Cross-process communication method, device and equipment
CN1132874A (en) Method and apparatus for personal attribute selection and management using preference memory
CN101420431A (en) FOTA server, terminal and software version processing method and system therefor
CN104461654A (en) OBD equipment function unit and firmware classification optional upgrading method
CN111128153B (en) Voice interaction method and device
CN104063409A (en) Field adding method and system of database
CN105100144A (en) Application updating method and device
CN105808702A (en) Page content refreshing method and system, and page content synchronous refreshing management system
CN113656490A (en) Data synchronization method, device, terminal and storage medium
CN106716419B (en) Method and device for outputting search result and electronic equipment
CN104683126A (en) Network managing method based on CAN bus
CN114780171A (en) Method for supporting vehicle-mounted function dynamic configuration of all links of research, production and marketing
CN114780171B (en) Method for supporting vehicle-mounted function dynamic configuration in full-link of research, production and sale
CN114398048A (en) Method and device for automatically upgrading APP and computer equipment
CN113315817A (en) Method for updating vehicle terminal interface based on cloud resource package
CN115912526A (en) Terminal charging method and device, electronic equipment and storage medium
CN111091825B (en) Method and device for constructing interaction engine cluster
CN111124347B (en) Method and device for forming interaction engine cluster through aggregation
JP6985355B2 (en) Interference avoidance processing methods, devices, storage media, and programs
CN112420038A (en) Intelligent voice broadcasting method and device capable of self-adapting scene judgment
CN111128154B (en) Method and device for forming interaction engine cluster by aggregation
US10580238B1 (en) Method for providing enhanced telematics service and telematics server using the same
CN114706790B (en) Automatic software testing method, device and equipment

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