CN106020832A - Generation method and device for interface information on application programs - Google Patents

Generation method and device for interface information on application programs Download PDF

Info

Publication number
CN106020832A
CN106020832A CN201610353931.9A CN201610353931A CN106020832A CN 106020832 A CN106020832 A CN 106020832A CN 201610353931 A CN201610353931 A CN 201610353931A CN 106020832 A CN106020832 A CN 106020832A
Authority
CN
China
Prior art keywords
interface
mode
application program
viewing area
display information
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
Application number
CN201610353931.9A
Other languages
Chinese (zh)
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.)
BEIJING XINHUA RUIDE ELECTRONIC READING TECHNOLOGY Co Ltd
Original Assignee
BEIJING XINHUA RUIDE ELECTRONIC READING TECHNOLOGY Co 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 BEIJING XINHUA RUIDE ELECTRONIC READING TECHNOLOGY Co Ltd filed Critical BEIJING XINHUA RUIDE ELECTRONIC READING TECHNOLOGY Co Ltd
Priority to CN201610353931.9A priority Critical patent/CN106020832A/en
Publication of CN106020832A publication Critical patent/CN106020832A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a generation method and device for interface information on application programs.The generation method comprises following steps: obtaining a generation instruction used for generating interface information on application programs and setting an interface based on the generation instruction by calling an interface and setting display information of a display region of a current interface according to a pre-obtained interface layout mode; setting a switch mode of the current interface of the application programs; and saving display information of the display region of the current interface and generating interface information of the current interface. By adoption of the generation method and device for interface information on application programs, the technical problem of poor efficiency when a developer utilizes an existing framework development application program in development interface information is solved.

Description

