CN103677827A - Chip configuration method and device - Google Patents

Chip configuration method and device Download PDF

Info

Publication number
CN103677827A
CN103677827A CN201310671563.9A CN201310671563A CN103677827A CN 103677827 A CN103677827 A CN 103677827A CN 201310671563 A CN201310671563 A CN 201310671563A CN 103677827 A CN103677827 A CN 103677827A
Authority
CN
China
Prior art keywords
plug
unit
chip
configuration
catalogue
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
CN201310671563.9A
Other languages
Chinese (zh)
Other versions
CN103677827B (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.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech 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 Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201310671563.9A priority Critical patent/CN103677827B/en
Publication of CN103677827A publication Critical patent/CN103677827A/en
Application granted granted Critical
Publication of CN103677827B publication Critical patent/CN103677827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a chip configuration method and device which are applied to configuration tools comprising plugin directories. The method comprises the steps that whether chips related to plugins belonging to the plugin directories of the configuration tools exist is determined, the plugins belonging to the plugin directories of the configuration tools are plugins of at least one configuration module in a protocol stack, and the configuration modules are in one-to-one correspondence with the plugins; when the chips related to plugins belonging to the plugin directories exist, a first interactive interface is displayed, and chip identification related to the plugin directories is displayed on the first interactive interface; a second interactive interface is displayed on the basis of the chip identification, selected by a user, on the first interactive interface, and identification of the configuration modules corresponding to the plugins is displayed on the second interactive interface, and the plugins belong to the plugin directories and are related to the chip identification selected by the user; configuration is conducted on the basis of the identification of the configuration modules, selected by the user, on the second interactive interface.

Description

A kind of chip configuration method and device
Technical field
The present invention relates to protocol stack arrangement technical field, relate in particular to a kind of chip configuration method and device.
Background technology
Configuration tool is in configuration modules all in protocol stack, to extract to hardware, deploy content that algorithm is relevant, to make a configuration software bag.
The scheme in prior art, the configuration module of chip being configured is: due to differences such as the buffer memory of chip, physical address assignments, this makes the content configuration hardware-related, algorithm is relevant also different, therefore for the chip of different moneys, adopt different configuration tools to be configured, thereby dissimilar configuration software bag is provided.For example, the interrupt vector of the filtering algorithm of the chip XEP100 of MSCAN and the Can driver module of chip TC1797, register algorithm, physical address, OS module, timer configure completely different, the configuration item content producing is also completely different, therefore, configuration tool has been divided into XEP100 configuration tool and TC1797 configuration tool.
Inventor finds in realizing the process of the invention: in existing allocation plan, configuration tool can only be configured the configuration module of a chip.
Summary of the invention
In view of this, the invention provides a kind of chip configuration method and device, in order to solve the problem that in prior art, configuration tool can only be configured the configuration module of a chip, its technical scheme is as follows:
A chip configuration method, is applied to configuration tool, and described configuration tool has plug-in unit catalogue, and described method comprises:
Determine whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with described configuration tool, the plug-in unit under the plug-in unit catalogue of described configuration tool is the plug-in unit of at least one configuration module in protocol stack, and configuration module is corresponding one by one with plug-in unit;
When there is the chip associated with plug-in unit under described plug-in unit catalogue, show the first interactive interface, the demonstration chip identification associated with plug-in unit under described plug-in unit catalogue on described the first interactive interface;
The chip identification of selecting on described the first interactive interface based on user shows the second interactive interface, the sign of the configuration module that the associated plug-in unit of the chip identification that shows on described the second interactive interface under described plug-in unit catalogue, select with user is corresponding;
The sign of the configuration module of selecting on described second contact surface based on user is configured.
Optionally, said method also comprises:
When not there is not the chip associated with plug-in unit under described plug-in unit catalogue, show described the second interactive interface, on described the second display interface, show the sign of the configuration module corresponding with all plug-in units under described plug-in unit catalogue.
Optionally, after determining the associated chip of plug-in unit under the plug-in unit catalogue existing with described configuration tool, before demonstration the first interactive interface, also comprise:
Determine whether that the plug-in unit under the plug-in unit catalogue of many moneys chip and described configuration tool is associated;
, show that the first interactive interface is specially: when plug-in unit under the plug-in unit catalogue that has many moneys chip and described configuration tool is associated, demonstration the first interactive interface.
Wherein, determine whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with described configuration tool to be specially:
Under the plug-in unit catalogue of described configuration tool, whether search there is the plug-in unit of chip, if there is the plug-in unit of described chip under the catalogue of described configuration tool, determine there is the associated chip of plug-in unit under the plug-in unit catalogue with described configuration tool, otherwise, determine the associated chip of plug-in unit under the plug-in unit catalogue do not exist with described configuration tool.
Wherein, the associated plug-in unit of chip that described and user selects comprises: the plug-in unit of the configuration module that hardware configuration is relevant with the chip identification that user selects, and, the plug-in unit of the configuration module that the chip identification of hardware configuration and user's selection is irrelevant;
The described chip identification of selecting on described the first interactive interface based on user shows the second interactive interface, comprising:
Under the plug-in unit catalogue of described configuration tool, search for the plug-in unit of the hardware configuration configuration module relevant with the chip identification of user's selection, and, the plug-in unit of the configuration module that chip identification that hardware configuration and user select is irrelevant, and the plug-in unit of the irrelevant configuration module of the chip identification selected of the plug-in unit of the relevant configuration module of the chip identification that the described hardware configuration searching is selected with user and described hardware configuration and user is as the associated plug-in unit of chip identification described and user's selection;
After searching the plug-in unit associated with the chip identification of user's selection, show the second interactive interface, on described the second interactive interface, show the sign of the configuration module corresponding with the plug-in unit searching.
A chip configuration device, is applied to configuration tool, and described configuration tool has plug-in unit catalogue, and described device comprises:
The first determining unit, for determining whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with described configuration tool, plug-in unit under the plug-in unit catalogue of described configuration tool is the plug-in unit of at least one configuration module in protocol stack, and configuration module is corresponding one by one with plug-in unit;
The first display unit, while there is the chip associated with plug-in unit under described plug-in unit catalogue for determining when described the first determining unit, shows the first interactive interface, the demonstration chip identification associated with plug-in unit under described plug-in unit catalogue on the first interactive interface;
The second display unit, for the chip identification of selecting on described the first interactive interface showing at described the first display unit based on user, show the second interactive interface, the sign of the configuration module show under described plug-in unit catalogue, the plug-in unit associated with the chip identification of user's selection being corresponding on described the second interactive interface;
Dispensing unit, is configured for the sign of the configuration module selected on the described second contact surface showing at described the second display unit based on user.
Optionally, described device also comprises:
The 3rd display unit, while there is not the chip associated with plug-in unit under described plug-in unit catalogue for determining when described the first determining unit, show described the second interactive interface, on described the second display interface, show the sign of the configuration module corresponding with all plug-in units under described plug-in unit catalogue.
Optionally, described device also comprises:
The second determining unit, for after determining the associated chip of plug-in unit under the plug-in unit catalogue existing with described configuration tool, before demonstration the first interactive interface, determines whether that the plug-in unit under the plug-in unit catalogue of many moneys chip and described configuration tool is associated;
Described the first display unit specifically for, when plug-in unit under the plug-in unit catalogue that has many moneys chip and described configuration tool is associated, show the first interactive interface.
Wherein, described the first determining unit comprises:
The first search subelement, for searching for the plug-in unit that whether has chip under the plug-in unit catalogue in described configuration tool;
Determine subelement, while being used for having the plug-in unit of described chip under the catalogue of described configuration tool, determine there is the associated chip identification of plug-in unit under the plug-in unit catalogue with described configuration tool, otherwise, the associated chip identification of plug-in unit under definite plug-in unit catalogue not existing with described configuration tool.
Wherein, the associated plug-in unit of chip that described and user selects comprises: the plug-in unit of the configuration module that hardware configuration is relevant with the chip identification that user selects, and, the plug-in unit of the configuration module that the chip identification of hardware configuration and user's selection is irrelevant;
Described the second display unit comprises:
The second search subelement, for search for the plug-in unit of the hardware configuration configuration module relevant with the chip identification of user's selection under the plug-in unit catalogue of described configuration tool, and, the plug-in unit of the configuration module that chip identification that hardware configuration and user select is irrelevant, and the plug-in unit of the irrelevant configuration module of the chip identification selected of the plug-in unit of the relevant configuration module of the chip identification that the described hardware configuration searching is selected with user and described hardware configuration and user is as the associated plug-in unit of chip identification described and user's selection;
Show subelement, for searching after the associated plug-in unit of the described chip identification of selecting with user at described the second search subelement, show the second interactive interface, on described the second interactive interface, show the sign of the configuration module corresponding with the plug-in unit searching.
Technique scheme has following beneficial effect:
Chip configuration method provided by the invention and device, by by configuration module plug-in unit, make the corresponding plug-in unit of a configuration module, the plug-in unit that can comprise many moneys chip under the plug-in unit catalogue of configuration tool, this makes is that configuration tool has the configuration feature to many moneys chip, when configuration module is configured, under plug-in unit catalogue due to configuration tool, may exist the plug-in unit of chip also may not have the plug-in unit of chip, therefore, need to first determine the plug-in unit that whether has chip under plug-in unit catalogue, while there is chip card under plug-in unit catalogue, (may there is the plug-in unit of many moneys chip), need further to determine which kind of chip is configured, after determining the chip that needs configuration, need to determine and need the configuration module of configuration configuration by the plug-in unit of this chip under config directory.The chip configuration method that the embodiment of the present invention provides and device can be realized the configuration module of the chip of different moneys is configured.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
The schematic flow sheet of a kind of chip configuration method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of chip configuration method that Fig. 2 provides for the embodiment of the present invention;
The Organization Chart of the configuration tool based on OSGI framework that Fig. 3 provides for the embodiment of the present invention;
The chip identification of selecting on the first interactive interface based on user in the chip configuration method that Fig. 4 provides for inventive embodiments shows the schematic flow sheet of a kind of possible implementation of the second interactive interface;
In the chip configuration method that Fig. 5 provides for the embodiment of the present invention, the schematic diagram of the second interactive interface that the chip identification of selecting based on user shows;
In the chip configuration method that Fig. 6 provides for the embodiment of the present invention, the schematic diagram of the second interactive interface showing while there is no chip card under plug-in unit catalogue;
In the chip configuration method that Fig. 7 provides for the embodiment of the present invention, when having chip card and there is no chip card under plug-in unit catalogue, the configuration interface schematic diagram of configuration tool;
The structural representation of a kind of chip configuration device that Fig. 8 provides for the embodiment of the present invention;
The structural representation of the another kind of chip configuration device that Fig. 9 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, the schematic flow sheet of a kind of chip configuration method providing for the embodiment of the present invention, this collocation method is applied to configuration tool, and configuration tool has plug-in unit catalogue, and the method that the embodiment of the present invention provides can comprise:
Step S101: determine whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with configuration tool.
Wherein, the plug-in unit under the plug-in unit catalogue of configuration tool is the plug-in unit of at least one configuration module in protocol stack.
In the present embodiment, to configuration module plug-in unit, make the corresponding plug-in unit of a configuration module, that is, configuration module is corresponding one by one with plug-in unit.Need to use which configuration module, corresponding plug-in unit is put under the plug-in unit catalogue of configuration tool platform, configuration tool will have the function of corresponding configuration module.Configuration tool can be added the plug-in unit of many moneys chip, if there is the plug-in unit of chip under the plug-in unit catalogue of configuration tool, configuration tool has the configuration feature to this chip.
In a kind of possible implementation, determine whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with configuration tool to be specially: when configuration tool starts, under the plug-in unit catalogue of configuration tool, whether search has the plug-in unit of chip, if have chip card under the plug-in unit catalogue of configuration tool, determine there is the associated chip of plug-in unit under the plug-in unit catalogue with configuration tool, otherwise, determine the associated chip of plug-in unit under the plug-in unit catalogue do not exist with configuration tool.
Step S102: when there is the chip associated with plug-in unit under plug-in unit catalogue, show the first interactive interface, the demonstration chip identification associated with plug-in unit under plug-in unit catalogue on the first interactive interface.
Wherein, the chip identification associated with plug-in unit under plug-in unit catalogue be with plug-in unit catalogue under the sign of the associated chip of plug-in unit.The sign of chip can but be not defined as the title of chip.
Step S103: the chip identification of selecting on the first interactive interface based on user shows the second interactive interface, and the sign of configuration module corresponding to the associated plug-in unit of the chip identification that shows on the second interactive interface under plug-in unit catalogue, selects with user.
Wherein, the sign of configuration module can but be not defined as the title of configuration module.
Wherein, the associated plug-in unit of chip of selecting with user comprises: the plug-in unit of the configuration module that hardware configuration is relevant with the chip that user selects, and, the plug-in unit of the configuration module that the chip of hardware configuration and user's selection is irrelevant.
Step S104: the sign of the configuration module of selecting on second contact surface based on user is configured.
The chip configuration method that the embodiment of the present invention provides, by by configuration module plug-in unit, make the corresponding plug-in unit of a configuration module, the plug-in unit that can comprise many moneys chip under the plug-in unit catalogue of configuration tool, this makes is that configuration tool has the configuration feature to many moneys chip, when configuration module is configured, under plug-in unit catalogue due to configuration tool, may exist the plug-in unit of chip also may not have the plug-in unit of chip, therefore, need to first determine the plug-in unit that whether has chip under plug-in unit catalogue, while there is chip card under plug-in unit catalogue, (may there is the plug-in unit of many moneys chip), need further to determine which kind of chip is configured, after determining the chip that needs configuration, need to determine and need the configuration module of configuration configuration by the plug-in unit of this chip under config directory.The chip configuration method that the embodiment of the present invention provides can realize the configuration module of the chip of different moneys is configured.
Refer to Fig. 2, the schematic flow sheet of the another kind of chip configuration method providing for the embodiment of the present invention, this collocation method is applied to configuration tool, and this configuration tool has plug-in unit catalogue, and the method that the embodiment of the present invention provides can comprise:
Step S201: determine whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with configuration tool.
Wherein, the plug-in unit under the plug-in unit catalogue of configuration tool is the plug-in unit of at least one configuration module in protocol stack.
Concrete, configuration tool in the present embodiment can be the configuration tool based on OSGI framework, Fig. 3 shows the framework of this configuration tool, this configuration tool adopts plug-in management mode, to configuration module plug-in unit, make the corresponding plug-in unit of a configuration module, that is, configuration module is corresponding one by one with plug-in unit.For example, the modules such as OS module, Can module, CanIf module, OsekNm module, Com module, Tp module, Ccp module, Dcm module, BootLoader all have respectively individual plug-in unit, if need to use which configuration module, corresponding plug-in unit is put under the plug-in unit catalogue of configuration tool platform, configuration tool will have the function of corresponding configuration module.If need to increase different chips, the plug-in unit of different chips is placed under the plug-in unit catalogue of configuration tool, configuration tool will increase the configuration of related chip.If the configuration tool later stage need to increase the configuration feature of a configuration module, only the plug-in unit of the configuration module of this later development need to be put under the plug-in unit catalogue of configuration tool.If configuration tool platform does not need the configuration feature of certain configuration module, under the plug-in unit catalogue of configuration tool, delete the plug-in unit of this configuration module.When certain configuration module in protocol stack need to be upgraded, the corresponding plug-in unit of only need to upgrading, this configuration module in configuration tool in all chips just can be realized whole upgrading, reduce upgrade job amount, for example, if need to upgrade Com module, the plug-in unit of the Com module of only need to upgrading, and in original configuration tool platform, replace original Com module plug-in, so just completed the upgrading of protocol stack Com module in configuration tool.
In a kind of possible implementation, determine whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with configuration tool to be specially: when configuration tool starts, under the plug-in unit catalogue of configuration tool, whether search has chip card, if have chip card under the plug-in unit catalogue of configuration tool, determine there is the associated chip of plug-in unit under the plug-in unit catalogue with configuration tool, otherwise, determine the associated chip of plug-in unit under the plug-in unit catalogue do not exist with configuration tool.
Step S202a: when there is the chip associated with plug-in unit under plug-in unit catalogue, show the first interactive interface, and on the first interactive interface the sign of the demonstration chip associated with plug-in unit under plug-in unit catalogue, then proceed to step S203a.
Wherein, the sign of chip can be the title of chip.
Step S203a: the chip identification of selecting on the first interactive interface based on user shows the second interactive interface, and the sign of configuration module corresponding to the associated plug-in unit of the chip identification that shows on the second interactive interface under plug-in unit catalogue, selects with user.
Wherein, the sign of configuration module can but be not defined as the title of configuration module.
Wherein, the associated plug-in unit of chip of selecting with user comprises: the plug-in unit of the configuration module that hardware configuration is relevant with the chip that user selects, and, the plug-in unit of the configuration module that the chip of hardware configuration and user's selection is irrelevant.
Refer to Fig. 4, the sign of the chip of selecting on the first interactive interface based on user in the chip configuration method providing for inventive embodiments shows can comprise the schematic flow sheet of a kind of possible implementation of the second interactive interface:
Step S401: the plug-in unit of searching for the hardware configuration configuration module relevant with the chip identification of user's selection under the plug-in unit catalogue of configuration tool, and, the plug-in unit of the configuration module that chip identification that hardware configuration and user select is irrelevant, and the plug-in unit of the irrelevant configuration module of the plug-in unit of the relevant configuration module of the chip identification that the hardware configuration searching is selected with user and hardware configuration and the chip identification of user's selection is as the associated plug-in unit of the chip identification with user's selection.
Step S402: after searching the plug-in unit associated with the chip identification of user's selection, show the second interactive interface, show the sign of the configuration module corresponding with the plug-in unit searching on the second interactive interface.
Concrete, the module that hardware configuration is relevant to chip has Can driver module, CanIf module (with Can drive be bind together with configuration), the modules such as OS module, these modules to dispose part hardware configuration relevant to chip, some chips have, some chips do not have, for example, for Can driver module, the physical address of every money chip is different, the filtering algorithm of every kind of chip model is inconsistent, register value computing method are different etc., for OS module, the interrupt source of every kind of chip model is inconsistent, part hardware configuration item is inconsistent, set timer method is inconsistent etc.The irrelevant module of hardware configuration and chip has the modules such as Com module, Dcm module, Ccp module, Tp module, Nm module, these modules in protocol stack as general plug-in unit, which kind of chip no matter, processing mode is all the same, generates configuration code disposal route all the same.
Show after the second interactive interface, return to collocation method flow process:
Step S204: the sign of the configuration module of selecting on second contact surface based on user is configured.
Above-mentioned steps S202a~step S204 has provided the configuration flow when there is the chip associated with plug-in unit under plug-in unit catalogue, provides the configuration flow when not there is not the chip associated with plug-in unit under plug-in unit catalogue below:
Step S202b: when not there is not the chip associated with plug-in unit under plug-in unit catalogue, show the second interactive interface, and show the sign of the configuration module corresponding with all plug-in units under plug-in unit catalogue on the second display interface, then proceed to step S204.
When not there is not the chip associated with plug-in unit under plug-in unit catalogue, chipless plug-in unit under plug-in unit catalogue, now, only has the irrelevant plug-in unit of hardware configuration and chip under plug-in unit catalogue.
Optionally, after determining the associated chip of plug-in unit under the plug-in unit catalogue existing with configuration tool, before showing the first interactive interface, also comprise: determine whether the plug-in unit associated (being whether to have the plug-in unit of many moneys chip under plug-in unit catalogue) under the plug-in unit catalogue of many moneys chip and configuration tool., show that the first interactive interface is specially: when plug-in unit under the plug-in unit catalogue that has many moneys chip and configuration tool is associated, demonstration the first interactive interface.In this manner, while only having the plug-in unit that has many moneys chip under plug-in unit catalogue, just can show the first interactive interface, so that user selects to need the chip of configuration.When only having the plug-in unit of a chip, can not show the first interactive interface, directly determine the plug-in unit of the configuration module associated with this chip, the sign of configuration module corresponding to the plug-in unit with determining is presented on the second interactive interface.
The chip configuration method that the embodiment of the present invention provides, by by configuration module plug-in unit, make the corresponding plug-in unit of a configuration module, the plug-in unit that can comprise many moneys chip under the plug-in unit catalogue of configuration tool, this makes is that configuration tool has the configuration feature to many moneys chip, when configuration module is configured, under plug-in unit catalogue due to configuration tool, may exist the plug-in unit of chip also may not have the plug-in unit of chip, therefore, need to first determine the plug-in unit that whether has chip under plug-in unit catalogue, while there is chip card under plug-in unit catalogue, (may there is the plug-in unit of many moneys chip), need further to determine which kind of chip is configured, after determining the chip that needs configuration, need to determine and need the configuration module of configuration configuration by the plug-in unit of this chip under config directory.The chip configuration method that the embodiment of the present invention provides can realize the configuration module of the chip of different moneys is configured.
On the basis of the invention described above embodiment, now enumerate an instantiation and describe.
Supposing to have the chip of two different model under configuration tool, is respectively XEP100 and TC1797.The hardware configuration configuration module relevant with chip has Can driver module, CanIf module (simultaneously existing with Can driver module), OS module.The irrelevant module of hardware configuration and chip has Com module, Dcm module, Ccp module, Tp module, Nm module.Self-existent plug-in unit have the plug-in unit of Can driver module, the plug-in unit of the plug-in unit of CanIf module, OS module, the plug-in unit of the plug-in unit of Com module, Dcm module, the plug-in unit of the plug-in unit of Ccp module, CanTp module, the plug-in unit of the plug-in unit of CanNm module, Xep100 chip, the plug-in unit of Tc1797 chip.
Start after configuration tool platform, under plug-in unit catalogue, there is the plug-in unit of Xep100 and Tc1797 two chip, can show the first interactive interface (chip selection interface), in the first interactive interface, show the title of " XEP100 " and " TC1797 " two chip, user can select to need the chip of configuration.
User selects after chip (TC1797), shows the second interactive interface (configuration module selection interface), as shown in Figure 5.Wherein, configuration module corresponding with the sign of the configuration module highlighting in Fig. 5 is all to there being plug-in unit, and these plug-in units are under plug-in unit catalogue, and the configuration module corresponding with the sign of the configuration module not highlighting do not have plug-in unit.The configuration module corresponding with the sign of the configuration module highlighting comprises: the sign (comprising Com module, Ccp module, OsekNm module, CanTp module and Dcm module) of the configuration module that the sign of the configuration module that hardware configuration is relevant with TC1797 chip (comprising Can driver module, CanIf module and OS module) and hardware configuration and TC1797 chip are irrelevant.
It should be noted that, if there is no chip card under the plug-in unit catalogue of configuration tool, the module highlighting in the second interactive interface so only has the sign (comprising Com module, Ccp module, OsekNm module, CanTp module and Dcm module) of hardware configuration and the irrelevant module of chip, as shown in Figure 6.
User can select need at the second interactive interface the sign of the configuration module of configuration, user to select to need after the sign of configuration module of configuration, and the configuration module that configuration tool is selected based on user is configured.
After the configuration module of selecting to need, enter configuration interface, while having chip card and chipless plug-in unit under plug-in unit catalogue, the configuration interface of configuration tool can be different, as shown in Figure 7.Under plug-in unit catalogue, during chipless plug-in unit, tree structure hurdle, configuration interface left side does not have chip title (ModuleView), and only has hardware configuration and the irrelevant configuration module of chip.While having chip card under plug-in unit catalogue, there is chip title (TC1797) on tree structure hurdle, configuration interface left side, and the existing hardware configuration configuration module relevant with chip under tree structure, has again the irrelevant configuration module of hardware configuration and chip.In two kinds of situations, for hardware configuration and the irrelevant configuration module of chip, the protocol stack code processing rule generating by configuration tool is consistent.
Refer to Fig. 8, the structural representation of a kind of chip configuration device providing for the embodiment of the present invention, this application of installation is in configuration tool, and this configuration tool has plug-in unit catalogue, can comprise: the first determining unit 801, the first display unit 802, the second display unit 803 and dispensing unit 804.Wherein:
The first determining unit 801, for determining whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with configuration tool, wherein, the plug-in unit under the plug-in unit catalogue of configuration tool is the plug-in unit of at least one configuration module in protocol stack, and configuration module is corresponding one by one with plug-in unit.
The first display unit 802, while there is the chip associated with plug-in unit under plug-in unit catalogue for determining when the first determining unit 801, shows the first interactive interface, the demonstration chip identification associated with plug-in unit under plug-in unit catalogue on the first interactive interface.
The second display unit 803, for the chip identification of selecting on the first interactive interface showing at the first display unit 802 based on user, show the second interactive interface, the sign of the configuration module show under plug-in unit catalogue, the plug-in unit associated with the chip identification of user's selection being corresponding on the second interactive interface.
Dispensing unit 804, is configured for the sign of the configuration module selected on the second contact surface showing at the second display unit 803 based on user.
The chip configuration device that the embodiment of the present invention provides, by by configuration module plug-in unit, make the corresponding plug-in unit of a configuration module, the plug-in unit that can comprise many moneys chip under the plug-in unit catalogue of configuration tool, this makes is that configuration tool has the configuration feature to many moneys chip, when configuration module is configured, under plug-in unit catalogue due to configuration tool, may exist the plug-in unit of chip also may not have the plug-in unit of chip, therefore, need to first determine the plug-in unit that whether has chip under plug-in unit catalogue, while there is chip card under plug-in unit catalogue, (may there is the plug-in unit of many moneys chip), need further to determine which kind of chip is configured, after determining the chip that needs configuration, need to determine and need the configuration module of configuration configuration by the plug-in unit of this chip under config directory.The chip configuration device that the embodiment of the present invention provides can be realized the configuration module of the chip of different moneys is configured.
Refer to Fig. 9, the structural representation of the another kind of chip configuration device providing for the embodiment of the present invention, this application of installation is in configuration tool, this configuration tool has plug-in unit catalogue, can comprise: the first determining unit 801, the first display unit 802, the second display unit 803, dispensing unit 804 and the 3rd display unit 901.Wherein:
The first determining unit 801, for determining whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with configuration tool, wherein, the plug-in unit under the plug-in unit catalogue of configuration tool is the plug-in unit of at least one configuration module in protocol stack, and configuration module is corresponding one by one with plug-in unit.
The first display unit 802, while there is the chip associated with plug-in unit under plug-in unit catalogue for determining when the first determining unit 801, shows the first interactive interface, the demonstration chip identification associated with plug-in unit under plug-in unit catalogue on the first interactive interface.
The second display unit 803, for the chip identification of selecting on the first interactive interface showing at the first display unit 802 based on user, show the second interactive interface, the sign of the configuration module show under plug-in unit catalogue, the plug-in unit associated with the chip identification of user's selection being corresponding on the second interactive interface.
The 3rd display unit 901, while there is not the chip associated with plug-in unit under plug-in unit catalogue for determining when the first determining unit 801, show the second interactive interface, and on the second display interface, show the sign of the configuration module corresponding with all plug-in units under plug-in unit catalogue.
Dispensing unit 804, is configured for the sign of the configuration module selected on the second contact surface showing at the second display unit 803 based on user.
The chip configuration device that the embodiment of the present invention provides, by by configuration module plug-in unit, make the corresponding plug-in unit of a configuration module, the plug-in unit that can comprise many moneys chip under the plug-in unit catalogue of configuration tool, this makes is that configuration tool has the configuration feature to many moneys chip, when configuration module is configured, under plug-in unit catalogue due to configuration tool, may exist the plug-in unit of chip also may not have the plug-in unit of chip, therefore, need to first determine the plug-in unit that whether has chip under plug-in unit catalogue, while there is chip card under plug-in unit catalogue, (may there is the plug-in unit of many moneys chip), need further to determine which kind of chip is configured, after determining the chip that needs configuration, need to determine and need the configuration module of configuration configuration by the plug-in unit of this chip under config directory.The chip configuration device that the embodiment of the present invention provides can be realized the configuration module of the chip of different moneys is configured.
Further, the first determining unit 801 in above-described embodiment can comprise: the first search subelement and definite subelement.Wherein:
The first search subelement, for searching for the plug-in unit that whether has chip under the plug-in unit catalogue in configuration tool.
Determine subelement, while being used for having the plug-in unit of chip under the catalogue of configuration tool, determine there is the associated chip identification of plug-in unit under the plug-in unit catalogue with configuration tool, otherwise, the associated chip identification of plug-in unit under definite plug-in unit catalogue not existing with configuration tool.
In the above-described embodiments, the associated plug-in unit of chip of selecting with user comprises: the plug-in unit of the configuration module that hardware configuration is relevant with the chip identification of user's selection, and, the plug-in unit of the configuration module that chip identification that hardware configuration and user select is irrelevant, the second display unit 803 comprises: the second search subelement and show subelement.Wherein:
The second search subelement, for search for the plug-in unit of the hardware configuration configuration module relevant with the chip identification of user's selection under the plug-in unit catalogue of configuration tool, and, the plug-in unit of the configuration module that chip identification that hardware configuration and user select is irrelevant, and the plug-in unit of the irrelevant configuration module of the plug-in unit of the relevant configuration module of the chip identification that the hardware configuration searching is selected with user and hardware configuration and the chip identification of user's selection is as the associated plug-in unit of the chip identification with user's selection.
Show subelement, for searching at the second search subelement after the plug-in unit associated with the chip identification of user's selection, show the second interactive interface, and on the second interactive interface, show the sign of the configuration module corresponding with the plug-in unit searching.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
While for convenience of description, describing above device, with function, being divided into various unit describes respectively.Certainly, when implementing the application, the function of each unit can be realized in same or a plurality of software and/or hardware.As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add essential general hardware platform by software and realizes.Understanding based on such, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the application or embodiment.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a chip configuration method, is characterized in that, is applied to configuration tool, and described configuration tool has plug-in unit catalogue, and described method comprises:
Determine whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with described configuration tool, the plug-in unit under the plug-in unit catalogue of described configuration tool is the plug-in unit of at least one configuration module in protocol stack, and configuration module is corresponding one by one with plug-in unit;
When there is the chip associated with plug-in unit under described plug-in unit catalogue, show the first interactive interface, the demonstration chip identification associated with plug-in unit under described plug-in unit catalogue on described the first interactive interface;
The chip identification of selecting on described the first interactive interface based on user shows the second interactive interface, the sign of the configuration module that the associated plug-in unit of the chip identification that shows on described the second interactive interface under described plug-in unit catalogue, select with user is corresponding;
The sign of the configuration module of selecting on described second contact surface based on user is configured.
2. method according to claim 1, is characterized in that, also comprises:
When not there is not the chip associated with plug-in unit under described plug-in unit catalogue, show described the second interactive interface, on described the second display interface, show the sign of the configuration module corresponding with all plug-in units under described plug-in unit catalogue.
3. method according to claim 1, is characterized in that, after determining the associated chip of plug-in unit under the plug-in unit catalogue existing with described configuration tool, before demonstration the first interactive interface, also comprises:
Determine whether that the plug-in unit under the plug-in unit catalogue of many moneys chip and described configuration tool is associated;
, show that the first interactive interface is specially: when plug-in unit under the plug-in unit catalogue that has many moneys chip and described configuration tool is associated, demonstration the first interactive interface.
4. according to the method described in any one in claim 1~3, it is characterized in that, determine whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with described configuration tool to be specially:
Under the plug-in unit catalogue of described configuration tool, whether search there is the plug-in unit of chip, if there is the plug-in unit of described chip under the catalogue of described configuration tool, determine there is the associated chip of plug-in unit under the plug-in unit catalogue with described configuration tool, otherwise, determine the associated chip of plug-in unit under the plug-in unit catalogue do not exist with described configuration tool.
5. according to the method described in any one in claim 1~3, it is characterized in that, the associated plug-in unit of chip that described and user selects comprises: the plug-in unit of the configuration module that hardware configuration is relevant with the chip identification of user's selection, and, the plug-in unit of the configuration module that chip identification that hardware configuration and user select is irrelevant;
The described chip identification of selecting on described the first interactive interface based on user shows the second interactive interface, comprising:
Under the plug-in unit catalogue of described configuration tool, search for the plug-in unit of the hardware configuration configuration module relevant with the chip identification of user's selection, and, the plug-in unit of the configuration module that chip identification that hardware configuration and user select is irrelevant, and the plug-in unit of the irrelevant configuration module of the chip identification selected of the plug-in unit of the relevant configuration module of the chip identification that the described hardware configuration searching is selected with user and described hardware configuration and user is as the associated plug-in unit of chip identification described and user's selection;
After searching the plug-in unit associated with the chip identification of user's selection, show the second interactive interface, on described the second interactive interface, show the sign of the configuration module corresponding with the plug-in unit searching.
6. a chip configuration device, is characterized in that, is applied to configuration tool, and described configuration tool has plug-in unit catalogue, and described device comprises:
The first determining unit, for determining whether to exist the associated chip of plug-in unit under the plug-in unit catalogue with described configuration tool, plug-in unit under the plug-in unit catalogue of described configuration tool is the plug-in unit of at least one configuration module in protocol stack, and configuration module is corresponding one by one with plug-in unit;
The first display unit, while there is the chip associated with plug-in unit under described plug-in unit catalogue for determining when described the first determining unit, shows the first interactive interface, the demonstration chip identification associated with plug-in unit under described plug-in unit catalogue on the first interactive interface;
The second display unit, for the chip identification of selecting on described the first interactive interface showing at described the first display unit based on user, show the second interactive interface, the sign of the configuration module show under described plug-in unit catalogue, the plug-in unit associated with the chip identification of user's selection being corresponding on described the second interactive interface;
Dispensing unit, is configured for the sign of the configuration module selected on the described second contact surface showing at described the second display unit based on user.
7. device according to claim 6, is characterized in that, also comprises:
The 3rd display unit, while there is not the chip associated with plug-in unit under described plug-in unit catalogue for determining when described the first determining unit, show described the second interactive interface, on described the second display interface, show the sign of the configuration module corresponding with all plug-in units under described plug-in unit catalogue.
8. device according to claim 6, is characterized in that, also comprises:
The second determining unit, for after determining the associated chip of plug-in unit under the plug-in unit catalogue existing with described configuration tool, before demonstration the first interactive interface, determines whether that the plug-in unit under the plug-in unit catalogue of many moneys chip and described configuration tool is associated;
Described the first display unit specifically for, when plug-in unit under the plug-in unit catalogue that has many moneys chip and described configuration tool is associated, show the first interactive interface.
9. according to the device described in any one in claim 6~8, it is characterized in that, described the first determining unit comprises:
The first search subelement, for searching for the plug-in unit that whether has chip under the plug-in unit catalogue in described configuration tool;
Determine subelement, while being used for having the plug-in unit of described chip under the catalogue of described configuration tool, determine there is the associated chip identification of plug-in unit under the plug-in unit catalogue with described configuration tool, otherwise, the associated chip identification of plug-in unit under definite plug-in unit catalogue not existing with described configuration tool.
10. according to the device described in any one in claim 6~8, it is characterized in that, the associated plug-in unit of chip that described and user selects comprises: the plug-in unit of the configuration module that hardware configuration is relevant with the chip identification of user's selection, and, the plug-in unit of the configuration module that chip identification that hardware configuration and user select is irrelevant;
Described the second display unit comprises:
The second search subelement, for search for the plug-in unit of the hardware configuration configuration module relevant with the chip identification of user's selection under the plug-in unit catalogue of described configuration tool, and, the plug-in unit of the configuration module that chip identification that hardware configuration and user select is irrelevant, and the plug-in unit of the irrelevant configuration module of the chip identification selected of the plug-in unit of the relevant configuration module of the chip identification that the described hardware configuration searching is selected with user and described hardware configuration and user is as the associated plug-in unit of chip identification described and user's selection;
Show subelement, for searching after the associated plug-in unit of the described chip identification of selecting with user at described the second search subelement, show the second interactive interface, on described the second interactive interface, show the sign of the configuration module corresponding with the plug-in unit searching.
CN201310671563.9A 2013-12-10 2013-12-10 A kind of chip configuration method and device Active CN103677827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310671563.9A CN103677827B (en) 2013-12-10 2013-12-10 A kind of chip configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310671563.9A CN103677827B (en) 2013-12-10 2013-12-10 A kind of chip configuration method and device

Publications (2)

Publication Number Publication Date
CN103677827A true CN103677827A (en) 2014-03-26
CN103677827B CN103677827B (en) 2016-08-31

Family

ID=50315494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310671563.9A Active CN103677827B (en) 2013-12-10 2013-12-10 A kind of chip configuration method and device

Country Status (1)

Country Link
CN (1) CN103677827B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486504A (en) * 2019-09-11 2021-03-12 深圳市汇顶科技股份有限公司 Interaction method, upper computer and computer readable storage medium
CN113377458A (en) * 2021-06-28 2021-09-10 北京字节跳动网络技术有限公司 Plug-in management method and device, electronic equipment and storage medium
CN114115789A (en) * 2021-10-20 2022-03-01 北京百度网讯科技有限公司 Chip plug-in implementation method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4918691A (en) * 1989-05-30 1990-04-17 Ford Aerospace Corporation Testing of integrated circuit modules
CN101788916A (en) * 2010-02-09 2010-07-28 华为终端有限公司 Method and device for configuring chip
CN202049472U (en) * 2010-11-04 2011-11-23 北京昆腾微电子有限公司 Chip configuring device, chip configuring system and chip
CN102279727A (en) * 2010-06-13 2011-12-14 华为技术有限公司 Method and device for automatic configuration of chip register

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4918691A (en) * 1989-05-30 1990-04-17 Ford Aerospace Corporation Testing of integrated circuit modules
CN101788916A (en) * 2010-02-09 2010-07-28 华为终端有限公司 Method and device for configuring chip
CN102279727A (en) * 2010-06-13 2011-12-14 华为技术有限公司 Method and device for automatic configuration of chip register
CN202049472U (en) * 2010-11-04 2011-11-23 北京昆腾微电子有限公司 Chip configuring device, chip configuring system and chip

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486504A (en) * 2019-09-11 2021-03-12 深圳市汇顶科技股份有限公司 Interaction method, upper computer and computer readable storage medium
CN113377458A (en) * 2021-06-28 2021-09-10 北京字节跳动网络技术有限公司 Plug-in management method and device, electronic equipment and storage medium
CN113377458B (en) * 2021-06-28 2022-04-19 北京字节跳动网络技术有限公司 Plug-in management method and device, electronic equipment and storage medium
CN114115789A (en) * 2021-10-20 2022-03-01 北京百度网讯科技有限公司 Chip plug-in implementation method and device, electronic equipment and storage medium
CN114115789B (en) * 2021-10-20 2022-08-23 北京百度网讯科技有限公司 Chip plug-in implementation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103677827B (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN112948427B (en) Data query method, device, equipment and storage medium
CN104572072B (en) A kind of language transfer method and equipment to the program based on MVC pattern
EP2558921A1 (en) Cross-platform application framework
US20120260229A1 (en) Software tool and method for generating a virtual appliance
CN104700962A (en) Method for manufacturing wire harness
CN107967135A (en) Computing engines implementation method, electronic device and storage medium
CN103500116A (en) Method and system for clearing data generated by application program
CN101504672A (en) Method and system for dynamically configuring physical data table
CN101833467A (en) Method and equipment for adding menu items into Android menu
CN106951254B (en) Method and device for multiplexing similar service function modules in payment system
CN102467414A (en) State machine control method, device and state machine system
CN103577165A (en) Form generation method and form generator
CN107656729A (en) Updating device, method and the computer-readable recording medium of List View
CN105389184A (en) Configuration method and apparatus for product interface information
CN106294872A (en) A kind of method of information processing and terminal
CN103049444A (en) Storing method and system of data information classification structure
CN106339802A (en) Task allocation method, task allocation device and electronic equipment
CN102932416B (en) A kind of intermediate data storage method of information flow task, processing method and device
CN103677827A (en) Chip configuration method and device
CN105447072A (en) Configurable interface framework as well as searching method and system utilizing framework
CN106843887A (en) A kind of implementation method of embedded customized development platform automatic creation system
CN109491962A (en) A kind of file directory tree management method and relevant apparatus
CN103164492A (en) File copying method between electronic devices and electronic devices
CN104866425A (en) Database pressure testing method
CN101685395A (en) Object property processing method of product data management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Jingwei Hengrun Technology Co., Ltd

Address before: 8 / F, block B, No. 11, Anxiang Beili, Chaoyang District, Beijing 100101

Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd.

CP03 Change of name, title or address