CN106293679B - A kind of element term conflict processing method and device - Google Patents

A kind of element term conflict processing method and device Download PDF

Info

Publication number
CN106293679B
CN106293679B CN201510317487.0A CN201510317487A CN106293679B CN 106293679 B CN106293679 B CN 106293679B CN 201510317487 A CN201510317487 A CN 201510317487A CN 106293679 B CN106293679 B CN 106293679B
Authority
CN
China
Prior art keywords
customized
masurium
prefix character
prefix
character
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
CN201510317487.0A
Other languages
Chinese (zh)
Other versions
CN106293679A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510317487.0A priority Critical patent/CN106293679B/en
Publication of CN106293679A publication Critical patent/CN106293679A/en
Application granted granted Critical
Publication of CN106293679B publication Critical patent/CN106293679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application provides a kind of element term conflict processing method and device.The method may include: store the rule of combination of pre-set prefix character and the prefix character and customized masurium;The customized masurium of element term conflict and the prefix character of selection are obtained, the new element name of the customized masurium is generated according to the rule of combination;Establish the mapping relations called by the new element name to the customized masurium.Utilize embodiment each in the application, it can be when there is the conflict of customized masurium in customized or reference third party's element, naming conflict is solved by pre-set prefix, treatment effeciency when element term conflict is improved, the development efficiency and developer for improving entire application programming design operate with experience.

Description

