CN101825875A - Method and device for updating software - Google Patents

Method and device for updating software Download PDF

Info

Publication number
CN101825875A
CN101825875A CN 201010186543 CN201010186543A CN101825875A CN 101825875 A CN101825875 A CN 101825875A CN 201010186543 CN201010186543 CN 201010186543 CN 201010186543 A CN201010186543 A CN 201010186543A CN 101825875 A CN101825875 A CN 101825875A
Authority
CN
China
Prior art keywords
controller
type
authorization
corresponding
file
Prior art date
Application number
CN 201010186543
Other languages
Chinese (zh)
Inventor
倪斌
胡红利
Original Assignee
奇瑞汽车股份有限公司
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 奇瑞汽车股份有限公司 filed Critical 奇瑞汽车股份有限公司
Priority to CN 201010186543 priority Critical patent/CN101825875A/en
Publication of CN101825875A publication Critical patent/CN101825875A/en

Links

Abstract

The invention discloses a method and a device for updating software, which belong to the automobile field. The method comprises the following steps: acquiring an effective authorization file; determining a corresponding controller type according to the effective authorization file; and determining the controller type to be updated and checking whether the authorization file corresponding to the controller type to be updated is available or not, and if yes, updating the software corresponding to the controller type to be updated. The device comprises an acquisition module, a first determination module, a second determination module, a checking module and an update module. By acquiring the effective authorization file and updating the software corresponding to the controller type to be updated after checking whether the authorization file corresponding to the controller type to be updated is available or not, timely update of the software in the controller can be realized, thus improving the performance of the controller.

Description

刷新软件的方法及装置 Software refresh method and apparatus

技术领域 FIELD

[0001] 本发明涉及汽车领域,特别涉及一种刷新软件的方法及装置。 [0001] The present invention relates to the automotive field, particularly relates to a method and apparatus for refreshing software. 背景技术 Background technique

[0002] 随着汽车生产技术的日益发展,汽车功能越来越完善,带给用户的体验也越来越丰富。 [0002] With the development of automobile production technology, the car features more perfect, bringing more and more rich user experience. 例如,具有自动变速箱的汽车,能根据路面状况自动变速变矩,驾驶者可以全神贯地注视路面交通而不会被换档搞得手忙脚乱。 For example, having automobile automatic transmission can automatically shift torque converter according to road conditions, the driver can give full penetration watching the road traffic without being thrown into confusion shift. 而自动变速箱在开发过程中,根据对变速箱的标定情况,需要时常对其控制器中的软件进行刷新。 While the automatic transmission in the development process, according to the calibration of the transmission case, needs to be constantly refreshed its controller software.

[0003] 对于现有的自动变速箱,其控制器中的软件版本需要升级时,需要同时更新控制 [0003] For a conventional automatic transmission, a software version of its controller needs to be upgraded, you need to update the control

o o

[0004] 在实现本发明的过程中,发明人发现现有技术至少存在以下缺点: [0004] During the implementation of the present invention, the inventors found that the prior art at least has the following disadvantages:

[0005] 目前没有对现有自动变速箱的控制器中的软件进行刷新的相关工具,因而不能及时地刷新控制器中的软件。 [0005] There is no refresh of existing tools to control the automatic transmission software in a timely manner and thus can not refresh controller software.

发明内容 SUMMARY

[0006] 为了对自动变速箱的控制器中的软件进行及时地刷新,进而提升控制器的性能, 本发明实施例提供了一种刷新软件的方法及装置。 [0006] In order to control the automatic transmission software timely refresh, and thus enhance the performance of the controller, embodiments provide a method and apparatus of the present invention for refreshing software. 所述技术方案如下: The technical solutions are as follows:

[0007] —方面,提供了一种刷新软件的方法,所述方法包括: [0007] - aspect, there is provided a method of refreshing the software, the method comprising:

[0008] 获取有效的授权文件; [0008] to obtain a valid license file;

[0009] 根据所述有效的授权文件确定对应的控制器类型; [0009] determined in accordance with the corresponding controller type a valid authorization file;

[0010] 确定待刷新的控制器类型,并验证所述待刷新的控制器类型对应的授权文件是否可用,如果是,则刷新所述待刷新的控制器类型对应的软件。 [0010] The controller determines the type to be refreshed, and verify that the controller of the type to be refreshed corresponding to the authorization file available, and if so, the refresh controller software corresponding to the type to be refreshed.

[0011] 另一方面,提供了一种刷新软件的装置,所述装置包括: [0011] In another aspect, there is provided an apparatus for refreshing the software, the apparatus comprising:

[0012] 获取模块,用于获取有效的授权文件; [0012] obtaining module, configured to obtain a valid authorization file;

