CN106293679A - 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
CN106293679A
CN106293679A CN201510317487.0A CN201510317487A CN106293679A CN 106293679 A CN106293679 A CN 106293679A CN 201510317487 A CN201510317487 A CN 201510317487A CN 106293679 A CN106293679 A CN 106293679A
Authority
CN
China
Prior art keywords
self
masurium
prefix character
character
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510317487.0A
Other languages
Chinese (zh)
Other versions
CN106293679B (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

Landscapes

  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a kind of element term conflict processing method and device.Described method may include that the rule of combination storing the prefix character pre-set and described prefix character with self-defined masurium;The self-defined masurium obtaining element term conflict and the prefix character chosen, generate the new element name of described self-defined masurium according to described rule of combination;Set up the mapping relations being called described self-defined masurium by described new element name.Utilize each embodiment in the application, can self-defined or quote third party's element occur self-defined masurium conflict time, naming conflict is solved by the prefix pre-set, improve element term conflict time treatment effeciency, improve whole application programming design development efficiency and developer 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, particularly relates to a kind of element term conflict processing method and device.
Background technology
Along with the development of computer information technology, developer can utilize Computer Design to go out more application, substantially increases User learning, work, the lived experience of each side such as amusement.
In prior art, the computer programming design language of exploitation design application includes polyglot, as fixed for editing webpage The JAVASCRIPT etc. of the html language of justice, Android or iOS of mobile terminal system, page application.Described meter The element modules such as the function including carrying that calculation machine Programming Design language is general, class, framework, identifier, these element modules Element term is usually individual calling, is generally not allow developer to revise voluntarily or add the name of same names Claim, to avoid the function of the element module built in system is impacted.In order to improve expanding of Programming Design language development Malleability and motility, most of Programming Design language can allow the self-defined element realizing certain function of developer, such as, make by oneself Justice function or web page element label etc., and described self-defining element can be arranged self-defining element term.
Different developers is often there is and defines identical self-defined masurium in developer when self-defined element.At some In Programming Design language, front end (being not fully complete name) can be arranged on when self-defined element naming conflict occurs and do not allow definition The masurium existed.But in other allow the application scenarios of the Programming Design language of masurium that definition existed often There will be the situation of more self-defined masurium naming conflict.In application scenes, make by oneself as merged or quoting third party When justice element or one group of self-defined element, some Programming Design language can allow identical self-defined masurium to exist or cover Fall identical self-defined masurium.Or owing to different developers defines identical self-defined masurium, the most very It is likely to define identical prefix name to the most different developer, causes self-defined element call error or unavailable, make application There is potential risk in exploitation.Described element term conflict or the situation of covering once occur, frequently can lead to apply internal data Call error or can not call, causes application to be not normally functioning.And finding self-defined masurium conflict developer Time, generally also need to coherent element information of manually modifying.In application scenes, described self-defined element often wraps Include or design multiple self or the information that is associated.Developer is found to have naming conflict and carries out certainly when defining self-defined element Multiple information may be involved during definition element amendment, cause exploitation application and development efficiency to reduce.
In prior art, often due to there is the problem of self-defined element naming conflict, especially in the Programming Design exploitation of application It is in the case of development language allows identical self-defined masurium simultaneous, the self-defined unit of Limit exploitation librarian use third party Element, reduces the development efficiency of application programming design.Occur often also needing to developer manual amendment during naming conflict self-defined The correlation attribute information of element, reduces the development efficiency of application programming design equally.
Summary of the invention
The application purpose is to provide a kind of element term conflict processing method and device, can be self-defined or quote third party When the conflict of self-defined masurium occurs in element, solve naming conflict by the prefix pre-set, improve when element term conflicts Treatment effeciency, improves development efficiency and the convenience that operates with of developer of the design of whole application programming.
A kind of element term conflict processing method and device that the application provides are achieved in that
A kind of element term conflict processing method, described method includes:
Store the rule of combination of the prefix character pre-set and described prefix character and self-defined masurium;
Obtain the self-defined masurium of element term conflict and choose prefix character, generating described self-defined according to described rule of combination The new element name of masurium;
Set up the mapping relations being called described self-defined masurium by described new element name.
A kind of element term clash handle device, described device includes:
Memory module, the combination rule of the prefix character pre-set for storage and described prefix character and self-defined masurium Then;
Computing module, for obtaining the self-defined masurium of element term conflict and choosing prefix character, and according to described combination rule Then generate the new element name of described self-defined masurium;
Mapping block, for setting up and store the mapping relations of described self-defined masurium and described new element name.
A kind of element term conflict processing method of the application offer and device, can pre-define multiple application scenarios can use Prefix character and the rule of combination of described prefix character and self-defined masurium.Masurium that is self-defined developer or that quote When weighing up existing conflict, can be selecting or before self-defining selection rule chooses described self-defined element according to developer Asyllabia accords with, and then can form new element name according to described rule of combination, and conflict is made by oneself masurium and is correlated with by minimizing developer The amendment of attribute information or other amendments invasive to self-defined element, can be effectively improved appearance self-defined element name punching The treatment effeciency of self-defined element during prominent problem.The application can preserve newtonium name by using global variable and add described The new element name mapping relations of prefix character, it is achieved by the bright newtonium name quoting reality of new element, ensured what the application implemented Reliability.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or prior art In description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only to remember in the application Some embodiments carried, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the method flow schematic diagram of the application a kind of element term a kind of embodiment of conflict processing method;
Fig. 2 is the method flow schematic diagram of the application a kind of element term conflict processing method another kind embodiment;
Fig. 3 is the modular structure schematic diagram of the application a kind of element term a kind of embodiment of clash handle device;
Fig. 4 is the modular structure schematic diagram of the application a kind of element term clash handle device another kind embodiment;
Fig. 5 is the modular structure schematic diagram of a kind of embodiment of mapping block in the application a kind of element term clash handle device.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the application, below in conjunction with in the embodiment of the present application Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only It is some embodiments of the present application rather than whole embodiments.Based on the embodiment in the application, ordinary skill people The every other embodiment that member is obtained under not making creative work premise, all should belong to the scope of the application protection.
Below in conjunction with the accompanying drawings element naming conflict processing method described herein is described in detail.Fig. 1 is the application institute State the method flow diagram of a kind of element term a kind of embodiment of clash handle device.Although this application provides such as following embodiment or Method operating procedure described in flow chart, but based on conventional or can include more in the process without performing creative labour Or less operating procedure.Not existing in logicality in necessary causal step, the execution sequence of these steps does not limits In the execution sequence that the embodiment of the present application provides.When the device in practice of described method or end product perform, can be by Perform or the executed in parallel (ring of such as parallel processor or multiple threads according to embodiment or method shown in the drawings order Border).
Fig. 1 is the method flow schematic diagram of a kind of a kind of embodiment of element term conflict processing method that the application provides.Such as Fig. 1 Shown in, described method may include that
S1: store the rule of combination of the prefix character pre-set and described prefix character and self-defined masurium.
The application can pre-set one or more prefix character, and described prefix can be stored by the way of specifying Character.Letter that described prefix character can include may be used for being combined with self-defined masurium, numeral, special symbol etc. Character information.General, the prefix character of an acquiescence, such as " pre " or " pa " can be pre-set.Before described The character information that can include adding described self-defined masurium character front end to that asyllabia symbol is general, may be used for mark display should Element is self-defining element, and element term is the self-defined masurium that with the addition of this prefix character.
In a preferred embodiment of the present application, the prefix character that described storage pre-sets can include storing and pre-sets At least two prefix character.So, when the conflict of self-defined masurium occurs, can be that developer provides more front asyllabia Symbol chooses item, and developer can be according to the data processing needs of self-defined element, process, or the type etc. of self-defined element Choose suitable prefix character.In element term conflict processing method described in the present embodiment, can set according to different application scene The multiple prefix characters put, can effectively reduce the probability of self-defined masurium conflict, improve the reliability of overall applicability, with Time can also improve the development efficiency such as the programming of application, design.
The rule of combination that described prefix character and self-defined masurium can also be set general in the present embodiment.Described combination rule Then may be generally comprised in specific embodiment application scenarios, there is conflict in the such as title at the self-defined element of Webpage Time, the prefix character of described setting combines or operation method with the self-defined masurium of described Name Conflict, to reach to form institute State the new element name of self-defined element.The exploitation design language that described rule of combination can be used in combination is arranged, it is also possible to from Arranging according to design requirement of definition.In most application scenarios in the art, described rule of combination can include before described Asyllabia symbol adds the front position of described self-defined masurium to.Such as in above-mentioned Webpage application and development designs, Ke Yishe Determine global variable prefix, may be used for storing the prefix character such as " pa-" pre-set, or can also store and determine whether Add the instruction of prefix character or judge information.Such as developer can be with a self-defined element, such as a paging Label.Can there is name punching when arranging self-defined element entitled " pagination " for self-defining element in described developer Prominent situation, before can adding the prefix character in global variable to self-defined masurium according to rule of combination described above End position, forms new element name " pa-pagination ".
Certainly, in other application scenarios, described rule of combination can set according to design requirement or exploitation design language Put.Such as when using angular.js framework under javascript environment, if developer uses such as<pa-pagination>this The self-defined element of sample, then then need by the title of " paPagination " when defining element, so generating new element name Depending on the regular specification concrete according to different frameworks.General can the including but not limited to such as of rule of combination described herein The above-mentioned front position that described prefix character adds to described self-defined masurium, as formed afterwards plus prefix character " pa-" New element name " pa-pagination ".Or it can also be provided that to described prefix character is added described self-defined masurium Back-end location, such as the new element name " pagination-pa " formed afterwards plus prefix character "-pa ".Even, should at some With in scene, described rule of combination can also include described prefix character replaces specific field in described self-defined masurium Character etc..
It should be noted that the rule of combination of prefix character described herein and self-defined element can include one described before The corresponding a kind of rule of combination of asyllabia symbol, it is also possible to include multiple described prefix character correspondence one rule of combination, naturally it is also possible to bag Include a certain rule of combination of same sampling of the prefix character to all settings to be combined or computing with described self-defined masurium Embodiment.General, after arranging described prefix character and rule of combination, described prefix character can have corresponding thereto Rule of combination.
The prefix character pre-set can be stored, and the rule of combination of described prefix character and described self-defined masurium is set.
S2: the self-defined masurium obtaining element term conflict and the described prefix character chosen, generate according to described rule of combination The new element name of described self-defined masurium.
In embodiments herein, developer quotes self-defined element and occurs when conflict occurs in self-defined masurium, the application Described method can obtain the self-defined masurium of described self-defined masurium conflict.Concrete described acquisition element term conflict The method of self-defined masurium can include by the specific function in application and development programming language, assembly, script, class, function mould Blocks etc. monitor when the self-defined masurium of the self-defined element currently quoted exists naming conflict and obtain described self-defined masurium. The application is not precluded within application scenes and can also include being obtained as described by the self-defined masurium specified by developer Take the self-defined masurium of element term conflict, the self-defined unit such as specifying the self-defined elements A being presently in existence to be conflict Element name, or specify the self-defined elements A that be newly added identical with the described self-defined element name existed ' for conflict certainly Definition masurium.Then the described self-defined masurium specified is carried out computing or combination producing new element name.
When conflict occurs in the self-defined masurium of appearance described above, developer can be from the described prefix character prestored Choose and need and the prefix character of described self-defined masurium combination, then the application method can obtain described in the front asyllabia chosen Symbol.In concrete implementation mode, can be in described appearance self-defined masurium conflict or when quoting self-defined element, Xiang Kai The personnel of sending out show the prefix character of storage, select for developer.
As described in aforementioned, after getting the prefix character chosen, can generate according to the rule of combination corresponding to described prefix character The new element name of described self-defined masurium.
Certainly, if storage has multiple prefix character, as also storage has prefix character " au-", " us-", " cn-", Occur can the preset prefix character " pa-" of storage, " au-", " us-", " cn-" being carried when self-defined masurium conflicts Supply developer select.Such as developers multiple in above-mentioned application scenarios when self-defined paging tag element past Toward using self-defined masurium " pagination ", and the first developer in the plurality of developer and the second exploit person Member makes to the addition of identical prefix character " pa-" in order to avoid masurium self-defined with other developers is identical.So exist Such as when page development quotes customized label, the 3rd developer is introducing the self-defined masurium of the first developer After " pa-pagination ", it is re-introduced into during self-defined masurium " pa-pagination " of the second developer that name can occur The situation of conflict.The national language that the most now developer can show in applying according to Webpage chooses use respective country The prefix character of english abbreviation, then forms the new element name of customized label element according to described rule of combination.
Obtain the prefix character chosen and the self-defined masurium of element term conflict, make by oneself according to the generation of described rule of combination The new element name of justice masurium.
S3: set up the mapping relations being called described self-defined masurium by described new element name.
After the new element name generating self-defined masurium according to the prefix character chosen, can set up described self-defined masurium with The mapping relations of described new element name.Described mapping relations can be stored by data base or this locality and/long-range functional module.This The self-defined masurium that will appear from naming conflict in embodiment is modified as another new element name, makes by oneself in actual application scenarios Justice element one of them property value of entitled self-defined element.In the described paging label in self-defined element such as html generally Can also include multiple attribute information, such as coordinate information, colouring information and with call other functions, module, label etc. Related information.In the application in order to ensure will name punching self-defined masurium be modified as new element name after described new element name should By the availability in exploitation, method described in the present embodiment can set up and store described self-defined masurium and described new element name Mapping relations, in order to the self-defined of reality can be called when described new element name quoted by other functions, module or label etc. Masurium.
Mapping relations described in the present embodiment can be according to different Application development environ-ments or the design requirement combining developer It is configured.Such as in the environment of self-defined html page elements, described foundation by described new element name call described from The mapping relations of definition masurium can include making by oneself with described by arranging global object and set up and store described new element name The mapping relations of justice masurium.Concrete such as can arrange a global object relation, may be used for storing naming conflict Self-defined masurium " pagination " and the new element name generating this self-defined element according to described prefix character and rule of combination The mapping relations of " pa-pagination ", such as relation={ ' pagination ': ' paPagination '.Described global object is according to opening The specification sending out design language can be called use by other assemblies, module, label etc. in the global scope limited.
Fig. 2 is the method flow schematic diagram of the application a kind of element term conflict processing method another kind embodiment.As in figure 2 it is shown, After establishing the described mapping relations that can be called described self-defined masurium by new element name, in application other such as Function, module, label etc. can refer to the self-defined masurium corresponding to described new element name by described mapping relations.Cause This, in a kind of element term conflict processing method described herein, described method can also include:
S4: access the self-defined masurium corresponding to described new element name based on described mapping relations.
Needing explanation, application described herein can include based on the page developing design under html.Described herein one Planting element term conflict processing method and go for the framework of self-defined page elements, including but not limited to can self-defined html The application scenarios of page elements.
Element term conflict processing method described in the embodiment of the present application can significantly drop when quoting the self-defined element of third party The situation of low element self-defined element naming conflict and the amendment treatment effeciency of self-defined masurium time naming conflict occurs.And And, the application can arrange multiple prefix character, can be that developer provides more prefix character to select space, effectively Reduce and quote the naming conflict problem that the identical self-defined element name corresponding prefix of interpolation is caused by different developer.Need Bright, at the application scenarios of the framework self-defined html page elements the most described above supporting self-defined page elements In, method described herein can self-defining or quote third-party self-defined element occur conflict time, reduce exploitation Personnel carry out attribute information amendment to the self-defined masurium of naming conflict, rewriting definition even abandons use, improve application programming The development efficiency of design.On the other hand, herein described method establishes to be called by new element name and make by oneself accordingly The mapping relations of justice masurium, have ensured and still can draw in current application Programming Design exploitation use amended new element name Use the self-defined masurium of former reality.
Element term conflict processing method described herein be possible not only to effectively reduce because of self-defined element naming conflict and The naming conflict phenomenon that the prefix character added while the name of described self-defined element is identical is the most identical and causes.And occurring During described self-defined element naming conflict, developer can need not the self-defined element of naming conflict is carried out former attribute information Or to the amendment of related information, can directly be referred to the original self-defined masurium of reality by the mapping relations set up. And the application method can provide multiple prefix character and/or multiple rule of combination, developer is made to have more new element to name Select space, facilitate developer to quote operating with of self-defined element, improve application and development efficiency.
Based on element term conflict processing method described herein, the application also provides for a kind of element term clash handle device. Fig. 3 is the modular structure schematic diagram of herein described element term a kind of embodiment of clash handle device.As it is shown on figure 3, it is concrete , described device may include that
Memory module 101, may be used for storing the prefix character pre-set and described prefix character and self-defined masurium Rule of combination;
Computing module 102, the self-defined masurium that may be used for acquisition element term conflict and the prefix character chosen, and according to Described rule of combination calculates the new element name generating described self-defined masurium;
Mapping block 103, may be used for setting up and storing the mapping relations of described self-defined masurium and described new element name.
Element term clash handle device described herein can be greatly lowered element when quoting the self-defined element of third party The situation of self-defined element naming conflict.Further, the application device can arrange multiple prefix character, can be developer There is provided more prefix character to select space, effective reduction to quote different developer the name of identical self-defined element is added accordingly Prefix and the naming conflict problem that causes.At the self-defined html that the framework supporting self-defined page elements is the most described above In the application scenarios of page elements, device described herein can be at self-defining or quote third-party self-defined element and go out When now conflicting, directly can choose prefix character to be added in current application development interface, then generate new self-defined unit The title of element.Developer so can be avoided the self-defined masurium of naming conflict to carry out attribute information amendment, rewrites definition Even abandon use, improve the development efficiency of application programming design.The most herein described device stores to have and can pass through Singapore dollar Element name calls the mapping relations of corresponding self-defined masurium, has ensured after the exploitation use amendment of current application Programming Design New element name still can refer to the self-defined masurium of former reality.
Fig. 4 is the modular structure schematic diagram of herein described element term clash handle device another kind embodiment.As described in Figure 4, Described device can also include:
Access modules 104, may be used for accessing described new element name institute according to the mapping relations of storage in described mapping block 103 Corresponding self-defined masurium.
Method described herein can self-defining or quote third-party self-defined element occur conflict time, can pass through Described access modules accesses the self-defined masurium calling reality, and developer can need not self-defined unit to naming conflict again Element name carries out attribute information amendment, rewriting definition even abandons use, improves the development efficiency of application programming design.
In herein described element term clash handle device preferred embodiment, described memory module 101 can store and set in advance At least two prefix character put.
In herein described element term clash handle device another kind preferred embodiment, described rule of combination can include following In at least one:
Described prefix character is added to the front position of described self-defined masurium;
Described prefix character is added to the back-end location of described self-defined masurium;
Described prefix character is replaced the character of specific field in described self-defined masurium.
As it was previously stated, described prefix character can include a described prefix character corresponding with the rule of combination of self-defined element Plant rule of combination, it is also possible to include multiple described prefix character correspondence one rule of combination, naturally it is also possible to include all settings The prefix character a certain rule of combination of same sampling.General, after described prefix character and rule of combination are set, described prefix Character can have rule of combination corresponding thereto.
Fig. 5 is the modular structure signal of a kind of embodiment of mapping block 103 in herein described element term clash handle device Figure.As described in Figure 5, described mapping block 103 may include that
Global object's module 1031, may be used for the global object set up, stores described self-defined element in described global object Name and the mapping relations of described new element name.
Described global object can be quoted by global reference in application scenes.Such as at the ring of self-defined html page elements The mapping relations of the new element name of the band prefix after former self-defined masurium and generation can be deposited in global variable by border, as Relation={ ' pagination ': ' paPagination ' }.
A kind of Name Conflict treating method and apparatus that the application provides, is possible not only to effectively reduce because of the name punching of self-defined element The naming conflict phenomenon that the prefix character added while prominent and described self-defined element name is identical is the most identical and causes.And When there is described self-defined element naming conflict, developer can need not belong to the self-defined element of naming conflict originally Property information or to the amendment of related information, can directly be referred to the original self-defined unit of reality by the mapping relations set up Element name.And the application method can provide multiple prefix character and/or multiple rule of combination, developer is made to have multiple Singapore dollars Element name selects space, facilitates developer to quote operating with of self-defined element, reduces the process time solving naming conflict With raising application and development efficiency.
Although teachings herein is mentioned the description of the data processing circumstance of html, javascript design language or the like, but, The application is not limited to must be complete standard or the situation of mentioned data handling utility environment.In the application, each is real Executing foregoing description involved in example is only the application in some embodiments in the application, self-defined pages of other support at some The framework of surface element can also be carried out the scheme of each embodiment of above-mentioned the application.Certainly, the application the various embodiments described above are being met Described in other of process method step without creative deformation, still can realize identical application, not repeat them here.
Although this application provides the method operating procedure as described in embodiment or flow chart, but based on routine or without creativeness Means can include more or less operating procedure.The sequence of steps enumerated in embodiment is only numerous step execution sequences In a kind of mode, do not represent unique execution sequence.When device in practice or client production perform, can be according to reality Execute example or method shown in the drawings order performs or executed in parallel (environment of such as parallel processor or multiple threads).
Above-described embodiment illustrates device or module, specifically can be realized by computer chip or entity, or by having certain function Product realize.For convenience of description, it is divided into various module to be respectively described with function when describing apparatus above.Certainly, exist Implement the function of each module to be realized in same or multiple softwares and/or hardware during the application, it is also possible to will realize same The module of function is realized by the combination of multiple submodules or subelement.
It is also known in the art that in addition to realizing controller in pure computer readable program code mode, the most permissible Make controller with gate, switch, special IC, FPGA control by method step carries out programming in logic The form of device processed and embedding microcontroller etc. realizes identical function.The most this controller is considered a kind of Hardware Subdivision Part, and its inside is included can also be considered as the structure in hardware component for the device realizing various function.Or even, In can being considered as the device being used for realizing various function not only can being the software module of implementation method but also can being hardware component Structure.
The application can be described in the general context of computer executable instructions, such as program module. Usually, program module include perform particular task or realize the routine of particular abstract data type, program, object, assembly, Data structure, class etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environment, by The remote processing devices connected by communication network performs task.In a distributed computing environment, program module can position In the local and remote computer-readable storage medium including storage device.
As seen through the above description of the embodiments, those skilled in the art it can be understood that to the application can be by soft Part adds the mode of required general hardware platform and realizes.Based on such understanding, the technical scheme of the application is the most in other words The part contributing prior art can embody with the form of software product, and this computer software product can be stored in In storage medium, such as ROM/RAM, magnetic disc, CD etc., use so that a computer equipment is (permissible including some instructions Be personal computer, mobile terminal, server, or the network equipment etc.) perform each embodiment of the application or embodiment Method described in some part.
Each embodiment in this specification uses the mode gone forward one by one to describe, and between each embodiment, same or analogous part is mutual Seeing, what each embodiment stressed is the difference with other embodiments.The application can be used for numerous general or In special computing system environments or configuration.Such as: personal computer, server computer, handheld device or portable set Standby, laptop device, mobile communication terminal, multicomputer system, system based on microprocessor, programmable electronic equipment, Network PC, minicomputer, mainframe computer, the distributed computing environment including any of the above system or equipment etc..
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application have many deformation and a change and Without departing from spirit herein, it is desirable to appended claim includes that these deformation and change are without deviating from spirit herein.

Claims (10)

1. an element term conflict processing method, it is characterised in that described method includes:
Store the rule of combination of the prefix character pre-set and described prefix character and self-defined masurium;
Obtain the self-defined masurium of element term conflict and choose prefix character, generating described self-defined according to described rule of combination The new element name of masurium;
Set up the mapping relations being called described self-defined masurium by described new element name.
2. a kind of element term conflict processing method as claimed in claim 1, it is characterised in that described method also includes:
The self-defined masurium corresponding to described new element name is accessed based on described mapping relations.
3. a kind of element term conflict processing method as claimed in claim 1 or 2, it is characterised in that described storage is in advance The prefix character arranged includes storing at least two prefix character pre-set.
4. a kind of element term conflict processing method as claimed in claim 1 or 2, it is characterised in that described foundation is passed through Described new element name is called the mapping relations of described self-defined masurium and is included:
The mapping relations of described new element name and described self-defined masurium are set up and store by the global object arranged.
5. a kind of element term conflict processing method, it is characterised in that described combination is advised Then include following at least one:
Described prefix character is added to the front position of described self-defined masurium;
Described prefix character is added to the back-end location of described self-defined masurium;
Described prefix character is replaced the character of specific field in described self-defined masurium.
6. an element term clash handle device, it is characterised in that described device includes:
Memory module, the combination rule of the prefix character pre-set for storage and described prefix character and self-defined masurium Then;
Computing module, for the self-defined masurium obtaining element term conflict and the prefix character chosen, and according to described combination Rule calculates the new element name generating described self-defined masurium;
Mapping block, for setting up and store the mapping relations of described self-defined masurium and described new element name.
7. a kind of element term clash handle device as claimed in claim 6, it is characterised in that described device also includes:
Access modules, self-defined for access corresponding to described new element name according to the mapping relations of storage in described mapping block Masurium.
8. a kind of element term clash handle device as described in claim 6 or 7, it is characterised in that described storage mould At least two prefix character that block storage pre-sets.
9. a kind of element term clash handle device as described in claim 6 or 7, it is characterised in that described combination is advised Then include following at least one:
Described prefix character is added to the front position of described self-defined masurium;
Described prefix character is added to the back-end location of described self-defined masurium;
Described prefix character is replaced the character of specific field in described self-defined masurium.
10. a kind of element term clash handle device as described in claim 6 or 7, it is characterised in that described mapping mould Block includes:
Global object's module, for the global object set up, stores described self-defined masurium with described in described global object 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 true CN106293679A (en) 2017-01-04
CN106293679B 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)

Cited By (4)

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

Citations (6)

* 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
CN101216760A (en) * 2007-12-28 2008-07-09 北京方正国际软件***有限公司 Dynamic mapping interface calling system and method
US20090043844A1 (en) * 2007-08-09 2009-02-12 International Business Machines Corporation System and method for name conflict resolution
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

Patent Citations (6)

* 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
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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843888A (en) * 2017-01-23 2017-06-13 恒生电子股份有限公司 Method and device for solving field conflict in multilingual development system
CN106843888B (en) * 2017-01-23 2020-03-17 恒生电子股份有限公司 Method and device for solving field conflict in multi-language development system
CN110321374A (en) * 2018-10-23 2019-10-11 开采夫(杭州)科技有限公司 Standard file I/O operations system and method based on distributed network
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

Also Published As

Publication number Publication date
CN106293679B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN108228169B (en) Chart making method, device, equipment and medium based on eCharts tool
CN103678631B (en) page rendering method and device
CN109933322B (en) Page editing method and device and computer readable storage medium
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
CN109358851A (en) Creation method, device and the computer readable storage medium of chart components
CN105955888A (en) Page debugging and previewing method and system
CN107688529B (en) Component debugging method and device
CN112765023B (en) Test case generation method and device
CN108664406A (en) Exploitation test method, terminal device and the medium of mobile application
CN106293679A (en) A kind of element term conflict processing method and device
CN111898336A (en) Bullet screen display method and device, computer equipment and storage medium
CN115098098A (en) Page generation method, page display method and device
CN111309991B (en) Query statement generation method and device and data query method and system
CN104850498A (en) Filling information testing method and filling information testing system
JPWO2019039255A1 (en) Terminal device, UI extension method, and UI extension program
CN104050218A (en) Method and system for providing information to be displayed in user interface
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN115080886A (en) Three-dimensional medical model GLB file analysis and display method based on mobile terminal
CN104793837A (en) Picture generation method and device
CN116719456A (en) Icon style switching method and device, electronic equipment and storage medium
CN109918300B (en) Test data preparation method, device, terminal and storage medium
CN114461960A (en) Page generation method, page display method and device
CN114282760A (en) Workflow generation method and device combining dynamic form and dynamic flow
Cimitile et al. Automatic Generation of Multi Platform Web Map Mobile Applications.
CN110262846A (en) Interface loading method, system, computer equipment and storage medium based on module

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

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.

TR01 Transfer of patent right