A kind of element term conflict processing method and device
Technical field
The application belongs to field of computer data processing more particularly to a kind of element term conflict processing method and device.
Background technique
With the development of computer information technology, developer can use Computer Design and go out more applications, significantly Improve the adventure in daily life of the various aspects such as user's study, work, amusement.
The computer programming design language of exploitation design application includes multilingual in the prior art, is such as used for Webpage The html language of edit definition, the Android or iOS of mobile terminal system, the JAVASCRIPT of page application etc..Described General computer programming design language includes the elements modules such as included function, class, frame, identifier, these element modules Element term be usually individual calling, be that developer is not allowed voluntarily to modify or add same names under normal circumstances Title impacts to avoid the function to the element module constructed in system.In order to improve Programming language development Scalability and flexibility, most of Programming language can permit the customized element for realizing certain function of developer, example Such as custom function or web page element label, and customized masurium can be arranged to the customized element Claim.
Identical customized masurium is defined and often there is different developers in customized element in developer. In some Programming language, it can be set when there is customized element naming conflict and do not permit front end (not completing name) Perhaps already existing masurium is defined.But in the applied field for the Programming language that other allow to define already existing masurium The case where often will appear more customized masurium naming conflict in scape.In application scenes, such as merges or quote When the customized element of third party or one group of customized element, some Programming language can permit identical customized masurium In the presence of or override identical customized masurium.Or since different developers defines identical customized element Name, further or even different developer may also define identical prefix name, cause customized element call error or Person is unavailable, and making application and development, there are potential risks.Once there is the case where element term conflict or covering, often Cause not to be capable of calling either using internal data call error, cause using being not normally functioning.And it is being sent out in developer When existing customized masurium conflict, coherent element information of modifying manually is usually also needed.It is described in application scenes Customized element frequently include or design multiple itself or associated information.When developer defines customized element It was found that there is naming conflict that may involve multiple information when carrying out the modification of customized element, development and application development efficiency is caused to drop It is low.
In the prior art, often due to asking there are customized element naming conflict in the Programming exploitation of application In the case that topic, especially development language allow identical customized masurium to exist simultaneously, Limit exploitation personnel use third party Customized element reduces the development efficiency of application programming design.Need developer artificial toward contact when there is naming conflict The correlation attribute information of customized element is modified, the development efficiency of application programming design is equally reduced.
Summary of the invention
The application is designed to provide a kind of element term conflict processing method and device, can be in customized or reference When the conflict of customized masurium occurs in third party's element, naming conflict is solved by pre-set prefix, improves element term Treatment effeciency when conflict, the convenience that the development efficiency and developer for improving entire application programming design operate with.
A kind of element term conflict processing method and device provided by the present application are achieved in that
A kind of element term conflict processing method, which comprises
Store the rule of combination of pre-set prefix character and the prefix character and customized masurium;
It obtains the customized masurium of element term conflict and chooses prefix character, according to rule of combination generation The new element name of customized masurium;
Establish the mapping relations called by the new element name to the customized masurium.
A kind of element term clash handle device, described device include:
Memory module, for storing the group of pre-set prefix character and the prefix character and customized masurium Normally;
Computing module, for obtaining the customized masurium of element term conflict and choosing prefix character, and according to described Rule of combination generates the new element name of the customized masurium;
Mapping block, for establishing and storing the mapping relations of the customized masurium and the new element name.
A kind of element term conflict processing method and device provided by the present application, can pre-define multiple application scenarios can With the rule of combination of the prefix character and the prefix character and customized masurium that use.Developer it is customized or reference Element term when conflicting, can according to the selection of developer or customized selection rule choose described in make by oneself Then the prefix character of adopted element can form new element name according to the rule of combination, reduce developer to conflict from Determine masurium correlation attribute information modification or other to the invasive modification of customized element, can effectively improve appearance from Define the treatment effeciency of customized element when element naming conflict problem.It can be saved by using global variable in the application former Masurium and the new element name mapping relations that the prefix character is added, the realization bright actual newtonium name of reference of new element, The reliability that the application is implemented is ensured.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application, for those of ordinary skill in the art, in the premise of not making the creative labor property Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of a kind of method flow schematic diagram of embodiment of element term conflict processing method of the application;
Fig. 2 is a kind of method flow schematic diagram of element term conflict processing method another kind embodiment of the application;
Fig. 3 is a kind of a kind of modular structure schematic diagram of embodiment of element term clash handle device of the application;
Fig. 4 is a kind of modular structure schematic diagram of element term clash handle device another kind embodiment of the application;
Fig. 5 is a kind of modular structure signal of embodiment of mapping block in a kind of element term clash handle device of the application Figure.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common The application protection all should belong in technical staff's every other embodiment obtained without making creative work Range.
Element naming conflict processing method described herein is described in detail with reference to the accompanying drawing.Fig. 1 is this Apply for a kind of method flow diagram of embodiment of a kind of element term clash handle device.Although this application provides such as following Method operating procedure described in embodiment or flow chart, but in the method may be used based on routine or without creative labor To include more or less operating procedure.In the step of there is no necessary causalities in logicality, these steps Execution sequence is not limited to provided by the embodiments of the present application execute sequence.The device or end product in practice of the method When execution, can be executed according to embodiment or method shown in the drawings sequence or it is parallel execute (such as parallel processor or The environment of person's multiple threads).
Fig. 1 is a kind of method flow schematic diagram of embodiment of a kind of element term conflict processing method provided by the present application. As shown in Figure 1, the method may include:
S1: the rule of combination of pre-set prefix character and the prefix character and customized masurium is stored.
One or more prefix character can be preset in the application, and institute can be stored by specified mode State prefix character.The prefix character may include the letter that can be used for being combined with customized masurium, number, specific The character informations such as symbol.In general, the prefix character of a default, such as " pre " or " pa " can be preset.Described General prefix character may include the character information for being added to the customized masurium character front end, can be used for identifying aobvious Show that the element is customized element, element term is the customized masurium for being added to the prefix character.
In a preferred embodiment of the present application, the pre-set prefix character of storage may include that storage is preparatory At least two prefix characters being arranged.In this way, can be provided when there is the conflict of customized masurium for developer more Prefix character chooses item, and developer can be according to the data processing needs of customized element, process or customized element The suitable prefix character of the selections such as type.In element term conflict processing method described in the present embodiment, it can be answered according to difference With multiple prefix characters of scene setting, a possibility that customized masurium conflicts can be effectively reduced, improve overall applicability Reliability, while can also be improved the development efficiency such as the programming of application, design.
The general rule of combination that the prefix character Yu customized masurium can also be set in the present embodiment.Described Rule of combination may be generally comprised in specific embodiment application scenarios, such as weigh up in the name of the customized element of Webpage When now conflicting, the prefix character of the setting is combined with the customized masurium of the Name Conflict or operation method, to reach To the new element name for forming the customized element.The exploitation design language that the rule of combination can be used in combination is set It sets, customized can also be arranged according to design requirement.In most application scenarios in the art, the rule of combination can be with Front position including the prefix character to be added to the customized masurium.Such as in above-mentioned Webpage application and development In design, global variable prefix can be set, can be used for storing pre-set prefix character such as " pa- ", or may be used also To store the instruction for determining whether to add prefix character or judge information.Such as developer can with a customized element, Such as the label of a paging.The developer is that customized element is arranged for customized element is entitled Can occur the case where naming conflict when " pagination ", it can will be in global variable according to rule of combination described above Prefix character is added to the front position of customized masurium, is formed new element name " pa-pagination ".
Certainly, in other application scenarios, the rule of combination can be according to design requirement or exploitation design language It is configured.Such as when using angular.js frame under javascript environment, if developer uses such as < pa- Pagination > as customized element, then then need the title with " paPagination " when defining element, so Generate new element name rule specifically standardized according to different frames depending on.Rule of combination described herein is general can be with The prefix character is including but not limited to added to the front position of the customized masurium as described above, before such as adding The new element name " pa-pagination " that asyllabia symbol " pa- " is formed afterwards.Or it may be set to be and add the prefix character To the back-end location of the customized masurium, the new element name " pagination- such as formed afterwards plus prefix character "-pa " pa".Even, in application scenes, the rule of combination also may include that the prefix character is replaced to described make by oneself The character etc. of specific field in adopted masurium.
It should be noted that the rule of combination of prefix character described herein and customized element may include one The prefix character corresponds to a kind of rule of combination, also may include that multiple prefix characters correspond to a kind of rule of combination, certainly It also may include that a certain rule of combination of sampling same to the prefix character of all settings and the customized masurium carry out group The embodiment of conjunction or operation.In general, after the prefix character and rule of combination is arranged, the prefix character can have with Its corresponding rule of combination.
It can store pre-set prefix character, and the combination of the prefix character Yu the customized masurium be set Rule.
S2: obtaining the customized masurium of element term conflict and the prefix character of selection, is advised according to the combination Then generate the new element name of the customized masurium.
In embodiments herein, when the customized masurium of the customized element appearance of developer's reference conflicts, The customized masurium of the herein described available customized masurium conflict of method.The specific acquisition masurium Claim conflict customized masurium method may include by application and development programming language specific function, component, script, Class, functional module etc. monitor the customized masurium of the customized element currently quoted there are obtained when naming conflict it is described from Define masurium.It also may include by developer by specified customized element that the application, which is not precluded in application scenes, Name is as the customized masurium for obtaining element term conflict, such as specifies the customized elements A that is presently in existence to be The customized masurium of conflict, or specify and name the customized of identical new addition with the already existing customized element Elements A ' it is the customized masurium to conflict.Then operation is carried out to the specified customized masurium or combination producing is new Masurium.
When the customized masurium of appearance described above conflicts, developer can be from the pre-stored prefix The prefix character for needing to combine with the customized masurium is chosen in character, then the available selection of the application method Prefix character.In concrete implementation mode, customized masurium conflict or the customized member of reference can occur described When plain, the prefix character of storage is shown to developer, is selected for developer.
It, can the rule of the combination according to corresponding to the prefix character after getting the prefix character of selection as described in aforementioned Then generate the new element name of the customized masurium.
Certainly, if being stored with multiple prefix characters, it is also such as stored with prefix character " au- ", " us- ", " cn- ", is being gone out Preset prefix character " pa- ", " au- ", " us- ", " cn- " of storage can be supplied to exploitation when existing customized masurium conflict Personnel select.Such as multiple developers in above-mentioned application scenarios are often made in customized paging tag element With customized masurium " pagination ", and the first developer and the second developer in the multiple developer arrive Make to be added to identical prefix character " pa- " in order to avoid identical as the customized masurium of other developers.So in example When quoting customized label such as page development, third developer is in the customized masurium " pa- for introducing the first developer After pagination ", can occur name punching when being re-introduced into customized masurium " pa-pagination " of the second developer Prominent situation.So at this time developer can be applied according to Webpage shown in national language choose using respective country Then the prefix character of english abbreviation forms the new element name of customized label element according to the rule of combination.
The customized masurium for obtaining the prefix character and element term conflict chosen generates institute according to the rule of combination State the new element name of customized masurium.
S3: the mapping relations called by the new element name to the customized masurium are established.
After the prefix character according to selection generates the new element name of customized masurium, the customized member can establish The mapping relations of plain name and the new element name.It is reflected described in being stored as database or local and/long-range functional module Penetrate relationship.The customized masurium for naming conflict occur is modified as another new element name in the present embodiment, is answered actual With the entitled customized one of attribute value of element of element customized in scene.In the customized element such as html In paging label usually can also include multiple attribute informations, such as coordinate information, colouring information and with call other functions, The related information of module, label etc..In the application in order to ensure will name punching customized masurium be modified as new element name after Availability of the new element name in application and development, the present embodiment the method can establish and store the customized element Name and the mapping relations of the new element name, so as to can in the reference new element name such as other functions, module or label Actual customized masurium is arrived to call.
Mapping relations described in the present embodiment can be according to different Application development environ-ments or setting in conjunction with developer Meter demand is configured.Such as in the environment of customized html page elements, described establish is called by the new element name Mapping relations to the customized masurium may include being established by setting global object and storing the new element name With the mapping relations of the customized masurium.A global object relation for example specifically can be set, can be used for It stores the customized masurium " pagination " of naming conflict and this is generated according to the prefix character and rule of combination makes by oneself The mapping relations of the new element name " pa-pagination " of adopted element, such as relation={ ' pagination ': ' paPagination'}.The global object can be by other in the global scope of restriction according to the specification of exploitation design language The calling such as component, module, label use.
Fig. 2 is a kind of method flow schematic diagram of element term conflict processing method another kind embodiment of the application.Such as Fig. 2 It is shown, after establishing the mapping relations that can be called by new element name to the customized masurium, in Other can be referred to customized corresponding to the new element name such as function, module, label by the mapping relations Masurium.Therefore, in a kind of element term conflict processing method described herein, the method can also include:
S4: customized masurium corresponding to the new element name is accessed based on the mapping relations.
It should be noted that application described herein may include based on the page for developing design under html.The application institute A kind of element term conflict processing method stated can be adapted for the frame of customized page elements, can including but not limited to make by oneself The application scenarios of adopted html page elements.
Element term conflict processing method described in the embodiment of the present application can be big in the customized element of reference third party The modification processing of the case where amplitude reduction element customized element naming conflict and customized masurium when there is naming conflict Efficiency.Also, multiple prefix characters can be set in the application, it is empty that more prefix character selections can be provided for developer Between, naming conflict caused by the different developers of reference add corresponding prefix to identical customized element name is effectively reduced and asks Topic.It should be noted that in the customized html page elements for supporting the frame of customized page elements especially described above Application scenarios in, method described herein can conflict in self-defining or the third-party customized element of reference When, it reduces developer and the customized masurium of naming conflict is carried out attribute information modification, rewriting definition or even abandoned to use, Improve the development efficiency of application programming design.On the other hand, establishing in herein described method can be adjusted by new element name The mapping relations for using corresponding customized masurium, ensured used in the exploitation of current application Programming it is modified new Masurium still can refer to former actual customized masurium.
Element term conflict processing method described herein can not only be effectively reduced to name because of customized element and be rushed Naming conflict phenomenon caused by the prefix character that the prominent and described customized element adds while naming identical is also identical.And And when the customized element naming conflict occur, developer can not need to carry out the customized element of naming conflict Former attribute information or modification to related information, can directly be referred to by the mapping relations of foundation it is actual it is original from Define masurium.And the application method can provide multiple prefix characters and/or multiple rules of combination, there is developer more More new element name selection spaces, facilitates developer to quote operating with for customized element, improves application and development efficiency.
Based on element term conflict processing method described herein, the application also provides a kind of element term clash handle Device.Fig. 3 is a kind of modular structure schematic diagram of embodiment of herein described element term clash handle device.As shown in figure 3, Specifically, the apparatus may include:
Memory module 101 can be used for storing pre-set prefix character and the prefix character and customized member The rule of combination of plain name;
Computing module 102 can be used for obtaining the customized masurium of element term conflict and the prefix character of selection, and The new element name for generating the customized masurium is calculated according to the rule of combination;
Mapping block 103, the mapping that can be used for establishing and storing the customized masurium and the new element name are closed System.
Element term clash handle device described herein can significantly be dropped in the customized element of reference third party The case where low element customized element naming conflict.Also, multiple prefix characters can be set in the application device, can be open Hair personnel provide more prefix characters and select space, and the different developers of reference are effectively reduced and name identical customized element Add naming conflict problem caused by corresponding prefix.The frame for supporting customized page elements it is especially described above from In the application scenarios for defining html page elements, device described herein can be third-party certainly in self-defining or reference When definition element conflicts, prefix character to be added can be directly chosen in current application development interface, is then generated The title of new customized element.In this way attribute information can be carried out to avoid customized masurium of the developer to naming conflict Modification, rewriting definition are even abandoned and are used, the development efficiency of raising application programming design.It is stored in herein described device simultaneously The mapping relations to corresponding customized masurium can be called by new element name by having, and ensured in current application Programming Exploitation still can refer to former actual customized masurium using modified new element name.
Fig. 4 is the modular structure schematic diagram of herein described element term clash handle device another kind embodiment.Such as Fig. 4 Described, described device can also include:
Access modules 104 can be used for accessing the new element according to the mapping relations stored in the mapping block 103 Customized masurium corresponding to name.
Method described herein can be when self-defining or the third-party customized element of reference conflict, can To call actual customized masurium by access modules access, developer can not needed again to naming conflict Customized masurium carries out attribute information modification, rewriting definition is even abandoned and used, the development efficiency of raising application programming design.
In herein described element term clash handle device preferred embodiment, the memory module 101 be can store Pre-set at least two prefix character.
In herein described element term clash handle device another kind preferred embodiment, the rule of combination be can wrap It includes at least one of following:
The prefix character is added to the front position of the customized masurium;
The prefix character is added to the back-end location of the customized masurium;
The prefix character is replaced to the character of specific field in the customized masurium.
As previously mentioned, the rule of combination of the prefix character and customized element may include the prefix character A kind of corresponding rule of combination, also may include that multiple prefix characters correspond to a kind of rule of combination, naturally it is also possible to including right The a certain rule of combination of the same sampling of the prefix character of all settings.In general, after the prefix character and rule of combination are set, The prefix character can have rule of combination corresponding thereto.
Fig. 5 is a kind of module knot of embodiment of mapping block 103 in herein described element term clash handle device Structure schematic diagram.As described in Figure 5, the mapping block 103 may include:
Global object's module 1031 can be used for the global object established, make by oneself described in storage in the global object The mapping relations of adopted masurium and the new element name.
The global object can be quoted in application scenes by global reference.Such as in customized html page member The mapping relations of the new element name with prefix after former customized masurium and generation can be deposited into the overall situation in the environment of element In variable, such as relation={ ' pagination ': ' paPagination ' }.
A kind of Name Conflict treating method and apparatus provided by the present application, can not only effectively reduce because of customized element Naming conflict caused by the prefix character that naming conflict and the customized element add while naming identical is also identical Phenomenon.And when the customized element naming conflict occur, developer can not needed to the customized of naming conflict Element carries out former attribute information or the modification to related information, can directly be referred to by the mapping relations of foundation actual Original customized masurium.And the application method can provide multiple prefix characters and/or multiple rules of combination, make to develop Personnel have multiple new element name selection spaces, facilitate developer to quote operating with for customized element, reduce and solve The processing time of naming conflict and raising application and development efficiency.
Although mentioning retouching for the data processing circumstance of html, javascript design language or the like in teachings herein It states, still, the application is not limited to the case where must being complete standard or mentioned data handling utility environment.This Shen Please in foregoing description involved in each embodiment be only application in some embodiments in the application, in certain others Support the scheme that each embodiment of above-mentioned the application can also be carried out in the frame of customized page elements.Certainly, meeting this Shen Please process method step described in the various embodiments described above other without creative deformations, identical Shen still may be implemented Please, details are not described herein.
Although this application provides the method operating procedure as described in embodiment or flow chart, based on conventional or noninvasive The means for the property made may include more or less operating procedure.The step of enumerating in embodiment sequence is only numerous steps One of execution sequence mode, does not represent and unique executes sequence.It, can when device or client production in practice executes To execute or parallel execute (such as at parallel processor or multithreading according to embodiment or method shown in the drawings sequence The environment of reason).
Above-described embodiment illustrates device or module, can specifically be realized by computer chip or entity, or by having certain The product of function is planted to realize.For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively.When So, the function of each module can be realized in the same or multiple software and or hardware, can also be incited somebody to action when implementing the application Realize that the module of same function is realized by the combination of multiple submodule or subelement.
It is also known in the art that other than realizing controller in a manner of pure computer readable program code, it is complete Entirely can by by method and step carry out programming in logic come so that controller with logic gate, switch, specific integrated circuit, programmable Logic controller realizes identical function with the form for being embedded in microcontroller etc..Therefore this controller is considered one kind Hardware component, and the structure that the device for realizing various functions that its inside includes can also be considered as in hardware component.Or Person even, can will be considered as realizing the device of various functions either the software module of implementation method can be hardware again Structure in component.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure, class etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, By executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module can To be located in the local and remote computer storage media including storage equipment.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, mobile terminal, server or the network equipment etc.) executes each embodiment of the application or implementation Method described in certain parts of example.
Each embodiment in this specification is described in a progressive manner, the same or similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.The application can be used for crowd In mostly general or special purpose computing system environments or configuration.Such as: personal computer, server computer, handheld device or Portable device, laptop device, mobile communication terminal, multicomputer system, microprocessor-based system, programmable electricity Sub- equipment, network PC, minicomputer, mainframe computer, distributed computing environment including any of the above system or equipment etc. Deng.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application there are many deformation and Variation is without departing from spirit herein, it is desirable to which the attached claims include these deformations and change without departing from the application's Spirit.