[0013] 第一确定模块,用于根据所述获取模块获取到的有效的授权文件确定对应的控制器类型; [0013] a first determining module, means for obtaining a valid license file to determine the type of the corresponding control according to the acquired;

[0014] 第二确定模块,用于在第一确定模块确定的控制器类型中确定待刷新的控制器类型; [0014] The second determination module for determining the type of controller type of the controller to be refreshed in the first determining module determines;

[0015] 验证模块,用于验证所述第二确定模块确定的待刷新的控制器类型对应的授权文件是否可用; [0015] authentication module for verifying whether the second determination module determines to be refreshed license file corresponding to the controller type is available;

[0016] 刷新模块,用于在所述验证模块验证所述待刷新的控制器类型对应的授权文件可用之后,刷新所述待刷新的控制器类型对应的软件。 [0016] The refresh module for the verification of the authentication module to be refreshed after a license file corresponding to the controller type is available, the refresh controller software corresponding to the type to be refreshed.

[0017] 本发明实施例提供的技术方案的有益效果是: [0017] Advantageous effects of the technical solutions provided in the embodiments of the present invention is:

[0018] 通过获取有效的授权文件,并在验证待刷新的控制器类型对应的授权文件可用之后,刷新待刷新的控制器类型对应的软件,从而实现对控制器中的软件进行及时地刷新,进而提升控制器的性能。 [0018] By obtaining a valid license file, the verification controller and corresponding to the type of controller software corresponding to the type after the authorization file available to be refreshed, the refresh to be refreshed, in order to achieve the controller software timely refreshed thus enhance performance of the controller. 附图说明 BRIEF DESCRIPTION

[0019] 为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, as briefly described in the introduction to the accompanying drawings required for use in describing the embodiments. Apparently, the drawings in the following description are only some of the present invention. embodiments, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings.

[0020] 图1是本发明实施例一提供的刷新软件的方法流程图; [0020] FIG. 1 is a diagram of a method of refreshing software embodiment of the present invention provides a flow chart;

[0021] 图2是本发明实施例二提供的刷新软件的方法流程图; [0021] FIG. 2 is a refresh method according to a second embodiment of the software of the present invention, a flow chart;

[0022] 图3是本发明实施例三提供的刷新软件的装置结构示意图; [0022] FIG. 3 is a configuration diagram of an apparatus according to a third embodiment of the present invention, the refresh software;

[0023] 图4是本发明实施例三提供的建立模块结构示意图; [0023] FIG. 4 is a schematic view of the establishment of a module structure according to a third embodiment of the present invention;

[0024] 图5是本发明实施例三提供的另一种刷新软件的装置结构示意图; [0024] FIG. 5 is a schematic diagram of another apparatus refresh software configuration according to a third embodiment of the present invention;

[0025] 图6是本发明实施例三提供的又一种刷新软件的装置结构示意图。 [0025] FIG. 6 is provided in the third embodiment of the present invention is a further schematic device structure of the software refresh.

具体实施方式 Detailed ways

[0026] 为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。 [0026] To make the objectives, technical solutions, and advantages of the present invention will become apparent in conjunction with the accompanying drawings of the following embodiments of the present invention will be described in further detail.

[0027] 实施例一 [0027] Example a

[0028] 参见图1,本实施例提供了一种刷新软件的方法,该方法流程具体如下: [0028] Referring to Figure 1, the present embodiment provides a method of refreshing the software, the process flow follows:

[0029] 101 :获取有效的授权文件; [0029] 101: Obtain a valid license file;

[0030] 102 :根据有效的授权文件确定对应的控制器类型; [0030] 102: determining the type of a corresponding controller in accordance with a valid authorization file;

[0031] 103 :确定待刷新的控制器类型,并验证待刷新的控制器类型对应的授权文件是否可用,如果是,则执行步骤104,否则,流程结束; [0031] 103: determining the type of control to be refreshed, and to verify to be refreshed license file corresponding to the controller type is available, if yes, perform step 104, otherwise, the process ends;

[0032] 104 :刷新待刷新的控制器类型对应的软件,流程结束。 [0032] 104: a refresh controller corresponding to the type of software to be refreshed, the flow ends.

[0033] 本实施例提供的方法,通过获取有效的授权文件,并在验证待刷新的控制器类型对应的授权文件可用之后,刷新待刷新的控制器类型对应的软件,从而实现对控制器中的软件进行及时地刷新,进而提升控制器的性能。 [0033] The method of the present embodiment is provided, by obtaining a valid license file, the verification controller and corresponding to the type of controller software corresponding to the type after the authorization file available to be refreshed, the refresh to be refreshed, in order to achieve the controller software timely refresh, and thus enhance the performance of the controller.

[0034] 实施例二 [0034] Second Embodiment

