CN107729012A - A kind of application interface combined arrangement method and device - Google Patents

A kind of application interface combined arrangement method and device Download PDF

Info

Publication number
CN107729012A
CN107729012A CN201711021565.8A CN201711021565A CN107729012A CN 107729012 A CN107729012 A CN 107729012A CN 201711021565 A CN201711021565 A CN 201711021565A CN 107729012 A CN107729012 A CN 107729012A
Authority
CN
China
Prior art keywords
interface
information
configuration file
application
attribute 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
CN201711021565.8A
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.)
Shenzhen Qianhai Juzi Information Technology Co Ltd
Original Assignee
Shenzhen Qianhai Juzi Information 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 Shenzhen Qianhai Juzi Information Technology Co Ltd filed Critical Shenzhen Qianhai Juzi Information Technology Co Ltd
Priority to CN201711021565.8A priority Critical patent/CN107729012A/en
Publication of CN107729012A publication Critical patent/CN107729012A/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)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of application interface combined arrangement method and device.Wherein, method includes:Obtain interface configuration file corresponding to application program;Interface to be configured is read from the interface configuration file and corresponds to interface property information, the interface property information includes interface to be configured and clicks on jump page coding information;Obtain interface and redirect alteration command;The attribute information at the alteration command renewal interface to be configured is redirected according to the interface.Attribute information in the configuration file that the embodiment of the present invention passes through more new application realizes that application interface reconfigures, without issuing the application program of redaction again, solve the problems, such as to need to issue new edition application again in response to change interface when with program traffic flow being changed, application development cost can be reduced.

Description