Claims (8)

1. a kind of element term conflict processing method, which is characterized in that the described method includes:
Store the rule of combination of pre-set prefix character and the prefix character and customized masurium;
It obtains the customized masurium of element term conflict and chooses prefix character, made by oneself according to rule of combination generation The new element name of adopted masurium;
The mapping relations by new element name calling to the customized masurium are established, are accessed based on the mapping relations Customized masurium corresponding to the new element name.
2. a kind of element term conflict processing method as described in claim 1, which is characterized in that the storage is pre-set Prefix character includes storing pre-set at least two prefix character.
3. a kind of element term conflict processing method as described in claim 1, which is characterized in that described to establish by described new Masurium is called to the mapping relations of the customized masurium
The mapping relations of the new element name Yu the customized masurium are established and stored by the global object of setting.
4. a kind of element term conflict processing method as described in claim 1, which is characterized in that under the rule of combination includes At least one of state:
The prefix character is added to the front position of the customized masurium;
The prefix character is added to the back-end location of the customized masurium;
The prefix character is replaced to the character of specific field in the customized masurium.
5. a kind of element term clash handle device, which is characterized in that described device includes:
Memory module, the combination for storing pre-set prefix character and the prefix character and customized masurium are advised Then;
Computing module, for obtaining the customized masurium of element term conflict and the prefix character of selection, and according to described group Normally calculate the new element name for generating the customized masurium;
Mapping block, for establishing and storing the mapping relations of the customized masurium and the new element name;
Access modules, for according to the mapping relations stored in the mapping block access the new element name corresponding to make by oneself Adopted masurium.
6. a kind of element term clash handle device as claimed in claim 5, which is characterized in that the memory module storage is pre- At least two prefix characters being first arranged.
7. a kind of element term clash handle device as claimed in claim 5, which is characterized in that under the rule of combination includes At least one of state:
The prefix character is added to the front position of the customized masurium;
The prefix character is added to the back-end location of the customized masurium;
The prefix character is replaced to the character of specific field in the customized masurium.
8. a kind of element term clash handle device as claimed in claim 5, which is characterized in that the mapping block includes:
Global object's module stores the customized masurium and institute for the global object of foundation in the global object State the mapping relations of new element name.
CN201510317487.0A 2015-06-11 2015-06-11 A kind of element term conflict processing method and device Active CN106293679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510317487.0A CN106293679B (en) 2015-06-11 2015-06-11 A kind of element term conflict processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510317487.0A CN106293679B (en) 2015-06-11 2015-06-11 A kind of element term conflict processing method and device

