CN102004640B - Method and device for rapidly providing customized software package - Google Patents

Method and device for rapidly providing customized software package Download PDF

Info

Publication number
CN102004640B
CN102004640B CN 201010540532 CN201010540532A CN102004640B CN 102004640 B CN102004640 B CN 102004640B CN 201010540532 CN201010540532 CN 201010540532 CN 201010540532 A CN201010540532 A CN 201010540532A CN 102004640 B CN102004640 B CN 102004640B
Authority
CN
China
Prior art keywords
configuration file
software package
assembly
key word
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201010540532
Other languages
Chinese (zh)
Other versions
CN102004640A (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 Minghua Alliance Technology Co., Ltd.
Original Assignee
Shenzhen Excelsecu Data Technology 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 Shenzhen Excelsecu Data Technology Co Ltd filed Critical Shenzhen Excelsecu Data Technology Co Ltd
Priority to CN 201010540532 priority Critical patent/CN102004640B/en
Publication of CN102004640A publication Critical patent/CN102004640A/en
Application granted granted Critical
Publication of CN102004640B publication Critical patent/CN102004640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for rapidly providing customized software package. The method comprises the steps of: searching an adapted software package configuration file and relevant assemblies by using the name of an assembly; and obtaining customization attribute adapted to the assembly in the software package according to the configuration file. The method and the device for rapidly providing customized software package ensure that different customers use the same assembly (the same code) to form different customer software packages, thereby realizing the different demands of the customers without generating the problems such as coverage and conflict and the like; moreover, the customization of the software package can be realized without modifying any code, thereby enhancing the customization efficiency of the customer software package.

Description

Quick is for method and the device of customization software package
Technical field
The present invention relates to the assembly management field, specially refer to a kind of Quick for method and the device of customization software package.
Background technology
In existing software customized service, generally to revise code according to client's real needs, then revising formation component on the basis of code, like this because relate to code revision, therefore need to again do regression test, and need to be each customer care one cover code, development amount and maintenance workload are all very large.
Such as: in software customized service, the name of each assembly is for different clients, different component Names to be set, and according to the facilitate requirement of client to publicity or use, the title of assembly generally comprises the required factor of client.And close customize services may be applied to different clients, in the assembly operating process, may be because of different clients' assembly crossing operation, and make a mistake.Therefore, greatly affected the efficient of client software bag customization.
Summary of the invention
Fundamental purpose of the present invention promotes the efficient of client software bag customization for method and the device of a kind of Quick for the customization software package are provided.
The present invention proposes a kind of Quick for the method for customization software package, comprises step:
Utilize the component Name of assembly, search for suitable software package configuration file and associated component;
Obtain custom attributes adaptive with assembly in software package by configuration file.
Preferably, the described component Name that utilizes assembly also comprises before searching for the step of suitable software package configuration file and associated component:
Utilizing the key word of definition, is prefix, key word and suffix with the component Name cutting.
Preferably, the described component Name that utilizes assembly, search for suitable software package configuration file and the step of associated component and specifically comprise:
Utilize prefix, suffix and the configuration file key word of component Name, search for suitable software package configuration file;
Utilize prefix, suffix and the associated component key word of component Name, the search associated component.
Preferably, described method also comprises:
When not searching suitable configuration file or associated component, produce information.
The present invention also proposes a kind of Quick for the device of customization software package, comprising:
The configuration file search module for the component Name that utilizes assembly, is searched for suitable software package configuration file and associated component;
The custom attributes acquisition module is used for obtaining the software package custom attributes adaptive with assembly by configuration file.
Preferably, described device also comprises:
Title cutting module is utilized the key word that defines, and is that cutting is prefix, key word and suffix with the component Name cutting.
Preferably, described configuration file search module specifically is used for:
Utilize prefix, suffix and the configuration file key word of component Name, search for suitable software package configuration file;
Utilize the key word of prefix, suffix and the associated component of component Name, the search associated component.
Preferably, described configuration file search module also specifically is used for:
When not searching suitable configuration file or associated component, produce information.
Quick of the present invention is set to prefix, key word and suffix three parts by assembly and profile name and forms for method and the device of customization software package; Utilize the key word of setting that the component Name cutting is prefix, key word, three parts of suffix; Assembly utilizes component Name prefix, configuration file key word, component Name suffix to obtain profile name; Assembly utilizes component Name prefix, associated component key word, component Name suffix to obtain associated component; Configuration file is searched and opened to assembly, obtains the customization attribute that defines in configuration file; Assembly is realized different customization functions according to the customization attribute, to realize Customization demand; Assembly loads relative associated component, associated component also utilizes the title cutting to obtain prefix, key word and suffix, the circulation said process, obtain the customization attribute from configuration file, realize the customization function of associated component, the like, thereby realize the customization function of whole software package.Quick of the present invention makes different clients adopt same set of assembly (being same set of code) to form different client software bags for method and the device of customization software package, realizes client's different demands and can not produce the problems such as covering, conflict; And, do not need to revise any code and just can realize the customization of software package, thereby promote the efficient that the client software bag customizes.
Description of drawings
Fig. 1 is that a kind of Quick of the present invention is for the process flow diagram of method one embodiment of customization software package;
Fig. 2 is that a kind of Quick of the present invention is for another process flow diagram of method one embodiment of customization software package;
Fig. 3 is that a kind of Quick of the present invention is for the structural representation of device one embodiment of customization software package;
Fig. 4 is that a kind of Quick of the present invention is for another structural representation of device one embodiment of customization software package.
The realization of the object of the invention, functional characteristics and advantage are described further with reference to accompanying drawing in connection with embodiment.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, a kind of Quick of the present invention is proposed for an embodiment of the method for customization software package.The method comprises:
Step 10, utilize the component Name of assembly, search for suitable software package configuration file and associated component;
Step 11, obtain custom attributes adaptive with assembly in software package by configuration file.
Can comprise a plurality of assemblies in same software package.In software customized, if same assembly uses for different clients, and the characteristic of each customer requirement has inconsistent place, software package is realized the characteristic of all customer requirements, can require characteristic to be illustrated to it with a configuration file to a certain specific client, therefore different clients has different configuration files, different clients has different software packages, but each assembly in software package is the same, assembly obtains client's specific configuration information by reading configuration file, thereby determines to use different flow process or codes in assembly.For fear of the conflict between different clients, in different client software bags, the title of assembly and configuration file is not identical.
The title of each assembly and configuration file can be divided into prefix, key word and three parts of suffix.Wherein, prefix and suffix are to be set to revisablely, can arbitrarily change; And key word is set to and can not revises, and the key word of same type assembly may be made as identical; Can by revising prefix and the suffix of component Name, reach the purpose of revising component Name.
When assembly (can be random component) starts, first obtain the component Name of self, by key word, whole title is divided into three parts, before key word is prefix, and after key word is suffix.After the prefix suffix that obtains assembly, add key word or the associated component key word of configuration file, thereby can obtain the title of the corresponding configuration file of this assembly and the title of other associated component.By reading configuration file, obtain the custom attributes of client in configuration file, thereby assembly can be realized client's customization characteristic.This custom attributes can be to show specific information when assembly is carried out, or the order (being treatment scheme) of regulation assembly execution etc.Such as, after this assembly is carried out, can make operation to continue by searching of custom attributes obtained the next assembly that needs execution, realize Customization demand; Seek the efficient of custom attributes by lifting, promote the efficient of client software bag customization.Be convenient to when realizing different customization software, make different clients use same set of assembly (being same set of code) can not produce the problems such as covering, conflict; And, do not need to revise any code and just can realize the software package customization.
With reference to Fig. 2, further, above-mentioned steps S10 specifically comprises:
Suitable software package configuration file searched in step S100, the prefix of utilizing component Name, suffix and configuration file key word;
Step S101, the prefix of utilizing component Name, suffix and associated component key word, the search associated component.
As mentioned above, by prefix and the suffix that utilizes assembly self, and the key word of profile name, the configuration file in software package corresponding to search component; And prefix, suffix and associated component key word by utilizing component Name, the search associated component.
Further, above-mentioned steps S10 also specifically comprises:
Step S102, judge whether to search configuration file or associated component;
Step S103, when not searching suitable configuration file or associated component, produce information.
In the process of carrying out above-mentioned search configuration file after a period of time, but whether automatic decision has searched configuration file or associated component; When determining to have searched configuration file, can carry out above-mentioned steps S11; When not searching suitable configuration file or associated component, produce information and notify the user, and next step instruction of wait user that stops search.
Above-mentioned Quick is set to prefix, key word and suffix three parts by assembly and profile name and forms for the method for customization software package; Utilize the key word of setting that the component Name cutting is prefix, key word, three parts of suffix; Assembly utilizes component Name prefix, configuration file key word, component Name suffix to obtain profile name; Assembly utilizes component Name prefix, relative associated component key word, component Name suffix to obtain relative associated component; Configuration file is searched and opened to assembly, obtains the customization attribute that defines in configuration file; Assembly is realized different customization functions according to the customization attribute, to realize Customization demand; Assembly loads relative associated component, associated component also utilizes the title cutting to obtain prefix, key word and suffix, the circulation said process, obtain the customization attribute from configuration file, realize the customization function of associated component, the like, thereby realize the customization function of whole software package.Quick of the present invention makes different clients adopt same set of assembly (being same set of code) to form different client software bags for method and the device of customization software package, realizes client's different demands and can not produce the problems such as covering, conflict; And, do not need to revise any code and just can realize the customization of software package, thereby promote the efficient that the client software bag customizes.
In the method for above-mentioned Quick for the customization software package, all clients' demand is all distinguished by configuration file, all clients' code is all same set of code, the demand that satisfies the client not needs is revised code, only needing to revise configuration file can complete, owing to not relating to code revision, therefore do not need to retest, reduced the workload of exploitation, test, maintenance.
With reference to Fig. 3, a kind of Quick of the present invention is proposed for an embodiment of the device of customization software package.This device comprises:
Configuration file search module 20 for the component Name that utilizes assembly, is searched for suitable software package configuration file and associated component;
Custom attributes acquisition module 30 is used for obtaining the software package custom attributes adaptive with assembly by configuration file.
Above-mentioned configuration file search module 20 can first obtain the component Name of self when assembly (can be random component) starts, by key word, whole title is divided into three parts, and before key word is prefix, and after key word is suffix.After the prefix suffix that obtains assembly, add the key word of configuration file, thereby can obtain the title of the corresponding configuration file of this assembly and the title of other associated component.
Above-mentioned custom attributes acquisition module 30 can by reading configuration file, obtain the custom attributes of client in configuration file, thereby assembly can be realized client's customization characteristic.This custom attributes can be to show specific information when assembly is carried out, or the order of regulation assembly execution etc.Such as, after this assembly is carried out, can make operation to continue by searching of custom attributes obtained the next assembly that needs execution, realize Customization demand; Seek the efficient of custom attributes by lifting, promote the efficient of client software bag customization.Be convenient to when realizing different customization software, make different clients use same set of assembly (being same set of code) can not produce the problems such as covering, conflict; And, do not need to revise any code and just can realize the software package customization.
With reference to Fig. 4, said apparatus also comprises: title cutting module 40, utilize the key word that defines, and be prefix, key word and suffix with the component Name cutting.
Above-mentioned configuration file search module 20 specifically is used for: utilize prefix, suffix and the configuration file key word of component Name, search for suitable software package configuration file; And, utilize the key word of prefix, suffix and the associated component of component Name, the search associated component.It can be by prefix and the suffix that utilizes assembly self, and the key word of profile name, the configuration file in software package corresponding to search component; And, utilize the key word of prefix, suffix and the associated component of component Name, the search associated component.
Above-mentioned configuration file search module 20 also specifically is used for: when not searching suitable configuration file or associated component, produce information.It is in the process of carrying out above-mentioned search configuration file after a period of time, but whether automatic decision has searched configuration file or associated component; When determining to have searched configuration file or associated component, can obtain custom attributes by above-mentioned custom attributes acquisition module 30; When not searching suitable configuration file, produce information and notify the user, and next step instruction of wait user that stops search.
Above-mentionedly be set to prefix, key word and suffix three parts form by assembly and profile name; Title cutting module 30 utilizes the key word of setting that the component Name cutting is prefix, key word, three parts of suffix; Assembly utilizes component Name prefix, configuration file key word, component Name suffix to obtain profile name; Assembly utilizes component Name prefix, relative associated component key word, component Name suffix to obtain relative associated component; Configuration file is searched and opened to assembly, obtains the customization attribute that defines in configuration file; Assembly is realized different customization functions according to the customization attribute, to realize Customization demand; Assembly loads relative associated component, associated component also utilizes title cutting module 30 to obtain prefix, key word and suffix, the circulation said process, obtain the customization attribute from configuration file, realize the customization function of associated component, the like, thereby realize the customization function of whole software package.Quick of the present invention makes different clients adopt same set of assembly (being same set of code) to form different client software bags for method and the device of customization software package, realizes client's different demands and can not produce the problems such as covering, conflict; And, do not need to revise any code and just can realize the customization of software package, thereby promote the efficient that the client software bag customizes.
State in the use during Quick customizes for the device of customization software package, all clients' demand is all distinguished by configuration file, all clients' code is all same set of code, the demand that satisfies the client not needs is revised code, only needing to revise configuration file can complete, owing to not relating to code revision, therefore do not need to retest, reduced the workload of exploitation, test, maintenance.
The above is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (4)

1. the method for a Quick confession customization software package, is characterized in that, comprises step:
Utilizing the key word of definition, is prefix, key word and suffix with the component Name cutting;
Utilize the component Name of assembly, search for suitable software package configuration file and associated component;
Obtain custom attributes adaptive with assembly in software package by configuration file;
The described component Name that utilizes assembly, search for suitable software package configuration file and the step of associated component and specifically comprise:
Utilize prefix, suffix and the configuration file key word of component Name, search for suitable software package configuration file;
Utilize prefix, suffix and the associated component key word of component Name, the search associated component.
2. Quick according to claim 1 for the method for customization software package, is characterized in that, described method also comprises:
When not searching suitable configuration file or associated component, produce information.
3. the device of a Quick confession customization software package, is characterized in that, comprising:
Title cutting module is utilized the key word that defines, and is prefix, key word and suffix with the component Name cutting;
The configuration file search module for the component Name that utilizes assembly, is searched for suitable software package configuration file and associated component;
The custom attributes acquisition module is used for obtaining the software package custom attributes adaptive with assembly by configuration file; Described configuration file search module specifically is used for:
Utilize prefix, suffix and the configuration file key word of component Name, search for suitable software package configuration file;
Utilize the key word of prefix, suffix and the associated component of component Name, the search associated component.
4. Quick according to claim 3 for the device of customization software package, is characterized in that, described configuration file search module also specifically is used for:
When not searching suitable configuration file or associated component, produce information.
CN 201010540532 2010-11-11 2010-11-11 Method and device for rapidly providing customized software package Active CN102004640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010540532 CN102004640B (en) 2010-11-11 2010-11-11 Method and device for rapidly providing customized software package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010540532 CN102004640B (en) 2010-11-11 2010-11-11 Method and device for rapidly providing customized software package

Publications (2)

Publication Number Publication Date
CN102004640A CN102004640A (en) 2011-04-06
CN102004640B true CN102004640B (en) 2013-05-08

Family

ID=43812022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010540532 Active CN102004640B (en) 2010-11-11 2010-11-11 Method and device for rapidly providing customized software package

Country Status (1)

Country Link
CN (1) CN102004640B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320387B (en) * 2014-10-11 2018-01-19 广东欧珀移动通信有限公司 Component localization method for customizing, terminal and server
CN104391687B (en) * 2014-10-28 2017-11-28 深圳市多彩人生技术有限公司 The realization method and system of the internet APP common platforms of enterprise and corporations
CN104820602A (en) * 2015-05-18 2015-08-05 北京瑞星信息技术有限公司 Method, device and system for publishing software package
CN108549555A (en) * 2018-04-10 2018-09-18 Tcl通力电子(惠州)有限公司 Processing method, embedded system device and the storage medium of customized software
CN114356363A (en) * 2021-11-30 2022-04-15 重庆长安汽车股份有限公司 Online manufacturing method and management system of software upgrading package

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567190A (en) * 2002-12-17 2005-01-19 国际商业机器公司 System and method for central management of built-in desktop components
CN101158896A (en) * 2007-08-31 2008-04-09 南京联创科技股份有限公司 Service assemblage based on MVC and method for page moulding development WEB platform
CN101222371A (en) * 2008-01-24 2008-07-16 中国海洋大学 Client terminal component operation management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567190A (en) * 2002-12-17 2005-01-19 国际商业机器公司 System and method for central management of built-in desktop components
CN101158896A (en) * 2007-08-31 2008-04-09 南京联创科技股份有限公司 Service assemblage based on MVC and method for page moulding development WEB platform
CN101222371A (en) * 2008-01-24 2008-07-16 中国海洋大学 Client terminal component operation management system

Also Published As

Publication number Publication date
CN102004640A (en) 2011-04-06

Similar Documents

Publication Publication Date Title
CN102004640B (en) Method and device for rapidly providing customized software package
Sheng et al. ContextUML: a UML-based modeling language for model-driven development of context-aware web services
CN110058863A (en) Construction method, device, equipment and the storage medium of Docker container
CN104081377B (en) Manage Scripts file dependencies and load time
CN103077024B (en) A kind of device and method supporting the on-demand customization of SaaS application flow and operation
KR101316681B1 (en) Model-based customized eco system and method for design of the eco system
CN106325965B (en) The Compilation Method and device of operating system
US20100313197A1 (en) System and method for operating domain profile using database in core framework for sdr mobile terminals
CN103176769A (en) Customizable software deployment, installation method and system
CN105516154B (en) Security policy configuration method and device applied to SEAndroid system
CN103744680A (en) Method and device for business process processing
CN108664665A (en) Data format method for transformation, device, equipment and readable storage medium storing program for executing
CN103345394A (en) Method for rapidly making application software of native mobile phones
CN108647107A (en) Unified exception handling method for micro-service development framework
CN100596139C (en) System and method for building component applications using metadata defined mapping between message and data domains
US20130091416A1 (en) Method for establishing a relationship between semantic data and the running of a widget
CN107870771A (en) Application builds and upgrade method and system
CN102222278A (en) Operation process customizing method and device
US10262055B2 (en) Selection of data storage settings for an application
CN107729014A (en) A kind of method for page jump and structure based on Android
Sheng et al. ContextServ: A platform for rapid and flexible development of context-aware Web services
CN105447072A (en) Configurable interface framework as well as searching method and system utilizing framework
CN107908390A (en) A kind of extended method and system of WebGIS applications
CN104636122A (en) Sharing method and device of capacity component
Correia et al. Ontology for colaborative development of product service systems based on basic formal ontology

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170406

Address after: 100000 room 703-710, room B3, Huayuan Road, Haidian District, Beijing, 7

Patentee after: Beijing Minghua Alliance Technology Co., Ltd.

Address before: 518057 Shenzhen, Guangdong, Nanshan District hi tech Zone, Shenzhen Software Park building, room 4, Room 403

Patentee before: Shenzhen Wendingchuang Data Technology Co., Ltd.