A kind of application interface combined arrangement method and device
Technical field
The present embodiments relate to field of computer technology, more particularly to a kind of application interface combined arrangement method and dress Put.
Background technology
At present, as the fast development of mobile Internet business, the version iteration speed of application program for mobile terminal are also got over Come faster, the page of each version of application program usually requires to be changed according to the requirement of business, such as page location more Change, increase, deletion and replacement etc..
In the prior art, each five application page has renewal, is required for repacking after the completion of code revision once, will Version after renewal is published in application platform, and carries out submission examination & verification to each application shop per secondary, and user needs afterwards Voluntarily carry out clicking on renewal installation manually.Thus, the cost of application development renewal is higher.
The content of the invention
The embodiment of the present invention provides a kind of application interface combined arrangement method and device, to realize according to application product business Demand change page configuration, without issuing application version again, reduce application and development cost.
In a first aspect, the embodiment of the present invention provides a kind of application interface combined arrangement method, this method includes:
Obtain interface configuration file corresponding to application program;
Interface to be configured is read from the interface configuration file and corresponds to interface property information, the interface property packet Include interface to be configured and click on jump page coding information;
Obtain interface and redirect alteration command;
The attribute information at the alteration command renewal interface to be configured is redirected according to the interface.
Second aspect, the embodiment of the present invention additionally provide a kind of application interface combination configuration device, and the device includes:
Configuration file acquisition module, for obtaining interface configuration file corresponding to application program;
Attribute information read module, interface property letter is corresponded to for reading interface to be configured from the interface configuration file Breath, the interface property information include interface to be configured and click on jump page coding information;
Alteration command acquisition module, alteration command is redirected for obtaining interface;
Attribute information update module, for redirecting the attribute at the alteration command renewal interface to be configured according to the interface Information.
Attribute information in the configuration file that the embodiment of the present invention passes through more new application realizes application interface group again Close, without issuing the application program of redaction again, solve needs weight in response to change interface when being changed with program traffic flow The problem of new issue new edition application, application development cost can be reduced.
Brief description of the drawings
Fig. 1 is the flow chart of the application interface combined arrangement method in the embodiment of the present invention one;
Fig. 2 is the flow chart of the application interface combined arrangement method in the embodiment of the present invention two;
Fig. 3 is the structural representation of the application interface combination configuration device in the embodiment of the present invention three.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is the flow chart for the application interface combined arrangement method that the embodiment of the present invention one provides, and the present embodiment is applicable In the situation that Application Program Interface combination changes, this method can combine configuration device to perform by application interface, the dress Putting can be realized by the way of software and/or hardware.As shown in figure 1, this method specifically includes:
S110, obtain interface configuration file corresponding to application program.
Wherein, interface configuration file is the file for making Application Program Interface show certain effects after rendering, using journey Sequence developer can be by writing content, interface redirected link of the code information in interface configuration file to Application Program Interface It is configured etc. feature, interface configuration file corresponding to different application programs is different.The embodiment of the present invention applies journey to same The number of interface configuration file corresponding to sequence does not limit.When order that display is redirected between the different interfaces of application program etc. because When the reasons such as business change need to change, developer can be updated to interface configuration file, and be supplied to application program institute The terminal of category.
Further, before interface configuration file corresponding to application program is obtained, application interface combined arrangement method is also Including:
Instantiate the interface management component encapsulated in advance.
Specifically, in process of application development, the configurable rule of Application Program Interface can be packaged into one in advance Individual class, include in class and interface is carried out to redirect member function and the parameter that the particular content of display is configured.Using journey After sequence starts, the interface configurable rule class encapsulated in advance will be instantiated automatically in initialization procedure.Class mentioned here As interface management component, realize the configuration to Application Program Interface.
S120, read interface to be configured from the interface configuration file and correspond to interface property information, the interface property Information includes interface to be configured and clicks on jump page coding information.
Specifically, it is by be configured that jump page coding information is clicked at the interface to be configured that interface property information includes The coding for redirecting the interface that entrance can be linked at interface.There is at least one hop button in each interface, pass through Different button selections enter different next interfaces, or return to a upper interface, wherein, each hop button corresponding one Individual interface.Be embodied on the attribute information in configuration file is exactly that each parameter for representing hop button can be assigned For the coding at accordingly interface to be redirected.When clicking on a certain hop button, will jump in the interface representated by corresponding encoded.
S130, acquisition interface redirect alteration command.
Specifically, when being modified according to actual business requirement to operation flow, just need to be to the boundary of application program Face redirects order and is adjusted.Computer or server end will receive interface jump instruction, and then according to corresponding instruction Carry out performing step S140.
S140, the attribute information that alteration command updates the interface to be configured is redirected according to the interface.
After getting interface and redirecting alteration command, can with the attribute information according to instruction modification interface to be configured, It is that attribute information is updated, and then realizes and redirect interface change, such as deletes, replaces a certain interface, or at certain two interface Between increase an interface, or exchange the position at certain two interface.
The technical scheme of the present embodiment, by according to interface redirect alteration command update the attribute information at interface to be configured with The change that Application Program Interface redirects is realized, solves the problems, such as that change redirects interface and needs release application program version again, The cost of application development can be reduced, improves the efficiency of interface modification.
Embodiment two
Fig. 2 is the flow chart for the application interface combined arrangement method that the embodiment of the present invention two provides, and the present embodiment is above-mentioned Further optimize on the basis of each embodiment.As shown in Fig. 2 this method specifically includes:
S210, obtain interface configuration file corresponding to application program.
S220, the identity for determining interface to be configured.
Each interface may be provided with identity of the unique page coding as the interface in application program.
S230, interface to be configured from the interface configuration file read according to the identity corresponding to the first interface Attribute information, wherein, the first interface property information is included in the interface to be configured comprising click jump page coding letter Breath.
Wherein, identity then represents a corresponding application interface, can be matched somebody with somebody according to identity from the first interface Put to read in file and jump page coding information is clicked on corresponding to interface to be configured.Specifically, the first configuration attribute information includes Comprising the click jump page coding information that interface to be configured is current in the interface to be configured, the information is category to be changed Property information.The quantity of hop button is at least one in one interface, and therefore, click jump page coding information here is not yet It is unique, is corresponding with hop button.When user clicks on different adjustment buttons, interface can jump to different industry Flow of being engaged in interface.Exemplary, the client of a financing corporation closes application program, would generally show on the interface after application starts 4 process inlets are shown with, are respectively " homepage ", " financing ", " assets ", " I ".Each ingress for service has correspondingly Operation flow, next each flow of selected business will be entered after button is clicked on and shows corresponding interface, should Also there can be at least one hop button into downstream on interface.The embodiment of the present invention is not to the business of application program Flow is defined, and is only illustrated.
S240, acquisition interface redirect alteration command.
S250, alteration command is redirected according to the interface the first interface property information is changed to second contact surface attribute Information, wherein, shown second contact surface attribute information includes interface target to be configured and clicks on jump page coding information.
Wherein, second contact surface attribute information is the attribute information after the change of interface to be configured, and its target included, which is clicked on, jumps Blade-rotating face code information is the page coding information at the next interface to be redirected in interface to be configured after change.
Specifically, continue to illustrate by taking the client application of financing corporation described above as an example.When with When family clicks to enter " assets " Entry Interface, the click jump page corresponding with " assets " hop button coding in current interface Information can be sent to interface management component, then branch to the interface of corresponding encoded information.Assuming that entering with operation flow OK, from A interfaces, B interfaces are jumped to, are jumping to C interfaces, finally jump to the end that D interfaces represent a flow.Wherein, It is 2001 to jump to and jump page coding information is clicked on corresponding to the button at B interfaces, jumps to and is clicked on corresponding to the button at C interfaces Jump page coding information is 2002, and it is 2003 to jump to and jump page coding information is clicked on corresponding to the button at D interfaces.This Outside, D interfaces are end interface, and it is all 0 that jump page coding information is clicked on corresponding to the hop button on D interfaces.When needs are in D When increasing E interfaces behind interface, it is changed to jump to E interfaces by jump page coding information is clicked on corresponding to hop button on D interfaces Button corresponding to click on jump page coding information be 2004.When B interfaces will be deleted, B circle will be jumped on A interfaces Jump page coding information 2001 is clicked on corresponding to the button in face and is changed to 2002, you can realize from A interfaces and jump to C interfaces, So as to delete B interfaces.When needing B interfaces being changed to E interfaces, point corresponding to the button at B interfaces will be jumped on A interfaces Hit jump page coding information 2001 and be changed to 2004, the value of hop button on E interfaces is changed to 2002, you can realize from A circle Face jumps to E interfaces, and then jumps to C interfaces, realizes the replacement at B interfaces.
The technical scheme of the present embodiment, by changing the attribute information in interface configuration file, change the point of hop button The change that jump page coding information realizes page jump is hit, change is solved and redirects interface needs release application program version again This problem of, the cost of application development can be reduced, improve the efficiency of interface modification.
Embodiment three
Fig. 3 show the structural representation of the application interface combination configuration device of the offer of the embodiment of the present invention three, this implementation Example is applicable to Application Program Interface combination and changes situation, and the concrete structure of application interface combination configuration device is as follows:
Configuration file acquisition module 310, for obtaining interface configuration file corresponding to application program;
Attribute information read module 320, interface category is corresponded to for reading interface to be configured from the interface configuration file Property information, the interface property information include interface to be configured click on jump page coding information;
Alteration command acquisition module 330, alteration command is redirected for obtaining interface;
Attribute information update module 340, update the interface to be configured for redirecting alteration command according to the interface Attribute information.
Further, application interface combination configuration device also includes:
Component instance module, for before interface configuration file corresponding to application program is obtained, instantiating envelope in advance The interface management component of dress.
Further, attribute information read module 320, is specifically used for:
Determine the identity at interface to be configured;
First interface property corresponding to from the interface configuration file reading interface to be configured according to the identity Information, wherein, the first interface property information is included in the interface to be configured comprising click jump page coding information;
Accordingly, attribute information update module 340, is specifically used for:
Alteration command is redirected according to the interface the first interface property information is changed to second contact surface attribute information, Wherein, shown second contact surface attribute information includes interface target to be configured click jump page coding information.
The technical scheme of the present embodiment, by attribute information update module according to acquired in alteration command acquisition module interface The attribute information that alteration command updates interface to be configured is redirected, solve needs in response to change interface when being changed with program traffic flow Again the problem of issuing new edition application, application development cost can be reduced.
Above-mentioned application interface combination configuration device can perform the application interface combination that any embodiment of the present invention is provided and match somebody with somebody Method is put, possesses the corresponding functional module of execution method and beneficial effect.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (6)

  1. A kind of 1. application interface combined arrangement method, it is characterised in that including:
    Obtain interface configuration file corresponding to application program;
    Interface to be configured is read from the interface configuration file and corresponds to interface property information, the interface property information includes treating Configuration interface clicks on jump page coding information;
    Obtain interface and redirect alteration command;
    The attribute information at the alteration command renewal interface to be configured is redirected according to the interface.
  2. 2. according to the method for claim 1, it is characterised in that obtain application program corresponding to interface configuration file it Before, in addition to:
    Instantiate the interface management component encapsulated in advance.
  3. 3. according to the method for claim 1, it is characterised in that described that boundary to be configured is read from the interface configuration file Face, which corresponds to interface property information, to be included:
    Determine the identity at interface to be configured;
    First interface property information corresponding to from the interface configuration file reading interface to be configured according to the identity, Wherein, the first interface property information is included in the interface to be configured comprising click jump page coding information;
    Accordingly, the click jump page coding information at the alteration command change interface to be configured is redirected according to the interface, Including:
    Alteration command is redirected according to the interface the first interface property information is changed to second contact surface attribute information, its In, shown second contact surface attribute information includes interface target to be configured and clicks on jump page coding information.
  4. 4. a kind of application interface combines configuration device, it is characterised in that including:
    Configuration file acquisition module, for obtaining interface configuration file corresponding to application program;
    Attribute information read module, interface property information is corresponded to for reading interface to be configured from the interface configuration file, The interface property information includes interface to be configured and clicks on jump page coding information;
    Alteration command acquisition module, alteration command is redirected for obtaining interface;
    Attribute information update module, the attribute for redirecting the alteration command renewal interface to be configured according to the interface are believed Breath.
  5. 5. application interface according to claim 4 combines configuration device, it is characterised in that also includes:
    Component instance module, for before interface configuration file corresponding to application program is obtained, instantiating what is encapsulated in advance Interface management component.
  6. 6. application interface according to claim 4 combines configuration device, it is characterised in that attribute information read module, tool Body is used for:
    Determine the identity at interface to be configured;
    First interface property information corresponding to from the interface configuration file reading interface to be configured according to the identity, Wherein, the first interface property information is included in the interface to be configured comprising click jump page coding information;
    Accordingly, attribute information update module is specifically used for:
    The first interface property information is changed to second contact surface attribute information, wherein, shown second contact surface attribute information bag Include interface target to be configured and click on jump page coding information.