The generation method and apparatus of the interface information of application program
Technical field
The present invention relates to develop application domain, in particular to the generation of the interface information of a kind of application program Method and apparatus.
Background technology
In exploitation IOS (Internet Working Operating System Cisco, the movement i.e. developed by Apple Device operating system) application program time, developer generally uses the interface of Fructus Mali pumilae Cocoa Development of Framework application program to believe Breath, need update application program or need update application program interface information in the case of, developer need weight Newly inputted program code, and each part (display information and switching of current interface such as current interface of application program Mode) it is required for the program code that input is corresponding, add developer and develop the time of application program, therefore, exploitation It is long that person uses this Cocoa framework to expend the time when developing application program, and exploitation application program efficiency is low, and can not expire The Consumer's Experience that foot application program is fast-developing.
The inefficient of Development of Framework application program using development interface information of the prior art for developer is asked Topic, the most not yet proposes effective solution.
Summary of the invention
Embodiments provide the generation method and apparatus of the interface information of a kind of application program, at least to solve out Originator uses the inefficient technical problem of the Development of Framework application program of development interface information of the prior art.
An aspect according to embodiments of the present invention, it is provided that the generation method of the interface information of a kind of application program, should Generation method includes: obtains the generation instruction for generating Application Program Interface information, and adjusts based on described generation instruction With interface, interface is set;Interface is set by described interface, described answering is set according to the interface layout mode obtained in advance Display information with the viewing area of the current interface of program;The switching mode of the current interface of described application program is set; Preserve described display information and the switching mode of described current interface of the viewing area of described current interface, generate described The interface information of current interface.
Further, the viewing area of the current interface of described application program is set according to the interface layout mode obtained in advance The display information in territory includes: obtain each viewing area in the interface layout mode obtained in advance;By described interface Interface is set and inputs the display information of each described viewing area, to arrange the display information of described viewing area, wherein, Described display information includes at least one following: the Show Color of described viewing area, display object and described display The Show Styles of object.
Further, described display object includes: navigation bar, tool bar, additional function button and shortcut menu.
Further, the described display information of viewing area and the cutting of described current interface of described current interface are being preserved Before changing mode, described method also includes: arranges interface by described interface and is set by the cache way of described current interface Being set to memory cache mode, wherein, described memory cache mode is that described current interface is by showing on a terminal screen State Transferring is not appear in after the state on described terminal screen in Preset Time, described current interface is buffered into Mode in the internal memory of described terminal.
Further, described switching mode includes: mode of fading out, skid off mode, window upset mode and release side Formula.
Another aspect according to embodiments of the present invention, additionally provides the generating means of the interface information of a kind of application program, This generating means includes: acquisition module, for obtaining the generation instruction for generating Application Program Interface information, and base In described generation instruction calls interface, interface is set;Display information arranges module, for arranging interface by described interface, The display information of the viewing area of the current interface of described application program is set according to the interface layout mode obtained in advance; Switching mode arranges module, for arranging the switching mode of the current interface of described application program;Processing module, is used for Preserve described display information and the switching mode of described current interface of the viewing area of described current interface, generate described The interface information of current interface.
Further, described display information arranges module and includes: obtain submodule, for obtaining the interface obtained in advance Each viewing area in layout type;Input submodule, inputs described in each for arranging interface by described interface The display information of viewing area, to arrange the display information of described viewing area, wherein, under described display information includes At least one state: the Show Color of described viewing area, display object and the Show Styles of described display object.
Further, described display object includes: navigation bar, tool bar, additional function button and shortcut menu.
Further, described device also includes: cache way arranges module, for preserving the aobvious of described current interface Before showing the described display information in region and the switching mode of described current interface, by described interface, interface is set by institute Stating the cache way of current interface and be set to memory cache mode, wherein, described memory cache mode is described to work as prezone Face is not appear in Preset Time after the state on described terminal screen by the State Transferring shown on a terminal screen In, described current interface is buffered into the mode in the internal memory of described terminal.
Further, described switching mode includes: mode of fading out, skid off mode, window upset mode and release side Formula.
In embodiments of the present invention, developer can call interface and arrange interface, by this interface input application program The display information of each viewing area of current interface, and the switching of the current interface of application program is set by this interface Mode, complete the display information of current interface and the setting of switching mode developer after, then generates current interface Interface information.By the program, developer can arrange interface by calling interface, and utilize the journey provided in interface The interface information of application program is configured by sequence code, without the journey of each part re-entering application program Sequence code, can save developer and input the time of program code so that developer can quickly develop application program, Solve the inefficient problem that developer uses the Development of Framework application program of development interface information of the prior art.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.At accompanying drawing In:
Fig. 1 is the flow chart of the generation method of the interface information of a kind of application program according to embodiments of the present invention;
Fig. 2 is the schematic diagram of the generating means of the interface information of a kind of application program according to embodiments of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment It is only the embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ability The every other embodiment that territory those of ordinary skill is obtained under not making creative work premise, all should belong to The scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " it is etc. for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that this Sample use data can exchange in the appropriate case, in order to embodiments of the invention described herein can with except Here the order beyond those illustrating or describing is implemented.Additionally, term " includes " and " having " and they Any deformation, it is intended that cover non-exclusive comprising, such as, contain series of steps or the process of unit, side Method, system, product or equipment are not necessarily limited to those steps or the unit clearly listed, but can include the clearest List or for intrinsic other step of these processes, method, product or equipment or unit.
According to embodiments of the present invention, it is provided that the embodiment of the generation method of the interface information of a kind of application program, need Illustrate, can be in the department of computer science of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing System performs, and, although show logical order in flow charts, but in some cases, can be with difference Step shown or described by performing in order herein.
Fig. 1 is the flow chart of the generation method of the interface information of a kind of application program according to embodiments of the present invention, such as figure Shown in 1, this generation method comprises the steps:
Step S102, obtains the generation instruction for generating Application Program Interface information, and based on generating instruction calls circle Face arranges interface.
Step S104, arranges interface by interface, arranges working as of application program according to the interface layout mode obtained in advance The display information of the viewing area of front interface.
Step S106, arranges the switching mode of the current interface of application program.
Step S108, preserves display information and the switching mode of current interface of the viewing area of current interface, generates and work as The interface information of front interface.
Using embodiments of the invention, developer can call interface and arrange interface, inputs application program by this interface The display information of each viewing area of current interface, and the cutting of current interface of application program is set by this interface Change mode, complete the display information of current interface and the setting of switching mode developer after, then generate current interface Interface information.By the program, developer can arrange interface by calling interface, and utilize offer in interface The interface information of application program is configured by program code, without each part re-entering application program Program code, can save developer and input the time of program code so that developer can quickly develop application journey Sequence, solves developer and uses the inefficient of Development of Framework application program of development interface information of the prior art to ask Topic.
Above-mentioned switching mode is: application program when developer develops application, by exploitation application in display interface by Current interface switches to the animation switching mode at other interfaces.This switching mode may include that the mode of fading out, the side of skidding off Formula, window upset mode and the mode of release.
Specifically, the present invention when developing application program, based on framework be UI Kit according to Fructus Mali pumilae Cocoa and Foundation Development of Framework, the present invention the framework provides the interface layout side that a kind of ISO application program is general Formula (the most above-mentioned interface layout mode obtained in advance).Developer can arrange interface, according to this by calling interface Each viewing area of the current interface of general interface layout mode definition application;And worked as by this interface definition The switching mode of front interface, completes each viewing area of current interface and the switching mode of current interface developer After setting, then generate the interface information of the current interface of application program.
It should be noted that the process of the switching mode arranging interface definition current interface by above-mentioned interface includes: Developer arranges interface by interface, utilizes this interface parameters to select the switching mode of current interface, works as prezone with definition The switching mode in face.Wherein, developer is the Core Animation utilizing this interface parameters to provide from Fructus Mali pumilae Cocoa The animation effect carried in framework selects the switching mode of current interface, and each changing interface mode selected is not With, the corresponding different animation effect of different switching modes.
In the above embodiment of the present invention, work as prezone according to what the interface layout mode obtained in advance arranged application program The display information of the viewing area in face includes: obtain each viewing area in the interface layout mode obtained in advance;Logical Cross interface to arrange interface and input the display information of each viewing area, to arrange the display information of viewing area, wherein, Display information includes at least one following: the Show Color of viewing area, display object and the display sample of display object Formula.
Above-mentioned display object includes: navigation bar, tool bar, additional function button and shortcut menu.
The above-mentioned interface layout mode obtained in advance, a kind of ISO application program that framework the most of the present invention provides is general Interface layout mode, i.e. fixing by tri-viewing areas compositions of navigation bar, content area, tab bar Interface layout mode.1) tab bar tool bar: be positioned at the bottom of the current interface of application program, shows a quick dish Single, developer can arrange interface by interface and arrange the content of shortcut menu in tab bar, be used for realizing current interface With being switched fast of other interfaces;2) content area content of pages: for the main viewing area of application program;3) Navigation bar navigation bar: be positioned at the top of the current interface of application program, mainly realize the navigation of current interface, Content in navigation bar comprises title and the additional function button of current interface, can arrange interface by interface and set Putting, wherein, additional function button can include return push-button, cancel button, Edit button and page-turning button etc..
Alternatively, framework of the present invention has been expanded UI View Controller of the prior art, UI View after expansion Controller contains the setting of more parameters, whether shows parameter and the display navigation of navigation bar as arranged current interface The parameter of bar pattern, arranges parameter and the parameter of tool bar pattern of whether show tools bar, whether arranges current interface The parameter being displayed in full screen and the parameter of the switching mode that current interface is set.
Further, developer calls interface and arranges interface, and this interface provides an initial method, i.e. developer's profit The display information of three above-mentioned viewing areas is defined with UI View Controller, namely by UI View Whether Controller definition current interface shows navigation bar, the pattern of navigation bar, if show tools bar, tool bar Pattern etc..Additionally, developer arranges interface can be respectively provided with the aobvious of above-mentioned three viewing area by calling interface Show color.
By above-described embodiment, the interface cloth that a kind of ISO application program that developer provides according to framework of the present invention is general Office's mode, arranges interface by calling interface, utilizes the UI View Controller after expanding self-defined can work as prezone The display information of the viewing area in face, the program is so that developer quickly develops IOS application program.
In the above embodiment of the present invention, preserving the display information of viewing area of current interface and current interface Before switching mode, method also includes: arranges interface by interface and the cache way of current interface is set to internal memory delays Deposit mode, wherein, memory cache mode be current interface by the State Transferring shown on a terminal screen for not appearing in After state on terminal screen in Preset Time, current interface is buffered into the mode in the internal memory of terminal.
Specifically, the framework of the present invention also includes window management module.In current interface by showing on a terminal screen State Transferring be do not appear in the state on terminal screen in the case of, developer by interface arrange interface arrange will The interface information of current interface is buffered in internal memory, and is managed by window management module, in order to application program is entering During row changing interface, it is possible to call and show the interface information of current interface in time.
By above-described embodiment, use window management module, the interface information switched recently be buffered in internal memory, The fluency of changing interface can well be improved.
In a kind of optional embodiment, the framework of the present invention is broadly divided into three big modules: a) interface layout manages module. The interface layout mode that i.e. management ISO application program is general;B) window management module.I.e. management application program owns The display at interface, switches and caches;C) animation effect management module.I.e. manage the animation effect of various changing interface, The corresponding different animation effect of changing interface every time.Specifically, developer manages the management of module by interface layout, Call interface and interface is set, according to three displays of the general interface layout mode definition application of ISO application program Region, the display information of all viewing areas is all to utilize the UI View Controller definition after expanding.Additionally, The framework of the present invention is by push switching mode switching mode by default, and developer utilizes the UI after expansion View Controller selects the switching mode of current interface, and the switching mode chosen is saved in animation effect pipe In reason module, when current interface switches to other interfaces, window management module then manages current interface to other interfaces Switching, and perform the switching effect that current switching mode is corresponding, and show the interface information of switching rear interface.
In the above-described embodiments, the framework of the present invention uses the interface layout mode that a kind of IOS application program is general, expands Open up existing UI View Controller, it is provided that one View Controller management method flexibly, it is possible to achieve Application program is by the switching of arbitrary interface to arbitrary interface, and adds various changing interface animation in handoff procedure Effect;It addition, by the memory management mechanism optimized, the interface information switching interface recently is cached into internal memory, Realizing arbitrary interface to during the switching of arbitrary interface, the fluency of changing interface can well improved.
And in prior art when developing IOS application program, generally use the push view that Fructus Mali pumilae Cocoa framework is built-in Controller and pop view controller carries out changing interface, needs exploitation due to this changing interface mode every time Person re-enters program code, and the program code of input can only realize by a changing interface to next one interface or A upper interface is returned to, it is impossible to realize from current interface switching or return to arbitrary interface by an interface, this The changing interface mode of single line and fixing animation effect cannot meet interfacial effect and the use that application program becomes increasingly abundant Family is experienced.Therefore, compared with prior art, developer can use the framework of the present invention quickly to develop interfacial effect Abundant, experience smooth IOS application program, solve developer and use the frame of development interface information of the prior art The inefficient problem of frame exploitation application program.
Another aspect according to embodiments of the present invention, additionally provides the generating means of the interface information of a kind of application program, This generating means includes module as shown in Figure 2: acquisition module 20, display information arrange module 40, switching mode sets Put module 60 and processing module 80.
Wherein, acquisition module 20, for obtaining the generation instruction for generating Application Program Interface information, and based on life Become instruction calls interface that interface is set.
Display information arranges module 40, for arranging interface by interface, sets according to the interface layout mode obtained in advance Put the display information of the viewing area of the current interface of application program.
Switching mode arranges module 60, for arranging the switching mode of the current interface of application program.
Processing module 80, for preserving display information and the switching mode of current interface of the viewing area of current interface, Generate the interface information of current interface.
Using embodiments of the invention, developer can call interface and arrange interface, inputs application program by this interface The display information of each viewing area of current interface, and the cutting of current interface of application program is set by this interface Change mode, complete the display information of current interface and the setting of switching mode developer after, then generate current interface Interface information.By the program, developer can arrange interface by calling interface, and utilize offer in interface The interface information of application program is configured by program code, without each part re-entering application program Program code, can save developer and input the time of program code so that developer can quickly develop application journey Sequence, solves developer and uses the inefficient of Development of Framework application program of development interface information of the prior art to ask Topic.
Above-mentioned switching mode is: application program when developer develops application, by exploitation application in display interface by Current interface switches to the animation switching mode at other interfaces.This switching mode may include that the mode of fading out, the side of skidding off Formula, window upset mode and the mode of release.
Specifically, the present invention when developing application program, based on framework be UI Kit according to Fructus Mali pumilae Cocoa and Foundation Development of Framework, the present invention the framework provides the interface layout side that a kind of ISO application program is general Formula (the most above-mentioned interface layout mode obtained in advance).Developer can arrange interface, according to this by calling interface Each viewing area of the current interface of general interface layout mode definition application;And worked as by this interface definition The switching mode of front interface, completes each viewing area of current interface and the switching mode of current interface developer After setting, then generate the interface information of the current interface of application program.
It should be noted that the process of the switching mode arranging interface definition current interface by above-mentioned interface includes: Developer arranges interface by interface, utilizes this interface parameters to select the switching mode of current interface, works as prezone with definition The switching mode in face.Wherein, developer is the Core Animation utilizing this interface parameters to provide from Fructus Mali pumilae Cocoa The animation effect carried in framework selects the switching mode of current interface, and each changing interface mode selected is not With, the corresponding different animation effect of different switching modes.
In the above embodiment of the present invention, display information arranges module and may include that acquisition submodule, is used for obtaining Each viewing area in the interface layout mode obtained in advance;Input submodule, defeated for arranging interface by interface Entering the display information of each viewing area, to arrange the display information of viewing area, wherein, display information includes following At least one: the Show Color of viewing area, display object and the Show Styles of display object.
Above-mentioned display object may include that navigation bar, tool bar, additional function button and shortcut menu.
The above-mentioned interface layout mode obtained in advance, a kind of ISO application program that framework the most of the present invention provides is general Interface layout mode, i.e. fixing by tri-viewing areas compositions of navigation bar, content area, tab bar Interface layout mode.1) tab bar tool bar: be positioned at the bottom of the current interface of application program, shows a quick dish Single, developer can arrange interface by interface and arrange the content of shortcut menu in tab bar, be used for realizing current interface With being switched fast of other interfaces;2) content area content of pages: for the main viewing area of application program;3) Navigation bar navigation bar: be positioned at the top of the current interface of application program, mainly realize the navigation of current interface, Content in navigation bar comprises title and the additional function button of current interface, can arrange interface by interface and set Putting, wherein, additional function button can include return push-button, cancel button, Edit button and page-turning button etc..
Alternatively, framework of the present invention has been expanded UI View Controller of the prior art, UI View after expansion Controller contains the setting of more parameters, whether shows parameter and the display navigation of navigation bar as arranged current interface The parameter of bar pattern, arranges parameter and the parameter of tool bar pattern of whether show tools bar, whether arranges current interface The parameter being displayed in full screen and the parameter of the switching mode that current interface is set.
Further, developer calls interface and arranges interface, and this interface provides an initial method, i.e. developer's profit The display information of three above-mentioned viewing areas is defined with UI View Controller, namely by UI View Whether Controller definition current interface shows navigation bar, the pattern of navigation bar, if show tools bar, tool bar Pattern etc..Additionally, developer arranges interface can be respectively provided with the aobvious of above-mentioned three viewing area by calling interface Show color.
By above-described embodiment, the interface cloth that a kind of ISO application program that developer provides according to framework of the present invention is general Office's mode, arranges interface by calling interface, utilizes the UI View Controller after expanding self-defined can work as prezone The display information of the viewing area in face, the program is so that developer quickly develops IOS application program.
In the above embodiment of the present invention, device can also include: cache way arranges module, for working as in preservation Before the display information of the viewing area of front interface and the switching mode of current interface, arranging interface by interface will be current The cache way at interface is set to memory cache mode, and wherein, memory cache mode is that current interface is by showing in terminal State Transferring on screen is not appear in after the state on terminal screen in Preset Time, current interface is buffered into Mode in the internal memory of terminal.
Specifically, the framework of the present invention also includes window management module.In current interface by showing on a terminal screen State Transferring be do not appear in the state on terminal screen in the case of, developer by interface arrange interface arrange will The interface information of current interface is buffered in internal memory, and is managed by window management module, in order to application program is entering During row changing interface, it is possible to call and show the interface information of current interface in time.
By above-described embodiment, use window management module, the interface information switched recently be buffered in internal memory, The fluency of changing interface can well be improved.
In a kind of optional embodiment, the framework of the present invention is broadly divided into three big modules: a) interface layout manages module. The interface layout mode that i.e. management ISO application program is general;B) window management module.I.e. management application program owns The display at interface, switches and caches;C) animation effect management module.I.e. manage the animation effect of various changing interface, The corresponding different animation effect of changing interface every time.Specifically, developer manages the management of module by interface layout, Call interface and interface is set, according to three displays of the general interface layout mode definition application of ISO application program Region, the display information of all viewing areas is all to utilize the UI View Controller definition after expanding.Additionally, The framework of the present invention is by push switching mode switching mode by default, and developer utilizes the UI after expansion View Controller selects the switching mode of current interface, and the switching mode chosen is saved in animation effect pipe In reason module, when current interface switches to other interfaces, window management module then manages current interface to other interfaces Switching, and perform the switching effect that current switching mode is corresponding, and show the interface information of switching rear interface.
In the above-described embodiments, the framework of the present invention uses the interface layout mode that a kind of IOS application program is general, expands Open up existing UI View Controller, it is provided that one View Controller management method flexibly, it is possible to achieve Application program is by the switching of arbitrary interface to arbitrary interface, and adds various changing interface animation in handoff procedure Effect;It addition, by the memory management mechanism optimized, the interface information switching interface recently is cached into internal memory, Realizing arbitrary interface to during the switching of arbitrary interface, the fluency of changing interface can well improved.
And in prior art when developing IOS application program, generally use the push view that Fructus Mali pumilae Cocoa framework is built-in Controller and pop view controller carries out changing interface, needs exploitation due to this changing interface mode every time Person re-enters program code, and the program code of input can only realize by a changing interface to next one interface or A upper interface is returned to, it is impossible to realize from current interface switching or return to arbitrary interface by an interface, this The changing interface mode of single line and fixing animation effect cannot meet interfacial effect and the use that application program becomes increasingly abundant Family is experienced.Therefore, compared with prior art, developer can use the framework of the present invention quickly to develop interfacial effect Abundant, experience smooth IOS application program, solve developer and use the frame of development interface information of the prior art The inefficient problem of frame exploitation application program.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment The part described in detail, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents, can be passed through other Mode realize.Wherein, device embodiment described above is only schematically, the division of the most described unit, Can be that a kind of logic function divides, actual can have other dividing mode, the most multiple unit or assembly when realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, institute The coupling each other shown or discuss or direct-coupling or communication connection can be by some interfaces, unit or mould The INDIRECT COUPLING of block or communication connection, can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to On multiple unit.Some or all of unit therein can be selected according to the actual needs to realize the present embodiment scheme Purpose.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme Completely or partially can producing with software of the part that the most in other words prior art contributed or this technical scheme The form of product embodies, and this computer software product is stored in a storage medium, including some instructions in order to make Obtain a computer equipment (can be personal computer, server or the network equipment etc.) and perform each enforcement of the present invention All or part of step of method described in example.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, The various medium that can store program code such as magnetic disc or CD.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improve and profit Decorations also should be regarded as protection scope of the present invention.