[0035] 针对汽车自动变速箱的控制器需要根据变速箱的标定情况时常进行软件刷新的情况,本实施例提供了一种刷新软件的方法,参见图2,方法流程具体如下: [0035] The controller for an automatic automotive transmission often need to be calibrated according to the situation of the transmission case of a software refresh, the present embodiment provides a method of refreshing software, see FIG. 2, flow of the method as follows:

[0036] 201 :获取有效的授权文件; [0036] 201: Obtain a valid authorization file;

[0037] 具体地,本实施例不对获取有效的授权文件的方式进行限定,该步骤采取如下方式: [0037] Specifically, the present embodiment does not obtain a valid license file is defined manner, the steps taken in the following manner:

[0038] 读取设备序列号,并查找指定目录是否有可用的授权文件; [0038] reading device serial number, and to find the specified directory for available authority;

[0039] 如果是,则读取并解密授权文件,得到授权文件的授权号,比较授权文件的授权号与读取的序列号是否一致,如果一致,则判断授权文件有效,并将有效的授权文件存放到授权队列中。 [0039] If so, the read and decrypt the license file, the license file to obtain an authorization number, comparing the authorization authorization document is consistent with the read serial number, if yes, determines the authorization file is valid, and a valid license files stored in the authorization queue.

[0040] 其中,指定目录中可用的授权文件即为验证刷新软件权限所需的授权文件,这些授权文件可以是在软件升级后生成并被存放到指定目录中的,本实施例对此不作具体限定。 [0040] wherein the specified directory is the authorization file available to verify the desired refresh software authorization file permissions, the license file may be generated after the software upgrade and is stored in the specified directory, the present embodiment does not specifically limited. 为了保证在被授予权限的情况下对软件进行刷新,因而本实施例提供的刷新软件的方 In order to ensure the software refresh in a case where the permission is granted, so refresh software provided in this embodiment square

5法,需要先获取有效的授权文件,从而通过后续步骤进行软件刷新权限的验证。 5 method, you need to obtain a valid license file, thus validate the software refresh permission by the subsequent steps.

[0041] 另外,此处的设备序列号所对应的设备即为与刷新软件的装置所对应的配套硬件设备,通过将该设备序列号与授权文件的授权号进行比较,在得出授权文件的授权号与设备序列号一致时,可以判断出授权文件有效,即意味着该刷新软件的装置所对应的硬件设备可通过该授权文件对是否具有进行软件刷新的权限进行验证。 [0041] Further, a device serial number here is the device corresponding to the device corresponding to the refresh software supporting hardware, by comparing the authorization number and the device serial number of the license file, the license file is obtained authorization number coincides with the serial number can be judged valid authorization file, which means that the refresh permission means software corresponding to whether the hardware device may be refreshed by the software to verify authorization file. 因而需要将获取到的有效的授权文件放到授权队列中,实际应用中,可以列表的形式存储有效的授权文件,从而形成授权文件列表。 Thus requiring the acquired valid authorization authorization files into the queue, the actual application may be stored in the form of a list of valid authorization files, the authorization file to form the list.

[0042] 202 :根据有效的授权文件确定对应的控制器类型; [0042] 202: determining the type of a corresponding controller in accordance with a valid authorization file;

[0043] 针对该步骤,现有的控制器有多种类型,每种类型的控制器中的软件进行刷新时, 都需要有对应的授权文件,以证明被授予刷新软件的权限,而上述步骤201在获取有效的授权文件之后,如果获取多个有效的授权文件,而每个授权文件对应一个控制器类型,则根据获取到的授权文件可以确定多个对应的控制器类型,也就意味着有多种类型的控制器中的软件可以进行刷新,然而,具体刷新哪种类型的控制器中的软件,可以由用户选择决定, 详见后续步骤。 [0043] For this step, a conventional controller has a plurality of types, each type when the refresh controller software, needs to have a corresponding authority, permission is granted to demonstrate software refreshed, and said step 201 after obtaining the valid license file, if the plurality of acquired valid authorization file, each file corresponds to an authorization controller type may be determined according to the type of a plurality of controllers corresponding to the acquired license file, which means there are many types of controller software can be refreshed, however, what type of software specifically refresh controller, the user can decide to select, see the subsequent step.

[0044] 203 :确定待刷新的控制器类型,并验证待刷新的控制器类型对应的授权文件是否可用,如果是,执行步骤204,否则,执行步骤205 ; [0044] 203: determining the type of controller to be refreshed, and verify that the controller of the type to be refreshed corresponding to the authorization file available, if yes, perform step 204, otherwise, perform step 205;

