CN107562428A - Rule-based adaptable software quick interface arrangement method and system - Google Patents
Rule-based adaptable software quick interface arrangement method and system Download PDFInfo
- Publication number
- CN107562428A CN107562428A CN201710803575.0A CN201710803575A CN107562428A CN 107562428 A CN107562428 A CN 107562428A CN 201710803575 A CN201710803575 A CN 201710803575A CN 107562428 A CN107562428 A CN 107562428A
- Authority
- CN
- China
- Prior art keywords
- interface
- rule
- layout
- software
- configurations
- 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
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000009466 transformation Effects 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims description 22
- 230000000694 effects Effects 0.000 claims description 7
- 239000012634 fragment Substances 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000005611 electricity Effects 0.000 claims 1
- 239000004744 fabric Substances 0.000 claims 1
- 238000011161 development Methods 0.000 abstract description 7
- 230000009286 beneficial effect Effects 0.000 abstract description 4
- 230000008569 process Effects 0.000 abstract description 3
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention discloses rule-based adaptable software quick interface arrangement method and system, for interface configurations to be converted into target interface, includes, step S1, it is determined that on the description configuration file for the layout transformation rule mutually changed between interface configurations and target interface;Step S2 a, there is provided interface configurations, the interface definition file of resolution interface configuration, determine the rule configuration object and interface layout and component Configuration object of interface configurations;Step S3, according to the rule configuration object of interface configurations, in description configuration file, it is determined that corresponding layout transformation rule;And step S4, the interface layout of interface configurations and component Configuration are processed into the interface layout and component Configuration of target interface, to generate target interface.The beneficial effects of the present invention are:Each system platform is adapted to, improves the interface adaptability of software, reduces the development cost of customization software, shortens the development process of customization software.
Description
Technical field
The present invention relates to computer software fields, are based particularly on the adaptable software quick interface arrangement method of rule and are
System, the software interface for various systems, platform, equipment are adaptive.
Background technology
Increasingly advanced, mobile device increasingly popularization of the today's society with computer technology, various system equipments
Function it is stronger and stronger, the importance of software application highlights all the more, and the adaptability of software application is also important all the more, particularly
The interface adaptability of software application.
The interface adaptability quality of software application is particularly important to the interactive experience of its customer group.
But the now software application of main flow, several drawbacks below its interface layout mode generally existing:
First, interface limitation is big, dependent on corresponding platform and system.For example mobile device is the same as PC computers, its interface layout, boundary
Face effect, the processing mode of main software application, it is that each alienation is carried out according to system and equipment because of the limitation of system and equipment
Design and processing.
2nd, interface compatibility is poor, and same interface can not be applicable under different platform.For example Android mobile phone end, Android are put down
Interface layout and interfacial effect between plate computer, IOS mobile phone terminals, IOS tablet personal computers, PC applications and web browser all can not
It is compatible well, same design and processing can not be accomplished, be adapted to each system platform and equipment.
3rd, the cost of software application customized development is high.Two drawbacks because more than, cause each system platform equipment, such as
Fruit needs to develop the software application of a customization, then needs to redesign the interface layout applied and effect, improve software and open
The cost of hair.
4th, the increased periods of software application customized development.Ibid, because of one, 2 two drawback, each system platform is caused to set
It is standby, the software application of a customization is developed, then needs to redesign the interface layout applied and effect, extends whole software and open
Hair process.
The content of the invention
The technical problem to be solved in the present invention is to provide rule-based adaptable software quick interface arrangement method.
In order to realize this purpose, technical scheme is as follows:Rule-based adaptable software interface layout side
Method, for interface configurations to be converted into target interface, include following steps,
Step S1, it is determined that on mutually changed between interface configurations and target interface layout transformation rule description configuration file,
At least there is the rule configuration object on interface configurations, matching somebody with somebody interface under rule-based configuration object in layout transformation rule
The interface layout and component Configuration object put are converted at the interface layout of target interface and the interface layout of component Configuration object
Manage the relevant information of code;
Step S2 a, there is provided interface configurations, the interface definition file of resolution interface configuration, determine the rule configuration pair of interface configurations
As with interface layout and component Configuration object;
Step S3, according to the rule configuration object of interface configurations, in description configuration file, it is determined that corresponding layout conversion rule
Then, obtain and the interface layout of interface configurations and component Configuration object are converted into target interface under rule-based configuration object
The interface layout of interface layout and component Configuration object handles code;And
Step S4, code is handled according to above-mentioned interface layout, the interface layout of interface configurations and component Configuration are processed into target
The interface layout and component Configuration at interface, to generate target interface.
As the preferred scheme of rule-based adaptable software quick interface arrangement method, interface configurations are to software application
The definition description of interface layout, effect, event.
As the preferred scheme of rule-based adaptable software quick interface arrangement method, target interface is to be adapted to running software
Adaptable software interface under environment.Further, target interface is selected from one of the following:Android mobile phone end software interface, Android
Tablet personal computer software interface, IOS mobile phone terminals software interface, IOS tablet personal computers software interface, PC software interfaces and web are clear
Look at device software interface.
As the preferred scheme of rule-based adaptable software quick interface arrangement method, layout transformation rule have it is following it
One or more:Interface configurations logical formula, script define fragment, Java code fragment, JS code snippets, regular expression.
As the preferred scheme of rule-based adaptable software quick interface arrangement method, adaptable software quick interface arrangement method
Software development applied to one of the following or plurality of devices:Smart mobile phone, tablet personal computer, PC computers and PDA mobile devices.
The technical problem to be solved in the present invention is also to provide rule-based adaptable software interface layout system, for inciting somebody to action
Interface configurations are converted into target interface, include,
Interface configurations parsing module, it is used for the interface definition file of resolution interface configuration, generates the rule configuration of interface configurations
Object and interface layout and component Configuration object;And
Rule parsing processing module, it has rule match unit and interface layout Logical processing unit.Rule match unit is used
In the rule configuration object according to interface configurations, in description configuration file, it is determined that corresponding layout transformation rule, is based on
Rule configuration object under the interface layout that the interface layout of interface configurations and component Configuration object are converted to target interface and
The interface layout processing code of component Configuration object;Interface layout Logical processing unit is used to handle generation according to above-mentioned interface layout
Code, the interface layout of interface configurations and component Configuration are processed into the interface layout and component Configuration of target interface, to generate mesh
Demarcate face.
As the preferred scheme of rule-based adaptable software interface layout system, layout system completely or partially stores
In the storage medium that can be read.Further, storage medium is one of the following:ROM, RAM, disk, CD etc..
Compared with prior art, beneficial effects of the present invention at least that:Each system platform is adapted to, improves the interface of software
Adaptability, the development cost of customization software is reduced, shorten the development process of customization software.
Except it is described above present invention solves the technical problem that, form technical scheme technical characteristic and by these
Outside beneficial effect caused by the technical characteristic of technical scheme, other technologies problem, technical scheme that the present invention can solve
In the beneficial effect brought of the other technical characteristics that include and these technical characteristics, will be made with reference to accompanying drawing further details of
Explanation.
Brief description of the drawings
Fig. 1 is the method flow schematic diagram of one embodiment of the invention.
Fig. 2 is the processing procedure figure of software application in one embodiment of the invention.
Fig. 3 is internal logic procedure chart in one embodiment of the invention.
Fig. 4 is parsing module internal logic procedure chart in one embodiment of the invention.
Embodiment
The present invention is described in further detail below by specific embodiment combination accompanying drawing.Need what is illustrated herein
It is to be used to help understand the present invention for the explanation of these embodiments, but do not form limitation of the invention.In addition, below
As long as involved technical characteristic does not form conflict can phase each other in described each embodiment of the invention
Mutually combination.
Fig. 1 to 4 is referred to, rule-based adaptable software quick interface arrangement method is shown in the figure, for by interface
Configuration is converted into target interface.Include following steps and perform successively,
Step S1, it is determined that on mutually changed between interface configurations and target interface layout transformation rule description configuration file,
At least there is the rule configuration object on interface configurations, matching somebody with somebody interface under rule-based configuration object in layout transformation rule
The interface layout and component Configuration object put are converted at the interface layout of target interface and the interface layout of component Configuration object
Manage the relevant information of code;
Step S2 a, there is provided interface configurations, the interface definition file of resolution interface configuration, determine the rule configuration pair of interface configurations
As with interface layout and component Configuration object;
Step S3, according to the rule configuration object of interface configurations, in description configuration file, it is determined that corresponding layout conversion rule
Then, obtain and the interface layout of interface configurations and component Configuration object are converted into target interface under rule-based configuration object
The interface layout of interface layout and component Configuration object handles code;And
Step S4, code is handled according to above-mentioned interface layout, the interface layout of interface configurations and component Configuration are processed into target
The interface layout and component Configuration at interface, to generate target interface.
Definition description of the interface configurations above to the interface layout of software application, effect, event.
Thereby, the interface adaptability of software is improved, reduces the development cost of customization software, shortens the exploitation of customization software
Journey.
Fig. 2 to 4 is referred to, according to above-mentioned adaptable software quick interface arrangement method, obtains rule-based adaptable software
Interface layout system.Adaptable software interface layout system has interface configurations parsing module and rule parsing processing module.
Interface configurations parsing module, it is used for the interface definition file of resolution interface configuration, generates the rule of interface configurations
Configure object and interface layout and component Configuration object;And
Rule parsing processing module, it has rule match unit and interface layout Logical processing unit.Rule match unit is used
In the rule configuration object according to interface configurations, in description configuration file, it is determined that corresponding layout transformation rule, is based on
Rule configuration object under the interface layout that the interface layout of interface configurations and component Configuration object are converted to target interface and
The interface layout processing code of component Configuration object;Interface layout Logical processing unit is used to handle generation according to above-mentioned interface layout
Code, the interface layout of interface configurations and component Configuration are processed into the interface layout and component Configuration of target interface, to generate mesh
Demarcate face.
Specifically, for example, a various rules of customization and the description configuration file of interface layout and component, are solved by rule
The processing of processing module is analysed, if selection meets Android mobile phone(Android mobile phone, i.e. rule configuration object)Rule, pass through rule choosing
Select corresponding interface processing code, Android mobile phone application interface corresponding to generation;If selection meets IOS mobile phones(IOS mobile phones, that is, advise
Then configure object)Rule, corresponding interface processing code, IOS mobile phones application interface corresponding to generation are selected by rule;If choosing
Select and meet Web browser(Web, i.e. rule configuration object)Rule, pass through the corresponding interface processing code of rule selection, generation pair
Web browser application interface answered, etc..
The all or part of above-mentioned technical proposal provided in an embodiment of the present invention can pass through the related hardware of programmed instruction
To complete, described program can be stored in the storage medium that can be read, and the storage medium includes:ROM, RAM, disk, light
Disk etc. is various can be with the medium of store program codes.
Embodiments of the present invention are only expressed above, and its description is more specific and detailed, but and can not therefore understand
For the limitation to patent of invention scope.It should be pointed out that for the person of ordinary skill of the art, this hair is not being departed from
On the premise of bright design, various modifications and improvements can be made, these belong to protection scope of the present invention.Therefore, this hair
The protection domain of bright patent should be determined by the appended claims.
Claims (10)
1. rule-based adaptable software quick interface arrangement method, for interface configurations to be converted into target interface, its feature exists
In, include following steps,
Step S1, it is determined that on mutually changed between interface configurations and target interface layout transformation rule description configuration file,
At least there is the rule configuration object on interface configurations, matching somebody with somebody interface under rule-based configuration object in layout transformation rule
The interface layout and component Configuration object put are converted at the interface layout of target interface and the interface layout of component Configuration object
Manage the relevant information of code;
Step S2 a, there is provided interface configurations, the interface definition file of resolution interface configuration, determine the rule configuration pair of interface configurations
As with interface layout and component Configuration object;
Step S3, according to the rule configuration object of interface configurations, in description configuration file, it is determined that corresponding layout conversion rule
Then, obtain and the interface layout of interface configurations and component Configuration object are converted into target interface under rule-based configuration object
The interface layout of interface layout and component Configuration object handles code;And
Step S4, code is handled according to above-mentioned interface layout, the interface layout of interface configurations and component Configuration are processed into target
The interface layout and component Configuration at interface, to generate target interface.
2. rule-based adaptable software quick interface arrangement method according to claim 1, it is characterised in that interface configurations are pair
The definition description of the interface layout, effect, event of software application.
3. rule-based adaptable software quick interface arrangement method according to claim 1, it is characterised in that target interface is suitable
Close the adaptable software interface under software runtime environment.
4. rule-based adaptable software quick interface arrangement method according to claim 3, it is characterised in that target interface is selected from
One of the following:Android mobile phone end software interface, Android tablet personal computer software interface, IOS mobile phone terminals software interface, IOS flat boards electricity
Brain software interface, PC software interfaces and web browser software interface.
5. rule-based adaptable software quick interface arrangement method according to claim 1, it is characterised in that layout transformation rule
With one of the following or a variety of:Interface configurations logical formula, script define fragment, Java code fragment, JS code snippets, canonical
Expression formula.
6. rule-based adaptable software quick interface arrangement method according to claim 1, it is characterised in that adaptable software circle
Face layout method is applied to the software development of one of the following or plurality of devices:Smart mobile phone, tablet personal computer, PC computers and PDA are moved
Dynamic equipment.
7. rule-based adaptable software interface layout system, for interface configurations to be converted into target interface, its feature exists
In, include,
Interface configurations parsing module, it is used for the interface definition file of resolution interface configuration, generates the rule configuration of interface configurations
Object and interface layout and component Configuration object;And
Rule parsing processing module, it has rule match unit and interface layout Logical processing unit.
8. rule-based adaptable software interface layout system according to claim 7, it is characterised in that
Rule match unit is used for the rule configuration object according to interface configurations, in description configuration file, it is determined that corresponding cloth
Office's transformation rule, obtain and the interface layout of interface configurations and component Configuration object are converted into mesh under rule-based configuration object
Demarcate face interface layout and component Configuration object interface layout processing code;
Interface layout Logical processing unit is used to handle code according to above-mentioned interface layout, by the interface layout and group of interface configurations
Part configures the interface layout and component Configuration for being processed into target interface, to generate target interface.
9. rule-based adaptable software interface layout system according to claim 8, it is characterised in that layout system is whole
Or part is stored in the storage medium that can be read.
10. rule-based adaptable software interface layout system according to claim 9, it is characterised in that storage medium is
One of the following:ROM, RAM, disk, CD etc..
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710803575.0A CN107562428A (en) | 2017-09-08 | 2017-09-08 | Rule-based adaptable software quick interface arrangement method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710803575.0A CN107562428A (en) | 2017-09-08 | 2017-09-08 | Rule-based adaptable software quick interface arrangement method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107562428A true CN107562428A (en) | 2018-01-09 |
Family
ID=60979612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710803575.0A Pending CN107562428A (en) | 2017-09-08 | 2017-09-08 | Rule-based adaptable software quick interface arrangement method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107562428A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109684319A (en) * | 2018-12-25 | 2019-04-26 | 北京小米移动软件有限公司 | Data clean system, method, apparatus and storage medium |
CN110096275A (en) * | 2018-01-30 | 2019-08-06 | 阿里健康信息技术有限公司 | A kind of page processing method and device |
CN112230908A (en) * | 2019-07-15 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Method and device for aligning components, electronic equipment and storage medium |
CN115618144A (en) * | 2022-12-20 | 2023-01-17 | 冠骋信息技术(苏州)有限公司 | Dynamic layout method, system, device and medium based on webpage |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477461A (en) * | 2009-02-10 | 2009-07-08 | 腾讯科技(深圳)有限公司 | Dynamic generation apparatus and method for application program interface |
US20100005451A1 (en) * | 2008-07-03 | 2010-01-07 | International Business Machines Corporation | Policy application rules for automated configuration of software components |
CN104731588A (en) * | 2015-03-12 | 2015-06-24 | 用友网络科技股份有限公司 | Page layout file generation method and device |
-
2017
- 2017-09-08 CN CN201710803575.0A patent/CN107562428A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100005451A1 (en) * | 2008-07-03 | 2010-01-07 | International Business Machines Corporation | Policy application rules for automated configuration of software components |
CN101477461A (en) * | 2009-02-10 | 2009-07-08 | 腾讯科技(深圳)有限公司 | Dynamic generation apparatus and method for application program interface |
CN104731588A (en) * | 2015-03-12 | 2015-06-24 | 用友网络科技股份有限公司 | Page layout file generation method and device |
Non-Patent Citations (1)
Title |
---|
杨鹤标;侯仁刚;田青华;: "支持界面自动生成的模型研究" * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096275A (en) * | 2018-01-30 | 2019-08-06 | 阿里健康信息技术有限公司 | A kind of page processing method and device |
CN110096275B (en) * | 2018-01-30 | 2023-06-23 | 阿里健康信息技术有限公司 | Page processing method and device |
CN109684319A (en) * | 2018-12-25 | 2019-04-26 | 北京小米移动软件有限公司 | Data clean system, method, apparatus and storage medium |
CN112230908A (en) * | 2019-07-15 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Method and device for aligning components, electronic equipment and storage medium |
CN112230908B (en) * | 2019-07-15 | 2023-05-23 | 腾讯科技(深圳)有限公司 | Method and device for aligning components, electronic equipment and storage medium |
CN115618144A (en) * | 2022-12-20 | 2023-01-17 | 冠骋信息技术(苏州)有限公司 | Dynamic layout method, system, device and medium based on webpage |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107562428A (en) | Rule-based adaptable software quick interface arrangement method and system | |
CN101126793B (en) | Intelligent card test system and method | |
CN101122921B (en) | Method forming tree-shaped display structure based on ajax and html | |
CN106293664A (en) | Code generating method and device | |
CN106406844B (en) | Method and device for realizing public number menu of communication interaction platform | |
CN109408102A (en) | A kind of version comparison method and device, household appliance, the network equipment | |
CN108664406A (en) | Exploitation test method, terminal device and the medium of mobile application | |
CN111563075B (en) | Service verification system, method and equipment and storage medium | |
CN110597730A (en) | Scene method based automatic test case generation method and system | |
CN107562548A (en) | The method and apparatus for transmitting data | |
CN106326099B (en) | A kind of method, apparatus and electronic equipment for program tracking | |
CN108255602A (en) | Task combined method and terminal device | |
CN102984260A (en) | Internet account number and password information management method and system | |
CN110532165A (en) | Application program installation kit characteristic detecting method, device, equipment and storage medium | |
CN102402455A (en) | Method and device for calling dynamic link library (DLL) | |
CN105867944A (en) | Web front-end terminal operating layer and implementing method thereof | |
CN104361040A (en) | Method and device for customized query | |
CN107766230A (en) | A kind of method and apparatus tested based on configuration file | |
CN106293658A (en) | A kind of interface assembly generates method and equipment thereof | |
CN108062401A (en) | Using recommendation method, apparatus and storage medium | |
CN111666328A (en) | Method and device for displaying visual chart in real time, computer equipment and storage medium | |
CN103561113A (en) | Web Service interface generating method and device | |
CN116627669A (en) | Method, device, equipment and medium for adapting API (application program interface) by heterogeneous cooperation | |
CN115203674A (en) | Automatic login method, system, device and storage medium for application program | |
US20220365762A1 (en) | Neural network model conversion method server, and storage medium |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180109 |
|
WD01 | Invention patent application deemed withdrawn after publication |