CN201711021565.8A 2017-10-27 2017-10-27 A kind of application interface combined arrangement method and device Pending CN107729012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711021565.8A CN107729012A (en) 2017-10-27 2017-10-27 A kind of application interface combined arrangement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711021565.8A CN107729012A (en) 2017-10-27 2017-10-27 A kind of application interface combined arrangement method and device

Publications (1)

Publication Number Publication Date
CN107729012A true CN107729012A (en) 2018-02-23

Family

ID=61202693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711021565.8A Pending CN107729012A (en) 2017-10-27 2017-10-27 A kind of application interface combined arrangement method and device

Country Status (1)

Country Link
CN (1) CN107729012A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710522A (en) * 2018-05-16 2018-10-26 北京五八信息技术有限公司 A kind of notifier processes method, apparatus, storage medium and computer equipment
CN108804138A (en) * 2018-06-05 2018-11-13 Oppo(重庆)智能科技有限公司 application operating optimization method, device, storage medium and terminal device
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
CN111177558A (en) * 2019-12-30 2020-05-19 北京百度网讯科技有限公司 Channel service construction method and device
CN111984248A (en) * 2019-05-22 2020-11-24 腾讯科技(深圳)有限公司 Page editing method and device, storage medium and electronic device
CN112181419A (en) * 2020-12-03 2021-01-05 成都极米科技股份有限公司 Interface generation method and device and storage medium
CN112269577A (en) * 2020-10-26 2021-01-26 北京信而泰科技股份有限公司 Configuration method and device of control interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007991A (en) * 2014-06-06 2014-08-27 百度在线网络技术(北京)有限公司 Method and device for adjusting application program interface layout
WO2017088703A1 (en) * 2015-11-27 2017-06-01 阿里巴巴集团控股有限公司 Page jumping method and apparatus
CN107133053A (en) * 2017-06-05 2017-09-05 上海鋆创信息技术有限公司 Method for page jump and device, the storage medium and terminal of a kind of application program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007991A (en) * 2014-06-06 2014-08-27 百度在线网络技术(北京)有限公司 Method and device for adjusting application program interface layout
WO2017088703A1 (en) * 2015-11-27 2017-06-01 阿里巴巴集团控股有限公司 Page jumping method and apparatus
CN107133053A (en) * 2017-06-05 2017-09-05 上海鋆创信息技术有限公司 Method for page jump and device, the storage medium and terminal of a kind of application program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710522A (en) * 2018-05-16 2018-10-26 北京五八信息技术有限公司 A kind of notifier processes method, apparatus, storage medium and computer equipment
CN108804138A (en) * 2018-06-05 2018-11-13 Oppo(重庆)智能科技有限公司 application operating optimization method, device, storage medium and terminal device
CN109669716A (en) * 2018-09-25 2019-04-23 深圳壹账通智能科技有限公司 Page control method, device, equipment and readable storage medium storing program for executing
CN111984248A (en) * 2019-05-22 2020-11-24 腾讯科技(深圳)有限公司 Page editing method and device, storage medium and electronic device
CN111984248B (en) * 2019-05-22 2023-08-25 腾讯科技(深圳)有限公司 Page editing method and device, storage medium and electronic device
CN111177558A (en) * 2019-12-30 2020-05-19 北京百度网讯科技有限公司 Channel service construction method and device
CN111177558B (en) * 2019-12-30 2023-08-08 北京百度网讯科技有限公司 Channel service construction method and device
CN112269577A (en) * 2020-10-26 2021-01-26 北京信而泰科技股份有限公司 Configuration method and device of control interface
CN112181419A (en) * 2020-12-03 2021-01-05 成都极米科技股份有限公司 Interface generation method and device and storage medium
CN112181419B (en) * 2020-12-03 2021-08-31 成都极米科技股份有限公司 Interface generation method and device and storage medium