[0045] 其中,本实施例不对确定待刷新的控制器类型进行限定,由于不同的软件对应不同的控制器类型,如果获取多个有效的授权文件,则根据授权文件确定的控制器类型可以有多种,因此,具体对哪种类型的控制器中的软件进行刷新,需要进一步确定,本实施例不对确定方式进行具体限定。 [0045] wherein the controller determines the present embodiment does not limit the type to be refreshed, since different software corresponding to different controller types, if the plurality of acquired valid authorization file, the controller may have the authorization file according to the determined type more, therefore, specific for which type of controller software refresh is needed to determine, according to the present embodiment does not determine the manner specifically defined. 实际操作中,用户希望对哪种类型的控制器中的软件进行刷新, 即可将该控制器连接到与刷新软件的装置所对应的配套设备上,并在连接成功后,在已确定的控制器类型中进行选择,将选择的控制器类型作为待刷新的控制器类型。 In practice, the user desires to what type of software refresh controller, the controller can be connected to the equipment and the software of the device corresponding to refresh, and the connection is successful, the control determined selecting the type, the type of controller selected as a controller of the type to be refreshed. 具体连接方式也可由用户选择决定,例如,用户可以选择以USB(UniVerSal Serial BUS,通用串行总线)接口的方式将控制器连接到与刷新软件的装置所对应的配套设备上,或是选择其它连接方式,本实施例对此不作具体限定。 DETAILED connection is also determined by the user to select, for example, a user may select to USB (UniVerSal Serial BUS, a Universal Serial Bus) interface manner to the equipment connected to the controller means updates the corresponding software, or select another connection, the present embodiment is not specifically limited in this embodiment.

[0046] 关于如何验证待刷新的控制器类型对应的授权文件是否可用,本实施例同样不做具体限定,为了合理使用授权文件,授权文件除了包括授权文件的授权号之外,还可以包括授权文件剩余的使用次数,通过限制授权文件的使用次数,达到合理使用授权文件的目的。 [0046] authorization file type corresponding to how the verification controller is available to be refreshed, the same embodiment of the present embodiment is not specifically limited, for the rational use of the authorization file, in addition to the authorization file authorization number comprising an authorization file, but also may include an authorization the remaining number of files used by limiting the frequency of use authorization documents, the purpose of rational use of the authorization file. 对于授权文件的使用次数,可根据实际情况进行设定,本实施例对此不做限定。 For the number of the license file, may be set according to actual situation, the present embodiment is not limited to this embodiment. 验证待刷新的控制器类型对应的授权文件是否可用时,可通过如下方式实现: Verify whether to be refreshed license file corresponding to the controller type is available, it can be achieved by:

[0047] 判断控制器类型对应的授权文件是否有剩余的使用次数,如果是,则验证待刷新的控制器类型对应的授权文件可用,否则,验证待刷新的控制器类型对应的授权文件不可用。 [0047] The controller determines whether the license file corresponding to the type of number of remaining there, in which case, the verification controller corresponding to the type of authorization file available to be refreshed, otherwise, the verification controller corresponding to the type of files to be refreshed license is not available .

[0048] 204 :刷新待刷新的控制器类型对应的软件,流程结束; [0048] 204: a refresh controller corresponding to the type of software to be refreshed, the flow ends;

[0049] 针对该步骤,可通过现有技术实现对控制器中的软件进行刷新,本实施例不对具体刷新方式进行限定。 [0049] In this step, can be achieved by the prior art controller software refresh, the present embodiment does not particularly limit the refresh mode.

[0050] 可选地,验证待刷新的控制器类型对应的授权文件是否可用之后,还可以显示控制器类型对应的授权文件信息,关于显示方式及授权文件信息的具体内容,本实施例不做具体限定。 [0050] Alternatively, after verification whether the corresponding controller type to be refreshed license file is available, the controller can also display information file corresponding to the type of authorization, the authorization method and the specific content display information about the file, embodiments of the present embodiment is not particularly limited. 例如,可在窗口内显示授权文件剩余的使用次数等信息。 For example, the information may be displayed in the remaining number of times of the authorization file in the window. [0051] 205 :提示错误信息,流程结束。 [0051] 205: an error message, the process ends.

[0052] 该步骤为可选步骤,当验证待刷新的控制器类型对应的授权文件不可用之后,通过提示错误信息使用户在刷新软件的过程中可以获知确切的刷新状态。 [0052] This step is optional, when the controller corresponding to the type of authentication to be refreshed license file is not available, an error message by the user can be informed that the exact refresh state during refresh software. 关于错误信息的内容,可以根据不同情况进行提示,本实施例对此不作具体限定。 About error message may be prompted depending on the circumstances, the present embodiment is not specifically limited in this embodiment. 例如,当前授权文件剩余的使用次数为零时,可提示用户无使用该授权文件的权限,以便用户采取其他方式进行软件刷新。 For example, when the current authorization documents use the remaining number of zero, it may prompt the user no rights to use the license document, so that users take other ways software refresh.

