[go: up one dir, main page]

CN111913752A - Function initialization method and device for vehicle skylight and storage medium - Google Patents

Function initialization method and device for vehicle skylight and storage medium Download PDF

Info

Publication number
CN111913752A
CN111913752A CN202010565150.2A CN202010565150A CN111913752A CN 111913752 A CN111913752 A CN 111913752A CN 202010565150 A CN202010565150 A CN 202010565150A CN 111913752 A CN111913752 A CN 111913752A
Authority
CN
China
Prior art keywords
function module
skylight
sunroof
function
vehicle
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
CN202010565150.2A
Other languages
Chinese (zh)
Other versions
CN111913752B (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.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Liankong Technologies Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Liankong Technologies 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 Zhejiang Geely Holding Group Co Ltd, Zhejiang Liankong Technologies Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202010565150.2A priority Critical patent/CN111913752B/en
Publication of CN111913752A publication Critical patent/CN111913752A/en
Application granted granted Critical
Publication of CN111913752B publication Critical patent/CN111913752B/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/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D65/00Designing, manufacturing, e.g. assembling, facilitating disassembly, or structurally modifying motor vehicles or trailers, not otherwise provided for

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Power-Operated Mechanisms For Wings (AREA)

Abstract

本申请公开一种车辆天窗的功能初始化方法、装置及存储介质,通过获取当前车辆的车型信息;在至少两个车型信息的共用天窗功能模块集中,查找当前车辆的车型信息对应的共用天窗功能模块;在单一车型信息的特有天窗功能模块集中,查找当前车辆的车型信息对应的特有天窗功能模块;将多种车型信息对应的通用功能模块集、当前车辆的车型信息对应的共用天窗功能模块和当前车辆的车型信息对应的特有天窗功能模块确定为目标天窗功能模块集;基于目标天窗功能模块集对所述当前车辆进行功能初始化,在车辆天窗的控制器中,预先设置有天窗功能库,能够解决天窗控制器中功能模块兼容性差的问题,提高天窗控制器的普适性。

Figure 202010565150

The present application discloses a function initialization method, device and storage medium for a vehicle sunroof. By acquiring the vehicle type information of the current vehicle, the shared sunroof function module corresponding to the current vehicle type information is searched in a set of shared sunroof function modules of at least two vehicle type information. ;In the unique sunroof function module set of a single model information, find the unique sunroof function module corresponding to the current vehicle model information; combine the general function module set corresponding to multiple model information, the shared sunroof function module corresponding to the current vehicle model information and the current vehicle model information. The unique sunroof function module corresponding to the vehicle model information is determined as the target sunroof function module set; the function initialization of the current vehicle is performed based on the target sunroof function module set, and the sunroof function library is preset in the vehicle sunroof controller, which can solve the problem. The problem of poor compatibility of functional modules in the sunroof controller improves the universality of the sunroof controller.

Figure 202010565150

Description

一种车辆天窗的功能初始化方法、装置及存储介质Method, device and storage medium for function initialization of vehicle sunroof

技术领域technical field

本申请涉及车辆控制器领域,尤其涉及一种车辆天窗的功能初始化方法、装置及存储介质。The present application relates to the field of vehicle controllers, and in particular, to a function initialization method, device and storage medium for a vehicle sunroof.

背景技术Background technique

随着汽车的发展,全景天窗的应用越来越普遍。因其广阔的视野,快速有效的通风换气功能以及美观大气的视觉效果,逐渐被越来越多的消费者所青睐。但是,全景天窗的开发成本高昂,令低端品牌望而却步。因此,全景天窗出现在中高端品牌的主流车型中。为了缩短开发周期,降低开发和生产成本,部分厂商采用特有的天窗尺寸和物理构造,使天窗适用于不同尺寸的车顶。With the development of automobiles, the application of panoramic sunroofs is becoming more and more common. Because of its wide field of view, fast and effective ventilation function and beautiful and atmospheric visual effects, it is gradually favored by more and more consumers. However, the development cost of the panoramic sunroof is prohibitive for low-end brands. Therefore, panoramic sunroofs appear in mainstream models of mid-to-high-end brands. In order to shorten the development cycle and reduce development and production costs, some manufacturers use unique sunroof sizes and physical structures to make sunroofs suitable for different sizes of roofs.

然而,由于天窗控制器中功能模块不具备兼容性,不同车型的天窗平台需要应用于不同的电子架构,天窗控制器不具备普适性,因此需要开发不同的软件以适应对应的电子架构,造成软件开发及测试周期长,费用高昂的问题。However, since the functional modules in the sunroof controller are not compatible, the sunroof platforms of different models need to be applied to different electronic architectures, and the sunroof controller is not universal, so different software needs to be developed to adapt to the corresponding electronic architecture, resulting in The software development and testing cycle is long and the cost is high.

发明内容SUMMARY OF THE INVENTION

为了克服现有技术存在的缺点与不足,本申请公开一种车辆天窗的功能初始化方法、装置及存储介质,能够解决天窗控制器中功能模块兼容性差的问题,提高天窗控制器的普适性。In order to overcome the shortcomings and deficiencies of the prior art, the present application discloses a function initialization method, device and storage medium for a vehicle sunroof, which can solve the problem of poor compatibility of functional modules in a sunroof controller and improve the universality of the sunroof controller.

为了达到上述申请的目的,本申请提供了一种车辆天窗的功能初始化方法,应用于预先设置有天窗功能库的车辆,所述天窗功能库包括多种车型信息对应的通用功能模块集,至少两个车型信息的共用天窗功能模块集和单一车型信息的特有天窗功能模块集,所述方法包括:In order to achieve the purpose of the above application, the present application provides a function initialization method for a vehicle sunroof, which is applied to a vehicle pre-configured with a sunroof function library. A common sunroof function module set for each model information and a unique sunroof function module set for a single model information, the method includes:

响应于车辆天窗的功能初始化指令,获取当前车辆的车型信息;In response to the function initialization instruction of the vehicle sunroof, obtain the model information of the current vehicle;

在所述至少两个车型信息的共用天窗功能模块集中,查找所述当前车辆的车型信息对应的共用天窗功能模块;Searching for a shared sunroof function module corresponding to the current vehicle model information in the set of shared sunroof function modules of the at least two vehicle models;

在所述单一车型信息的特有天窗功能模块集中,查找所述当前车辆的车型信息对应的特有天窗功能模块;Searching for the unique sunroof function module corresponding to the model information of the current vehicle in the set of unique sunroof function modules of the single model information;

将所述通用功能模块集、所述共用天窗功能模块和所述特有天窗功能模块确定为目标天窗功能模块集;Determining the general function module set, the shared skylight function module and the unique skylight function module as a target skylight function module set;

基于所述目标天窗功能模块集对所述当前车辆进行功能初始化。Function initialization is performed on the current vehicle based on the target sunroof function module set.

另一方面,本申请还提供一种车辆天窗的功能初始化装置,应用于预先设置有天窗功能库的车辆,所述天窗功能库包括多种车型信息对应的通用功能模块集,至少两个车型信息的共用天窗功能模块集和单一车型信息的特有天窗功能模块集,所述装置包括:On the other hand, the present application also provides a function initialization device for a vehicle sunroof, which is applied to a vehicle pre-set with a sunroof function library. The shared sunroof function module set and the unique sunroof function module set of single vehicle type information, the device includes:

信息获取模块,用于响应于车辆天窗的功能初始化指令,获取当前车辆的车型信息;an information acquisition module, used for acquiring the model information of the current vehicle in response to the function initialization command of the vehicle sunroof;

第一查找模块,用于在所述至少两个车型信息的共用天窗功能模块集中,查找所述当前车辆的车型信息对应的共用天窗功能模块;a first search module, configured to search for a shared sunroof function module corresponding to the model information of the current vehicle in the set of shared sunroof function modules of the at least two vehicle models;

第二查找模块,用于在所述单一车型信息的特有天窗功能模块集中,查找所述当前车辆的车型信息对应的特有天窗功能模块;a second search module, configured to search for the unique sunroof function module corresponding to the model information of the current vehicle in the set of unique sunroof function modules of the single model information;

目标天窗功能模块集确定模块,用于将所述多种车型信息对应的通用功能模块集、所述当前车辆的车型信息对应的共用天窗功能模块和所述当前车辆的车型信息对应的特有天窗功能模块确定为目标天窗功能模块集;The target sunroof function module set determination module is used to determine the general function module set corresponding to the various model information, the common sunroof function module corresponding to the current vehicle model information and the unique sunroof function corresponding to the current vehicle model information The module is determined as the target sunroof function module set;

初始化模块,用于基于所述目标天窗功能模块集对所述当前车辆进行功能初始化。An initialization module, configured to perform function initialization on the current vehicle based on the target sunroof function module set.

另一方面,本申请还提供一种车辆天窗的功能初始化存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述的车辆天窗的功能初始化方法。On the other hand, the present application also provides a function initialization storage medium for a vehicle sunroof, characterized in that, the storage medium stores at least one instruction, at least a piece of program, code set or instruction set, the at least one instruction, at least one A piece of program, code set or instruction set is loaded and executed by the processor to realize the above-mentioned method for initializing the function of the sunroof of the vehicle.

实施本申请,具有如下有益效果:Implementing this application has the following beneficial effects:

通过响应于车辆天窗的功能初始化指令,获取当前车辆的车型信息;在所述至少两个车型信息的共用天窗功能模块集中,查找所述当前车辆的车型信息对应的共用天窗功能模块;在所述单一车型信息的特有天窗功能模块集中,查找所述当前车辆的车型信息对应的特有天窗功能模块;将所述多种车型信息对应的通用功能模块集、所述当前车辆的车型信息对应的共用天窗功能模块和所述当前车辆的车型信息对应的特有天窗功能模块确定为目标天窗功能模块集;基于所述目标天窗功能模块集对所述当前车辆进行功能初始化,在车辆天窗的控制器中,预先设置有天窗功能库,能够解决天窗控制器中功能模块兼容性差的问题,提高天窗控制器的普适性。Obtain the model information of the current vehicle by responding to the function initialization instruction of the vehicle sunroof; find the shared sunroof function module corresponding to the model information of the current vehicle in the set of shared sunroof function modules of the at least two model information; The unique sunroof function module set of a single model information is searched for the unique sunroof function module corresponding to the model information of the current vehicle; the general function module set corresponding to the various model information and the shared sunroof corresponding to the current vehicle model information are collected. The function module and the unique sunroof function module corresponding to the vehicle type information of the current vehicle are determined as the target sunroof function module set; the function initialization of the current vehicle is performed based on the target sunroof function module set, and in the controller of the vehicle sunroof, the preset The sunroof function library is provided, which can solve the problem of poor compatibility of function modules in the sunroof controller and improve the universality of the sunroof controller.

附图说明Description of drawings

为了更清楚地说明本申请的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它附图。In order to illustrate the technical solutions of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. , for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本申请实施例提供的一种预先设置天窗功能库的流程图;1 is a flowchart of a preset sunroof function library provided by an embodiment of the present application;

图2是本申请另一实施例提供的一种车辆天窗的功能初始化流程图;FIG. 2 is a flow chart of function initialization of a vehicle sunroof provided by another embodiment of the present application;

图3是本申请实施例提供的一种基于目标天窗功能模块集对当前车辆进行功能初始化的流程图;3 is a flow chart of functional initialization of a current vehicle based on a target sunroof function module set provided by an embodiment of the present application;

图4是本申请另一实施例提供的一种车辆天窗的功能初始化流程图;4 is a flow chart of function initialization of a vehicle sunroof provided by another embodiment of the present application;

图5是本申请实施例提供的一种车辆天窗的功能初始化装置的结构示意图;5 is a schematic structural diagram of a function initialization device for a vehicle sunroof provided by an embodiment of the present application;

图6是本申请另一实施例提供的一种车辆天窗的功能初始化装置的结构示意图;6 is a schematic structural diagram of a function initialization device for a vehicle sunroof provided by another embodiment of the present application;

图7是本申请另一实施例提供的一种车辆天窗的功能初始化装置的结构示意图。FIG. 7 is a schematic structural diagram of a function initialization device for a vehicle sunroof provided by another embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described The embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of this application.

术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或服务器不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or server comprising a series of steps or units is not necessarily limited to those steps expressly listed or units, but may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

为了实现申请的技术方案,让更多的工程技术工作者容易了解和应用本申请,将结合具体的实施例,进一步阐述本申请的工作原理。In order to realize the technical solution of the application and make it easy for more engineering and technical workers to understand and apply the application, the working principle of the application will be further described with reference to specific embodiments.

请参阅图1,图1示出了本申请实施例提供的一种车辆天窗的功能初始化流程图。该方法可应用于预先设置有天窗功能库的车辆,预设的天窗库可以包括多种车型信息对应的通用功能模块集,至少两个车型信息的共用天窗功能模块集和单一车型信息的特有天窗功能模块集。如图1所示,预先设置天窗功能库可以包括:Referring to FIG. 1 , FIG. 1 shows a flowchart of function initialization of a vehicle sunroof provided in an embodiment of the present application. The method can be applied to a vehicle pre-set with a sunroof function library, and the preset sunroof library can include a general function module set corresponding to various model information, a common sunroof function module set of at least two model information, and a unique sunroof of a single model information. Set of functional modules. As shown in Figure 1, the preset sunroof function library can include:

S101:获取多种车型信息对应的天窗功能模块。S101: Obtain a sunroof function module corresponding to various vehicle model information.

具体的,每种车型可以对应多种天窗功能模块,当获取到多种车型信息对应的天窗功能模块时,不同车型信息对应的天窗功能模块可以重复。例如车型信息为A的车辆对应的天窗功能模块包括天窗运动功能模块和语音控制功能模块,车型信息为B的车辆对应的天窗功能模块包括天窗运动功能模块和语音控制功能模块。Specifically, each vehicle type may correspond to a variety of sunroof function modules, and when the sunroof function modules corresponding to the various vehicle types information are obtained, the sunroof function modules corresponding to the different vehicle type information may be repeated. For example, the sunroof function module corresponding to the vehicle whose model information is A includes a sunroof motion function module and a voice control function module, and the sunroof function module corresponding to the vehicle whose model information is B includes a sunroof motion function module and a voice control function module.

S103:对多种车型信息对应的天窗功能模块进行匹配,确定多种车型信息对应的通用功能模块集、至少两个车型信息的共用天窗功能模块集以及单一车型信息的特有天窗功能模块集。S103: Match the sunroof function modules corresponding to the information of multiple vehicle models, and determine a general function module set corresponding to the information of multiple vehicle models, a set of common sunroof function modules of at least two vehicle types, and a set of unique sunroof function modules of a single vehicle type.

具体的,多种车型信息对应的通用功能模块集表征存储器中存储的所有车型信息都具备的天窗功能模块。至少两个车型信息的共用天窗功能模块集表征至少两个车型具备但不是存储器中所有车型具备的天窗功能模块。单一车型信息的特有天窗功能模块集表征某一车型信息单独具备的天窗功能模块。Specifically, the set of general function modules corresponding to the various types of vehicle type information represents the sunroof function module that all vehicle type information stored in the memory has. The set of sunroof function modules shared by at least two vehicle models represents the sunroof function modules provided by at least two vehicle models but not by all vehicle models in the memory. The unique sunroof function module set of a single model information represents the sunroof function module that a certain model information has alone.

S105:基于该多种车型信息对应的通用功能模块集、至少两个车型信息的共用天窗功能模块集和单一车型信息的特有天窗功能模块集构建天窗功能库。S105: Construct a sunroof function library based on the general function module set corresponding to the multiple types of vehicle type information, the common sunroof function module set of at least two vehicle type information, and the unique sunroof function module set of single vehicle type information.

在预先设置有天窗功能库的实施例中,如图2所示,该车辆天窗的功能初始化方法可以包括:In the embodiment in which the sunroof function library is preset, as shown in FIG. 2 , the function initialization method of the vehicle sunroof may include:

S201:响应于车辆天窗的功能初始化指令,获取当前车辆的车型信息。S201: Acquire the vehicle type information of the current vehicle in response to the function initialization instruction of the vehicle sunroof.

具体的,车辆天窗的开闭以及天窗功能的运行受车辆天窗的ECU(ElectronicControl Unit,电子控制单元)控制。对车辆天窗的功能模块进行初始化时,车辆天窗ECU先上电,当车辆天窗ECU接收到外界的天窗功能初始化指令时,获取当前车辆的车型信息。通过LIN线通讯,可以获取当前的车型信息,例如:获取到当前车辆的车型信息为XXX13。Specifically, the opening and closing of the vehicle sunroof and the operation of the sunroof function are controlled by an ECU (Electronic Control Unit, electronic control unit) of the vehicle sunroof. When initializing the function module of the vehicle sunroof, the vehicle sunroof ECU is powered on first, and when the vehicle sunroof ECU receives the external sunroof function initialization command, it obtains the model information of the current vehicle. Through LIN line communication, the current model information can be obtained, for example: the model information of the current vehicle obtained is XXX13.

S203:在至少两个车型信息的共用天窗功能模块集中,查找当前车辆的车型信息对应的共用天窗功能模块。S203: Search for a shared sunroof function module corresponding to the current vehicle type information in the set of shared sunroof function modules of at least two vehicle type information.

具体的,至少两个车型信息的共用天窗功能模块集可以不包括当前车辆的车型信息与另外的车型信息的共用天窗功能模块。当至少两个车型信息的共用天窗功能模块集包括当前车辆的车型信息与另外的车型信息的共用天窗功能模块时,查找结果为当前车辆的车型信息对应的共用天窗功能模块;当至少两个车型信息的共用天窗功能模块集不包括当前车辆的车型信息与另外的车型信息的共用天窗功能模块时,查找结果可以为空。Specifically, the common sunroof function module set of at least two vehicle model information may not include the shared sunroof function module of the current vehicle model information and another vehicle model information. When the shared sunroof function module set of at least two vehicle model information includes the current vehicle model information and the shared sunroof function module of another vehicle type information, the search result is the shared sunroof function module corresponding to the current vehicle model information; When the shared sunroof function module set of the information does not include the model information of the current vehicle and the shared sunroof function module of another model information, the search result may be empty.

S205:在单一车型信息的特有天窗功能模块集中,查找当前车辆的车型信息对应的特有天窗功能模块。S205: Search for the unique sunroof function module corresponding to the current vehicle model information in the unique sunroof function module set of the single model information.

具体的,单一车型信息的特有天窗功能模块集中,可以不包括当前车辆的车型信息对应的特有天窗功能模块。当单一车型信息的特有天窗功能模块集中包括当前车辆的车型信息对应的特有天窗功能模块时,查找结果为当前车辆的车型信息对应的特有天窗功能模块;当单一车型信息的特有天窗功能模块集中不包括当前车辆的车型信息对应的特有天窗功能模块时,查找结果为空。Specifically, the collection of unique sunroof function modules of a single model information may not include the unique sunroof function module corresponding to the current vehicle model information. When the unique sunroof function module set of the single model information includes the unique sunroof function module corresponding to the model information of the current vehicle, the search result is the unique sunroof function module corresponding to the model information of the current vehicle; when the unique sunroof function module set of the single model information does not When the unique sunroof function module corresponding to the model information of the current vehicle is included, the search result is empty.

至少两个车型信息的共用天窗功能模块集和单一车型信息的特有天窗功能模块集中的功能模块可以包括:雨雪天天窗自动关闭的功能模块、语音控制功能模块、移动终端应用控制的功能模块以及手势控制功能模块等。The functional modules in the set of common sunroof function modules for at least two model information and the functional modules in the set of unique sunroof function modules for single model information may include: function modules for automatic sunroof closing in rain and snow, function modules for voice control, function modules for mobile terminal application control, and Gesture control function modules, etc.

S207:将多种车型信息对应的通用功能模块集、当前车辆的车型信息对应的共用天窗功能模块和当前车辆的车型信息对应的特有天窗功能模块确定为目标天窗功能模块集。S207: Determine the general function module set corresponding to various vehicle model information, the common sunroof function module corresponding to the current vehicle type information, and the unique sunroof function module corresponding to the current vehicle type information as the target sunroof function module set.

具体的,通用功能模块集可以包括防夹功能模块、天窗运动功能模块、堵转功能模块以及热保护功能模块。防夹功能模块可以用于防止天窗闭合时夹到车内小孩或宠物,避免安全事故;天窗运动功能模块用于天窗响应于开合指令进行运动;堵转功能模块用于保护为天窗运动提供动能的电机正常启动,防止电机堵转;热保护功能模块是在用于天窗控制的电路上串联保护器,防止电路过温、过流。在本实施例中,通用功能模块集可以是包括上述通用功能模块中任意数量功能模块的集合。Specifically, the general functional module set may include an anti-pinch functional module, a sunroof motion functional module, a locked-rotor functional module, and a thermal protection functional module. The anti-pinch function module can be used to prevent children or pets from being caught in the car when the sunroof is closed to avoid safety accidents; the sunroof motion function module is used for the sunroof to move in response to the opening and closing command; the locked-rotor function module is used to protect the sunroof movement. Provide kinetic energy The motor starts normally to prevent the motor from stalling; the thermal protection function module is a series protector on the circuit used for sunroof control to prevent the circuit from over-temperature and over-current. In this embodiment, the general functional module set may be a set including any number of functional modules in the above general functional modules.

S209:基于目标天窗功能模块集对当前车辆进行功能初始化。S209: Perform function initialization on the current vehicle based on the target sunroof function module set.

具体的,基于目标天窗功能模块对当前车辆进行功能初始化包括加载目标天窗功能模块集,学习该目标天窗功能模块集中的所有功能。Specifically, the function initialization of the current vehicle based on the target sunroof function module includes loading the target sunroof function module set, and learning all the functions in the target sunroof function module set.

在另外的实施例中,如图3所示,基于目标天窗功能模块集对当前车辆进行功能初始化可以包括:In another embodiment, as shown in FIG. 3 , the function initialization of the current vehicle based on the target sunroof function module set may include:

S301:检测本地是否安装有目标天窗功能模块集。S301: Detect whether the target sunroof function module set is installed locally.

S303:若未安装,则安装目标天窗功能模块集。S303: If not installed, install the target sunroof function module set.

具体的,基于目标天窗功能模块对当前车辆进行功能初始化包括加载目标天窗功能模块集,学习该目标天窗功能模块集中的所有功能。Specifically, the function initialization of the current vehicle based on the target sunroof function module includes loading the target sunroof function module set, and learning all the functions in the target sunroof function module set.

S305:若已安装,则结束车辆天窗的功能初始化。S305: If installed, the function initialization of the vehicle sunroof is ended.

具体的,ECU检测到本地未安装有目标天窗功能模块集时,安装目标天窗功能模块集,避免目标天窗功能模块集的重复安装,提高了初始化效率。Specifically, when the ECU detects that the target sunroof function module set is not installed locally, it installs the target sunroof function module set, so as to avoid repeated installation of the target sunroof function module set, and improve the initialization efficiency.

本实施例提供的车辆天窗的功能初始化方法,通过获取当前车辆的车型信息,根据当前车辆的车型信息查找到对应的共用天窗功能模块、特有天窗功能模块,再将对应的共用天窗功能模块、特有天窗功能模块和通用功能模块集确定为目标天窗功能模块集,基于该目标天窗功能模块集对当前车辆进行功能初始化,在车辆天窗的控制器中,预先设置有天窗功能库,可以解决天窗控制器中功能模块兼容性差的问题,提高天窗控制器的普适性。In the method for initializing the function of the vehicle sunroof provided in this embodiment, the vehicle type information of the current vehicle is obtained, the corresponding shared sunroof function module and the unique sunroof function module are found according to the current vehicle type information, and then the corresponding shared sunroof function module and the unique sunroof function module are found. The sunroof function module and the general function module set are determined as the target sunroof function module set, and the current vehicle is functionally initialized based on the target sunroof function module set. The problem of poor compatibility of the function modules in the middle of the sunroof is improved, and the universality of the sunroof controller is improved.

在另外的实施例中,如图4所示,该方法包括:In additional embodiments, as shown in Figure 4, the method includes:

S401:响应于车辆天窗的功能初始化指令,获取当前车辆的车型信息。S401: Acquire vehicle type information of the current vehicle in response to the function initialization instruction of the vehicle sunroof.

具体的,车辆天窗的开闭以及天窗功能的运行受车辆天窗的ECU(ElectronicControl Unit,电子控制单元)控制。对车辆天窗的功能模块进行初始化时,车辆天窗ECU先上电,当车辆天窗ECU接收到外界的天窗功能初始化指令时,获取当前车辆的车型信息。通过LIN线通讯,可以获取当前的车型信息,例如:获取到当前车辆的车型信息为CX11。Specifically, the opening and closing of the vehicle sunroof and the operation of the sunroof function are controlled by an ECU (Electronic Control Unit, electronic control unit) of the vehicle sunroof. When initializing the function module of the vehicle sunroof, the vehicle sunroof ECU is powered on first, and when the vehicle sunroof ECU receives the external sunroof function initialization command, it obtains the model information of the current vehicle. Through LIN line communication, the current model information can be obtained, for example: the model information of the current vehicle obtained is CX11.

S4021:获取车型信息对应的天窗行程参数和对应的开关模块。S4021: Acquire the sunroof travel parameter and the corresponding switch module corresponding to the vehicle model information.

具体的,天窗行程参数可以包括天窗运动的起点、终点以及天窗姿态等参数。开关模块用于进行物理按键和开关电路的匹配,例如车型信息1对应旋钮键,顺时针旋转旋钮键可以控制天窗开启,逆时针旋转旋钮键可以控制天窗闭合;车型信息2对应按键,维持按键拉或按按键可以控制天窗全部闭合或者开启,短暂拉或按按键可以控制天窗闭合或者开启到设定的行程节点。不同的车型信息可以对应不同的天窗行程参数和开关模块。Specifically, the sunroof travel parameters may include parameters such as the starting point, the end point of the sunroof movement, and the sunroof attitude. The switch module is used to match the physical key and the switch circuit. For example, the model information 1 corresponds to the knob key. Rotating the knob clockwise can control the sunroof to open, and rotating the knob counterclockwise can control the sunroof to close. The model information 2 corresponds to the key, and the key is maintained. Or press the button to control the sunroof to be fully closed or open, and briefly pull or press the button to control the sunroof to close or open to the set travel node. Different model information can correspond to different sunroof travel parameters and switch modules.

S4023:根据对应的天窗行程参数进行天窗行程的设置。S4023: Set the sunroof travel according to the corresponding sunroof travel parameters.

S4025:根据对应的开关模块对天窗控制物理按键和天窗控制开关电路进行配置。S4025: Configure the sunroof control physical button and the sunroof control switch circuit according to the corresponding switch module.

S403:在至少两个车型信息的共用天窗功能模块集中,查找当前车辆的车型信息对应的共用天窗功能模块。S403: Search for a shared sunroof function module corresponding to the current vehicle type information in the set of shared sunroof function modules of at least two vehicle type information.

具体的,至少两个车型信息的共用天窗功能模块集可以不包括当前车辆的车型信息与另外的车型信息的共用天窗功能模块集。当至少两个车型信息的共用天窗功能模块集包括当前车辆的车型信息与另外的车型信息的共用天窗功能模块集时,查找结果为当前车辆的车型信息对应的共用天窗功能模块;当至少两个车型信息的共用天窗功能模块集不包括当前车辆的车型信息与另外的车型信息的共用天窗功能模块集时,查找结果为空。Specifically, the common sunroof function module set of at least two vehicle model information may not include the shared sunroof function module set of the current vehicle model information and another vehicle model information. When the shared sunroof function module set of at least two model information includes the current vehicle model information and the shared sunroof function module set of another model information, the search result is the shared sunroof function module corresponding to the current vehicle model information; when at least two When the shared sunroof function module set of the model information does not include the model information of the current vehicle and the shared sunroof function module set of another model information, the search result is empty.

S405:在单一车型信息的特有天窗功能模块集中,查找当前车辆的车型信息对应的特有天窗功能模块。S405: Search for the unique sunroof function module corresponding to the current vehicle model information in the unique sunroof function module set of the single vehicle model information.

具体的,单一车型信息的特有天窗功能模块集中,可以不包括当前车辆的车型信息对应的特有天窗功能模块。当单一车型信息的特有天窗功能模块集中包括当前车辆的车型信息对应的特有天窗功能模块时,查找结果为当前车辆的车型信息对应的特有天窗功能模块;当单一车型信息的特有天窗功能模块集中不包括当前车辆的车型信息对应的特有天窗功能模块时,查找结果为空。Specifically, the collection of unique sunroof function modules of a single model information may not include the unique sunroof function module corresponding to the current vehicle model information. When the unique sunroof function module set of the single model information includes the unique sunroof function module corresponding to the model information of the current vehicle, the search result is the unique sunroof function module corresponding to the model information of the current vehicle; when the unique sunroof function module set of the single model information does not When the unique sunroof function module corresponding to the model information of the current vehicle is included, the search result is empty.

至少两个车型信息的共用天窗功能模块集和单一车型信息的特有天窗功能模块集中的功能模块可以包括:雨雪天天窗自动关闭的功能模块、语音控制功能模块、移动终端应用控制的功能模块以及手势控制功能模块等。The functional modules in the set of common sunroof function modules for at least two model information and the functional modules in the set of unique sunroof function modules for single model information may include: function modules for automatic sunroof closing in rain and snow, function modules for voice control, function modules for mobile terminal application control, and Gesture control function modules, etc.

S407:将多种车型信息对应的通用功能模块集、当前车辆的车型信息对应的共用天窗功能模块和当前车辆的车型信息对应的特有天窗功能模块确定为目标天窗功能模块集。S407: Determine the general function module set corresponding to various vehicle model information, the common sunroof function module corresponding to the current vehicle type information, and the unique sunroof function module corresponding to the current vehicle type information as the target sunroof function module set.

具体的,通用功能模块集可以包括防夹功能模块、天窗运动功能模块、堵转功能模块以及热保护功能模块。防夹功能模块可以用于防止天窗闭合时夹到车内小孩或宠物,避免安全事故;天窗运动功能模块用于天窗响应于开合指令进行运动;堵转功能模块用于保护为天窗运动提供动能的电机正常启动,防止电机堵转;热保护功能模块是在用于天窗控制的电路上串联保护器,防止电路过温、过流。在本实施例中,通用功能模块集可以是包括上述通用功能模块中任意数量功能模块的集合。在实际部署时,可以根据实际需求,设置通用功能模块集中的功能模块,以及特有天窗功能模块集和共用天窗功能模块集分别包括的功能模块。Specifically, the general functional module set may include an anti-pinch functional module, a sunroof motion functional module, a locked-rotor functional module, and a thermal protection functional module. The anti-pinch function module can be used to prevent children or pets from being caught in the car when the sunroof is closed to avoid safety accidents; the sunroof motion function module is used for the sunroof to move in response to the opening and closing command; the locked-rotor function module is used to protect the sunroof movement. Provide kinetic energy The motor starts normally to prevent the motor from stalling; the thermal protection function module is a series protector on the circuit used for sunroof control to prevent the circuit from over-temperature and over-current. In this embodiment, the general functional module set may be a set including any number of functional modules in the above general functional modules. In actual deployment, functional modules in the general functional module set, and functional modules included in the unique sunroof functional module set and the shared sunroof functional module set can be set according to actual requirements.

S409:基于目标天窗功能模块集对当前车辆进行功能初始化。S409: Perform function initialization on the current vehicle based on the target sunroof function module set.

具体的,基于目标天窗功能模块对当前车辆进行功能初始化包括加载目标天窗功能模块集,学习该目标天窗功能模块集中的所有功能。Specifically, the function initialization of the current vehicle based on the target sunroof function module includes loading the target sunroof function module set, and learning all the functions in the target sunroof function module set.

本实施例提供的方法中,通过获取车型信息对应的天窗行程参数和对应的开关模块;根据对应的天窗行程参数进行天窗行程的设置;根据对应的开关模块对天窗控制物理按键和天窗控制开关电路进行配置,相比于人工确定车型信息对应的天窗行程参数和开关模块,再将对应的天窗行程参数和开关模块烧录到ECU的方法,大大提高了确定不同车型信息对应的天窗行程参数和开关模块的效率。In the method provided in this embodiment, the sunroof travel parameters and corresponding switch modules corresponding to the vehicle model information are obtained; the sunroof travel is set according to the corresponding sunroof travel parameters; the sunroof control physical buttons and the sunroof control switch circuit are controlled according to the corresponding switch modules. For configuration, compared with manually determining the sunroof travel parameters and switch modules corresponding to the model information, the method of burning the corresponding sunroof travel parameters and switch modules into the ECU greatly improves the determination of the sunroof travel parameters and switches corresponding to different model information. module efficiency.

另一方面,本申请还提供一种车辆天窗的功能初始化装置,可以应用于预先设置有天窗功能库的车辆,该天窗功能库包括多种车型信息对应的通用功能模块集,至少两个车型信息的共用天窗功能模块集和单一车型信息的特有天窗功能模块集,如图5所示,该装置500包括:On the other hand, the present application also provides a function initialization device for a vehicle sunroof, which can be applied to a vehicle pre-set with a sunroof function library. The shared sunroof function module set and the unique sunroof function module set of single vehicle type information, as shown in Figure 5, the device 500 includes:

信息获取模块501,用于响应于车辆天窗的功能初始化指令,获取当前车辆的车型信息;The information acquisition module 501 is used for acquiring the vehicle type information of the current vehicle in response to the function initialization instruction of the vehicle sunroof;

第一查找模块503,用于在所述至少两个车型信息的共用天窗功能模块集中,查找所述当前车辆的车型信息对应的共用天窗功能模块;The first search module 503 is configured to search for the shared sunroof function module corresponding to the current vehicle type information in the shared sunroof function module set of the at least two vehicle type information;

第二查找模块505,用于在所述单一车型信息的特有天窗功能模块集中,查找所述当前车辆的车型信息对应的特有天窗功能模块;The second search module 505 is configured to search for the unique sunroof function module corresponding to the model information of the current vehicle in the set of unique sunroof function modules of the single model information;

目标天窗功能模块集确定模块507,用于将所述多种车型信息对应的通用功能模块集、所述当前车辆的车型信息对应的共用天窗功能模块和所述当前车辆的车型信息对应的特有天窗功能模块确定为目标天窗功能模块集;The target sunroof function module set determination module 507 is used to determine the general function module set corresponding to the various vehicle model information, the common sunroof function module corresponding to the current vehicle model information and the unique sunroof corresponding to the current vehicle model information The function module is determined as the target sunroof function module set;

初始化模块509,用于基于所述目标天窗功能模块集对所述当前车辆进行功能初始化。An initialization module 509, configured to perform function initialization on the current vehicle based on the target sunroof function module set.

在另外的实施例中,如图6所示,该装置600可以包括:In another embodiment, as shown in FIG. 6, the apparatus 600 may include:

天窗功能模块获取模块601,用于获取所述多种车型信息对应的天窗功能模块;A sunroof function module acquisition module 601, configured to acquire the sunroof function modules corresponding to the various vehicle types information;

匹配模块603,用于对所述多种车型信息对应的天窗功能模块进行匹配,确定所述多种车型信息对应的通用功能模块集、至少两个车型信息的共用天窗功能模块集以及单一车型信息的特有天窗功能模块集;The matching module 603 is used to match the sunroof function modules corresponding to the various vehicle types information, and determine the general function module set corresponding to the various vehicle type information, the shared sunroof function module set of at least two vehicle type information, and the single vehicle type information. The unique sunroof function module set;

天窗功能库构建模块605,用于基于所述多种车型信息对应的通用功能模块集、所述至少两个车型信息的共用天窗功能模块集和所述单一车型信息的特有天窗功能模块集构建所述天窗功能库。A sunroof function library building module 605 is configured to construct a sunroof function module set based on the general function module set corresponding to the multiple vehicle model information, the common sunroof function module set of the at least two model information, and the unique sunroof function module set of the single model information. Describe the sunroof function library.

信息获取模块607,用于响应于车辆天窗的功能初始化指令,获取当前车辆的车型信息;an information acquisition module 607, configured to acquire the vehicle type information of the current vehicle in response to the function initialization instruction of the vehicle sunroof;

第一查找模块609,用于在所述至少两个车型信息的共用天窗功能模块集中,查找所述当前车辆的车型信息对应的共用天窗功能模块;A first search module 609, configured to search for a shared sunroof function module corresponding to the current vehicle model information in the set of shared sunroof function modules of the at least two vehicle models;

第二查找模块611,用于在所述单一车型信息的特有天窗功能模块集中,查找所述当前车辆的车型信息对应的特有天窗功能模块;The second search module 611 is configured to search for the unique sunroof function module corresponding to the model information of the current vehicle in the set of unique sunroof function modules of the single model information;

目标天窗功能模块集确定模块613,用于将所述多种车型信息对应的通用功能模块集、所述当前车辆的车型信息对应的共用天窗功能模块和所述当前车辆的车型信息对应的特有天窗功能模块确定为目标天窗功能模块集;The target sunroof function module set determination module 613 is used to determine the general function module set corresponding to the various vehicle type information, the common sunroof function module corresponding to the current vehicle type information and the unique sunroof corresponding to the current vehicle type information The function module is determined as the target sunroof function module set;

初始化模块615,用于基于所述目标天窗功能模块集对所述当前车辆进行功能初始化。An initialization module 615, configured to perform function initialization on the current vehicle based on the target sunroof function module set.

在另外的实施例中,如图7所示,该装置700可以包括:In another embodiment, as shown in FIG. 7 , the apparatus 700 may include:

信息获取模块701,用于响应于车辆天窗的功能初始化指令,获取当前车辆的车型信息,以及获取所述车型信息对应的天窗行程参数和对应的开关模块;The information acquisition module 701 is used for acquiring the vehicle model information of the current vehicle in response to the function initialization instruction of the vehicle sunroof, and acquiring the sunroof travel parameter corresponding to the vehicle type information and the corresponding switch module;

第一查找模块703,用于在所述至少两个车型信息的共用天窗功能模块集中,查找所述当前车辆的车型信息对应的共用天窗功能模块;A first search module 703, configured to search for a shared sunroof function module corresponding to the vehicle type information of the current vehicle in the set of shared sunroof function modules of the at least two vehicle type information;

第二查找模块705,用于在所述单一车型信息的特有天窗功能模块集中,查找所述当前车辆的车型信息对应的特有天窗功能模块;A second search module 705, configured to search for the unique sunroof function module corresponding to the model information of the current vehicle in the set of unique sunroof function modules of the single model information;

目标天窗功能模块集确定模块707,用于将所述多种车型信息对应的通用功能模块集、所述当前车辆的车型信息对应的共用天窗功能模块和所述当前车辆的车型信息对应的特有天窗功能模块确定为目标天窗功能模块集;The target sunroof function module set determination module 707 is used to determine the general function module set corresponding to the various vehicle type information, the common sunroof function module corresponding to the current vehicle type information and the unique sunroof corresponding to the current vehicle type information The function module is determined as the target sunroof function module set;

初始化模块709,用于基于所述目标天窗功能模块集对所述当前车辆进行功能初始化。An initialization module 709, configured to perform function initialization on the current vehicle based on the target sunroof function module set.

天窗行程设置模块702,用于根据所述对应的天窗行程参数进行天窗行程的设置;A sunroof travel setting module 702, configured to set the sunroof travel according to the corresponding sunroof travel parameters;

开关模块配置模块704,用于根据所述对应的开关模块对天窗控制物理按键和天窗控制开关电路进行配置。The switch module configuration module 704 is configured to configure the sunroof control physical key and the sunroof control switch circuit according to the corresponding switch module.

另一方面,本申请还提供一种车辆天窗的功能初始化存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述任一实施例所示的功能初始化方法。On the other hand, the present application also provides a storage medium for initializing a function of a vehicle sunroof, wherein the storage medium stores at least one instruction, at least a piece of program, code set or instruction set, the at least one instruction, at least a piece of program, code The set or instruction set is loaded and executed by the processor to implement the function initialization method shown in any of the above embodiments.

综上所述,本申请实施例提供的一种车辆天窗的功能初始化方法、装置及存储介质的实施例,通过响应于车辆天窗的功能初始化指令,获取当前车辆的车型信息;在所述至少两个车型信息的共用天窗功能模块集中,查找所述当前车辆的车型信息对应的共用天窗功能模块;在所述单一车型信息的特有天窗功能模块集中,查找所述当前车辆的车型信息对应的特有天窗功能模块;将所述多种车型信息对应的通用功能模块集、所述当前车辆的车型信息对应的共用天窗功能模块和所述当前车辆的车型信息对应的特有天窗功能模块确定为目标天窗功能模块集;基于所述目标天窗功能模块集对所述当前车辆进行功能初始化,在车辆天窗的控制器中,预先设置有天窗功能库,能够解决天窗控制器中功能模块兼容性差的问题,提高天窗控制器的普适性。To sum up, the embodiments of the method, device and storage medium for the function initialization of the vehicle sunroof provided by the embodiments of the present application acquire the model information of the current vehicle by responding to the function initialization instruction of the vehicle sunroof; In the set of shared sunroof function modules of each model information, search for the shared sunroof function module corresponding to the model information of the current vehicle; in the set of unique sunroof function modules of the single model information, search for the unique sunroof corresponding to the model information of the current vehicle Function module; determine the general function module set corresponding to the various vehicle model information, the common sunroof function module corresponding to the current vehicle type information and the unique sunroof function module corresponding to the current vehicle type information as the target sunroof function module The function initialization of the current vehicle is performed based on the target sunroof function module set, and a sunroof function library is preset in the vehicle sunroof controller, which can solve the problem of poor compatibility of the function modules in the sunroof controller and improve the control of the sunroof. universality of the device.

上述说明已经充分揭露了本申请的具体实施方式。需要指出的是,熟悉该领域的技术人员对本申请的具体实施方式所做的任何改动均不脱离本申请的权利要求书的范围。相应地,本申请的权利要求的范围也并不仅仅局限于前述具体实施方式。The above description has fully disclosed the specific embodiments of the present application. It should be pointed out that any changes made by those skilled in the art to the specific embodiments of the present application will not depart from the scope of the claims of the present application. Accordingly, the scope of the claims of the present application is not limited to the foregoing specific embodiments.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、系统和服务器实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. Especially, for the apparatus, system, and server embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (10)

1. A function initialization method for a vehicle skylight is characterized by being applied to a vehicle with a skylight function library in advance, wherein the skylight function library comprises a universal function module set corresponding to various vehicle type information, a common skylight function module set of at least two vehicle type information and a special skylight function module set of single vehicle type information, and the method comprises the following steps:
responding to a function initialization instruction of a vehicle skylight, and acquiring vehicle type information of a current vehicle;
searching a common skylight function module corresponding to the vehicle type information of the current vehicle in the common skylight function module set of the at least two vehicle type information;
searching a special skylight function module corresponding to the vehicle type information of the current vehicle in the special skylight function module set of the single vehicle type information;
determining a general function module set corresponding to the various vehicle type information, a common skylight function module corresponding to the vehicle type information of the current vehicle and a special skylight function module corresponding to the vehicle type information of the current vehicle as a target skylight function module set;
and initializing the function of the current vehicle based on the target skylight function module set.
2. The method of claim 1, wherein prior to obtaining model information of the current vehicle, the method further comprises:
acquiring skylight function modules corresponding to the information of the various vehicle types;
matching the skylight function modules corresponding to the various vehicle type information, and determining a general function module set corresponding to the various vehicle type information, a common skylight function module set of at least two vehicle type information and a specific skylight function module set of single vehicle type information;
and constructing the skylight function library based on the general function module set corresponding to the various vehicle type information, the common skylight function module set of the at least two vehicle type information and the specific skylight function module set of the single vehicle type information.
3. The method of claim 1, wherein the initializing the function of the current vehicle based on the set of target sunroof function modules comprises:
when detecting that the target skylight function module set is not installed locally, installing the target skylight function module set;
and when detecting that the target skylight function module set is locally installed, finishing the function initialization of the vehicle skylight.
4. The method of claim 1, wherein the generic function module comprises:
the device comprises an anti-pinch function module, a skylight movement function module, a locked-rotor function module and a thermal protection function module.
5. The method according to claim 1, wherein after the obtaining of the model information of the current vehicle, the method further comprises:
acquiring a skylight stroke parameter corresponding to the vehicle type information and a corresponding switch module;
setting the skylight stroke according to the corresponding skylight stroke parameter;
and configuring the skylight control physical key and the skylight control switch circuit according to the corresponding switch module.
6. The method of claim 1, further comprising:
and when the vehicle type information of the current vehicle fails to be acquired, performing fault alarm.
7. A function initialization device for a vehicle sunroof is applied to a vehicle which is provided with a sunroof function library in advance, wherein the sunroof function library comprises a universal function module set corresponding to various vehicle type information, a common sunroof function module set of at least two vehicle type information and a unique sunroof function module set of single vehicle type information, and the device comprises:
the information acquisition module is used for responding to a function initialization instruction of a vehicle skylight and acquiring the vehicle type information of the current vehicle;
the first searching module is used for searching a common skylight function module corresponding to the vehicle type information of the current vehicle in the common skylight function module set of the at least two vehicle type information;
the second searching module is used for searching the special skylight function module corresponding to the vehicle type information of the current vehicle in the special skylight function module set of the single vehicle type information;
a target skylight function module set determining module, configured to determine a general function module set corresponding to the multiple vehicle type information, a common skylight function module corresponding to the vehicle type information of the current vehicle, and a specific skylight function module corresponding to the vehicle type information of the current vehicle as a target skylight function module set;
and the initialization module is used for carrying out function initialization on the current vehicle based on the target skylight function module set.
8. The apparatus of claim 7, further comprising:
the skylight function module acquisition module is used for acquiring skylight function modules corresponding to the information of the various vehicle types;
the matching module is used for matching the skylight function modules corresponding to the information of the various vehicle types, and determining a universal function module set corresponding to the information of the various vehicle types, a common skylight function module set of at least two pieces of vehicle type information and a specific skylight function module set of single vehicle type information;
and the skylight function library construction module is used for constructing the skylight function library based on the universal function module set corresponding to the various vehicle type information, the common skylight function module set of the at least two vehicle type information and the specific skylight function module set of the single vehicle type information.
9. The apparatus of claim 7, further comprising:
the data acquisition module is used for acquiring skylight stroke parameters corresponding to the vehicle type information and corresponding switch modules;
the skylight stroke setting module is used for setting the skylight stroke according to the corresponding skylight stroke parameters;
and the switch module configuration module is used for configuring the skylight control physical key and the skylight control switch circuit according to the corresponding switch module.
10. A vehicle sunroof function initialization storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and the at least one instruction, at least one program, a set of codes, or a set of instructions is loaded and executed by a processor to implement the vehicle sunroof function initialization method according to any one of claims 1 to 6.
CN202010565150.2A 2020-06-19 2020-06-19 Function initialization method and device for vehicle skylight and storage medium Active CN111913752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010565150.2A CN111913752B (en) 2020-06-19 2020-06-19 Function initialization method and device for vehicle skylight and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010565150.2A CN111913752B (en) 2020-06-19 2020-06-19 Function initialization method and device for vehicle skylight and storage medium

Publications (2)

Publication Number Publication Date
CN111913752A true CN111913752A (en) 2020-11-10
CN111913752B CN111913752B (en) 2023-04-07

Family

ID=73238094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010565150.2A Active CN111913752B (en) 2020-06-19 2020-06-19 Function initialization method and device for vehicle skylight and storage medium

Country Status (1)

Country Link
CN (1) CN111913752B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024066280A1 (en) * 2022-09-26 2024-04-04 比亚迪股份有限公司 Vehicle model creation method, vehicle model creation system, computer storage medium, and vehicle

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1988497A2 (en) * 2007-04-30 2008-11-05 Hewlett-Packard Development Company, L.P. Deriving grounded model of business process suitable for automatic deployment
CN201433641Y (en) * 2008-12-16 2010-03-31 士林电机厂股份有限公司 Stroke setting device for electric window of vehicle
CN102164360A (en) * 2011-04-20 2011-08-24 瑞斯康达科技发展股份有限公司 Method and system for configurating and loading network equipment
CN102736578A (en) * 2012-03-16 2012-10-17 西安睿尚信息科技有限公司 Multifunctional intelligent home terminal system
CN103914307A (en) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 Interactive-interface fast implementation method based on reusable library
CN106487407A (en) * 2016-11-24 2017-03-08 重庆比速汽车有限公司 Car networking terminal
CN107253447A (en) * 2017-06-06 2017-10-17 上海康丘乐电子电器科技有限公司 A kind of electric automobile whole integrated management and control system and electric automobile
US20180105024A1 (en) * 2016-10-14 2018-04-19 GM Global Technology Operations LLC Methods and systems for controlling a sunroof shade
US20180170157A1 (en) * 2016-12-21 2018-06-21 Webasto SE System For Controlling A Sunroof Of A Vehicle
CN110489120A (en) * 2019-07-03 2019-11-22 平安证券股份有限公司 Page development method component-based and server
CN210083123U (en) * 2019-06-10 2020-02-18 陕西汽车集团有限责任公司 Modular vehicle-mounted multimedia structure

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1988497A2 (en) * 2007-04-30 2008-11-05 Hewlett-Packard Development Company, L.P. Deriving grounded model of business process suitable for automatic deployment
CN201433641Y (en) * 2008-12-16 2010-03-31 士林电机厂股份有限公司 Stroke setting device for electric window of vehicle
CN102164360A (en) * 2011-04-20 2011-08-24 瑞斯康达科技发展股份有限公司 Method and system for configurating and loading network equipment
CN102736578A (en) * 2012-03-16 2012-10-17 西安睿尚信息科技有限公司 Multifunctional intelligent home terminal system
CN103914307A (en) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 Interactive-interface fast implementation method based on reusable library
US20180105024A1 (en) * 2016-10-14 2018-04-19 GM Global Technology Operations LLC Methods and systems for controlling a sunroof shade
CN106487407A (en) * 2016-11-24 2017-03-08 重庆比速汽车有限公司 Car networking terminal
US20180170157A1 (en) * 2016-12-21 2018-06-21 Webasto SE System For Controlling A Sunroof Of A Vehicle
CN107253447A (en) * 2017-06-06 2017-10-17 上海康丘乐电子电器科技有限公司 A kind of electric automobile whole integrated management and control system and electric automobile
CN210083123U (en) * 2019-06-10 2020-02-18 陕西汽车集团有限责任公司 Modular vehicle-mounted multimedia structure
CN110489120A (en) * 2019-07-03 2019-11-22 平安证券股份有限公司 Page development method component-based and server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨莉: "基于LIN总线的汽车自动天窗防夹控制系统的设计与实现", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *
熊世宽: "乘用车空调控制器的模块化设计", 《汽车电器》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024066280A1 (en) * 2022-09-26 2024-04-04 比亚迪股份有限公司 Vehicle model creation method, vehicle model creation system, computer storage medium, and vehicle

Also Published As

Publication number Publication date
CN111913752B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN110143175B (en) Automobile equipment control method and device, readable storage medium and control equipment
CN104216514A (en) Method and device for controlling vehicle-mounted device, and vehicle
EP3972202A1 (en) Smart home system control method and apparatus, electronic device and storage medium
CN109889106B (en) Motor control method and device
CN110901353B (en) Initialization method for sunroof system, vehicle and storage medium
CN111913752B (en) Function initialization method and device for vehicle skylight and storage medium
CN111376256A (en) Steering engine angle calibration method and system, robot and storage medium
CN107672547B (en) New energy automobile voice control method and device, mobile terminal and storage medium
CN110647044A (en) Household appliance control method and device, electronic device and readable storage medium
CN103268260A (en) Electronic device for automatically switching scene modes and switching method
CN108491344B (en) Robot control management method, system, robot and computer storage medium
CN112363730A (en) Visual item deployment method, visual system, electronic equipment and storage medium
CN108732983A (en) A kind of electronic equipment control method, device, electronic equipment and storage medium
CN107166675B (en) Wireless network-based intelligent garage ventilation, smoke, exhaust and dehumidification system and method
CN113158975B (en) Information writing method, device, equipment and storage medium of intelligent equipment
CN110260490A (en) The method, apparatus and air conditioner detected automatically to sliding door of air conditioner
CN105354068A (en) Network-based robot system software batch installing and upgrading method
CN115478757A (en) Vehicle control method, device, device and storage medium
CN114509960A (en) Electrical appliance control method, electrical appliance control system and robot
CN110001553B (en) A four-way adjustable steering control device and controller downloading method for automobile
CN103049402A (en) Method and device for controlling universal serial bus (USB) device
CN111854237B (en) Control method, control device and controller
CN100485660C (en) Method and system for disolaying animation files
CN201184969Y (en) Electric sunroof controller with memory correction
CN115524987B (en) Method, device, cloud device and storage medium for controlling clothes drying 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
GR01 Patent grant