Similar Documents

Publication Publication Date Title
CN107729012A (en) A kind of application interface combined arrangement method and device
US10482163B2 (en) Clickable emoji
US20160321059A1 (en) Providing Application Functionality for Uninstalled Applications
CN1755683B (en) Contextual action publishing
CN109710243B (en) Block chain development method, device, server and medium based on visual platform
JP4824110B2 (en) Computer-implemented method, computer program, and data processing system for inheriting page layout for a page
US20140123103A1 (en) Method of website optimisation
US20020103827A1 (en) System and method for filling out forms
JP2015179518A (en) Methods and systems for searching, selecting, and displaying content
US20120116751A1 (en) Providing message text translations
JP2009543166A (en) Computer-implemented method, computer program, and data processing system for defining page layout by page
CN101243449A (en) Method and system for automated initiation of search queries from computer displayed content
US20190318399A1 (en) Project creation system using blockchain
WO2008000501A2 (en) System and method for object state management
CN101662463A (en) Device and method for customizing service flow for user
JP2022508086A (en) Systems and methods for creating and processing configurable applications for website building systems
CN106406999A (en) A computing system and a method for controlling thereof
CN107545018A (en) Time delay in the system effectiveness based on feedback determines reduces
CN113360800A (en) Method and device for processing featureless data, computer equipment and storage medium
CN104426857A (en) Method, system and apparatus for verifying client data
US7966601B2 (en) Generating web service without coding logic with a programming language
CN103984554B (en) The generation method and device of Software for Design document
CN111027977A (en) Data verification method and device and electronic equipment
US20160260179A1 (en) Apparatus and method for providing account book service
JP2006155601A (en) Product structure design support system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180223

RJ01 Rejection of invention patent application after publication