[0053] 本实施例提供的方法,通过获取有效的授权文件,并在验证待刷新的控制器类型对应的授权文件可用之后,刷新待刷新的控制器类型对应的软件,从而实现对控制器中的软件进行及时地刷新,进而提升控制器的性能;另外,通过对授权文件的使用次数进行限制,可以保证授权文件被合理使用。 [0053] The method of the present embodiment is provided, by obtaining a valid license file, the verification controller and corresponding to the type of controller software corresponding to the type after the authorization file available to be refreshed, the refresh to be refreshed, in order to achieve the controller software timely refresh, and thus enhance the performance of the controller; in addition, by limiting the number of times the license file, you can ensure the rational use of the authorization file.

[0054] 实施例三 [0054] Example three

[0055] 参见图3,本实施例提供了一种刷新软件的装置,该装置包括: [0055] Referring to Figure 3, the present embodiment provides an apparatus for refreshing the software, the apparatus comprising:

[0056] 获取模块301,用于获取有效的授权文件; [0056] The obtaining module 301, configured to obtain a valid authorization file;

[0057] 第一确定模块302,用于根据获取模块301获取到的有效的授权文件确定对应的控制器类型; [0057] The first determining module 302, 301 for a valid license file acquired by acquisition module determines in accordance with the corresponding controller type;

[0058] 第二确定模块303,用于在第一确定模块302确定的控制器类型中确定待刷新的控制器类型; [0058] The second determination module 303, a controller for determining the type to be refreshed in the controller of the first type determination module 302 determines in;

[0059] 验证模块304,用于验证第二确定模块303确定的待刷新的控制器类型对应的授权文件是否可用; [0059] The verification module 304 for verifying whether the second determination module 303 determines the type of control to be refreshed corresponding to the authorization file available;

[0060] 刷新模块305,用于在验证模块304验证待刷新的控制器类型对应的授权文件可用之后,刷新待刷新的控制器类型对应的软件。 [0060] The refresh module 305, a controller software corresponding to the type of the module after the authentication verification controller 304 corresponding to the type of authorization file available to be refreshed, the refresh to be refreshed.

[0061] 其中,参见图4,获取模块301,具体包括: [0061] wherein, referring to Figure 4, the acquisition module 301, comprises:

[0062] 第一读取单元301a,用于读取设备序列号; [0062] The first reading unit 301a, for reading the serial number;

[0063] 查找单元301b,用于查找指定目录是否有可用的授权文件; [0063] The searching unit 301b, whether the directory is available for the specified authorization file;

[0064] 第二读取单元301c,用于在查找单元301b查找到可用的授权文件之后,读取并解密授权文件,得到授权文件的授权号; After [0064] The second reading unit 301c, for finding the authorization file available to the search unit 301b, reads and decrypts the authorization file, authorized, authorized document;

[0065] 获取单元301d,用于比较第二读取单元301c读取的授权文件的授权号与第一读取单元301a读取的序列号是否一致,如果一致,则判断授权文件有效,并将授权文件存放到授权队列中。 [0065] acquiring unit 301d, whether a serial number authorization number comparing authorization file read by the second reading unit 301c of the first reading unit 301a reads the same, if yes, determines the authorization file is valid, and authorization to the authorization files are stored in the queue.

[0066] 具体地,验证模块304,具体用于判断第二确定模块303确定的待刷新的控制器类型对应的授权文件是否有剩余的使用次数,如果是,则验证待刷新的控制器类型对应的授权文件可用,否则,验证待刷新的控制器类型对应的授权文件不可用。 [0066] In particular, authentication module 304, particularly for determining whether a second determination module 303 determines the type of the controller corresponding license file has to be refreshed remaining number of uses, if so, the verification controller corresponding to the type to be refreshed the license file is available, otherwise, the verification controller corresponding to the type of files to be refreshed license is not available.

[0067] 可选地,参见图5,该装置,还包括: [0067] Alternatively, referring to Figure 5, the apparatus further comprising:

[0068] 提示模块306,用于在验证模块304验证待刷新的控制器类型对应的授权文件不可用之后,提示错误信息。 [0068] prompt module 306, verification module 304 for verification after the controller corresponding to the type of files to be refreshed license is not available, an error message.

[0069] 参见图6,该装置,还包括: [0069] Referring to Figure 6, the apparatus further comprising:

[0070] 显示模块307,用于显示控制器类型对应的授权文件信息。 [0070] The display module 307, for the display controller type information corresponding to the authorization file.