Claims (10)

1. the generation method of the interface information of an application program, it is characterised in that including:
Obtain the generation instruction for generating Application Program Interface information, and based on described generation instruction calls interface Interface is set;
Interface is set by described interface, described application program is set according to the interface layout mode obtained in advance The display information of the viewing area of current interface;
The switching mode of the current interface of described application program is set;
Preserve described display information and the switching mode of described current interface of the viewing area of described current interface, Generate the interface information of described current interface.
Method the most according to claim 1, it is characterised in that institute is set according to the interface layout mode obtained in advance The display information of the viewing area stating the current interface of application program includes:
Obtain each viewing area in the interface layout mode obtained in advance;
Interface is set by described interface and inputs the display information of each described viewing area, to arrange described display The display information in region,
Wherein, described display information includes at least one following: the Show Color of described viewing area, show right As and the Show Styles of described display object.
Method the most according to claim 2, it is characterised in that described display object includes: navigation bar, tool bar, Additional function button and shortcut menu.
Method the most according to claim 1, it is characterised in that in the institute of the viewing area preserving described current interface Before stating the switching mode of display information and described current interface, described method also includes:
Interface is set by described interface the cache way of described current interface is set to memory cache mode, its In, described memory cache mode be described current interface by the State Transferring shown on a terminal screen for not show After state on described terminal screen in Preset Time, described current interface is buffered in described terminal Mode in depositing.
Method the most as claimed in any of claims 1 to 4, it is characterised in that described switching mode includes: Fade out mode, skid off mode, window upset mode and release mode.
6. the generating means of the interface information of an application program, it is characterised in that including:
Acquisition module, for obtaining the generation instruction for generating Application Program Interface information, and based on described life Become instruction calls interface that interface is set;
Display information arranges module, for arranging interface by described interface, according to the interface layout obtained in advance Mode arranges the display information of the viewing area of the current interface of described application program;
Switching mode arranges module, for arranging the switching mode of the current interface of described application program;
Processing module, for preserving the described display information of the viewing area of described current interface and described working as prezone The switching mode in face, generates the interface information of described current interface.
Device the most according to claim 6, it is characterised in that described display information arranges module and includes:
Obtain submodule, for obtaining each viewing area in the interface layout mode obtained in advance;
Input submodule, inputs the display information of each described viewing area for arranging interface by described interface, To arrange the display information of described viewing area,
Wherein, described display information includes at least one following: the Show Color of described viewing area, show right As and the Show Styles of described display object.
Device the most according to claim 7, it is characterised in that described display object includes: navigation bar, tool bar, Additional function button and shortcut menu.
Device the most according to claim 6, it is characterised in that described device also includes:
Cache way arranges module, for preserve described current interface viewing area described display information and Before the switching mode of described current interface, the interface caching side by described current interface is set by described interface Formula is set to memory cache mode, and wherein, described memory cache mode is that described current interface is by showing in terminal State Transferring on screen is not appear in after the state on described terminal screen in Preset Time, works as described Front interface buffers into the mode in the internal memory of described terminal.
10. according to the device described in any one in claim 6 to 9, it is characterised in that described switching mode includes:
Fade out mode, skid off mode, window upset mode and release mode.
CN201610353931.9A 2016-05-25 2016-05-25 Generation method and device for interface information on application programs Pending CN106020832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610353931.9A CN106020832A (en) 2016-05-25 2016-05-25 Generation method and device for interface information on application programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610353931.9A CN106020832A (en) 2016-05-25 2016-05-25 Generation method and device for interface information on application programs

