Summary of the invention
The present invention is based at least one above-mentioned technical problem, proposes a kind of new efficient and accurate interface changePrompt scheme, by when interface increases and decreases, and interface changes, the change for generating file associated with change interface is led toKnow, is timely and effectively notified of programming personnel and technical support is carried out for interface patch, to improve the usage experience of user.
In view of this, the implementation of the first aspect of the present invention proposes a kind of reminding method of interface change, comprising: trueWhen determining procedure set and changing, judge the corresponding interface of described program collection it is corresponding with interface database prestore interface whether oneIt causes;Determine the interface and it is described prestore interface it is inconsistent when, determine that the interface changes;According to the interface dataThe mapping relations in library determine the corresponding associated documents of interface changed;Interface is generated according to the determining associated documents to becomeIt more notifies, to prompt the corresponding associated documents of interface of the interface and the change of change described in user, wherein the mapping is closedSystem includes the interface and the corresponding relationship for prestoring interface and the corresponding pass for prestoring interface and the associated documentsSystem.
In the technical scheme, it by judging whether interface changes when procedure set changes, and is sent out in interfaceWhen changing more, associated documents corresponding with change interface are prompted, programming personnel is timely and effectively notified to mend interfaceFourth carries out technical support, to improve the usage experience of user.
Wherein, the judgment basis of interface is based on interface database, and it is corresponding to prestore each procedure set in interface databaseInterface is prestored, the parameter of each interface and the corresponding parameter for prestoring interface are completely the same, if in the process for judging interface changeIn, determine that any one parameter is inconsistent, the corresponding globally unique identifier change of interface, then determining interface is changed, and is led toAbove-mentioned judgment method is crossed, judging efficiency and accuracy to interface change are improved, therefore, the interface Notification of Changes of generation is also moreIt is accurate and effective.
In the above-mentioned technical solutions, it is preferable that judging that the corresponding interface of described program collection is corresponding with interface databasePrestore interface it is whether consistent before, comprising: generated according to the interface of described program collection and corresponding prestore interface;Determine described programCollect corresponding interface and the corresponding relationship for prestoring interface and the corresponding pass for prestoring interface and the associated documentsSystem, with the mapping relations of the determination interface and the associated documents;Interface and mapping relations creation are prestored according to describedThe interface database.
In the technical scheme, by creation interface with prestore the corresponding relationship of interface, prestore interface and associated documentsCorresponding relationship obtains the mapping relations of interface and respective file indirectly, when improving interface change, determines associated documentsEfficiency, and then improve the efficiency and accuracy rate for generating interface Notification of Changes.
In the above-mentioned technical solutions, it is preferable that judge that the corresponding interface of described program collection is corresponding with interface databasePrestore whether interface is consistent, specifically includes the following steps: determining pre- with interface globally unique identifier having the sameIf interface, corresponding interface is prestored using the preset interface of the globally unique identifier having the same as described;Judge instituteWhether the parameter information for stating interface is consistent with the parameter information of the preset interface, wherein the parameter information of the interface includesInterface IP address, interface version, interface category information and interface and file related information, the parameter information of the preset interface includesPreset interface address, preset interface version, preset interface category information and preset interface and file related information.
In the technical scheme, by globally unique identifier determine change interface and its it is corresponding prestore interface, andWhether interface is judged by interface parameters such as the related informations of interface IP address, interface version, interface category information and interface and fileIt changes, further improves the efficiency and accuracy rate of interface Notification of Changes.
In the above-mentioned technical solutions, it is preferable that the interface includes the interface of The Component Object Model, procedure set registration classAny combination of any interface in the interface of interface and object type extension component or multiple interfaces.
In the technical scheme, by setting the interface that interface includes the interface of The Component Object Model, procedure set registration classWith any combination of any interface or multiple interfaces in the interface of object type extension component, it is determined that a variety of to be connectThe interface type of mouth change prompt, improves the reliability of the prompt scheme of interface change.
In the above-mentioned technical solutions, it is preferable that the associated documents include the category information of the preset interface and describedThe globally unique identifier of preset interface.
In the technical scheme, by setting the category information and globally unique identifier that associated documents include preset interface,More interface modification informations, can also be prompted to by the prompt scheme for enriching interface change when interface changesProgramming personnel or user improve the usage experience of user.
The example of the second aspect of the present invention proposes a kind of prompt system of interface change, comprising: judging unit is used forWhen determining that procedure set changes, judges that the corresponding interface of described program collection is corresponding with interface database and prestore interface and beIt is no consistent;Determination unit, for determine the interface and it is described prestore interface it is inconsistent when, determine that the interface becomesMore;The determination unit is also used to: the corresponding phase of interface changed is determined according to the mapping relations of the interface databaseClose file;The prompt system of the interface change further include: prompt unit, for being connect according to determining associated documents generationMouth Notification of Changes, to prompt the corresponding associated documents of interface of the interface and the change of change described in user, wherein described to reflectThe relationship of penetrating includes the interface and the corresponding relationship for prestoring interface and pair for prestoring interface and the associated documentsIt should be related to.
In the technical scheme, it by judging whether interface changes when procedure set changes, and is sent out in interfaceWhen changing more, associated documents corresponding with change interface are prompted, are timely and effectively notified of programming personnel for interfacePatch carries out technical support, to improve the usage experience of user.
Wherein, the judgment basis of interface is based on interface database, and it is corresponding pre- to prestore each interface in interface databaseInterface is deposited, the parameter of each interface and the corresponding parameter for prestoring interface are completely the same, if during judging interface change,Determine that any one parameter is inconsistent, then determining interface is changed, and by above-mentioned judgment method, is improved to interface changeJudging efficiency and accuracy, therefore, the interface Notification of Changes of generation are also more accurate and effective.
In the above-mentioned technical solutions, it is preferable that further include: generation unit, for being generated according to the interface of described program collectionIt is corresponding to prestore interface;The determination unit is also used to: determining the interface and the corresponding relationship for prestoring interface, Yi JisuoThe corresponding relationship for prestoring interface and the associated documents is stated, with the mapping relations of the determination interface and the associated documents;InstituteState the prompt system of interface change further include: creating unit, for prestoring interface and mapping relations creation institute according toState interface database.
In the technical scheme, by creation interface with prestore the corresponding relationship of interface, prestore interface and associated documentsCorresponding relationship obtains the mapping relations of interface and respective file indirectly, when improving interface change, determines associated documentsEfficiency, and then improve the efficiency and accuracy rate for generating interface Notification of Changes.
In the above-mentioned technical solutions, it is preferable that the determination unit is also used to: determining having the same complete with the interfaceThe preset interface of office's unique identifier, using the preset interface of the globally unique identifier having the same as described correspondingPrestore interface;The judging unit is also used to: the parameter information of the parameter information and the preset interface that judge the interface isIt is no consistent, wherein the parameter information of the interface includes interface IP address, interface version, interface category information and interface and fileRelated information, the parameter information of the preset interface include preset interface address, preset interface version, preset interface category information andThe related information of preset interface and file.
In the technical scheme, by globally unique identifier determine change interface and its it is corresponding prestore interface, andWhether interface is judged by interface parameters such as the related informations of interface IP address, interface version, interface category information and interface and fileIt changes, further improves the efficiency and accuracy rate of interface Notification of Changes.
In the above-mentioned technical solutions, it is preferable that the interface includes the interface of The Component Object Model, procedure set registration classAny combination of any interface in the interface of interface and object type extension component or multiple interfaces.
In the technical scheme, by setting the interface that interface includes the interface of The Component Object Model, procedure set registration classWith any combination of any interface or multiple interfaces in the interface of object type extension component, it is determined that a variety of to be connectThe interface type of mouth change prompt, improves the reliability of the prompt scheme of interface change.
In the above-mentioned technical solutions, it is preferable that the associated documents include the category information of the preset interface and describedThe globally unique identifier of preset interface.
In the technical scheme, by setting the category information and globally unique identifier that associated documents include preset interface,More interface modification informations, can also be prompted to by the prompt scheme for enriching interface change when interface changesProgramming personnel or user improve the usage experience of user.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific realApplying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the applicationFeature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used alsoTo be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described belowSpecific implementation example limitation.
It is specifically described below with reference to prompt scheme of the Fig. 1 to Fig. 4 to the interface change of embodiment according to the present invention.
Fig. 1 shows the schematic flow diagram of the reminding method of interface change according to an embodiment of the invention.
As shown in Figure 1, the reminding method of interface change according to an embodiment of the invention, comprising: step 102,When determining that procedure set changes, judges that the corresponding interface of described program collection is corresponding with interface database and whether prestore interfaceUnanimously;Step 104, determine the interface and it is described prestore interface it is inconsistent when, determine that the interface changes;Step106, the corresponding associated documents of interface changed are determined according to the mapping relations of the interface database;Step 108, according toThe determining associated documents generate interface Notification of Changes, to prompt the interface of change described in user and the interface pair of the changeThe associated documents answered, wherein the mapping relations include the interface and the corresponding relationship for prestoring interface and described pre-Deposit the corresponding relationship of interface and the associated documents.
In the technical scheme, it by judging whether interface changes when procedure set changes, and is sent out in interfaceWhen changing more, associated documents corresponding with change interface are prompted, are timely and effectively notified of programming personnel for interfacePatch carries out technical support, to improve the usage experience of user.
Wherein, the judgment basis of interface is based on interface database, and it is corresponding pre- to prestore each interface in interface databaseInterface is deposited, the parameter of each interface and the corresponding parameter for prestoring interface are completely the same, if during judging interface change,Determine that any one parameter is inconsistent, then determining interface is changed, and by above-mentioned judgment method, is improved to interface changeJudging efficiency and accuracy, therefore, the interface Notification of Changes of generation are also more accurate and effective.
As shown in Figure 3 and Figure 4, procedure set corresponds to multiple interface databases, wherein each interface database includes: interfaceTitle, the globally unique identifier of interface, the category information of interface, the address of interface and version information of interface etc., namely in rootIt when inconsistent according to the parameter of any of interface database parameter and interface, can quickly change determining interface, and pass throughThe corresponding relationship of procedure set and file A, file B and file C generates interface Notification of Changes to file A, file B and file C.
In the above-mentioned technical solutions, it is preferable that judging that the corresponding interface of described program collection is corresponding with interface databasePrestore interface it is whether consistent before, comprising: generated according to the interface of described program collection and corresponding prestore interface;Determine the interfaceWith the corresponding relationship for prestoring interface and the corresponding relationship for prestoring interface and the associated documents, described in determinationThe mapping relations of interface and the associated documents;Interface and the mapping relations creation interface data are prestored according to describedLibrary.
In the technical scheme, by creation interface with prestore the corresponding relationship of interface, prestore interface and associated documentsCorresponding relationship obtains the mapping relations of interface and respective file indirectly, when improving interface change, determines associated documentsEfficiency, and then improve the efficiency and accuracy rate for generating interface Notification of Changes.
In the above-mentioned technical solutions, it is preferable that judge that the corresponding interface of described program collection is corresponding with interface databasePrestore whether interface is consistent, specifically includes the following steps: determining pre- with interface globally unique identifier having the sameIf interface, corresponding interface is prestored using the preset interface of the globally unique identifier having the same as described;Judge instituteWhether the parameter information for stating interface is consistent with the parameter information of the preset interface, wherein the parameter information of the interface includesInterface IP address, interface version, interface category information and interface and file related information, the parameter information of the preset interface includesPreset interface address, preset interface version, preset interface category information and preset interface and file related information.
In the technical scheme, by globally unique identifier determine change interface and its it is corresponding prestore interface, andWhether interface is judged by interface parameters such as the related informations of interface IP address, interface version, interface category information and interface and fileIt changes, further improves the efficiency and accuracy rate of interface Notification of Changes.
In the above-mentioned technical solutions, it is preferable that the interface includes the interface of The Component Object Model, procedure set registration classAny combination of any interface in the interface of interface and object type extension component or multiple interfaces.
In the technical scheme, by setting the interface that interface includes the interface of The Component Object Model, procedure set registration classWith any combination of any interface or multiple interfaces in the interface of object type extension component, it is determined that a variety of to be connectThe interface type of mouth change prompt, improves the reliability of the prompt scheme of interface change.
In the above-mentioned technical solutions, it is preferable that the associated documents include the category information of the preset interface and describedThe globally unique identifier of preset interface.
In the technical scheme, by setting the category information and globally unique identifier that associated documents include preset interface,More interface modification informations, can also be prompted to by the prompt scheme for enriching interface change when interface changesProgramming personnel or user improve the usage experience of user.
Fig. 2 shows the schematic block diagrams of the prompt system of the interface of embodiment according to the present invention change.
As shown in Fig. 2, the prompt system 200 that the interface of embodiment according to the present invention changes, comprising: judging unit 202,For when determining that procedure set changes, judging that prestore corresponding with interface database of the corresponding interface of described program collection connectsWhether mouth is consistent;Determination unit 204, for determine the interface and it is described prestore interface it is inconsistent when, determine the interfaceIt changes;The determination unit 204 is also used to: the interface changed is determined according to the mapping relations of the interface databaseCorresponding associated documents;The prompt system 200 of the interface change further include: prompt unit 206, for according to determiningAssociated documents generate interface Notification of Changes, to prompt the interface of change described in user related text corresponding to the interface of the changePart, wherein the mapping relations include the interface and the corresponding relationship for prestoring interface and described prestore interface and instituteState the corresponding relationship of associated documents.
In the technical scheme, it by judging whether interface changes when procedure set changes, and is sent out in interfaceWhen changing more, associated documents corresponding with change interface are prompted, are timely and effectively notified of programming personnel for interfacePatch carries out technical support, to improve the usage experience of user.
Wherein, the judgment basis of interface is based on interface database, and it is corresponding pre- to prestore each file in interface databaseInterface is deposited, the parameter of each interface and the corresponding parameter for prestoring interface are completely the same, if during judging interface change,Determine that any one parameter is inconsistent, then determining interface is changed, and by above-mentioned judgment method, is improved to interface changeJudging efficiency and accuracy, therefore, the interface Notification of Changes of generation are also more accurate and effective.
As shown in Figure 3 and Figure 4, procedure set corresponds to multiple interface databases, and one of interface database includes: interfaceTitle, the globally unique identifier of interface, the category information of interface, the address of interface and version information of interface etc., namely in rootWhen inconsistent according to the parameter of any of interface database parameter and interface, can quickly it change determining interface;Other oneThe dependence of a data-base recording file, by procedure set (file A), file A dependent file B, file B dependent file C'sCorresponding relationship, so that the dependence sequence of the dependence chain of file A, file B and file C is confirmed, according to actual business needIt wants, determines the series of the dependency chain of notice, the relationship of actual file dependency logic can be related to more levels, A, B, C, D,E, F etc., but the recursive call relationship that can be relied on by single-stage, grade are connected to dependence graph (the similar biology of the bottomChain).
In the above-mentioned technical solutions, it is preferable that further include: generation unit 208, for raw according to the interface of described program collectionInterface is prestored at corresponding;The determination unit 204 is also used to: determine the interface and the corresponding relationship for prestoring interface,And the corresponding relationship for prestoring interface and the associated documents, it is closed with the mapping of the determination interface and the associated documentsSystem;The prompt system 200 of the interface change further include: creating unit 210, for prestoring interface and the mapping according toRelationship creates the interface database.
In the technical scheme, by creation interface with prestore the corresponding relationship of interface, prestore interface and associated documentsCorresponding relationship obtains the mapping relations of interface and respective file indirectly, when improving interface change, determines associated documentsEfficiency, and then improve the efficiency and accuracy rate for generating interface Notification of Changes.
In the above-mentioned technical solutions, it is preferable that the determination unit 204 is also used to: determination has identical with the interfaceGlobally unique identifier preset interface, using the preset interface of the globally unique identifier having the same as described rightThat answers prestores interface;The judging unit 202 is also used to: judging the parameter information of the interface and the parameter of the preset interfaceWhether information consistent, wherein the parameter information of the interface include interface IP address, interface version, interface category information and interface withThe related information of file, the parameter information of the preset interface include preset interface address, preset interface version, preset interface classThe related information of information and preset interface and file.
In the technical scheme, by globally unique identifier determine change interface and its it is corresponding prestore interface, andWhether interface is judged by interface parameters such as the related informations of interface IP address, interface version, interface category information and interface and fileIt changes, further improves the efficiency and accuracy rate of interface Notification of Changes.
In the above-mentioned technical solutions, it is preferable that the interface includes the interface of The Component Object Model, procedure set registration classAny combination of any interface in the interface of interface and object type extension component or multiple interfaces.
In the technical scheme, by setting the interface that interface includes the interface of The Component Object Model, procedure set registration classWith any combination of any interface or multiple interfaces in the interface of object type extension component, it is determined that a variety of to be connectThe interface type of mouth change prompt, improves the reliability of the prompt scheme of interface change.
In the above-mentioned technical solutions, it is preferable that the associated documents include the category information of the preset interface and describedThe globally unique identifier of preset interface.
In the technical scheme, by setting the category information and globally unique identifier that associated documents include preset interface,More interface modification informations, can also be prompted to by the prompt scheme for enriching interface change when interface changesProgramming personnel or user improve the usage experience of user.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, it is contemplated that how to design a kind of efficiently and accurateThe technical issues of prompt scheme of interface change.Therefore, the invention proposes a kind of reminding methods and one of new interface changeThe prompt system of kind interface change occurs by judging whether interface changes when procedure set changes, and in interfaceWhen change, associated documents corresponding with change interface are prompted, programming personnel is timely and effectively notified of and interface is mendedFourth carries out technical support, and administrative staff control the process range of software change, to improve the usage experience of user.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this fieldFor art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repairChange, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.