[0071] 综上所述,本实施例提供的装置,通过获取有效的授权文件,并在验证待刷新的控制器类型对应的授权文件可用之后,刷新待刷新的控制器类型对应的软件,从而实现对控制器中的软件进行及时地刷新,进而提升控制器的性能;另外,通过对授权文件的使用次数进行限制,可以保证授权文件被合理使用。 [0071] In summary, the device according to this embodiment, by obtaining a valid license file, the verification controller and corresponding to the type of controller software corresponding to the type after the authorization file available to be refreshed, the refresh to be refreshed, so that the realization of the controller software in a timely manner refresh, and thus enhance the performance of the controller; in addition, by limiting the number of times the license file, you can ensure the rational use of the authorization file.

[0072] 需要说明的是:上述实施例提供的刷新软件的装置在刷新软件时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。 [0072] Incidentally: means updates the software in the above-described embodiments provide refresh software division of the foregoing functional modules is illustrated, in practice, it may be assigned different functions required by the above-described functions completed module, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above. 另外,上述实施例提供的刷新软件的装置与刷新软件的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。 Further, the procedure of the software refresh means a refresh software embodiment provides the same conception of the embodiment, the specific embodiments of the method implementation process will not be repeated here.

[0073] 上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。 Embodiment [0073] The present invention No. merely for description, the embodiments do not represent the merits embodiment.

[0074] 本发明实施例中的全部或部分步骤,可以利用软件实现,相应的软件程序可以存储在可读取的存储介质中,如光盘或硬盘等。 Example embodiments all or part of steps of [0074] the present invention may be implemented using software, the corresponding software program may be stored in a readable storage medium, such as an optical disk or a hard disk and the like.

[0075] 以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 [0075] The foregoing is only preferred embodiments of the present invention, not intended to limit the present invention within the spirit and principle of the present invention, any modification, equivalent replacement, or improvement, it should be included in the present within the scope of the invention.