Publications (1)

Publication Number Publication Date
CN106020832A true CN106020832A (en) 2016-10-12

Family

ID=57094635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610353931.9A Pending CN106020832A (en) 2016-05-25 2016-05-25 Generation method and device for interface information on application programs

Country Status (1)

Country Link
CN (1) CN106020832A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062713A (en) * 2018-07-26 2018-12-21 郑州云海信息技术有限公司 A kind of calling efficiency method and device improving same command line interface
CN109766507A (en) * 2018-12-07 2019-05-17 珠海格力电器股份有限公司 Page jump control method and device
CN110599112A (en) * 2018-06-12 2019-12-20 北京顺智信科技有限公司 Method and device for developing and maintaining network page
CN110876067A (en) * 2018-08-31 2020-03-10 广州虎牙信息科技有限公司 Interface element display method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050068549A1 (en) * 2003-09-26 2005-03-31 Denny Jaeger Graphic user interface and method for selectively printing objects displayed on a display device
US20060293847A1 (en) * 2005-06-22 2006-12-28 Marriott Graham H Interactive scaling feature having scalability in three dimensional space
CN101241433A (en) * 2008-03-04 2008-08-13 浪潮集团山东通用软件有限公司 Accomplishing method based on relationship -type database application program dynamic tool
CN101834938A (en) * 2010-03-25 2010-09-15 中兴通讯股份有限公司 Device and method for realizing horizontal/vertical screen switching of mobile terminal
CN101944027A (en) * 2010-09-26 2011-01-12 北京神州泰岳软件股份有限公司 User interface generation method
CN102497213A (en) * 2011-12-14 2012-06-13 深圳市鑫汇科电子有限公司 Multi-interface selection method and multi-interface selection circuit based on keyboard scan and display driving chip
CN103324403A (en) * 2012-03-22 2013-09-25 腾讯科技(深圳)有限公司 Page switching method and device as well as mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050068549A1 (en) * 2003-09-26 2005-03-31 Denny Jaeger Graphic user interface and method for selectively printing objects displayed on a display device
US20060293847A1 (en) * 2005-06-22 2006-12-28 Marriott Graham H Interactive scaling feature having scalability in three dimensional space
CN101241433A (en) * 2008-03-04 2008-08-13 浪潮集团山东通用软件有限公司 Accomplishing method based on relationship -type database application program dynamic tool
CN101834938A (en) * 2010-03-25 2010-09-15 中兴通讯股份有限公司 Device and method for realizing horizontal/vertical screen switching of mobile terminal
CN101944027A (en) * 2010-09-26 2011-01-12 北京神州泰岳软件股份有限公司 User interface generation method
CN102497213A (en) * 2011-12-14 2012-06-13 深圳市鑫汇科电子有限公司 Multi-interface selection method and multi-interface selection circuit based on keyboard scan and display driving chip
CN103324403A (en) * 2012-03-22 2013-09-25 腾讯科技(深圳)有限公司 Page switching method and device as well as mobile terminal

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
张才千,郭毅鹏,李梓萌编著: "《iOS开发从入门到精通》", 31 August 2014, 北京希望电子出版社 *
张效伟,邵景玲编著: "《AutoCAD2012绘制建筑图》", 29 February 2012, 中国建材工业出版社 *
本书编委会 编著: "《Dreamweaver网页设计》", 31 August 2007, 中国计划出版社 *
熊斌编著: "《iOS开发从入门到精通》", 31 January 2013, 北京希望电子出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599112A (en) * 2018-06-12 2019-12-20 北京顺智信科技有限公司 Method and device for developing and maintaining network page
CN110599112B (en) * 2018-06-12 2023-10-27 百融至信(北京)科技有限公司 Network page development and maintenance method and device
CN109062713A (en) * 2018-07-26 2018-12-21 郑州云海信息技术有限公司 A kind of calling efficiency method and device improving same command line interface
CN110876067A (en) * 2018-08-31 2020-03-10 广州虎牙信息科技有限公司 Interface element display method, device, equipment and storage medium
CN109766507A (en) * 2018-12-07 2019-05-17 珠海格力电器股份有限公司 Page jump control method and device
WO2020113929A1 (en) * 2018-12-07 2020-06-11 珠海格力电器股份有限公司 Page skip control method and device