Publications (2)

Publication Number Publication Date
CN106293679A CN106293679A (en) 2017-01-04
CN106293679B true CN106293679B (en) 2019-10-22

Family

ID=57661263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510317487.0A Active CN106293679B (en) 2015-06-11 2015-06-11 A kind of element term conflict processing method and device

Country Status (1)

Country Link
CN (1) CN106293679B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843888B (en) * 2017-01-23 2020-03-17 恒生电子股份有限公司 Method and device for solving field conflict in multi-language development system
CN110321374B (en) * 2018-10-23 2022-03-25 开采夫(杭州)科技有限公司 Standard file IO operating system and method based on distributed network
CN109683954A (en) * 2018-12-29 2019-04-26 北京小米移动软件有限公司 The library lib integrated approach, device and storage medium
CN112241558A (en) * 2020-09-03 2021-01-19 深圳市华阳国际工程设计股份有限公司 Element type name unifying method and device and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216760A (en) * 2007-12-28 2008-07-09 北京方正国际软件系统有限公司 Dynamic mapping interface calling system and method
CN102523128A (en) * 2011-12-31 2012-06-27 浙江万朋网络技术有限公司 Data synchronism method in remote data transmission
CN103136406A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method for automatic generation of function code for simulation through visualization application program
CN103853532A (en) * 2012-11-29 2014-06-11 国际商业机器公司 Method and device for calling function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7370028B2 (en) * 2004-06-08 2008-05-06 Oracle International Corp. Method of and system for providing namespace based object to XML mapping
US20090043844A1 (en) * 2007-08-09 2009-02-12 International Business Machines Corporation System and method for name conflict resolution

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216760A (en) * 2007-12-28 2008-07-09 北京方正国际软件系统有限公司 Dynamic mapping interface calling system and method
CN103136406A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method for automatic generation of function code for simulation through visualization application program
CN102523128A (en) * 2011-12-31 2012-06-27 浙江万朋网络技术有限公司 Data synchronism method in remote data transmission
CN103853532A (en) * 2012-11-29 2014-06-11 国际商业机器公司 Method and device for calling function