Claims (10)

  1. 一种刷新软件的方法,其特征在于,所述方法包括:获取有效的授权文件;根据所述有效的授权文件确定对应的控制器类型;确定待刷新的控制器类型,并验证所述待刷新的控制器类型对应的授权文件是否可用,如果是,则刷新所述待刷新的控制器类型对应的软件。 A method of software refresh, characterized in that, said method comprising: obtaining a valid authorization file; determining a corresponding type of controller in accordance with the valid authorization file; type controller determines to be refreshed, and the verification to be refreshed whether the license file corresponding to the controller type is available, if yes, the refresh controller software corresponding to the type to be refreshed.
  2. 2.根据权利要求1所述的方法,其特征在于,所述获取有效的授权文件,具体包括: 读取设备序列号,并查找指定目录是否有可用的授权文件;如果是,则读取并解密所述授权文件,得到所述授权文件的授权号,比较所述授权文件的授权号与读取的所述序列号是否一致,如果一致,则判断所述授权文件有效,并将所述有效的授权文件存放到授权队列中。 2. The method according to claim 1, wherein said obtaining a valid license file, comprises: a reading device serial number, and find out whether the directory specified in the authorization file available; if so, reads and decrypting the authorization files, the authorization number of the authorized document, whether to authorize the authorization file number comparing with the same serial number is read, if yes, determines the authorization file is valid, and the active authorization to the authorization files are stored in the queue.
  3. 3.根据权利要求1所述的方法,其特征在于,所述授权文件至少包括:所述授权文件的授权号及剩余的使用次数;相应地,所述验证所述待刷新的控制器类型对应的授权文件是否可用,具体包括: 判断所述待刷新的控制器类型对应的授权文件是否有剩余的使用次数,如果是,则验证所述待刷新的控制器类型对应的授权文件可用,否则,验证所述待刷新的控制器类型对应的授权文件不可用。 3. The method according to claim 1, characterized in that the authorization file comprising at least: the authorization number and the authorization file of the remaining number of uses; accordingly, the type corresponding to the verification controller to be refreshed the license file is available comprises: determining whether the controller of the type to be refreshed with a license file corresponding to the remaining number of times, in which case, the verification controller type corresponding to the authorization file available to be refreshed, otherwise, corresponding to the type of the verification controller to be refreshed license file is not available.
  4. 4.根据权利要求1至3任一权利要求所述的方法,其特征在于,所述验证所述待刷新的控制器类型对应的授权文件是否可用之后,还包括:在验证所述待刷新的控制器类型对应的授权文件不可用之后,提示错误信息。 After 4. The method according to any one of claims 1 to 3, characterized in that the verification whether the refresh controller of the type to be corresponding to the authorization file available claims, further comprising: verifying said to be refreshed after the controller type corresponding authorization document is not available, an error message.
  5. 5.根据权利要求1至3任一权利要求所述的方法,其特征在于,所述验证所述待刷新的控制器类型对应的授权文件是否可用之后,还包括:显示所述控制器类型对应的授权文件信息。 The method according to any one of claims 1 to 3, characterized in that, after the controller type corresponding to whether the authorization file available to be refreshed the verification claim further comprising: the display controller corresponding to the type the authorization file information.
  6. 6.一种刷新软件的装置,其特征在于,所述装置包括: 获取模块,用于获取有效的授权文件;第一确定模块,用于根据所述获取模块获取到的有效的授权文件确定对应的控制器类型;第二确定模块,用于在所述第一确定模块确定的控制器类型中确定待刷新的控制器类型;验证模块,用于验证所述第二确定模块确定的待刷新的控制器类型对应的授权文件是否可用;刷新模块,用于在所述验证模块验证所述待刷新的控制器类型对应的授权文件可用之后,刷新所述待刷新的控制器类型对应的软件。 A refresh software means, characterized in that said apparatus comprises: an obtaining module, configured to obtain a valid authorization file; a first determining module configured to determine a corresponding valid according to the obtained authorization file acquired module controller type; a second determining module configured to determine the type of the controller type of the controller to be refreshed in the first determination module determines in; authentication module for verifying the second determining module to be refreshed determined whether the license file corresponding to the controller type is available; refresh module for the verification of the authentication module to be refreshed after a license file corresponding to the controller type is available, the refresh controller software corresponding to the type to be refreshed.
  7. 7.根据权利要求6所述的装置,其特征在于,所述获取模块,具体包括: 第一读取单元,用于读取设备序列号;查找单元,用于查找指定目录是否有可用的授权文件;第二读取单元,用于在所述查找单元查找到可用的授权文件之后,读取并解密所述授权文件,得到所述授权文件的授权号;获取单元,用于比较所述第二读取单元读取的授权文件的授权号与所述第一读取单元读取的所述序列号是否一致,如果一致,则判断所述授权文件有效,并将所述授权文件存放到授权队列中。 7. The device according to claim 6, wherein the obtaining module comprises: a first reading unit for reading the serial number; searching unit configured to specify a directory to find whether authorization is available file; a second reading unit, the searching unit for, after authorization file available to find, read and decrypt the authorization files, the authorization number of the authorized document; obtaining unit for comparing said first if the sequence number of the authorization number two authorization file reading unit in the first reading unit coincide, if yes, determines the authorization file is valid, and stores the authorization file to authorize queue.
  8. 8.根据权利要求6所述的装置,其特征在于,所述验证模块,具体用于判断所述第二确定模块确定的待刷新的控制器类型对应的授权文件是否有剩余的使用次数,如果是,则验证所述待刷新的控制器类型对应的授权文件可用,否则,验证所述待刷新的控制器类型对应的授权文件不可用。 8. The apparatus according to claim 6, wherein the verification module is configured to determine whether the second determining module determines to be refreshed license file corresponding to the controller type has a remaining number of uses, if is the verification of the controller corresponding to the type to be refreshed license file is available, otherwise, the verification controller corresponding to the type of the files to be refreshed license is not available.
  9. 9.根据权利要求6至8任一权利要求所述的装置,其特征在于,所述装置,还包括: 提示模块,用于在所述验证模块验证所述待刷新的控制器类型对应的授权文件不可用之后,提示错误信息。 9. The device according to any one of claims 6 to 8, according to one of the preceding claims, characterized in that, said apparatus further comprising: prompt means for verifying the verification module in the controller to be refreshed corresponding to the type of licensing after the file is not available, an error message.
  10. 10.根据权利要求6至8任一权利要求所述的装置,其特征在于,所述装置,还包括: 显示模块,用于显示所述控制器类型对应的授权文件信息。 10. The apparatus according to any one of claims 6 to 8, according to one of the preceding claims, characterized in that, said apparatus further comprising: a display module for displaying the control information corresponding to the type of authorization file.
CN 201010186543 2010-05-25 2010-05-25 Method and device for updating software CN101825875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010186543 CN101825875A (en) 2010-05-25 2010-05-25 Method and device for updating software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010186543 CN101825875A (en) 2010-05-25 2010-05-25 Method and device for updating software

Publications (1)

Publication Number Publication Date
CN101825875A true CN101825875A (en) 2010-09-08

Family

ID=42689830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010186543 CN101825875A (en) 2010-05-25 2010-05-25 Method and device for updating software

Country Status (1)