Similar Documents

Publication Publication Date Title
CN106020832A (en) Generation method and device for interface information on application programs
CN107463584B (en) A kind of the editing and processing method and terminal of interaction page
CN102662664B (en) Interface animation realization method and system
CN105354029B (en) Application control method and device
US7111229B2 (en) System and method for providing a webpage
CN105549819A (en) Method and device for displaying background application information
CN103051807B (en) A kind of method, device and mobile terminal showing associated person information
CN108337547B (en) Character animation realization method, device, terminal and storage medium
CN109710348A (en) The method and device of page jump, computer equipment, storage medium
CN105447902B (en) Animation processing method and device
CN106919301A (en) Wallpaper method for previewing and system and wallpaper replacing options and system
CN102768625B (en) Resurfacing method and device of Windows user interface
CN108153467A (en) A kind of content share method and device
CN106709778A (en) Clothing customization method and device
CN106445314A (en) Display interface refreshing method and apparatus
CN107704300A (en) Information processing method and electronic equipment
CN106569667A (en) Live broadcast room customizing method and live broadcast room customizing device
CN106055660A (en) Mobile terminal page access method, mobile terminal page access device and mobile terminal
CN105975071A (en) Information processing method and electronic device
CN105975324A (en) Method for memorizing human-computer interface operation habits
CN103414628A (en) Method and device for looking up session records
CN105416066B (en) Electric automobile and the display device for automobile
CN107019913A (en) Object generation method and device
CN101976195B (en) Method and device for setting user interface
CN207182878U (en) A kind of display device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161012