Also Published As

Publication number Publication date
CN106293679A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106569856B (en) A kind of loading method and device of application view resource file
US8751558B2 (en) Mashup infrastructure with learning mechanism
CN109032691A (en) A kind of small routine operation method, device and storage medium
CN106293679B (en) A kind of element term conflict processing method and device
CN110119294A (en) The generation method of menu page, apparatus and system
CN109766097A (en) UI generation method, device, electronic equipment and computer readable storage medium
CN110347953A (en) Page generation method, device, computer equipment and storage medium
CN105335132B (en) Method, device and system for customizing application program function
CN108415710A (en) The method and system of API is issued, called in Intelligent dialogue development platform
CN109840115A (en) RecyclerView paging loading method and device in a kind of android system
CN111435304B (en) Method and device for generating space unit, storage medium and processor
CN110532041A (en) Regulation engine method for parameter configuration, device, computer equipment and storage medium
CN103577207A (en) Loading method and loading device for interface components in custom interface system
CN110297838B (en) Terrain material editing method, device, computing equipment and storage medium
CN107360265B (en) A kind of equipment exclusive identification code acquisition methods, device and mobile terminal
Kourtesis et al. Increased reliability in SOA environments through registry-based conformance testing of web services
CN106203184B (en) A kind of keyboard output method and terminal
CN110347389A (en) Processing method, the device and system of algorithm file
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN112799659A (en) Method, device and terminal for automatically generating data interface without programming
CN115270202A (en) Privacy calculation method and device based on multi-party cooperation
CN105847319A (en) Mobile terminal network request method and system
CN115269683A (en) Data query method and device based on multi-party cooperation
Yu et al. Modeling and analysis of mobile cloud computing based on bigraph theory
CN106445479B (en) Information-pushing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.