CN107273138A - Decoupling method and system based on interaction between Android business modules - Google Patents
Decoupling method and system based on interaction between Android business modules Download PDFInfo
- Publication number
- CN107273138A CN107273138A CN201710538929.3A CN201710538929A CN107273138A CN 107273138 A CN107273138 A CN 107273138A CN 201710538929 A CN201710538929 A CN 201710538929A CN 107273138 A CN107273138 A CN 107273138A
- Authority
- CN
- China
- Prior art keywords
- key values
- text
- data
- adjusted
- class
- 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.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses the decoupling method and system of interaction between a kind of business module based on Android, wherein, method includes:Obtain each route class file and each tune plays method data;Respectively to routeing class file and having adjusted method data configure obtaining corresponding first kind key values and first method key values;Again by the class mapping relations of dynamic generation, classification storage is carried out to class mapping data according to service path data, corresponding first text is obtained and names;Equations of The Second Kind key values and second method key values further according to acquisition carry out reflex mechanism processing, and the corresponding page has been adjusted according to result.Class is mapped data storage in text by the present invention, and the mode that text can be directly read when in use easily obtains required mapping relations, eliminates the trouble for calling java class, and avoid the coupling of code between module.
Description
Technical field
The present invention relates to a kind of decoupling side of interaction between decoupling technology field, more particularly to business module based on Android
Method and system.
Background technology
Java is a kind of can to write the object oriented program language of cross-platform software.Java technology has
Remarkable versatility, high efficiency, platform transplantation and security, is widely used in PC, data center, game console, science
In supercomputer, mobile phone and internet.In the project development process in Android fields, can be based on product business will
Code is divided into multiple different standalone modules;Intermodule does not have direct dependence, but still there is the demand called mutually.
At present, conventional solution is to use Annotation (note), APT (Annotation Processing
Tool, annotation processor) dynamic generation mapping relations class.Annotation is a Java type, be can customize not of the same name
What java class or method in the Annotation modification projects of word and attribute (value values), different java class or method were used
COMMENTS attribute can be different, and the property value can be used as the key values for representing the java class or method;APT instruments are used in compiling duration root
The code new according to generation is explained, can include java class and the generation for having been adjusted the page by APT instruments in compilation phase dynamic generation
The code of mapping relations between its key values of table, and the code of mapping relations is present in a new java class, other
The java class for having been adjusted the page can be directly found when module is called using key values, the function of having adjusted the page is realized.But the party
The mapping relations of dynamic generation are present in a new java class in method, when using mapping relations, are required for calling this
Individual new java class, it is more complicated;If multiple pages of same module need to be adjusted, must be in multiple pages
Java class file in all configuration explain, this brings very big burden to the regular maintenance of product and operation.
The content of the invention
It is an object of the invention to provide the decoupling method and system of interaction between a kind of business module based on Android, by class
Data storage is mapped in text, and the mode that text can be directly read when in use easily obtains required mapping pass
System, eliminates the trouble for calling java class, and avoid the coupling of code between module.
The invention provides a kind of decoupling method of interaction between business module based on Android, comprise the following steps:
Obtain and respectively wait that the tune for having adjusted the page plays method data in each original service module, according to service path data to described
Adjust method data to carry out classification storage, obtain each route class file corresponding with the original service module;
The route class file is configured, corresponding first kind key values are obtained;Method data have been adjusted to carry out to described
Configuration, obtains corresponding first method key values;
Mapping processing is carried out to each route class file and the corresponding first kind key values, class mapping number is obtained
According to;
Classification storage is carried out to each class mapping data according to the service path data, corresponding first text is obtained
This, and first text is named;
Equations of The Second Kind key values and second method key values are obtained, and according to the Equations of The Second Kind key values and the second method key
Value carries out reflex mechanism processing, and the corresponding page has been adjusted according to result.
As a kind of embodiment, the decoupling method based on interaction between Android business modules that the present invention is provided is also
Comprise the following steps:
Before Equations of The Second Kind key values and second method key values is obtained, each first text is carried out at Uniform Name
Reason, and result is stored in Resource TOC.
It is described and anti-according to the Equations of The Second Kind key values and second method key values progress as a kind of embodiment
Mechanism processing is penetrated, the corresponding page has been adjusted according to result, comprised the following steps:
The Equations of The Second Kind key values are screened with the first text each described, corresponding second text, and root is filtered out
Secondary route class file is obtained according to the class mapping data in second text;
The second method key values are contrasted with the secondary route class file, obtain corresponding having adjusted side operator
According to;
Method data are played according to the secondary route class file and the tune and have adjusted the corresponding page.
It is described to be screened the Equations of The Second Kind key values with the first text each described as a kind of embodiment, sieve
Select corresponding second text, and the class mapping data in second text obtain secondary route class file, including with
Lower step:
The first text each described is screened according to the Equations of The Second Kind key values, obtains corresponding according to the selection result
Second text;
The class mapping data in second text are read, and class mapping data are handled, are obtained pair
The secondary route class file answered.
It is described by the second method key values and secondary route class file progress pair as a kind of embodiment
Than, obtain it is corresponding adjusted method data, comprise the following steps:
The second method key values are contrasted with the secondary route class file, the secondary route class text is judged
Part has adjusted method data with the presence or absence of corresponding with the second method key values;
If having adjusted method data in the presence of corresponding with the second method key values in second text, correspondence is read
Tune rise method data.
Accordingly, the present invention also provides a kind of decoupled system of interaction between business module based on Android, including acquisition point
Generic module, configuration module, mapping processing module, classification memory module and reflection processing module;
The acquisition sort module, respectively waits that the tune for having adjusted the page plays method data for obtaining in each original service module,
Adjust method data to carry out classification storage to described according to service path data, obtained corresponding with the original service module each
It route class file;
The configuration module, for being configured to the route class file, obtains corresponding first kind key values;To institute
State the method data of tune to be configured, obtain corresponding first method key values;
The mapping processing module, for being carried out to each route class file and the corresponding first kind key values
Mapping is handled, and obtains class mapping data;
The classification memory module, for being classified according to the service path data to each class mapping data
Storage, obtains corresponding first text, and first text is named;
The reflection processing module, for obtaining Equations of The Second Kind key values and second method key values, and according to the Equations of The Second Kind
Key values and the second method key values carry out reflex mechanism processing, and the corresponding page has been adjusted according to result.
As a kind of embodiment, the decoupled system based on interaction between Android business modules that the present invention is provided is also
Including name processing module;
The name processing module, for before Equations of The Second Kind key values and second method key values is obtained, to each described
First text carries out Uniform Name processing, and result is stored in Resource TOC.
As a kind of embodiment, the reflection processing module includes screening unit, comparison unit and has adjusted unit;
The screening unit, for the Equations of The Second Kind key values to be screened with the first text each described, is filtered out pair
The second text answered, and in second text class mapping data obtain secondary route class file;
The comparison unit, for the second method key values to be contrasted with the secondary route class file, is obtained
It is corresponding to have adjusted method data;
It is described to have adjusted unit, adjust corresponding page for playing method data according to the secondary route class file and the tune
Face.
As a kind of embodiment, the screening unit includes the first screening subelement and reading process subelement;
The first screening subelement, for being screened according to the Equations of The Second Kind key values to the first text each described,
Corresponding second text is obtained according to the selection result;
The reading process subelement, for reading the mapping data of the class in second text, and to the class
Mapping data are handled, and obtain corresponding secondary route class file.
As a kind of embodiment, the comparison unit includes judgment sub-unit and reads subelement;
The judgment sub-unit, for the second method key values to be contrasted with the secondary route class file, sentences
The secondary route class file that breaks has adjusted method data with the presence or absence of corresponding with the second method key values;
The reading subelement, if for there is adjust corresponding with the second method key values in second text
Method data, then read and corresponding adjusted method data.
Compared with prior art, the technical program has advantages below:
The decoupling method and system based on interaction between Android business modules that the present invention is provided, by obtaining each route
Class file and each tune play method data;Respectively to routeing class file and having adjusted method data configure obtaining the corresponding first kind
Key values and first method key values;Again by the class mapping relations of dynamic generation, and number is mapped to class according to service path data
According to classification storage is carried out, obtain corresponding first text and name;Again by the Equations of The Second Kind key values of acquisition and second method key values
Reflex mechanism processing is carried out, the corresponding page has been adjusted according to result.Class is mapped data storage in text by the present invention,
The mode that text can be directly read when using easily obtains required mapping relations, eliminates the fiber crops for calling java class
It is tired, and avoid the coupling of code between module.
Brief description of the drawings
Fig. 1 is that the flow based on the decoupling method of interaction between Android business modules that the embodiment of the present invention one is provided is shown
It is intended to;
Fig. 2 is that the structure based on the decoupled system of interaction between Android business modules that the embodiment of the present invention two is provided is shown
It is intended to;
Fig. 3 is the structural representation of screening unit in Fig. 2;
Fig. 4 is the structural representation of comparison unit in Fig. 2.
In figure:100th, sort module is obtained;200th, configuration module;300th, processing module is mapped;400th, classification memory module;
500th, processing module is reflected;510th, screening unit;511st, the first screening subelement;512nd, reading process subelement;520th, contrast
Unit;521st, judgment sub-unit;522nd, subelement is read;530th, unit has been adjusted;600th, processing module is named.
Embodiment
Below in conjunction with accompanying drawing, the technical characteristic above-mentioned and other to the present invention and advantage are clearly and completely described,
Obviously, described embodiment is only the section Example of the present invention, rather than whole embodiments.
Referring to Fig. 1, the decoupling method based on interaction between Android business modules that the embodiment of the present invention one is provided, bag
Include following steps:
Respectively wait to have adjusted the tune of the page to play method data in S100, each original service module of acquisition, according to service path data
Exchange method data and carried out classification storage, obtain each route class file corresponding with original service module;
It should be noted that original service module, which exists in many, and each original service module, stores this
Need to have been adjusted the tune of the page to play method data in original service module.That is one route class file and an original industry
Method data have been adjusted to adjust the page to correspond with treating in original service module in module of being engaged in correspondence, the route class file.
And in the present embodiment, respectively wait to have adjusted the tune of the page to play method data in all original service modules, it is placed in a route class text
In part, i.e., all original service intermodule call relations configuration in an original service module is concluded into a file,
Become apparent from conveniently, being more easy to extension.
S200, to route class file configure, obtain corresponding first kind key values;The method data of having exchanged are matched somebody with somebody
Put, obtain corresponding first method key values;
It can be by Java type modification route class file and has adjusted method data, such as use note, explain and be
A Java type, route class file available for modification or has adjusted method data;As Java other types, note can be with
Self-defined different name, while different property values can be set.Defined herein two notes, one is used to modify route class
File, another, which is used to modify, has adjusted method data;Different being explained when routeing class file of modification can use different property values,
When the different tune of modification plays method data, it would however also be possible to employ different property values.So property value can be used as representing route class
File or the key values for having adjusted method data.All configuration works adjusted for original service module by other original service modules
Make only to carry out in this route class file, therefore route class file is that other original service modules are wanted to have adjusted the original industry
The target of business module page.
S300, to it is each route class file and corresponding first kind key values carry out mapping processing, obtain class map data;
S400, according to service path data to each class mapping data carry out classification storage, obtain corresponding first text,
And the first text is named;
It can be carried out for step S300 and S400 as described below, mapping in S300 processing can use APT instruments
Mapping processing is carried out, mapping processing is carried out for example with plug-in unit com.neenbedankt.android-apt, it is necessary first to illustrate
Be APT instruments be used for during compiling according to explain generate or modification file, and APT instruments process object be one
Processor (processor) handles class, it is therefore desirable to which a self-defined Processor handles class, is then carried in configuration file
Supply APT instruments are used.All configuration works can match somebody with somebody in Android Studio (Android project developments instrument) project
Put in file and complete.In customized Processor processing classes, read the class name of route class file and modify route class text
The property value of the note of part.And step S400 is that their mapping relations are carried out into classification storage, that is, correspond write-in
In first text of common format, and Android Resource TOCs are placed in as Android resource files;Each first text can
Together it is packed into Android installation files.That is class all in original service module mapping data are stored in
In one corresponding first text, and how many original service module certainly, also may be used with regard to how many corresponding first text
Be according to each class key values give each first text name.In other embodiment, it can be entered using others APT instruments
Row mapping is handled.
S500, acquisition Equations of The Second Kind key values and second method key values, and according to Equations of The Second Kind key values and second method key values
Reflex mechanism processing is carried out, the corresponding page has been adjusted according to result.
Equations of The Second Kind key values are a certain specific first kind key values, or a collection of specific first kind key values, second party
Method key values are a certain specific first method key values, or a collection of specific first method key values.
The decoupling method based on interaction between Android business modules that the present invention is provided, by obtaining each route class file
Method data have been adjusted with each;Respectively to routeing class file and having adjusted method data configure obtaining corresponding first kind key values
With first method key values;Again by the class mapping relations of dynamic generation, and class mapping data are carried out according to service path data
Classification storage, obtains corresponding first text and names;The Equations of The Second Kind key values of acquisition and second method key values are carried out again anti-
Mechanism processing is penetrated, the corresponding page has been adjusted according to result.Class is mapped data storage in text by the present invention, when in use
The mode that text can be directly read easily obtains required mapping relations, eliminates the trouble for calling java class, and
And avoid the coupling of code between module.
Further, the decoupling method based on interaction between Android business modules that the embodiment of the present invention one is provided also is wrapped
Include following steps:
Before Equations of The Second Kind key values and second method key values is obtained, Uniform Name processing is carried out to each first text,
And result is stored in Resource TOC.
That is corresponding first text of all original service module generations assigns identical prefix name or suffix
Name, it is convenient to be filtered and read as a class file.And be stored in as resource file in Android assets catalogues, can
According to mapping relations text all in specified unified prefix name or suffix name filtering assets catalogues, then by reading
The mode of resource file easily obtains all mapping relations, improves operational efficiency, and convenient filtering is read.
Further, step S500 comprises the following steps:
S510, Equations of The Second Kind key values and each first text screened, filter out corresponding second text, and according to
Class mapping data in second text obtain secondary route class file;
S520, second method key values and secondary route class file contrasted, obtain corresponding having adjusted method data;
S530, the corresponding page adjusted according to secondary route class file and the method data of tune.
Above-mentioned steps can regard a unified tune as and play management method process, due to mutual between each original service module
The pattern mutually adjusted is identical, and unified tune can be achieved and plays management method, is used for all original service modules.Represented by obtaining
The Equations of The Second Kind key values of target service module route class file are corresponding with waiting to have adjusted the page to have adjusted the second methods of method data
Key values.Obtained routeing class file from the first text according to Equations of The Second Kind key values, according to second method key values and obtained class road
Method data have been adjusted by file acquisition;Equivalent to by Java reflex mechanism technologies, realize that correspondence waits to have adjusted the tune of the page to rise,
JAVA reflex mechanisms are in running status, for any one class, can to know all properties and method of this class;It is right
In any one object, its any one method and attribute can be called;The information and dynamic of this dynamic access are adjusted
It is referred to as the reflex mechanism of java language with the function of the method for object.The present invention utilizes Equations of The Second Kind key values and second method key values
Data are mapped with reference to the class being stored in plain text, are realized using Java reflex mechanisms technology, it is not necessary to depend directly on mould
Block, simple flow is convenient to be managed.
Further, step S510 comprises the following steps:
S511, according to Equations of The Second Kind key values each first text is screened, corresponding second is obtained according to the selection result
Text;
S512, the class mapping data read in the second text, and class mapping data are handled, obtain corresponding second
It route class file.
All kinds of first texts are exactly that the second text of data is mapped with class according to service path data storage, and are screened
It is exactly the text that the class for filtering out storage correspondence class key values according to given Equations of The Second Kind key values maps data in fact;Such as, give
The class key values of cover half block 1, that is, module 1 property value, and in each first text exist one it is corresponding with module 1 have
There is the second text of the property value of module 1 and the corresponding class mapping data that are stored with.Then directly according to the property value of module 1,
Filter out the first text of correspondence.
Further, step S520 comprises the following steps:
S521, second method key values and secondary route class file contrasted, judge whether secondary route class file is deposited
Method data have been adjusted corresponding with second method key values;
If having adjusted method data in the presence of corresponding with second method key values in S522, the second text, corresponding tune is read
Play method data.
Based on same inventive concept, the embodiment of the present invention also provides a kind of solution of interaction between business module based on Android
Coupling system, the implementation of the system can refer to the process realization of the above method, repeat part no longer redundant later.
As shown in Fig. 2 being the decoupled system based on interaction between Android business modules that the embodiment of the present invention two is provided
Structural representation, including obtain sort module 100, configuration module 200, mapping processing module 300, classification memory module 400 with
And reflection processing module 500;
Obtaining sort module 100 is used to obtain the tune method data for respectively waiting to have adjusted the page in each original service module, root
Method data have been exchanged according to service path data and have carried out classification storage, obtain each route class text corresponding with original service module
Part;
Configuration module 200 is used to configure route class file, obtains corresponding first kind key values;Method is exchanged
Data are configured, and obtain corresponding first method key values;
Mapping processing module 300 is used to carry out mapping processing to each route class file and corresponding first kind key values, obtains
Data are mapped to class;
Memory module 400 of classifying is used to carry out classification storage to each class mapping data according to service path data, obtains
Corresponding first text, and the first text is named;
Reflection processing module 500 is used to obtain Equations of The Second Kind key values and second method key values, and according to Equations of The Second Kind key values with
Second method key values carry out reflex mechanism processing, and the corresponding page has been adjusted according to result.
Further, the decoupled system based on interaction between Android business modules that the present invention is provided also includes at name
Manage module 600;
Processing module 600 is named to be used for before Equations of The Second Kind key values and second method key values is obtained, to each first text
This progress Uniform Name processing, and result is stored in Resource TOC.
Further, reflection processing module 500 includes screening unit 510, comparison unit 520 and has adjusted unit 530;
Screening unit 510 is used to be screened Equations of The Second Kind key values with each first text, filters out corresponding second text
This, and in the second text class mapping data obtain secondary route class file;
Comparison unit 520 is used to be contrasted second method key values with secondary route class file, obtains corresponding adjust
Method data;
Adjust unit 530 to be used for according to secondary route class file and adjust method data to adjust the corresponding page.
As shown in figure 3, be the structural representation of screening unit 510, including the first screening subelement 511 and reading process
Unit 512;
First screening subelement 511 is used to screen each first text according to Equations of The Second Kind key values, is tied according to screening
Fruit obtains corresponding second text;
The class mapping data that reading process subelement 512 is used to read in the second text, and class is mapped at data
Reason, obtains corresponding secondary route class file.
As shown in figure 4, be the structural representation of comparison unit 520, including judgment sub-unit 521 and read subelement 522;
Judgment sub-unit 521 is used to be contrasted second method key values with secondary route class file, judges secondary route
Class file has adjusted method data with the presence or absence of corresponding with second method key values;
If reading subelement 522 is used in the second text adjust method data in the presence of corresponding with second method key values,
Reading is corresponding to have adjusted method data.
The decoupled system based on interaction between Android business modules that the present invention is provided, by obtaining each route class file
Method data have been adjusted with each;Respectively to routeing class file and having adjusted method data configure obtaining corresponding first kind key values
With first method key values;Again by the class mapping relations of dynamic generation, and class mapping data are carried out according to service path data
Classification storage, obtains corresponding first text and names;The Equations of The Second Kind key values of acquisition and second method key values are carried out again anti-
Mechanism processing is penetrated, the corresponding page has been adjusted according to result.Class is mapped data storage in text by the present invention, when in use
The mode that text can be directly read easily obtains required mapping relations, eliminates the trouble for calling java class, and
And avoid the coupling of code between module.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this area
Technical staff without departing from the spirit and scope of the present invention, may be by the methods and techniques content of the disclosure above to this hair
Bright technical scheme makes possible variation and modification, therefore, every content without departing from technical solution of the present invention, according to the present invention
Any simple modifications, equivalents, and modifications made to above example of technical spirit, belong to technical solution of the present invention
Protection domain.
Claims (10)
1. the decoupling method of interaction between a kind of business module based on Android, it is characterised in that comprise the following steps:
Obtain and respectively wait that the tune for having adjusted the page plays method data in each original service module, adjusted according to service path data to described
Method data carry out classification storage, obtain each route class file corresponding with the original service module;
The route class file is configured, corresponding first kind key values are obtained;Method data have been adjusted to match somebody with somebody to described
Put, obtain corresponding first method key values;
Mapping processing is carried out to each route class file and the corresponding first kind key values, class mapping data are obtained;
Classification storage is carried out to each class mapping data according to the service path data, corresponding first text is obtained,
And first text is named;
Equations of The Second Kind key values and second method key values are obtained, and is entered according to the Equations of The Second Kind key values and the second method key values
The processing of row reflex mechanism, the corresponding page has been adjusted according to result.
2. the decoupling method as claimed in claim 1 based on interaction between Android business modules, it is characterised in that also include
Following steps:
Before Equations of The Second Kind key values and second method key values is obtained, Uniform Name processing is carried out to each first text,
And result is stored in Resource TOC.
3. the decoupling method based on interaction between Android business modules as claimed in claim 1, it is characterised in that it is described simultaneously
Reflex mechanism processing is carried out according to the Equations of The Second Kind key values and the second method key values, has adjusted corresponding according to result
The page, comprises the following steps:
The Equations of The Second Kind key values are screened with the first text each described, corresponding second text is filtered out, and according to institute
State the mapping of the class in the second text data and obtain secondary route class file;
The second method key values are contrasted with the secondary route class file, obtain corresponding having adjusted method data;
Method data are played according to the secondary route class file and the tune and have adjusted the corresponding page.
4. it is as claimed in claim 3 based on the decoupling method interacted between Android business modules, it is characterised in that described to incite somebody to action
The Equations of The Second Kind key values are screened with the first text each described, filter out corresponding second text, and according to described second
Class mapping data in text obtain secondary route class file, comprise the following steps:
The first text each described is screened according to the Equations of The Second Kind key values, corresponding second is obtained according to the selection result
Text;
The class mapping data in second text are read, and class mapping data are handled, obtain corresponding
Secondary route class file.
5. it is as claimed in claim 3 based on the decoupling method interacted between Android business modules, it is characterised in that described to incite somebody to action
The second method key values are contrasted with the secondary route class file, obtain it is corresponding adjusted method data, it is including following
Step:
The second method key values are contrasted with the secondary route class file, judge that the secondary route class file is
It is no to have adjusted method data in the presence of corresponding with the second method key values;
If having adjusted method data in the presence of corresponding with the second method key values in second text, corresponding tune is read
Play method data.
6. the decoupled system of interaction between a kind of business module based on Android, it is characterised in that including obtaining sort module, matching somebody with somebody
Put module, mapping processing module, classification memory module and reflection processing module;
The acquisition sort module, respectively waits that the tune for having adjusted the page plays method data for obtaining in each original service module, according to
Service path data have adjusted method data to carry out classification storage to described, obtain each route corresponding with the original service module
Class file;
The configuration module, for being configured to the route class file, obtains corresponding first kind key values;Adjusted to described
Play method data to be configured, obtain corresponding first method key values;
The mapping processing module, for mapping each route class file and the corresponding first kind key values
Processing, obtains class mapping data;
The classification memory module, is deposited for carrying out classification to each class mapping data according to the service path data
Storage, obtains corresponding first text, and first text is named;
The reflection processing module, for obtaining Equations of The Second Kind key values and second method key values, and according to the Equations of The Second Kind key values
Reflex mechanism processing is carried out with the second method key values, the corresponding page has been adjusted according to result.
7. the decoupled system as claimed in claim 6 based on interaction between Android business modules, it is characterised in that also include
Name processing module;
The name processing module, for before Equations of The Second Kind key values and second method key values is obtained, to each described first
Text carries out Uniform Name processing, and result is stored in Resource TOC.
8. the decoupled system as claimed in claim 6 based on interaction between Android business modules, it is characterised in that described anti-
Processing module is penetrated including screening unit, comparison unit and unit has been adjusted;
The screening unit, for the Equations of The Second Kind key values to be screened with the first text each described, is filtered out corresponding
Second text, and in second text class mapping data obtain secondary route class file;
The comparison unit, for the second method key values to be contrasted with the secondary route class file, obtains correspondence
Tune rise method data;
It is described to have adjusted unit, adjust the corresponding page for playing method data according to the secondary route class file and the tune.
9. the decoupled system as claimed in claim 8 based on interaction between Android business modules, it is characterised in that the sieve
Menu member includes the first screening subelement and reading process subelement;
The first screening subelement, for being screened according to the Equations of The Second Kind key values to the first text each described, according to
The selection result obtains corresponding second text;
The reading process subelement, for reading the mapping data of the class in second text, and maps the class
Data are handled, and obtain corresponding secondary route class file.
10. the decoupled system as claimed in claim 8 based on interaction between Android business modules, it is characterised in that described right
Include judgment sub-unit than unit and read subelement;
The judgment sub-unit, for the second method key values to be contrasted with the secondary route class file, judges institute
State secondary route class file and adjust method data with the presence or absence of corresponding with the second method key values;
The reading subelement, if for having adjusted method in the presence of corresponding with the second method key values in second text
Data, then read and corresponding adjusted method data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710538929.3A CN107273138A (en) | 2017-07-04 | 2017-07-04 | Decoupling method and system based on interaction between Android business modules |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710538929.3A CN107273138A (en) | 2017-07-04 | 2017-07-04 | Decoupling method and system based on interaction between Android business modules |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107273138A true CN107273138A (en) | 2017-10-20 |
Family
ID=60071429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710538929.3A Pending CN107273138A (en) | 2017-07-04 | 2017-07-04 | Decoupling method and system based on interaction between Android business modules |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107273138A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108363614A (en) * | 2018-03-07 | 2018-08-03 | 北京恒华伟业科技股份有限公司 | A kind of business module management method, device and the server of application |
CN108416199A (en) * | 2018-03-07 | 2018-08-17 | 北京恒华伟业科技股份有限公司 | A kind of user authority control method of application, device and server |
CN109597621A (en) * | 2018-08-24 | 2019-04-09 | 天津字节跳动科技有限公司 | Encapsulate method, apparatus, Dagger, decoupling method, device, equipment and the medium of Dagger |
CN110609984A (en) * | 2019-08-26 | 2019-12-24 | 深圳市亿道数码技术有限公司 | Method and system for automatically splitting Google key in Windows system |
CN110795091A (en) * | 2018-08-01 | 2020-02-14 | 武汉斗鱼网络科技有限公司 | Modular routing decoupling method, storage medium, electronic device and system |
CN113760486A (en) * | 2020-08-03 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Task processing method and task processing device |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070127479A1 (en) * | 2005-12-05 | 2007-06-07 | David Sinicrope | A method and arrangement for distributed pseudo-wire signaling |
CN101075989A (en) * | 2007-03-23 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method and system for verifying field validity |
CN101605028A (en) * | 2009-02-17 | 2009-12-16 | 北京安天电子设备有限公司 | A kind of combining log records method and system |
CN102508706A (en) * | 2011-11-18 | 2012-06-20 | 北京航空航天大学 | Multi-source data integrating platform and establishing method thereof |
CN102819579A (en) * | 2012-07-25 | 2012-12-12 | 珠海金山网络游戏科技有限公司 | Lua script file management method by using package system |
CN103593418A (en) * | 2013-10-30 | 2014-02-19 | 中国科学院计算技术研究所 | Distributed subject finding method and system for big data |
CN103744680A (en) * | 2014-01-16 | 2014-04-23 | 北京邮电大学 | Method and device for business process processing |
CN103957188A (en) * | 2014-03-24 | 2014-07-30 | 浪潮集团山东通用软件有限公司 | Symmetrical bidirectional decoupling enterprise service description method and service scheduling system |
CN104484284A (en) * | 2013-03-31 | 2015-04-01 | 英特尔公司 | Instructions and logic to provide advanced paging capabilities for secure enclave page caches |
CN104536769A (en) * | 2015-01-16 | 2015-04-22 | 浪潮电子信息产业股份有限公司 | International file achieving method |
CN105095348A (en) * | 2015-06-09 | 2015-11-25 | 北京织星科技有限公司 | Method for dynamically configuring website through XML (Extensive Markup Language) |
CN105373550A (en) * | 2014-08-25 | 2016-03-02 | 国家电网公司 | Data mapping method and apparatus |
CN105391777A (en) * | 2015-10-28 | 2016-03-09 | 卢星宇 | Algorithm escrow PaaS platform for decoupling logic code and performance code |
CN105824844A (en) * | 2015-01-08 | 2016-08-03 | 北京四维图新科技股份有限公司 | Data sorting mapping method and device |
CN106844310A (en) * | 2017-01-22 | 2017-06-13 | 南京南瑞继保电气有限公司 | A kind of structured text code process method and system |
-
2017
- 2017-07-04 CN CN201710538929.3A patent/CN107273138A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070127479A1 (en) * | 2005-12-05 | 2007-06-07 | David Sinicrope | A method and arrangement for distributed pseudo-wire signaling |
CN101075989A (en) * | 2007-03-23 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method and system for verifying field validity |
CN101605028A (en) * | 2009-02-17 | 2009-12-16 | 北京安天电子设备有限公司 | A kind of combining log records method and system |
CN102508706A (en) * | 2011-11-18 | 2012-06-20 | 北京航空航天大学 | Multi-source data integrating platform and establishing method thereof |
CN102819579A (en) * | 2012-07-25 | 2012-12-12 | 珠海金山网络游戏科技有限公司 | Lua script file management method by using package system |
CN104484284A (en) * | 2013-03-31 | 2015-04-01 | 英特尔公司 | Instructions and logic to provide advanced paging capabilities for secure enclave page caches |
CN103593418A (en) * | 2013-10-30 | 2014-02-19 | 中国科学院计算技术研究所 | Distributed subject finding method and system for big data |
CN103744680A (en) * | 2014-01-16 | 2014-04-23 | 北京邮电大学 | Method and device for business process processing |
CN103957188A (en) * | 2014-03-24 | 2014-07-30 | 浪潮集团山东通用软件有限公司 | Symmetrical bidirectional decoupling enterprise service description method and service scheduling system |
CN105373550A (en) * | 2014-08-25 | 2016-03-02 | 国家电网公司 | Data mapping method and apparatus |
CN105824844A (en) * | 2015-01-08 | 2016-08-03 | 北京四维图新科技股份有限公司 | Data sorting mapping method and device |
CN104536769A (en) * | 2015-01-16 | 2015-04-22 | 浪潮电子信息产业股份有限公司 | International file achieving method |
CN105095348A (en) * | 2015-06-09 | 2015-11-25 | 北京织星科技有限公司 | Method for dynamically configuring website through XML (Extensive Markup Language) |
CN105391777A (en) * | 2015-10-28 | 2016-03-09 | 卢星宇 | Algorithm escrow PaaS platform for decoupling logic code and performance code |
CN106844310A (en) * | 2017-01-22 | 2017-06-13 | 南京南瑞继保电气有限公司 | A kind of structured text code process method and system |
Non-Patent Citations (2)
Title |
---|
WEIXIN_30542079: ""wpf企业应用之UI模块解耦"", 《HTTPS://BLOG.CSDN.NET/WEIXIN_30542079/ARTICLE/DETAILS/97529216》 * |
旺仔哥: ""简单好用的Android页面路由框架"", 《HTTPS://BLOG.CSDN.NET/WANGWANGLI6/ARTICLE/DETAILS/71375465》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108363614A (en) * | 2018-03-07 | 2018-08-03 | 北京恒华伟业科技股份有限公司 | A kind of business module management method, device and the server of application |
CN108416199A (en) * | 2018-03-07 | 2018-08-17 | 北京恒华伟业科技股份有限公司 | A kind of user authority control method of application, device and server |
CN108363614B (en) * | 2018-03-07 | 2022-04-12 | 北京恒华伟业科技股份有限公司 | Application service module management method and device and server |
CN110795091A (en) * | 2018-08-01 | 2020-02-14 | 武汉斗鱼网络科技有限公司 | Modular routing decoupling method, storage medium, electronic device and system |
CN110795091B (en) * | 2018-08-01 | 2023-07-28 | 深圳丰享信息技术有限公司 | Modularized route decoupling method, storage medium, electronic equipment and system |
CN109597621A (en) * | 2018-08-24 | 2019-04-09 | 天津字节跳动科技有限公司 | Encapsulate method, apparatus, Dagger, decoupling method, device, equipment and the medium of Dagger |
CN110609984A (en) * | 2019-08-26 | 2019-12-24 | 深圳市亿道数码技术有限公司 | Method and system for automatically splitting Google key in Windows system |
CN113760486A (en) * | 2020-08-03 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Task processing method and task processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273138A (en) | Decoupling method and system based on interaction between Android business modules | |
US20170177634A1 (en) | Creating data in a data store using a dynamic ontology | |
CN109344230A (en) | Code library file generation, code search, connection, optimization and transplantation method | |
US20060259891A1 (en) | System and method of generating an auto-wiring script | |
CN101727436A (en) | Method for processing report data, reporting system and related device thereof | |
CN107741903A (en) | Application compatibility method of testing, device, computer equipment and storage medium | |
CN108268525A (en) | A kind of report implementation method and device based on Excel template | |
CN111259067B (en) | Method, device and equipment for realizing DAO interface based on Spring | |
CN112149393B (en) | Data processing method, data processing equipment and computer readable storage medium | |
CN113312108B (en) | SWIFT message verification method and device, electronic equipment and storage medium | |
US20060224777A1 (en) | System and method for creating test data for data driven software systems | |
CN109981322A (en) | The method and apparatus of cloud resource management based on label | |
CN110515896A (en) | Model resource management method, model file production method, device and system | |
CN102929646A (en) | Application program production method and device | |
CN110020358A (en) | Method and apparatus for generating dynamic page | |
CN111061733B (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN113159618A (en) | Rule engine design method and device with separated technical view angles | |
CN111881042A (en) | Automatic test script generation method and device and electronic equipment | |
CN111984666A (en) | Database access method and device, computer readable storage medium and computer equipment | |
CN111898351B (en) | Automatic Excel data importing method and device based on Aviator, terminal equipment and storage medium | |
US20070067254A1 (en) | Business model data management | |
CN102707938A (en) | Table-form software specification manufacturing and supporting method and device | |
CN106294530A (en) | The method and system of rule match | |
CN115757174A (en) | Database difference detection method and device | |
CN109117431A (en) | System and method for the source data applied from source to be incorporated into the target data of target application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20210601 |
|
AD01 | Patent right deemed abandoned |