Country Link
CN (1) CN101825875A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103201138A (en) * 2010-10-29 2013-07-10 本田技研工业株式会社 Program rewriting system for vehicles
CN103713527A (en) * 2012-09-29 2014-04-09 博世汽车部件(苏州)有限公司 Refreshing method, writing apparatus and writing system for automobile electronic controller
CN104155882A (en) * 2014-06-06 2014-11-19 奇瑞汽车股份有限公司 Method and system for refreshing automatic transmission control unit
CN105511923A (en) * 2015-12-11 2016-04-20 浪潮电子信息产业股份有限公司 Tool for refreshing FRU (field replaceable unit) in MS-DOS (Microsoft disk operating system) on basis of IPMICFG
CN105549997A (en) * 2015-12-11 2016-05-04 浪潮电子信息产业股份有限公司 FRU refreshing tool under Linux system based on fru-change
CN106033220A (en) * 2015-03-17 2016-10-19 广州汽车集团股份有限公司 Method of detecting ECU Flash erasing and writing state and system thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696900A (en) * 2004-05-13 2005-11-16 通用汽车公司 Method and system for remote reflash
CN101266492A (en) * 2008-04-29 2008-09-17 上海汽车集团股份有限公司 Vehicle diagnostic device calibration software configuration administrative system and method
CN101286066A (en) * 2007-12-28 2008-10-15 奇瑞汽车股份有限公司 Automobile controller software refreshing method
US20090119657A1 (en) * 2007-10-24 2009-05-07 Link Ii Charles M Methods and systems for software upgrades

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696900A (en) * 2004-05-13 2005-11-16 通用汽车公司 Method and system for remote reflash
US20090119657A1 (en) * 2007-10-24 2009-05-07 Link Ii Charles M Methods and systems for software upgrades
CN101286066A (en) * 2007-12-28 2008-10-15 奇瑞汽车股份有限公司 Automobile controller software refreshing method
CN101266492A (en) * 2008-04-29 2008-09-17 上海汽车集团股份有限公司 Vehicle diagnostic device calibration software configuration administrative system and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103201138A (en) * 2010-10-29 2013-07-10 本田技研工业株式会社 Program rewriting system for vehicles
CN103713527A (en) * 2012-09-29 2014-04-09 博世汽车部件(苏州)有限公司 Refreshing method, writing apparatus and writing system for automobile electronic controller
CN103713527B (en) * 2012-09-29 2017-03-22 博世汽车部件(苏州)有限公司 The method of refreshing a vehicle electronic controller, and a writing means writing brush brush system
CN104155882A (en) * 2014-06-06 2014-11-19 奇瑞汽车股份有限公司 Method and system for refreshing automatic transmission control unit
CN104155882B (en) * 2014-06-06 2017-03-15 奇瑞控股有限公司 An automatic transmission control method and system for cell refresh
CN106033220A (en) * 2015-03-17 2016-10-19 广州汽车集团股份有限公司 Method of detecting ECU Flash erasing and writing state and system thereof
CN105511923A (en) * 2015-12-11 2016-04-20 浪潮电子信息产业股份有限公司 Tool for refreshing FRU (field replaceable unit) in MS-DOS (Microsoft disk operating system) on basis of IPMICFG
CN105549997A (en) * 2015-12-11 2016-05-04 浪潮电子信息产业股份有限公司 FRU refreshing tool under Linux system based on fru-change

Similar Documents

Publication Publication Date Title
CN104057919B (en) For a vehicle biometric access and personalized service system
US9280337B2 (en) Secured distribution of software updates
US9626513B1 (en) Trusted modular firmware update using digital certificate
JP5411122B2 (en) The information processing apparatus
US8238811B2 (en) Cross-transport authentication
KR101000191B1 (en) Secure software updates
US7712086B2 (en) Portable applications
US8509691B2 (en) Accessory device authentication
US20120331527A1 (en) Multi-layer, geolocation-based network resource access and permissions
US9450941B2 (en) Recovery of managed security credentials
US7958562B2 (en) Document access management system
US20130198822A1 (en) Authentication Management Services
US8560839B2 (en) Tamper proof location services
JP2008098765A (en) Information processing apparatus, information processing method, and computer program
US20090031418A1 (en) Computer, method for controlling access to computer resource, and access control program
US20110247013A1 (en) Method for Communicating Between Applications on an External Device and Vehicle Systems
KR20100126478A (en) System and method of authorizing execution of software code based on accessible entitlements
GB2449834A (en) Identity and access management framework
US8856553B2 (en) Managing self-encrypting drives in decentralized environments
EP3140981A1 (en) Application customization
US20070055881A1 (en) Method for securely exchanging public key certificates in an electronic device
US20130185764A1 (en) File system access for one or more sandboxed applications
CN101099211A (en) Protection method for shared content, method and apparatus for reproducing a data recorded in recording medium using a local storage
US8863250B2 (en) Logout from multiple network sites
US8819795B2 (en) Presenting managed security credentials to network sites

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C12 Rejection of an application for a patent